Class: Google::Apis::ContaineranalysisV1alpha1::UpdateOperationRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::UpdateOperationRequest
- 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
-
#operation ⇒ Google::Apis::ContaineranalysisV1alpha1::Operation
This resource represents a long-running operation that is the result of a network API call.
-
#update_mask ⇒ String
The fields to update.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateOperationRequest
constructor
A new instance of UpdateOperationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateOperationRequest
Returns a new instance of UpdateOperationRequest.
5299 5300 5301 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5299 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operation ⇒ Google::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
5292 5293 5294 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5292 def operation @operation end |
#update_mask ⇒ String
The fields to update.
Corresponds to the JSON property updateMask
5297 5298 5299 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5297 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5304 5305 5306 5307 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5304 def update!(**args) @operation = args[:operation] if args.key?(:operation) @update_mask = args[:update_mask] if args.key?(:update_mask) end |