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.



1241
1242
1243
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1241

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



1239
1240
1241
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1239

def total_objects
  @total_objects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1246
1247
1248
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1246

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