Class: Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#done ⇒ Boolean
(also: #done?)
Corresponds to the JSON property
done. -
#error ⇒ Google::Apis::DialogflowV2beta1::GoogleRpcStatus
Corresponds to the JSON property
error. -
#metadata ⇒ Hash<String,Object>
Corresponds to the JSON property
metadata. -
#name ⇒ String
Corresponds to the JSON property
name. -
#response ⇒ Hash<String,Object>
Corresponds to the JSON property
response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleLongrunningOperation
constructor
A new instance of GoogleLongrunningOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleLongrunningOperation
Returns a new instance of GoogleLongrunningOperation.
22508 22509 22510 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22508 def initialize(**args) update!(**args) end |
Instance Attribute Details
#done ⇒ Boolean Also known as: done?
Corresponds to the JSON property done
22485 22486 22487 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22485 def done @done end |
#error ⇒ Google::Apis::DialogflowV2beta1::GoogleRpcStatus
Corresponds to the JSON property error
22491 22492 22493 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22491 def error @error end |
#metadata ⇒ Hash<String,Object>
Corresponds to the JSON property metadata
22496 22497 22498 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22496 def @metadata end |
#name ⇒ String
Corresponds to the JSON property name
22501 22502 22503 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22501 def name @name end |
#response ⇒ Hash<String,Object>
Corresponds to the JSON property response
22506 22507 22508 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22506 def response @response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22513 22514 22515 22516 22517 22518 22519 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22513 def update!(**args) @done = args[:done] if args.key?(:done) @error = args[:error] if args.key?(:error) @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) @response = args[:response] if args.key?(:response) end |