Class: Google::Apis::ContaineranalysisV1alpha1::UpdateOperationRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::UpdateOperationRequest
- Defined in:
- generated/google/apis/containeranalysis_v1alpha1/classes.rb,
generated/google/apis/containeranalysis_v1alpha1/representations.rb,
generated/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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateOperationRequest
Returns a new instance of UpdateOperationRequest
2515 2516 2517 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 2515 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
2508 2509 2510 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 2508 def operation @operation end |
#update_mask ⇒ String
The fields to update.
Corresponds to the JSON property updateMask
2513 2514 2515 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 2513 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2520 2521 2522 2523 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 2520 def update!(**args) @operation = args[:operation] if args.key?(:operation) @update_mask = args[:update_mask] if args.key?(:update_mask) end |