Class: Google::Apis::ContaineranalysisV1alpha1::UpdateOperationRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb

Overview

Request for updating an existing operation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateOperationRequest

Returns a new instance of UpdateOperationRequest.



3598
3599
3600
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3598

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#operationGoogle::Apis::ContaineranalysisV1alpha1::Operation

This resource represents a long-running operation that is the result of a network API call. Corresponds to the JSON property operation



3591
3592
3593
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3591

def operation
  @operation
end

#update_maskString

The fields to update. Corresponds to the JSON property updateMask

Returns:

  • (String)


3596
3597
3598
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3596

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3603
3604
3605
3606
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3603

def update!(**args)
  @operation = args[:operation] if args.key?(:operation)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end