Class: Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1IndexOperationMetadata

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

Overview

Metadata for Index operations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleDatastoreAdminV1IndexOperationMetadata

Returns a new instance of GoogleDatastoreAdminV1IndexOperationMetadata



272
273
274
# File 'generated/google/apis/datastore_v1beta1/classes.rb', line 272

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

Instance Attribute Details

#commonGoogle::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1CommonMetadata

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



260
261
262
# File 'generated/google/apis/datastore_v1beta1/classes.rb', line 260

def common
  @common
end

#index_idString

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

Returns:

  • (String)


265
266
267
# File 'generated/google/apis/datastore_v1beta1/classes.rb', line 265

def index_id
  @index_id
end

#progress_entitiesGoogle::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1Progress

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



270
271
272
# File 'generated/google/apis/datastore_v1beta1/classes.rb', line 270

def progress_entities
  @progress_entities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



277
278
279
280
281
# File 'generated/google/apis/datastore_v1beta1/classes.rb', line 277

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