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, UniformBucketLevelAccess
Instance Attribute Summary collapse
-
#bucket_policy_only ⇒ Google::Apis::StorageV1::Bucket::IamConfiguration::BucketPolicyOnly
The bucket's Bucket Policy Only configuration.
-
#uniform_bucket_level_access ⇒ Google::Apis::StorageV1::Bucket::IamConfiguration::UniformBucketLevelAccess
The bucket's uniform bucket-level access configuration.
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
320 321 322 |
# File 'generated/google/apis/storage_v1/classes.rb', line 320 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket_policy_only ⇒ Google::Apis::StorageV1::Bucket::IamConfiguration::BucketPolicyOnly
The bucket's Bucket Policy Only configuration.
Corresponds to the JSON property bucketPolicyOnly
313 314 315 |
# File 'generated/google/apis/storage_v1/classes.rb', line 313 def bucket_policy_only @bucket_policy_only end |
#uniform_bucket_level_access ⇒ Google::Apis::StorageV1::Bucket::IamConfiguration::UniformBucketLevelAccess
The bucket's uniform bucket-level access configuration.
Corresponds to the JSON property uniformBucketLevelAccess
318 319 320 |
# File 'generated/google/apis/storage_v1/classes.rb', line 318 def uniform_bucket_level_access @uniform_bucket_level_access end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
325 326 327 328 |
# File 'generated/google/apis/storage_v1/classes.rb', line 325 def update!(**args) @bucket_policy_only = args[:bucket_policy_only] if args.key?(:bucket_policy_only) @uniform_bucket_level_access = args[:uniform_bucket_level_access] if args.key?(:uniform_bucket_level_access) end |