GET /b/{bucket}/managedFolders/{managedFolder}/iam/testPermissions
Changed onTests a set of permissions on the given managed folder to see which, if any, are held by the caller.
Request
- Base URLhttps://storage.googleapis.com/storage/v1
- Auth
- OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-platformAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-platform
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-platform.read-onlyAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-platform.read-only
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/devstorage.full_controlAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/devstorage.full_control
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/devstorage.read_onlyAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/devstorage.read_only
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/devstorage.read_writeAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/devstorage.read_write
Path parameters
Name of the bucket containing the managed folder.
The managed folder name/path.
Query parameters
Data format for the response.
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
Upload protocol for media (e.g. "media", "multipart", "resumable").
Deprecated. Please use quotaUser instead.
Permissions to test.
The project to be billed for this request. Required for Requester Pays buckets.
Response
Successful response
A storage.(buckets|objects|managedFolders).testIamPermissions response.
The kind of item this is.
The permissions held by the caller. Permissions are always of the format storage.resource.capability, where resource is one of buckets, objects, or managedFolders. The supported permissions are as follows:
- storage.buckets.delete - Delete bucket.
- storage.buckets.get - Read bucket metadata.
- storage.buckets.getIamPolicy - Read bucket IAM policy.
- storage.buckets.create - Create bucket.
- storage.buckets.list - List buckets.
- storage.buckets.setIamPolicy - Update bucket IAM policy.
- storage.buckets.update - Update bucket metadata.
- storage.objects.delete - Delete object.
- storage.objects.get - Read object data and metadata.
- storage.objects.getIamPolicy - Read object IAM policy.
- storage.objects.create - Create object.
- storage.objects.list - List objects.
- storage.objects.setIamPolicy - Update object IAM policy.
- storage.objects.update - Update object metadata.
- storage.managedFolders.delete - Delete managed folder.
- storage.managedFolders.get - Read managed folder metadata.
- storage.managedFolders.getIamPolicy - Read managed folder IAM policy.
- storage.managedFolders.create - Create managed folder.
- storage.managedFolders.list - List managed folders.
- storage.managedFolders.setIamPolicy - Update managed folder IAM policy.
Changes
- info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/devstorage.read_writewas removed from the endpoint's security schemeOauth2
1 more change in this revision
- info