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.
1220 1221 1222 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1220 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
1208 1209 1210 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1208 def @objects_metadata end |
#storage_classes ⇒ Array<Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsStorageClass>
Optional. The storage classes in the bucket.
Corresponds to the JSON property storageClasses
1213 1214 1215 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1213 def storage_classes @storage_classes end |
#versioning ⇒ Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsVersioning
Versioning configuration of the bucket.
Corresponds to the JSON property versioning
1218 1219 1220 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1218 def versioning @versioning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1225 1226 1227 1228 1229 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1225 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 |