Class: Google::Apis::ContaineranalysisV1alpha1::CreateOperationRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::CreateOperationRequest
- 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 creating an 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.
-
#operation_id ⇒ String
The ID to use for this operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateOperationRequest
constructor
A new instance of CreateOperationRequest.
-
#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) ⇒ CreateOperationRequest
Returns a new instance of CreateOperationRequest
627 628 629 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 627 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
620 621 622 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 620 def operation @operation end |
#operation_id ⇒ String
The ID to use for this operation.
Corresponds to the JSON property operationId
625 626 627 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 625 def operation_id @operation_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
632 633 634 635 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 632 def update!(**args) @operation = args[:operation] if args.key?(:operation) @operation_id = args[:operation_id] if args.key?(:operation_id) end |