Class: Google::Apis::RunV2::GoogleLongrunningWaitOperationRequest
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleLongrunningWaitOperationRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/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) ⇒ GoogleLongrunningWaitOperationRequest
constructor
A new instance of GoogleLongrunningWaitOperationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleLongrunningWaitOperationRequest
Returns a new instance of GoogleLongrunningWaitOperationRequest.
5460 5461 5462 |
# File 'lib/google/apis/run_v2/classes.rb', line 5460 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
5458 5459 5460 |
# File 'lib/google/apis/run_v2/classes.rb', line 5458 def timeout @timeout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5465 5466 5467 |
# File 'lib/google/apis/run_v2/classes.rb', line 5465 def update!(**args) @timeout = args[:timeout] if args.key?(:timeout) end |