Class: Google::Apis::StorageV1::Bucket::IamConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::StorageV1::Bucket::IamConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/storage_v1/classes.rb,
generated/google/apis/storage_v1/representations.rb,
generated/google/apis/storage_v1/representations.rb
Overview
The bucket's IAM configuration.
Defined Under Namespace
Classes: BucketPolicyOnly
Instance Attribute Summary collapse
-
#bucket_policy_only ⇒ Google::Apis::StorageV1::Bucket::IamConfiguration::BucketPolicyOnly
Corresponds to the JSON property
bucketPolicyOnly
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IamConfiguration
constructor
A new instance of IamConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IamConfiguration
Returns a new instance of IamConfiguration
309 310 311 |
# File 'generated/google/apis/storage_v1/classes.rb', line 309 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket_policy_only ⇒ Google::Apis::StorageV1::Bucket::IamConfiguration::BucketPolicyOnly
Corresponds to the JSON property bucketPolicyOnly
307 308 309 |
# File 'generated/google/apis/storage_v1/classes.rb', line 307 def bucket_policy_only @bucket_policy_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
314 315 316 |
# File 'generated/google/apis/storage_v1/classes.rb', line 314 def update!(**args) @bucket_policy_only = args[:bucket_policy_only] if args.key?(:bucket_policy_only) end |