2023-10-17
▼ ▲ storage.managedFolders.delete
Path: b/{bucket}/managedFolders/{managedFolder}
HTTP Method: DELETE
Description: Permanently deletes a managed folder.
Parameters:
bucket
Type: string
Description: Name of the bucket containing the managed folder.
Required: Yes
Location: path
managedFolder
Type: string
Description: The managed folder name/path.
Required: Yes
Location: path
ifMetagenerationMatch
Type: string
Description: If set, only deletes the managed folder if its metageneration matches this value.
Format: int64
Location: query
ifMetagenerationNotMatch
Type: string
Description: If set, only deletes the managed folder if its metageneration does not match this value.
Format: int64
Location: query
Parameter Order:
Scopes:
▼ ▲ storage.managedFolders.get
Path: b/{bucket}/managedFolders/{managedFolder}
HTTP Method: GET
Description: Returns metadata of the specified managed folder.
Parameters:
bucket
Type: string
Description: Name of the bucket containing the managed folder.
Required: Yes
Location: path
managedFolder
Type: string
Description: The managed folder name/path.
Required: Yes
Location: path
ifMetagenerationMatch
Type: string
Description: Makes the return of the managed folder metadata conditional on whether the managed folder's current metageneration matches the given value.
Format: int64
Location: query
ifMetagenerationNotMatch
Type: string
Description: Makes the return of the managed folder metadata conditional on whether the managed folder's current metageneration does not match the given value.
Format: int64
Location: query
Parameter Order:
Scopes:
▼ ▲ storage.managedFolders.getIamPolicy
Path: b/{bucket}/managedFolders/{managedFolder}/iam
HTTP Method: GET
Description: Returns an IAM policy for the specified managed folder.
Parameters:
bucket
Type: string
Description: Name of the bucket containing the managed folder.
Required: Yes
Location: path
optionsRequestedPolicyVersion
Type: integer
Description: The IAM policy format version to be returned. If the optionsRequestedPolicyVersion is for an older version that doesn't support part of the requested IAM policy, the request fails.
Format: int32
Minimum: 1
Location: query
managedFolder
Type: string
Description: The managed folder name/path.
Required: Yes
Location: path
userProject
Type: string
Description: The project to be billed for this request. Required for Requester Pays buckets.
Location: query
Parameter Order:
Scopes:
▼ ▲ storage.managedFolders.insert
Path: b/{bucket}/managedFolders
HTTP Method: POST
Description: Creates a new managed folder.
Parameters:
bucket
Type: string
Description: Name of the bucket containing the managed folder.
Required: Yes
Location: path
Parameter Order: bucket
Scopes:
▼ ▲ storage.managedFolders.list
Path: b/{bucket}/managedFolders
HTTP Method: GET
Description: Lists managed folders in the given bucket.
Parameters:
bucket
Type: string
Description: Name of the bucket containing the managed folder.
Required: Yes
Location: path
pageSize
Type: integer
Description: Maximum number of items return in a single page of responses.
Format: int32
Minimum: 0
Location: query
pageToken
Type: string
Description: A previously-returned page token representing part of the larger set of results to view.
Location: query
prefix
Type: string
Description: The managed folder name/path prefix to filter the output list of results.
Location: query
Parameter Order: bucket
Scopes:
▼ ▲ storage.managedFolders.setIamPolicy
Path: b/{bucket}/managedFolders/{managedFolder}/iam
HTTP Method: PUT
Description: Updates an IAM policy for the specified managed folder.
Parameters:
bucket
Type: string
Description: Name of the bucket containing the managed folder.
Required: Yes
Location: path
managedFolder
Type: string
Description: The managed folder name/path.
Required: Yes
Location: path
userProject
Type: string
Description: The project to be billed for this request. Required for Requester Pays buckets.
Location: query
Parameter Order:
Scopes:
▼ ▲ storage.managedFolders.testIamPermissions
Path: b/{bucket}/managedFolders/{managedFolder}/iam/testPermissions
HTTP Method: GET
Description: Tests a set of permissions on the given managed folder to see which, if any, are held by the caller.
Parameters:
bucket
Type: string
Description: Name of the bucket containing the managed folder.
Required: Yes
Location: path
managedFolder
Type: string
Description: The managed folder name/path.
Required: Yes
Location: path
permissions
Type: string
Description: Permissions to test.
Required: Yes
Repeated: Yes
Location: query
userProject
Type: string
Description: The project to be billed for this request. Required for Requester Pays buckets.
Location: query
Parameter Order:
Scopes:
▼ ▲ storage.objects.list
Parameters:
includeFoldersAsPrefixes
Type: boolean
Description: Only applicable if delimiter is set to '/'. If true, will also include folders and managed folders (besides objects) in the returned prefixes.
Location: query