Class: Google::Apis::ChecksV1alpha::WaitOperationRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/checks_v1alpha/classes.rb,
lib/google/apis/checks_v1alpha/representations.rb,
lib/google/apis/checks_v1alpha/representations.rb

Overview

The request message for Operations.WaitOperation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WaitOperationRequest

Returns a new instance of WaitOperationRequest.



1563
1564
1565
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1563

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#timeoutString

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

Returns:

  • (String)


1561
1562
1563
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1561

def timeout
  @timeout
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1568
1569
1570
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1568

def update!(**args)
  @timeout = args[:timeout] if args.key?(:timeout)
end