Class: Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsVersioning
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsVersioning
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
Versioning configuration of the bucket.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AwsS3BucketDetailsVersioning
constructor
A new instance of AwsS3BucketDetailsVersioning.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AwsS3BucketDetailsVersioning
Returns a new instance of AwsS3BucketDetailsVersioning.
1305 1306 1307 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1305 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Optional. Whether versioning is enabled.
Corresponds to the JSON property enabled
1302 1303 1304 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1302 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1310 1311 1312 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1310 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) end |