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.
1671 1672 1673 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1671 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
1664 1665 1666 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1664 def total_bytes @total_bytes end |
#type ⇒ String
Required. Type of the storage class.
Corresponds to the JSON property type
1669 1670 1671 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1669 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1676 1677 1678 1679 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1676 def update!(**args) @total_bytes = args[:total_bytes] if args.key?(:total_bytes) @type = args[:type] if args.key?(:type) end |