# Infrastructure Manager V1 API - Class Google::Longrunning::WaitOperationRequest (v0.2.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.2.0 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config-v1/latest/Google-Longrunning-WaitOperationRequest)
- [0.1.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config-v1/0.1.0/Google-Longrunning-WaitOperationRequest)
Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Longrunning::WaitOperationRequest.

The request message for Operations.WaitOperation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- The name of the operation resource to wait on.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the operation resource to wait on.
**Returns**

- (::String) --- The name of the operation resource to wait on.

### #timeout

    def timeout() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config-v1/latest/Google-Protobuf-Duration)) --- 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.

### #timeout=

    def timeout=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config-v1/latest/Google-Protobuf-Duration)) --- 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.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config-v1/latest/Google-Protobuf-Duration)) --- 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.