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.



1653
1654
1655
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1653

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



1651
1652
1653
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1651

def total_objects
  @total_objects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1658
1659
1660
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1658

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