Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation
- Inherits:
-
Object
- Object
- Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicebroker_v1beta1/classes.rb,
generated/google/apis/servicebroker_v1beta1/representations.rb,
generated/google/apis/servicebroker_v1beta1/representations.rb
Overview
Describes a long running operation, which conforms to OpenService API.
Instance Attribute Summary collapse
-
#description ⇒ String
Optional description of the Operation state.
-
#state ⇒ String
The state of the operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudServicebrokerV1beta1Operation
constructor
A new instance of GoogleCloudServicebrokerV1beta1Operation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudServicebrokerV1beta1Operation
Returns a new instance of GoogleCloudServicebrokerV1beta1Operation
541 542 543 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 541 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Optional description of the Operation state.
Corresponds to the JSON property description
533 534 535 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 533 def description @description end |
#state ⇒ String
The state of the operation.
Valid values are: "in progress", "succeeded", and "failed".
Corresponds to the JSON property state
539 540 541 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 539 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
546 547 548 549 |
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 546 def update!(**args) @description = args[:description] if args.key?(:description) @state = args[:state] if args.key?(:state) end |