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.
22183 22184 22185 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22183 def initialize(**args) update!(**args) end |
Instance Attribute Details
#done ⇒ Boolean Also known as: done?
Corresponds to the JSON property done
22160 22161 22162 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22160 def done @done end |
#error ⇒ Google::Apis::DialogflowV2beta1::GoogleRpcStatus
Corresponds to the JSON property error
22166 22167 22168 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22166 def error @error end |
#metadata ⇒ Hash<String,Object>
Corresponds to the JSON property metadata
22171 22172 22173 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22171 def @metadata end |
#name ⇒ String
Corresponds to the JSON property name
22176 22177 22178 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22176 def name @name end |
#response ⇒ Hash<String,Object>
Corresponds to the JSON property response
22181 22182 22183 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22181 def response @response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22188 22189 22190 22191 22192 22193 22194 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22188 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 |