class Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1beta1CommonMetadata

Metadata common to all Datastore Admin operations.

Attributes

end_time[RW]

The time the operation ended, either successfully or otherwise. Corresponds to the JSON property `endTime` @return [String]

labels[RW]

The client-assigned labels which were provided when the operation was created. May also include additional labels. Corresponds to the JSON property `labels` @return [Hash<String,String>]

operation_type[RW]

The type of the operation. Can be used as a filter in ListOperationsRequest. Corresponds to the JSON property `operationType` @return [String]

start_time[RW]

The time that work began on the operation. Corresponds to the JSON property `startTime` @return [String]

state[RW]

The current state of the Operation. Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastore_v1beta1/classes.rb, line 319
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datastore_v1beta1/classes.rb, line 324
def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @labels = args[:labels] if args.key?(:labels)
  @operation_type = args[:operation_type] if args.key?(:operation_type)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
end