class Google::Apis::ContaineranalysisV1alpha1::CreateOperationRequest

Request for creating an operation

Attributes

operation[RW]

This resource represents a long-running operation that is the result of a network API call. Corresponds to the JSON property `operation` @return [Google::Apis::ContaineranalysisV1alpha1::Operation]

operation_id[RW]

The ID to use for this operation. Corresponds to the JSON property `operationId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 730
def update!(**args)
  @operation = args[:operation] if args.key?(:operation)
  @operation_id = args[:operation_id] if args.key?(:operation_id)
end