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:
StringOutput 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:
StringIdentifier. The name of this folder. Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
$msg->metageneration()/$msg->metageneration($value)Type:
Int64Output 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:
StringRequired. Name of the folder. Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
$msg->if_metageneration_match()/$msg->if_metageneration_match($value)Type:
Int64Makes 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:
Int64Makes 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:
StringOptional. 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:
StringRequired. 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:
StringRequired. 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:
BoolOptional. 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:
StringOptional. 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:
StringRequired. Name of the folder. Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
$msg->if_metageneration_match()/$msg->if_metageneration_match($value)Type:
Int64Makes 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:
Int64Makes 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:
StringOptional. 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:
StringRequired. 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:
Int32Optional. 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:
StringOptional. A previously-returned page token representing part of the larger set of results to view.
$msg->prefix()/$msg->prefix($value)Type:
StringOptional. 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:
StringOptional. 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:
StringOptional. 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:
StringOptional. 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:
StringOptional. 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:
StringThe 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:
StringRequired. Name of the source folder being renamed. Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
$msg->destination_folder_id()/$msg->destination_folder_id($value)Type:
StringRequired. The destination folder ID, e.g. `foo/bar/`.
$msg->if_metageneration_match()/$msg->if_metageneration_match($value)Type:
Int64Makes 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:
Int64Makes 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:
StringOptional. 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:
StringRequired. 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:
Int64Optional. 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:
Int64Optional. 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:
StringOptional. 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:
StringOutput only. The type of operation invoked.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation.
$msg->progress_percent()/$msg->progress_percent($value)Type:
Int32Output 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:
StringThe path of the source folder.
$msg->destination_folder_id()/$msg->destination_folder_id($value)Type:
StringThe 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
$msg->common_metadata()/$msg->common_metadata($value)Type:
Message(Google::Storage::Control::V2::StorageControl::CommonLongRunningOperationMetadata)Generic metadata for the long running operation.
$msg->folder_id()/$msg->folder_id($value)Type:
StringThe path of the folder recursively deleted.
Google::Storage::Control::V2::StorageControl::StorageLayout
The storage layout configuration of a bucket.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The name of the StorageLayout resource. Format: `projects/{project}/buckets/{bucket}/storageLayout`
$msg->location()/$msg->location($value)Type:
StringOutput only. The location of the bucket.
$msg->location_type()/$msg->location_type($value)Type:
StringOutput 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:
StringRequired. The name of the StorageLayout resource. Format: `projects/{project}/buckets/{bucket}/storageLayout`
$msg->prefix()/$msg->prefix($value)Type:
StringAn 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:
StringOptional. 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:
StringIdentifier. The name of this managed folder. Format: `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
$msg->metageneration()/$msg->metageneration($value)Type:
Int64Output 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:
StringRequired. Name of the managed folder. Format: `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
$msg->if_metageneration_match()/$msg->if_metageneration_match($value)Type:
Int64The 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:
Int64The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
StringRequired. 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:
StringRequired. 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:
StringOptional. 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:
StringRequired. Name of the managed folder. Format: `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
$msg->if_metageneration_match()/$msg->if_metageneration_match($value)Type:
Int64The 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:
Int64The 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:
BoolAllows 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:
StringOptional. 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:
StringRequired. Name of the bucket this managed folder belongs to.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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:
StringOptional. A previously-returned page token representing part of the larger set of results to view.
$msg->prefix()/$msg->prefix($value)Type:
StringOptional. Filter results to match managed folders with name starting with this prefix.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
StringThe 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:
Int64Optional. 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:
Int64Optional. 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:
StringOptional. 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:
StringAnywhere Cache ID.
$msg->zone()/$msg->zone($value)Type:
StringThe 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:
StringAnywhere 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:
BoolOptional. 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:
StringRapid Cache ID.
$msg->zone()/$msg->zone($value)Type:
StringThe 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:
StringAnywhere 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:
BoolOptional. Specifies whether objects are ingested into the cache upon write. Defaults to false.
$msg->cache_type()/$msg->cache_type($value)Type:
StringOptional. 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:
StringAnywhere Cache ID.
$msg->zone()/$msg->zone($value)Type:
StringThe 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:
StringOptional. 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:
BoolSpecifies 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:
StringRapid Cache ID.
$msg->zone()/$msg->zone($value)Type:
StringThe 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:
StringOptional. 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:
BoolSpecifies whether objects are ingested into the cache upon write. If not set, it defaults to false.
$msg->cache_type()/$msg->cache_type($value)Type:
StringOptional. 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:
StringRapid Cache ID.
$msg->zone()/$msg->zone($value)Type:
StringThe zone in which the cache instance is running. For example, us-central1-a.
$msg->cache_type()/$msg->cache_type($value)Type:
StringOptional. 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:
StringImmutable. The resource name of this AnywhereCache. Format: `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
$msg->zone()/$msg->zone($value)Type:
StringImmutable. 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:
StringCache 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:
StringOutput 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:
BoolOutput 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:
BoolOptional. 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:
StringRequired. 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:
StringOptional. 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:
StringOptional. 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:
StringRequired. The name field in the request should be: `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
StringRequired. The name field in the request should be: `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
StringRequired. The name field in the request should be: `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
StringRequired. The name field in the request should be: `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
StringRequired. The bucket to which this cache belongs.
$msg->page_size()/$msg->page_size($value)Type:
Int32Maximum 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:
StringA previously-returned page token representing part of the larger set of results to view.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
StringA 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:
StringImmutable. The resource name of this RapidCache. Format: projects/{project}/buckets/{bucket}/rapidCaches/{rapid_cache}
$msg->zone()/$msg->zone($value)Type:
StringImmutable. The zone in which the cache instance is running. For example, us-central1-a.
$msg->cache_type()/$msg->cache_type($value)Type:
StringImmutable. 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:
StringCache 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:
StringOutput 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:
BoolOutput 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:
StringRequired. 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:
StringOptional. 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:
StringOptional. 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:
StringRequired. The name field in the request should be: `projects/{project}/buckets/{bucket}/rapidCaches/{rapid_cache}`
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
StringRequired. The name field in the request should be: `projects/{project}/buckets/{bucket}/rapidCaches/{rapid_cache}`
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
StringRequired. The bucket to which this cache belongs.
$msg->page_size()/$msg->page_size($value)Type:
Int32Maximum 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:
StringA previously-returned page token representing part of the larger set of results to view.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
StringA 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
$msg->name()/$msg->name($value)Type:
StringIdentifier. The name of the `IntelligenceConfig` resource associated with your organization, folder, or project.
The name format varies based on the GCP resource hierarchy as follows:
* For project: `projects/{project_number}/locations/global/intelligenceConfig` * For organization: `organizations/{org_id}/locations/global/intelligenceConfig` * For folder: `folders/{folder_id}/locations/global/intelligenceConfig`
$msg->edition_config()/$msg->edition_config($value)Type:
Enum(Google::Storage::Control::V2::IntelligenceConfig::EditionConfig)Optional. The edition configuration of the `IntelligenceConfig` resource.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the `IntelligenceConfig` resource is last updated.
$msg->filter()/$msg->filter($value)Type:
Message(Google::Storage::Control::V2::StorageControl::IntelligenceConfig::Filter)Optional. Filter over location and bucket.
$msg->effective_intelligence_config()/$msg->effective_intelligence_config($value)Type:
Message(Google::Storage::Control::V2::StorageControl::IntelligenceConfig::EffectiveIntelligenceConfig)Output only. The `IntelligenceConfig` resource that is applicable for the resource.
$msg->trial_config()/$msg->trial_config($value)Type:
Message(Google::Storage::Control::V2::StorageControl::IntelligenceConfig::TrialConfig)The trial configuration of the `IntelligenceConfig` resource.
Enum: IntelligenceConfig::EditionConfig
EDITION_CONFIG_UNSPECIFIED=>0INHERIT=>1DISABLED=>2STANDARD=>3TRIAL=>5ESSENTIALS=>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:
StringOptional. 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:
StringOptional. 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:
StringOptional. 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:
StringRequired. 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:
StringRequired. 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:
StringRequired. 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
$msg->name()/$msg->name($value)Type:
StringIdentifier. The resource name of `IntelligenceFinding`. Format: `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}`
$msg->description()/$msg->description($value)Type:
StringOutput only. A short description about the finding.
$msg->type()/$msg->type($value)Type:
Enum(Google::Storage::Control::V2::FindingType)Output only. Type of this finding.
$msg->category()/$msg->category($value)Type:
Enum(Google::Storage::Control::V2::FindingCategory)Output only. Category of this finding.
$msg->severity()/$msg->severity($value)Type:
Enum(Google::Storage::Control::V2::FindingSeverity)Output only. Severity of the finding.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the finding was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the finding was last updated.
$msg->target_resource()/$msg->target_resource($value)Type:
StringOutput only. The fully qualified resource name of the resource that this `IntelligenceFinding` applies to. eg: - `storage.googleapis.com/projects/_/buckets/b1` - `cloudresourecemanager.googleapis.com/projects/p1`
$msg->associated_resources()/$msg->associated_resources($value)Type:
StringOutput only. Contains GCP resource names that are relevant to this `IntelligenceFinding`. The `target_resource` is also added as part of `associated_resources`. eg: - `storage.googleapis.com/projects/_/buckets/b1` - `cloudresourecemanager.googleapis.com/projects/p1`
$msg->observation_period()/$msg->observation_period($value)Type:
Message(Google::Type::Interval::Interval)Output only. The time interval during which the underlying data was used to generate this `IntelligenceFinding`.
$msg->coldline_and_archival_storage_operations_spike()/$msg->coldline_and_archival_storage_operations_spike($value)Type:
Message(Google::Storage::Control::V2::StorageControl::IntelligenceFinding::ColdlineAndArchivalStorageOperationsSpike)Output only. `IntelligenceFinding` about a spike in Class A/B operations on Coldline or Archive Cloud Storage objects.
$msg->throttled_requests_spike()/$msg->throttled_requests_spike($value)Type:
Message(Google::Storage::Control::V2::StorageControl::IntelligenceFinding::ThrottledRequestSpike)Output only. `IntelligenceFinding` about a spike in throttled requests (429 errors) within a project.
$msg->cross_region_egress_spike()/$msg->cross_region_egress_spike($value)Type:
Message(Google::Storage::Control::V2::StorageControl::IntelligenceFinding::CrossRegionEgressSpike)Output only. `IntelligenceFinding` about a spike in cross-region egress.
$msg->storage_growth_above_trend()/$msg->storage_growth_above_trend($value)Type:
Message(Google::Storage::Control::V2::StorageControl::IntelligenceFinding::StorageGrowthAboveTrend)Output only. `IntelligenceFinding` about growth in storage above the expected trend.
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:
StringOutput 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:
StringRequired. 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:
StringRequired. The parent of the `IntelligenceFinding` resource.
Format: `projects/{project}/locations/{location}`
$msg->filter()/$msg->filter($value)Type:
StringOptional. The filter expression to be applied. Supports filtering by `type` and `associated_resources`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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:
StringOptional. 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:
StringA 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:
StringRequired. 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:
StringOptional. The filter expression, following AIP-160. Supports filtering by FindingType.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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:
StringOptional. 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=>0PARENT=>1PROJECT=>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:
StringA 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:
StringRequired. 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:
StringRequired. The parent of the `IntelligenceFindingRevision` resource. ## Format:
`projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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:
StringOptional. 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:
StringA 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
$msg->type()/$msg->type($value)Type:
Enum(Google::Storage::Control::V2::FindingType)Output only. The type of the finding.
$msg->category()/$msg->category($value)Type:
Enum(Google::Storage::Control::V2::FindingCategory)Output only. The category of finding.
$msg->target_resource()/$msg->target_resource($value)Type:
StringOutput only. The fully qualified Cloud resource name for which this summary was generated. eg: `//cloudresourcemanager.googleapis.com/projects/p1`
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The creation time of the earliest finding that this summary is based on.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time of the most recent update among all the findings that this summary is based on.
$msg->severity()/$msg->severity($value)Type:
Enum(Google::Storage::Control::V2::FindingSeverity)Severity of the finding.
$msg->summary_details()/$msg->summary_details($value)Type:
Message(Google::Storage::Control::V2::StorageControl::FindingSummary::SummaryDetails)Output only. List of `SummaryDetails`.
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:
StringThe key of the object context, which is unique among contexts of an object.
$msg->value()/$msg->value($value)Type:
StringThe 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=>0CUSTOM=>1GOOGLE=>2
Google::Storage::Control::V2::StorageControl::ViewObjectFullContextRequest
Request message for ViewObjectFullContext.
Inherits from Protobuf::Message.
Accessors
$msg->generation()/$msg->generation($value)Type:
Int64Optional. 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:
StringRequired. The key of the object context to retrieve.
$msg->name()/$msg->name($value)Type:
StringRequired. 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.