Class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1IndexOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datastore_v1beta3/classes.rb,
lib/google/apis/datastore_v1beta3/representations.rb,
lib/google/apis/datastore_v1beta3/representations.rb

Overview

Metadata for Index operations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDatastoreAdminV1IndexOperationMetadata

Returns a new instance of GoogleDatastoreAdminV1IndexOperationMetadata.



568
569
570
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 568

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

Instance Attribute Details

#commonGoogle::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1CommonMetadata

Metadata common to all Datastore Admin operations. Corresponds to the JSON property common



556
557
558
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 556

def common
  @common
end

#index_idString

The index resource ID that this operation is acting on. Corresponds to the JSON property indexId

Returns:

  • (String)


561
562
563
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 561

def index_id
  @index_id
end

#progress_entitiesGoogle::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress

Measures the progress of a particular metric. Corresponds to the JSON property progressEntities



566
567
568
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 566

def progress_entities
  @progress_entities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



573
574
575
576
577
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 573

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