Class: Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetails
- 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
Asset information specific for AWS S3 buckets.
Instance Attribute Summary collapse
-
#objects_metadata ⇒ Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsObjectsMetadata
The metadata of the objects in the bucket.
-
#storage_classes ⇒ Array<Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsStorageClass>
Optional.
-
#versioning ⇒ Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsVersioning
Versioning configuration of the bucket.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AwsS3BucketDetails
constructor
A new instance of AwsS3BucketDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AwsS3BucketDetails
Returns a new instance of AwsS3BucketDetails.
1482 1483 1484 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1482 def initialize(**args) update!(**args) end |
Instance Attribute Details
#objects_metadata ⇒ Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsObjectsMetadata
The metadata of the objects in the bucket.
Corresponds to the JSON property objectsMetadata
1470 1471 1472 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1470 def @objects_metadata end |
#storage_classes ⇒ Array<Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsStorageClass>
Optional. The storage classes in the bucket.
Corresponds to the JSON property storageClasses
1475 1476 1477 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1475 def storage_classes @storage_classes end |
#versioning ⇒ Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsVersioning
Versioning configuration of the bucket.
Corresponds to the JSON property versioning
1480 1481 1482 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1480 def versioning @versioning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1487 1488 1489 1490 1491 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1487 def update!(**args) @objects_metadata = args[:objects_metadata] if args.key?(:objects_metadata) @storage_classes = args[:storage_classes] if args.key?(:storage_classes) @versioning = args[:versioning] if args.key?(:versioning) end |