class Google::Apis::HealthcareV1::OperationMetadata

OperationMetadata provides information about the operation execution. Returned in the long-running operation's metadata field.

Attributes

api_method_name[RW]

The name of the API method that initiated the operation. Corresponds to the JSON property `apiMethodName` @return [String]

cancel_requested[RW]

Specifies if cancellation was requested for the operation. Corresponds to the JSON property `cancelRequested` @return [Boolean]

cancel_requested?[RW]

Specifies if cancellation was requested for the operation. Corresponds to the JSON property `cancelRequested` @return [Boolean]

counter[RW]

ProgressCounter provides counters to describe an operation's progress. Corresponds to the JSON property `counter` @return [Google::Apis::HealthcareV1::ProgressCounter]

create_time[RW]

The time at which the operation was created by the API. Corresponds to the JSON property `createTime` @return [String]

end_time[RW]

The time at which execution was completed. Corresponds to the JSON property `endTime` @return [String]

logs_url[RW]

A link to audit and error logs in the log viewer. Error logs are generated only by some operations, listed at [Viewing error logs in Cloud Logging](https: //cloud.google.com/healthcare/docs/how-tos/logging). Corresponds to the JSON property `logsUrl` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/healthcare_v1/classes.rb, line 3165
def update!(**args)
  @api_method_name = args[:api_method_name] if args.key?(:api_method_name)
  @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
  @counter = args[:counter] if args.key?(:counter)
  @create_time = args[:create_time] if args.key?(:create_time)
  @end_time = args[:end_time] if args.key?(:end_time)
  @logs_url = args[:logs_url] if args.key?(:logs_url)
end