class Google::Apis::StorageV1::TestIamPermissionsResponse
A storage.(buckets|objects).testIamPermissions response.
Attributes
The kind of item this is. Corresponds to the JSON property `kind` @return [String]
The permissions held by the caller. Permissions are always of the format storage.resource.capability, where resource is one of buckets or objects. 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.
Corresponds to the JSON property `permissions` @return [Array<String>]
Public Class Methods
# File lib/google/apis/storage_v1/classes.rb, line 2074 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/storage_v1/classes.rb, line 2079 def update!(**args) @kind = args[:kind] if args.key?(:kind) @permissions = args[:permissions] if args.key?(:permissions) end