Class: Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsStorageClass
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsStorageClass
- 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
Details about storage class.
Instance Attribute Summary collapse
-
#total_bytes ⇒ Fixnum
Optional.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AwsS3BucketDetailsStorageClass
constructor
A new instance of AwsS3BucketDetailsStorageClass.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AwsS3BucketDetailsStorageClass
Returns a new instance of AwsS3BucketDetailsStorageClass.
1284 1285 1286 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1284 def initialize(**args) update!(**args) end |
Instance Attribute Details
#total_bytes ⇒ Fixnum
Optional. The total size of the storage class in bytes.
Corresponds to the JSON property totalBytes
1277 1278 1279 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1277 def total_bytes @total_bytes end |
#type ⇒ String
Required. Type of the storage class.
Corresponds to the JSON property type
1282 1283 1284 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1282 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1289 1290 1291 1292 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1289 def update!(**args) @total_bytes = args[:total_bytes] if args.key?(:total_bytes) @type = args[:type] if args.key?(:type) end |