class Google::Apis::NetworkmanagementV1::OperationMetadata
Metadata describing an Operation
Attributes
API version. Corresponds to the JSON property `apiVersion` @return [String]
Specifies if cancellation was requested for the operation. Corresponds to the JSON property `cancelRequested` @return [Boolean]
Specifies if cancellation was requested for the operation. Corresponds to the JSON property `cancelRequested` @return [Boolean]
The time the operation was created. Corresponds to the JSON property `createTime` @return [String]
The time the operation finished running. Corresponds to the JSON property `endTime` @return [String]
Human-readable status of the operation, if any. Corresponds to the JSON property `statusDetail` @return [String]
Target of the operation - for example projects/project-1/locations/global/ connectivityTests/test-1 Corresponds to the JSON property `target` @return [String]
Name of the verb executed by the operation. Corresponds to the JSON property `verb` @return [String]
Public Class Methods
# File lib/google/apis/networkmanagement_v1/classes.rb, line 1193 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/networkmanagement_v1/classes.rb, line 1198 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