Service Client: Google::Storage::Control::V2::StorageControl::StorageControlClient

Client stub representing the remote StorageControl gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to storage.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Storage::Control::V2::StorageControl - Compiled Protocol Buffers messages for google/storage/control/v2/storage_control.proto

SYNOPSIS

use Google::Storage::Control::V2::StorageControl;

my $msg = Google::Storage::Control::V2::StorageControl::PendingRenameInfo->new({
    operation => $operation,
});

# Read or update a field
my $val = $msg->operation();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Storage::Control::V2::StorageControl::PendingRenameInfo->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/storage/control/v2/storage_control.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Storage::Control::V2::StorageControl::PendingRenameInfo

Contains information about a pending rename operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->operation() / $msg->operation($value)

    Type: String

    Output only. The name of the rename operation.

Google::Storage::Control::V2::StorageControl::Folder

A folder resource. This resource can only exist in a hierarchical namespace enabled bucket.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The name of this folder. Format: `projects/{project}/buckets/{bucket}/folders/{folder}`

  • $msg->metageneration() / $msg->metageneration($value)

    Type: Int64

    Output only. The version of the metadata for this folder. Used for preconditions and for detecting changes in metadata.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The creation time of the folder.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The modification time of the folder.

  • $msg->pending_rename_info() / $msg->pending_rename_info($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::PendingRenameInfo)

    Output only. Only present if the folder is part of an ongoing RenameFolder operation. Contains information which can be used to query the operation status. The presence of this field also indicates all write operations are blocked for this folder, including folder, managed folder, and object operations.

Google::Storage::Control::V2::StorageControl::GetFolderRequest

Request message for GetFolder. This operation is only applicable to a hierarchical namespace enabled bucket.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the folder. Format: `projects/{project}/buckets/{bucket}/folders/{folder}`

  • $msg->if_metageneration_match() / $msg->if_metageneration_match($value)

    Type: Int64

    Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value.

  • $msg->if_metageneration_not_match() / $msg->if_metageneration_not_match($value)

    Type: Int64

    Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::CreateFolderRequest

Request message for CreateFolder. This operation is only applicable to a hierarchical namespace enabled bucket.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Name of the bucket in which the folder will reside. The bucket must be a hierarchical namespace enabled bucket.

  • $msg->folder() / $msg->folder($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::Folder)

    Required. Properties of the new folder being created. The bucket and name of the folder are specified in the parent and folder_id fields, respectively. Populating those fields in `folder` will result in an error.

  • $msg->folder_id() / $msg->folder_id($value)

    Type: String

    Required. The full name of a folder, including all its parent folders. Folders use single '/' characters as a delimiter. The folder_id must end with a slash. For example, the folder_id of "books/biographies/" would create a new "biographies/" folder under the "books/" folder.

  • $msg->recursive() / $msg->recursive($value)

    Type: Bool

    Optional. If true, parent folder doesn't have to be present and all missing ancestor folders will be created atomically.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::DeleteFolderRequest

Request message for DeleteFolder. This operation is only applicable to a hierarchical namespace enabled bucket.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the folder. Format: `projects/{project}/buckets/{bucket}/folders/{folder}`

  • $msg->if_metageneration_match() / $msg->if_metageneration_match($value)

    Type: Int64

    Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value.

  • $msg->if_metageneration_not_match() / $msg->if_metageneration_not_match($value)

    Type: Int64

    Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::ListFoldersRequest

Request message for ListFolders. This operation is only applicable to a hierarchical namespace enabled bucket.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Name of the bucket in which to look for folders. The bucket must be a hierarchical namespace enabled bucket.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Maximum number of folders to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A previously-returned page token representing part of the larger set of results to view.

  • $msg->prefix() / $msg->prefix($value)

    Type: String

    Optional. Filter results to folders whose names begin with this prefix. If set, the value must either be an empty string or end with a '/'.

  • $msg->delimiter() / $msg->delimiter($value)

    Type: String

    Optional. If set, returns results in a directory-like mode. The results will only include folders that either exactly match the above prefix, or are one level below the prefix. The only supported value is '/'.

  • $msg->lexicographic_start() / $msg->lexicographic_start($value)

    Type: String

    Optional. Filter results to folders whose names are lexicographically equal to or after lexicographic_start. If lexicographic_end is also set, the folders listed have names between lexicographic_start (inclusive) and lexicographic_end (exclusive).

  • $msg->lexicographic_end() / $msg->lexicographic_end($value)

    Type: String

    Optional. Filter results to folders whose names are lexicographically before lexicographic_end. If lexicographic_start is also set, the folders listed have names between lexicographic_start (inclusive) and lexicographic_end (exclusive).

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::ListFoldersResponse

Response message for ListFolders.

Inherits from Protobuf::Message.

Accessors

  • $msg->folders() / $msg->folders($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::Folder)

    The list of child folders

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

Google::Storage::Control::V2::StorageControl::RenameFolderRequest

Request message for RenameFolder. This operation is only applicable to a hierarchical namespace enabled bucket.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the source folder being renamed. Format: `projects/{project}/buckets/{bucket}/folders/{folder}`

  • $msg->destination_folder_id() / $msg->destination_folder_id($value)

    Type: String

    Required. The destination folder ID, e.g. `foo/bar/`.

  • $msg->if_metageneration_match() / $msg->if_metageneration_match($value)

    Type: Int64

    Makes the operation only succeed conditional on whether the source folder's current metageneration matches the given value.

  • $msg->if_metageneration_not_match() / $msg->if_metageneration_not_match($value)

    Type: Int64

    Makes the operation only succeed conditional on whether the source folder's current metageneration does not match the given value.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a `request_id` is provided.

Google::Storage::Control::V2::StorageControl::DeleteFolderRecursiveRequest

Request message for DeleteFolderRecursive.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the folder being deleted, however all of its contents will be deleted too. Format: `projects/{project}/buckets/{bucket}/folders/{folder}`

  • $msg->if_metageneration_match() / $msg->if_metageneration_match($value)

    Type: Int64

    Optional. Makes the operation only succeed conditional on whether the root folder's current metageneration matches the given value.

  • $msg->if_metageneration_not_match() / $msg->if_metageneration_not_match($value)

    Type: Int64

    Optional. Makes the operation only succeed conditional on whether the root folder's current metageneration does not match the given value.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::CommonLongRunningOperationMetadata

The message contains metadata that is common to all Storage Control long-running operations, present in its `google.longrunning.Operation` messages, and accessible via `metadata.common_metadata`.

Inherits from Protobuf::Message.

Accessors

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the operation was created.

  • $msg->end_time() / $msg->end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the operation finished running.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the operation was last modified.

  • $msg->type() / $msg->type($value)

    Type: String

    Output only. The type of operation invoked.

  • $msg->requested_cancellation() / $msg->requested_cancellation($value)

    Type: Bool

    Output only. Identifies whether the user has requested cancellation.

  • $msg->progress_percent() / $msg->progress_percent($value)

    Type: Int32

    Output only. The estimated progress of the operation in percentage [0, 100]. The value -1 means the progress is unknown.

Google::Storage::Control::V2::StorageControl::RenameFolderMetadata

Message returned in the metadata field of the Operation resource for RenameFolder operations.

Inherits from Protobuf::Message.

Accessors

  • $msg->common_metadata() / $msg->common_metadata($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::CommonLongRunningOperationMetadata)

    Generic metadata for the long running operation.

  • $msg->source_folder_id() / $msg->source_folder_id($value)

    Type: String

    The path of the source folder.

  • $msg->destination_folder_id() / $msg->destination_folder_id($value)

    Type: String

    The path of the destination folder.

Google::Storage::Control::V2::StorageControl::DeleteFolderRecursiveMetadata

Message returned in the metadata field of the Operation resource for DeleteFolderRecursive operations.

Inherits from Protobuf::Message.

Accessors

Google::Storage::Control::V2::StorageControl::StorageLayout

The storage layout configuration of a bucket.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. The name of the StorageLayout resource. Format: `projects/{project}/buckets/{bucket}/storageLayout`

  • $msg->location() / $msg->location($value)

    Type: String

    Output only. The location of the bucket.

  • $msg->location_type() / $msg->location_type($value)

    Type: String

    Output only. The location type of the bucket (region, dual-region, multi-region, etc).

  • $msg->custom_placement_config() / $msg->custom_placement_config($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::StorageLayout::CustomPlacementConfig)

    Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket.

  • $msg->hierarchical_namespace() / $msg->hierarchical_namespace($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::StorageLayout::HierarchicalNamespace)

    Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled.

  • $msg->rapid_cache_info() / $msg->rapid_cache_info($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::StorageLayout::RapidCacheInfo)

    Output only. The Rapid Cache configuration for the bucket.

Google::Storage::Control::V2::StorageControl::GetStorageLayoutRequest

Request message for GetStorageLayout.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the StorageLayout resource. Format: `projects/{project}/buckets/{bucket}/storageLayout`

  • $msg->prefix() / $msg->prefix($value)

    Type: String

    An optional prefix used for permission check. It is useful when the caller only has limited permissions under a specific prefix.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::ManagedFolder

A managed folder.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The name of this managed folder. Format: `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`

  • $msg->metageneration() / $msg->metageneration($value)

    Type: Int64

    Output only. The metadata version of this managed folder. It increases whenever the metadata is updated. Used for preconditions and for detecting changes in metadata. Managed folders don't have a generation number.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The creation time of the managed folder.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The modification time of the managed folder.

  • $msg->rapid_cache_config() / $msg->rapid_cache_config($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::ManagedFolder::RapidCacheConfig)

    Rapid Cache configuration for a managed prefix.

Google::Storage::Control::V2::StorageControl::GetManagedFolderRequest

Request message for GetManagedFolder.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the managed folder. Format: `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`

  • $msg->if_metageneration_match() / $msg->if_metageneration_match($value)

    Type: Int64

    The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.

  • $msg->if_metageneration_not_match() / $msg->if_metageneration_not_match($value)

    Type: Int64

    The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::CreateManagedFolderRequest

Request message for CreateManagedFolder.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Name of the bucket this managed folder belongs to.

  • $msg->managed_folder() / $msg->managed_folder($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::ManagedFolder)

    Required. Properties of the managed folder being created. The bucket and managed folder names are specified in the `parent` and `managed_folder_id` fields. Populating these fields in `managed_folder` will result in an error.

  • $msg->managed_folder_id() / $msg->managed_folder_id($value)

    Type: String

    Required. The name of the managed folder. It uses a single `/` as delimiter and leading and trailing `/` are allowed.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::DeleteManagedFolderRequest

DeleteManagedFolder RPC request message.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the managed folder. Format: `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`

  • $msg->if_metageneration_match() / $msg->if_metageneration_match($value)

    Type: Int64

    The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.

  • $msg->if_metageneration_not_match() / $msg->if_metageneration_not_match($value)

    Type: Int64

    The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

  • $msg->allow_non_empty() / $msg->allow_non_empty($value)

    Type: Bool

    Allows deletion of a managed folder even if it is not empty. A managed folder is empty if it manages no child managed folders or objects. Caller must have permission for storage.managedFolders.setIamPolicy.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::ListManagedFoldersRequest

Request message for ListManagedFolders.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Name of the bucket this managed folder belongs to.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Maximum number of managed folders to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A previously-returned page token representing part of the larger set of results to view.

  • $msg->prefix() / $msg->prefix($value)

    Type: String

    Optional. Filter results to match managed folders with name starting with this prefix.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::ListManagedFoldersResponse

Response message for ListManagedFolders.

Inherits from Protobuf::Message.

Accessors

  • $msg->managed_folders() / $msg->managed_folders($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::ManagedFolder)

    The list of matching managed folders

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

Google::Storage::Control::V2::StorageControl::UpdateManagedFolderRequest

Request message for UpdateManagedFolder.

Inherits from Protobuf::Message.

Accessors

  • $msg->managed_folder() / $msg->managed_folder($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::ManagedFolder)

    Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the `rapid_cache_config` field in `managed_folder`.

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Update mask for managed_folder. Currently, this RPC only supports updating the `rapid_cache_config` field in `managed_folder`. This field also supports update mask for the subfields in the map of `rapid_cache_config`. The user can specify the update mask for `rapid_cache_config.policies` and `rapid_cache_config.policies.<key>`, but patching is not supported for a field within `RapidCachePolicy.policies.<key>`, like rapid_cache_config.policies.[key].ingest_on_write.

  • $msg->if_metageneration_match() / $msg->if_metageneration_match($value)

    Type: Int64

    Optional. The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.

  • $msg->if_metageneration_not_match() / $msg->if_metageneration_not_match($value)

    Type: Int64

    Optional. The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::CreateAnywhereCacheMetadata

Message returned in the metadata field of the Operation resource for CreateAnywhereCache operations.

Inherits from Protobuf::Message.

Accessors

  • $msg->common_metadata() / $msg->common_metadata($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::CommonLongRunningOperationMetadata)

    Generic metadata for the long running operation.

  • $msg->anywhere_cache_id() / $msg->anywhere_cache_id($value)

    Type: String

    Anywhere Cache ID.

  • $msg->zone() / $msg->zone($value)

    Type: String

    The zone in which the cache instance is running. For example, us-central1-a.

  • $msg->ttl() / $msg->ttl($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Anywhere Cache entry's TTL. A cache-level config that is applied to all new cache entries on admission. Default ttl value (24hrs) is applied if not specified in the create request.

  • $msg->admission_policy() / $msg->admission_policy($value)

    Type: String

    Anywhere Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss"). Default admission policy (admit-on-first-miss) is applied if not specified in the create request.

  • $msg->ingest_on_write() / $msg->ingest_on_write($value)

    Type: Bool

    Optional. Specifies whether objects are ingested into the cache upon write. Defaults to false.

Google::Storage::Control::V2::StorageControl::CreateRapidCacheMetadata

Message returned in the metadata field of the Operation resource for CreateRapidCache operations.

Inherits from Protobuf::Message.

Accessors

  • $msg->common_metadata() / $msg->common_metadata($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::CommonLongRunningOperationMetadata)

    Generic metadata for the long running operation.

  • $msg->rapid_cache_id() / $msg->rapid_cache_id($value)

    Type: String

    Rapid Cache ID.

  • $msg->zone() / $msg->zone($value)

    Type: String

    The zone in which the cache instance is running. For example, us-central1-a.

  • $msg->ttl() / $msg->ttl($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Rapid Cache entry's TTL. A cache-level config that is applied to all new cache entries on admission. Default ttl value (24hrs) is applied if not specified in the create request.

  • $msg->admission_policy() / $msg->admission_policy($value)

    Type: String

    Anywhere Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss"). Default admission policy (admit-on-first-miss) is applied if not specified in the create request.

  • $msg->ingest_on_write() / $msg->ingest_on_write($value)

    Type: Bool

    Optional. Specifies whether objects are ingested into the cache upon write. Defaults to false.

  • $msg->cache_type() / $msg->cache_type($value)

    Type: String

    Optional. The type of cache. Either rapid cache or rapid cache ultra.

Google::Storage::Control::V2::StorageControl::UpdateAnywhereCacheMetadata

Message returned in the metadata field of the Operation resource for UpdateAnywhereCache operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->common_metadata() / $msg->common_metadata($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::CommonLongRunningOperationMetadata)

    Generic metadata for the long running operation.

  • $msg->anywhere_cache_id() / $msg->anywhere_cache_id($value)

    Type: String

    Anywhere Cache ID.

  • $msg->zone() / $msg->zone($value)

    Type: String

    The zone in which the cache instance is running. For example, us-central1-a.

  • $msg->ttl() / $msg->ttl($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Anywhere Cache entry's TTL between 1h and 7days. A cache-level config that is applied to all new cache entries on admission. If `ttl` is pending update, this field equals to the new value specified in the Update request.

  • $msg->admission_policy() / $msg->admission_policy($value)

    Type: String

    Optional. Anywhere Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss"). If `admission_policy` is pending update, this field equals to the new value specified in the Update request.

  • $msg->ingest_on_write() / $msg->ingest_on_write($value)

    Type: Bool

    Specifies whether objects are ingested into the cache upon write. If not set, it defaults to false.

Google::Storage::Control::V2::StorageControl::UpdateRapidCacheMetadata

Message returned in the metadata field of the Operation resource for UpdateRapidCache operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->common_metadata() / $msg->common_metadata($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::CommonLongRunningOperationMetadata)

    Generic metadata for the long running operation.

  • $msg->rapid_cache_id() / $msg->rapid_cache_id($value)

    Type: String

    Rapid Cache ID.

  • $msg->zone() / $msg->zone($value)

    Type: String

    The zone in which the cache instance is running. For example, us-central1-a.

  • $msg->ttl() / $msg->ttl($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Rapid Cache entry's TTL between 1h and 7days. A cache-level config that is applied to all new cache entries on admission. If `ttl` is pending update, this field equals to the new value specified in the Update request.

  • $msg->admission_policy() / $msg->admission_policy($value)

    Type: String

    Optional. Rapid Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss"). If `admission_policy` is pending update, this field equals to the new value specified in the Update request.

  • $msg->ingest_on_write() / $msg->ingest_on_write($value)

    Type: Bool

    Specifies whether objects are ingested into the cache upon write. If not set, it defaults to false.

  • $msg->cache_type() / $msg->cache_type($value)

    Type: String

    Optional. The type of cache. Either rapid cache or rapid cache ultra.

Google::Storage::Control::V2::StorageControl::DisableRapidCacheMetadata

Message returned in the metadata field of the Operation resource for DeleteRapidCache operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->common_metadata() / $msg->common_metadata($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::CommonLongRunningOperationMetadata)

    Generic metadata for the long running operation.

  • $msg->rapid_cache_id() / $msg->rapid_cache_id($value)

    Type: String

    Rapid Cache ID.

  • $msg->zone() / $msg->zone($value)

    Type: String

    The zone in which the cache instance is running. For example, us-central1-a.

  • $msg->cache_type() / $msg->cache_type($value)

    Type: String

    Optional. The type of cache. Either rapid cache or rapid cache ultra.

Google::Storage::Control::V2::StorageControl::AnywhereCache

An Anywhere Cache Instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. The resource name of this AnywhereCache. Format: `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`

  • $msg->zone() / $msg->zone($value)

    Type: String

    Immutable. The zone in which the cache instance is running. For example, us-central1-a.

  • $msg->ttl() / $msg->ttl($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Cache entry TTL (ranges between 1h to 7d). This is a cache-level config that defines how long a cache entry can live. Default ttl value (24hrs) is applied if not specified in the create request. TTL must be in whole seconds.

  • $msg->admission_policy() / $msg->admission_policy($value)

    Type: String

    Cache admission policy. Valid policies includes: `admit-on-first-miss` and `admit-on-second-miss`. Defaults to `admit-on-first-miss`. Default value is applied if not specified in the create request.

  • $msg->state() / $msg->state($value)

    Type: String

    Output only. Cache state including `running`, `creating`, `disabled` and `paused`.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when Anywhere cache instance is allocated.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when Anywhere cache instance is last updated, including creation.

  • $msg->pending_update() / $msg->pending_update($value)

    Type: Bool

    Output only. True if there is an active update operation against this cache instance. Subsequential update requests will be rejected if this field is true. Output only.

  • $msg->ingest_on_write() / $msg->ingest_on_write($value)

    Type: Bool

    Optional. Specifies whether objects are ingested into the cache upon write. Defaults to false.

Google::Storage::Control::V2::StorageControl::CreateAnywhereCacheRequest

Request message for CreateAnywhereCache.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The bucket to which this cache belongs. Format: `projects/{project}/buckets/{bucket}`

  • $msg->anywhere_cache() / $msg->anywhere_cache($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::AnywhereCache)

    Required. Properties of the Anywhere Cache instance being created. The parent bucket name is specified in the `parent` field. Server uses the default value of `ttl` or `admission_policy` if not specified in request.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a `request_id` is provided.

Google::Storage::Control::V2::StorageControl::UpdateAnywhereCacheRequest

Request message for UpdateAnywhereCache.

Inherits from Protobuf::Message.

Accessors

  • $msg->anywhere_cache() / $msg->anywhere_cache($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::AnywhereCache)

    Required. The Anywhere Cache instance to be updated.

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. List of fields to be updated. Mutable fields of AnywhereCache include `ttl` and `admission_policy`.

    To specify ALL fields, specify a single field with the value `*`. Note: We recommend against doing this. If a new field is introduced at a later time, an older client updating with the `*` may accidentally reset the new field's value.

    Not specifying any fields is an error.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a `request_id` is provided.

Google::Storage::Control::V2::StorageControl::DisableAnywhereCacheRequest

Request message for DisableAnywhereCache.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name field in the request should be: `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a `request_id` is provided.

Google::Storage::Control::V2::StorageControl::PauseAnywhereCacheRequest

Request message for PauseAnywhereCache.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name field in the request should be: `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a `request_id` is provided.

Google::Storage::Control::V2::StorageControl::ResumeAnywhereCacheRequest

Request message for ResumeAnywhereCache.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name field in the request should be: `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a `request_id` is provided.

Google::Storage::Control::V2::StorageControl::GetAnywhereCacheRequest

Request message for GetAnywhereCache.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name field in the request should be: `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::ListAnywhereCachesRequest

Request message for ListAnywhereCaches.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The bucket to which this cache belongs.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Maximum number of caches to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A previously-returned page token representing part of the larger set of results to view.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::ListAnywhereCachesResponse

Response message for ListAnywhereCaches.

Inherits from Protobuf::Message.

Accessors

  • $msg->anywhere_caches() / $msg->anywhere_caches($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::AnywhereCache)

    The list of items.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Storage::Control::V2::StorageControl::RapidCache

A Rapid Cache Instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. The resource name of this RapidCache. Format: projects/{project}/buckets/{bucket}/rapidCaches/{rapid_cache}

  • $msg->zone() / $msg->zone($value)

    Type: String

    Immutable. The zone in which the cache instance is running. For example, us-central1-a.

  • $msg->cache_type() / $msg->cache_type($value)

    Type: String

    Immutable. The type of Rapid Cache this represents. Valid values include: 'rapid-cache' and 'rapid-cache-ultra'.

  • $msg->ttl() / $msg->ttl($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Cache entry TTL (ranges between 1h to 7d). This is a cache-level config that defines how long a cache entry can live. Default ttl value (24hrs) is applied if not specified in the create request. TTL must be in whole seconds.

  • $msg->admission_policy() / $msg->admission_policy($value)

    Type: String

    Cache admission policy. Valid policies includes: no_read_admission, admit-on-first-miss and admit-on-second-miss. Defaults to admit-on-first-miss for both AC and RCU. Default value is applied if not specified in the create request.

  • $msg->state() / $msg->state($value)

    Type: String

    Output only. Cache state including running, creating, and disabled.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when Rapid cache instance is allocated.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when Rapid cache instance is last updated, including creation.

  • $msg->pending_update() / $msg->pending_update($value)

    Type: Bool

    Output only. True if there is an active update operation against this cache instance. Subsequential update requests will be rejected if this field is true. Output only.

Google::Storage::Control::V2::StorageControl::CreateRapidCacheRequest

Request message for CreateRapidCache.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The bucket to which this cache belongs. Format: `projects/{project}/buckets/{bucket}`

  • $msg->rapid_cache() / $msg->rapid_cache($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::RapidCache)

    Required. The RapidCache to create. Default values for ingest_on_write, ttl and admission_policy will be applied if not specified in the request.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a `request_id` is provided.

Google::Storage::Control::V2::StorageControl::UpdateRapidCacheRequest

Request message for UpdateRapidCache.

Inherits from Protobuf::Message.

Accessors

  • $msg->rapid_cache() / $msg->rapid_cache($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::RapidCache)

    Required. The RapidCache to update.

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. List of fields to be updated. Mutable fields of RapidCache include `ttl`, `admission_policy` and `ingest_on_write`.

    To specify ALL fields, specify a single field with the value `*`. Note: We recommend against doing this. If a new field is introduced at a later time, an older client updating with the `*` may accidentally reset the new field's value.

    Not specifying any fields is an error.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a `request_id` is provided.

Google::Storage::Control::V2::StorageControl::DisableRapidCacheRequest

Request message for DisableRapidCache.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name field in the request should be: `projects/{project}/buckets/{bucket}/rapidCaches/{rapid_cache}`

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a `request_id` is provided.

Google::Storage::Control::V2::StorageControl::GetRapidCacheRequest

Request message for GetRapidCache.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name field in the request should be: `projects/{project}/buckets/{bucket}/rapidCaches/{rapid_cache}`

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::ListRapidCachesRequest

Request message for ListRapidCaches.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The bucket to which this cache belongs.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Maximum number of caches to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A previously-returned page token representing part of the larger set of results to view.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Google::Storage::Control::V2::StorageControl::ListRapidCachesResponse

Response message for ListRapidCaches.

Inherits from Protobuf::Message.

Accessors

  • $msg->rapid_caches() / $msg->rapid_caches($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::RapidCache)

    The list of rapid caches.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Storage::Control::V2::StorageControl::IntelligenceConfig

The `IntelligenceConfig` resource associated with your organization, folder, or project.

Inherits from Protobuf::Message.

Accessors

Enum: IntelligenceConfig::EditionConfig

  • EDITION_CONFIG_UNSPECIFIED => 0

  • INHERIT => 1

  • DISABLED => 2

  • STANDARD => 3

  • TRIAL => 5

  • ESSENTIALS => 6

Google::Storage::Control::V2::StorageControl::UpdateOrganizationIntelligenceConfigRequest

Request message to update the `IntelligenceConfig` resource associated with your organization.

Inherits from Protobuf::Message.

Accessors

  • $msg->intelligence_config() / $msg->intelligence_config($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::IntelligenceConfig)

    Required. The `IntelligenceConfig` resource to be updated.

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. The `update_mask` that specifies the fields within the `IntelligenceConfig` resource that should be modified by this update. Only the listed fields are updated.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. The ID that uniquely identifies the request, preventing duplicate processing.

Google::Storage::Control::V2::StorageControl::UpdateFolderIntelligenceConfigRequest

Request message to update the `IntelligenceConfig` resource associated with your folder.

Inherits from Protobuf::Message.

Accessors

  • $msg->intelligence_config() / $msg->intelligence_config($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::IntelligenceConfig)

    Required. The `IntelligenceConfig` resource to be updated.

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. The `update_mask` that specifies the fields within the `IntelligenceConfig` resource that should be modified by this update. Only the listed fields are updated.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. The ID that uniquely identifies the request, preventing duplicate processing.

Google::Storage::Control::V2::StorageControl::UpdateProjectIntelligenceConfigRequest

Request message to update the `IntelligenceConfig` resource associated with your project.

Inherits from Protobuf::Message.

Accessors

  • $msg->intelligence_config() / $msg->intelligence_config($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::IntelligenceConfig)

    Required. The `IntelligenceConfig` resource to be updated.

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. The `update_mask` that specifies the fields within the `IntelligenceConfig` resource that should be modified by this update. Only the listed fields are updated.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. The ID that uniquely identifies the request, preventing duplicate processing.

Google::Storage::Control::V2::StorageControl::GetOrganizationIntelligenceConfigRequest

Request message to get the `IntelligenceConfig` resource associated with your organization.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the `IntelligenceConfig` resource associated with your organization.

    Format: `organizations/{org_id}/locations/global/intelligenceConfig`

Google::Storage::Control::V2::StorageControl::GetFolderIntelligenceConfigRequest

Request message to get the `IntelligenceConfig` resource associated with your folder.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the `IntelligenceConfig` resource associated with your folder.

    Format: `folders/{id}/locations/global/intelligenceConfig`

Google::Storage::Control::V2::StorageControl::GetProjectIntelligenceConfigRequest

Request message to get the `IntelligenceConfig` resource associated with your project.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the `IntelligenceConfig` resource associated with your project.

    Format: `projects/{id}/locations/global/intelligenceConfig`

Google::Storage::Control::V2::StorageControl::IntelligenceFinding

The `IntelligenceFinding` resource that represents a security, performance, or cost-related finding about a project or bucket.

Inherits from Protobuf::Message.

Accessors

Google::Storage::Control::V2::StorageControl::IntelligenceFindingRevision

An `IntelligenceFindingRevision` represents a specific revision of an `IntelligenceFinding` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. The resource name of `IntelligenceFindingRevision`. Format: `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}/revisions/{revision}`

  • $msg->snapshot() / $msg->snapshot($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::IntelligenceFinding)

    Output only. The snapshot of the `IntelligenceFinding` at the time the revision was created. This field contains the full finding details as they existed for the revision.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the revision was created.

Google::Storage::Control::V2::StorageControl::GetIntelligenceFindingRequest

Request message to get the `IntelligenceFinding` resource associated with a project.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the `IntelligenceFinding` resource.

    Format: `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}`

Google::Storage::Control::V2::StorageControl::ListIntelligenceFindingsRequest

Request message to list `IntelligenceFinding` resources associated with a project.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent of the `IntelligenceFinding` resource.

    Format: `projects/{project}/locations/{location}`

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. The filter expression to be applied. Supports filtering by `type` and `associated_resources`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of `IntelligenceFinding` resources to return.

    The maximum value is `100`; values above `100` will be coerced to `100`. The default value is `100`.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `ListIntelligenceFindings` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListIntelligenceFindings` must match the call that provided the page token.

Google::Storage::Control::V2::StorageControl::ListIntelligenceFindingsResponse

Response message to list the `IntelligenceFinding` resources associated with a project.

Inherits from Protobuf::Message.

Accessors

  • $msg->intelligence_findings() / $msg->intelligence_findings($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::IntelligenceFinding)

    The `IntelligenceFinding` resources from the specified project.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to retrieve the next page of results. Pass this value in the `page_token` field in the subsequent call.

Google::Storage::Control::V2::StorageControl::SummarizeIntelligenceFindingsRequest

Request message to summarize the intelligence findings for the specified scope (organization, folder or project).

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The scope to summarize the findings for. Format: - `organizations/{organization}/locations/{location}` - `folders/{folder}/locations/{location}` - `projects/{project}/locations/{location}`

  • $msg->resource_scope() / $msg->resource_scope($value)

    Type: Enum (Google::Storage::Control::V2::SummarizeIntelligenceFindingsRequest::ResourceScope)

    Optional. Determines the granularity of the findings when the `parent` is an organization or folder.

    - `PARENT` (or not set): A single summary is returned for each insight type, aggregated across the entire `parent` scope. - `PROJECT`: A separate summary is returned for each insight type for every project within the `parent` scope.

    The only supported values are `PARENT` and `PROJECT`. If no value is specified, the API behaviour defaults to the `PARENT`.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. The filter expression, following AIP-160. Supports filtering by FindingType.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of findings to return.

    The maximum value is `100`; values above `100` will be coerced to `100`. The default value is `100`.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `SummarizeIntelligenceFindings` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `SummarizeIntelligenceFindings` must match the call that provided the page token.

Enum: SummarizeIntelligenceFindingsRequest::ResourceScope

  • RESOURCE_SCOPE_UNSPECIFIED => 0

  • PARENT => 1

  • PROJECT => 2

Google::Storage::Control::V2::StorageControl::SummarizeIntelligenceFindingsResponse

Response message to summarize the intelligence findings for a specified scope (organization, folder or project).

Inherits from Protobuf::Message.

Accessors

  • $msg->finding_summaries() / $msg->finding_summaries($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::FindingSummary)

    The list of `FindingSummary` summaries.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to retrieve the next page of results. Pass this value in the `page_token` field in the subsequent call to `SummarizeIntelligenceFindings` to retrieve the next page of results.

Google::Storage::Control::V2::StorageControl::GetIntelligenceFindingRevisionRequest

Request message to get the `IntelligenceFindingRevision` resource associated with a project.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the `IntelligenceFindingRevision` resource. ## Format:

    `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}/revisions/{revision}`

Google::Storage::Control::V2::StorageControl::ListIntelligenceFindingRevisionsRequest

Request message to list `IntelligenceFindingRevision` resources associated with a project.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent of the `IntelligenceFindingRevision` resource. ## Format:

    `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}`

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of `IntelligenceFindingRevision` resources to return.

    The maximum value is `100`; values above `100` will be coerced to `100`. The default value is `100`.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `ListIntelligenceFindingRevisions` call. Provide this to retrieve the subsequent page.

Google::Storage::Control::V2::StorageControl::ListIntelligenceFindingRevisionsResponse

Response message to list `IntelligenceFindingRevision` resources associated with a project.

Inherits from Protobuf::Message.

Accessors

  • $msg->intelligence_finding_revisions() / $msg->intelligence_finding_revisions($value)

    Type: Message (Google::Storage::Control::V2::StorageControl::IntelligenceFindingRevision)

    The `IntelligenceFindingRevision` resources from the specified project.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` to retrieve the next page.

Google::Storage::Control::V2::StorageControl::FindingSummary

A summary of findings generated for an organization, a folder, or a project.

Inherits from Protobuf::Message.

Accessors

Google::Storage::Control::V2::StorageControl::ObjectFullContext

A full representation of an object context.

Inherits from Protobuf::Message.

Accessors

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Storage::Control::V2::ObjectFullContext::Type)

    The type of the object context.

  • $msg->key() / $msg->key($value)

    Type: String

    The key of the object context, which is unique among contexts of an object.

  • $msg->value() / $msg->value($value)

    Type: String

    The value of the object context.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time at which the object context was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time at which the object context was updated.

  • $msg->extended_data() / $msg->extended_data($value)

    Type: Message (Google::Protobuf::Any::Any)

    The extended data of the object context.

Enum: ObjectFullContext::Type

  • TYPE_UNSPECIFIED => 0

  • CUSTOM => 1

  • GOOGLE => 2

Google::Storage::Control::V2::StorageControl::ViewObjectFullContextRequest

Request message for ViewObjectFullContext.

Inherits from Protobuf::Message.

Accessors

  • $msg->generation() / $msg->generation($value)

    Type: Int64

    Optional. If present, selects a specific revision of this object (as opposed to the latest version, the default).

  • $msg->context_key() / $msg->context_key($value)

    Type: String

    Required. The key of the object context to retrieve.

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the object. Format: `projects/{project}/buckets/{bucket}/objects/{object}`

SEE ALSO

Protobuf, Protobuf::Message, Google::Storage::Control::V2::StorageControl::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.