GoogleCloudStorage::Policy
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
A bucket/object IAM policy.
Constructors
Instance methods
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
An association between a role, which comes with a set of permissions, and members who may assume that role.
Custom attribute writer method checking allowed values (enum). @param [Object] bindings Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] etag Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
Custom attribute writer method checking allowed values (enum). @param [Object] kind Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
The ID of the resource to which this policy belongs. Will be of the form projects//buckets/bucket for buckets, and projects//buckets/bucket/objects/object for objects. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
Custom attribute writer method checking allowed values (enum). @param [Object] resource_id Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid