Index
StorageControl
(interface)CommonLongRunningOperationMetadata
(message)CreateFolderRequest
(message)CreateManagedFolderRequest
(message)DeleteFolderRequest
(message)DeleteManagedFolderRequest
(message)Folder
(message)GetFolderRequest
(message)GetManagedFolderRequest
(message)GetStorageLayoutRequest
(message)ListFoldersRequest
(message)ListFoldersResponse
(message)ListManagedFoldersRequest
(message)ListManagedFoldersResponse
(message)ManagedFolder
(message)PendingRenameInfo
(message)RenameFolderMetadata
(message)RenameFolderRequest
(message)StorageLayout
(message)StorageLayout.CustomPlacementConfig
(message)StorageLayout.HierarchicalNamespace
(message)
StorageControl
StorageControl service includes selected control plane operations.
CreateFolder |
---|
Creates a IAM Permissions: Requires
|
CreateManagedFolder |
---|
Creates a managed folder within a bucket. IAM Permissions: Requires
|
DeleteFolder |
---|
Deletes a IAM Permissions: You must have the following IAM permissions to use this method:
|
DeleteManagedFolder |
---|
Delete a managed folder within a bucket. IAM Permissions: Requires
|
GetFolder |
---|
Retrieves metadata of a IAM Permissions: Requires
|
GetManagedFolder |
---|
Returns metadata for the specified managed folder. IAM Permissions: Requires
|
GetStorageLayout |
---|
Returns the storage layout of the specified bucket. IAM Permissions: Requires
|
ListFolders |
---|
View the IAM Permissions: Requires
|
ListManagedFolders |
---|
Retrieves a list of managed folders for a given bucket. IAM Permissions: Requires
|
RenameFolder |
---|
Renames a IAM Permissions: The authenticated user must have the following IAM permissions to use this method:
|
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
.
Fields | |
---|---|
create_ |
Output only. The time the operation was created. |
end_ |
Output only. The time the operation finished running. |
update_ |
Output only. The time the operation was last modified. |
type |
Output only. The type of operation invoked. |
requested_ |
Output only. Identifies whether the user has requested cancellation. |
progress_ |
Output only. The estimated progress of the operation in percentage [0, 100]. The value -1 means the progress is unknown. |
CreateFolderRequest
Request message for CreateFolder
operation.
Fields | |
---|---|
parent |
Required. Name of the hierarchical namespace enabled bucket which contains the folder. |
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_ |
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. |
recursive |
Optional. If set to true, the method creates all the non-existing parent folders. If not set or set to false, the request fails if any parent folder doesn't exist. |
request_ |
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. |
CreateManagedFolderRequest
Request message for CreateManagedFolder
operation.
Fields | |
---|---|
parent |
Required. Name of the bucket this managed folder belongs to. |
managed_ |
Required. Properties of the managed folder being created. The bucket and managed folder names are specified in the |
managed_ |
Required. The name of the managed folder. It uses a single |
request_ |
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. |
DeleteFolderRequest
Request message for DeleteFolder
operation.
Fields | |
---|---|
name |
Required. Name of the folder. Format: |
request_ |
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. |
if_ |
Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value. |
if_ |
Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value. |
DeleteManagedFolderRequest
Request message for DeleteManagedFolder
operation.
Fields | |
---|---|
name |
Required. Name of the managed folder. Format: |
allow_ |
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. |
request_ |
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. |
if_ |
The operation succeeds conditional on the managed folder's current metageneration matching the value here specified. |
if_ |
The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified. |
Folder
A folder resource. This resource can only exist in a hierarchical namespace enabled bucket.
Fields | |
---|---|
name |
Identifier. The name of this folder. Format: |
metageneration |
Output only. The version of the metadata for this folder. Used for preconditions and for detecting changes in metadata. |
create_ |
Output only. The creation time of the folder. |
update_ |
Output only. The modification time of the folder. |
pending_ |
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. |
GetFolderRequest
Request message for GetFolder
operation.
Fields | |
---|---|
name |
Required. Name of the folder. Format: |
request_ |
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. |
if_ |
Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value. |
if_ |
Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value. |
GetManagedFolderRequest
Request message for GetManagedFolder
operation.
Fields | |
---|---|
name |
Required. Name of the managed folder. Format: |
request_ |
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. |
if_ |
The operation succeeds conditional on the managed folder's current metageneration matching the value here specified. |
if_ |
The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified. |
GetStorageLayoutRequest
Request message for GetStorageLayout
operation.
Fields | |
---|---|
name |
Required. The name of the StorageLayout resource. Format: |
prefix |
An optional prefix used for permission check. It is useful when the caller only has limited permissions under a specific prefix. |
request_ |
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. |
ListFoldersRequest
Request message for ListFolders
operation.
Fields | |
---|---|
parent |
Required. Name of the hierarchical namespace enabled bucket which contains the folders. |
page_ |
Optional. Maximum number of folders to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller. |
page_ |
Optional. A previously-returned page token representing part of the larger set of results to view. |
prefix |
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 '/'. |
delimiter |
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 '/'. |
lexicographic_ |
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). |
lexicographic_ |
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). |
request_ |
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. |
ListFoldersResponse
Response message for ListFolders
operation.
Fields | |
---|---|
folders[] |
The list of child folders |
next_ |
The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. |
ListManagedFoldersRequest
Request message for ListManagedFolders
operation.
Fields | |
---|---|
parent |
Required. Name of the bucket this managed folder belongs to. |
page_ |
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. |
page_ |
Optional. A previously-returned page token representing part of the larger set of results to view. |
prefix |
Optional. Filter results to match managed folders with name starting with this prefix. |
request_ |
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. |
ListManagedFoldersResponse
Response message for ListManagedFolders
operation.
Fields | |
---|---|
managed_ |
The list of matching managed folders |
next_ |
The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. |
ManagedFolder
A managed folder resource.
Fields | |
---|---|
name |
Identifier. The name of the managed folder. Format: |
metageneration |
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. |
create_ |
Output only. The creation time of the managed folder. |
update_ |
Output only. The modification time of the managed folder. |
PendingRenameInfo
Contains information about a pending rename operation.
Fields | |
---|---|
operation |
Output only. The name of the rename operation. |
RenameFolderMetadata
Message returned in the metadata field of the Operation resource for RenameFolder operations.
Fields | |
---|---|
common_ |
Generic metadata for the long running operation. |
source_ |
The path of the source folder. |
destination_ |
The path of the destination folder. |
RenameFolderRequest
Request message for RenameFolder
operation.
Fields | |
---|---|
name |
Required. Name of the source folder being renamed. Format: |
destination_ |
Required. The destination folder ID, for example, |
request_ |
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 |
if_ |
Makes the operation only succeed conditional on whether the source folder's current metageneration matches the given value. |
if_ |
Makes the operation only succeed conditional on whether the source folder's current metageneration does not match the given value. |
StorageLayout
The storage layout configuration of a bucket.
Fields | |
---|---|
name |
Output only. The name of the StorageLayout resource. Format: |
location |
Output only. The location of the bucket. |
location_ |
Output only. The location type of the bucket (region, dual-region, multi-region, etc). |
custom_ |
Output only. The data placement configuration for custom dual region. If there is no configuration, this is not a custom dual region bucket. |
hierarchical_ |
Output only. The bucket's hierarchical namespace configuration. If there is no configuration, the hierarchical namespace is disabled. |
CustomPlacementConfig
Configuration for Custom Dual Regions. It should specify precisely two eligible regions within the same Multiregion. More information on regions may be found [https://cloud.google.com/storage/docs/locations][here].
Fields | |
---|---|
data_ |
List of locations to use for data placement. |
HierarchicalNamespace
Configuration for a bucket's hierarchical namespace feature.
Fields | |
---|---|
enabled |
Enables the hierarchical namespace feature. |