Class: Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsObjectsMetadata

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

The metadata of the objects in the bucket.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AwsS3BucketDetailsObjectsMetadata

Returns a new instance of AwsS3BucketDetailsObjectsMetadata.



1628
1629
1630
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1628

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#total_objectsGoogle::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsObjectsMetadataTotalObjects

Information about the total number of objects in the bucket. Corresponds to the JSON property totalObjects



1626
1627
1628
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1626

def total_objects
  @total_objects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1633
1634
1635
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1633

def update!(**args)
  @total_objects = args[:total_objects] if args.key?(:total_objects)
end