Class: Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsStorageClass

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_bytesFixnum

Optional. The total size of the storage class in bytes. Corresponds to the JSON property totalBytes

Returns:

  • (Fixnum)


1664
1665
1666
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1664

def total_bytes
  @total_bytes
end

#typeString

Required. Type of the storage class. Corresponds to the JSON property type

Returns:

  • (String)


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