Class: Google::Apis::TranslateV3beta1::WaitOperationRequest
- Inherits:
-
Object
- Object
- Google::Apis::TranslateV3beta1::WaitOperationRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/translate_v3beta1/classes.rb,
lib/google/apis/translate_v3beta1/representations.rb,
lib/google/apis/translate_v3beta1/representations.rb
Overview
The request message for Operations.WaitOperation.
Instance Attribute Summary collapse
-
#timeout ⇒ String
The maximum duration to wait before timing out.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WaitOperationRequest
constructor
A new instance of WaitOperationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WaitOperationRequest
Returns a new instance of WaitOperationRequest.
1272 1273 1274 |
# File 'lib/google/apis/translate_v3beta1/classes.rb', line 1272 def initialize(**args) update!(**args) end |
Instance Attribute Details
#timeout ⇒ String
The maximum duration to wait before timing out. If left blank, the wait will
be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
context deadline is also specified, the shorter one will be used.
Corresponds to the JSON property timeout
1270 1271 1272 |
# File 'lib/google/apis/translate_v3beta1/classes.rb', line 1270 def timeout @timeout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1277 1278 1279 |
# File 'lib/google/apis/translate_v3beta1/classes.rb', line 1277 def update!(**args) @timeout = args[:timeout] if args.key?(:timeout) end |