class Google::Apis::NetworkmanagementV1beta1::OperationMetadata

Metadata describing an Operation

Attributes

api_version[RW]

API version. Corresponds to the JSON property `apiVersion` @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]

create_time[RW]

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

end_time[RW]

The time the operation finished running. Corresponds to the JSON property `endTime` @return [String]

status_detail[RW]

Human-readable status of the operation, if any. Corresponds to the JSON property `statusDetail` @return [String]

target[RW]

Target of the operation - for example projects/project-1/locations/global/ connectivityTests/test-1 Corresponds to the JSON property `target` @return [String]

verb[RW]

Name of the verb executed by the operation. Corresponds to the JSON property `verb` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 1250
def update!(**args)
  @api_version = args[:api_version] if args.key?(:api_version)
  @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
  @create_time = args[:create_time] if args.key?(:create_time)
  @end_time = args[:end_time] if args.key?(:end_time)
  @status_detail = args[:status_detail] if args.key?(:status_detail)
  @target = args[:target] if args.key?(:target)
  @verb = args[:verb] if args.key?(:verb)
end