# Cloud Bigtable V2 API - Class Google::Cloud::Bigtable::V2::ClientConfiguration::PollingConfiguration (v1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.2 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.5 Reference documentation and code samples for the Cloud Bigtable V2 API class Google::Cloud::Bigtable::V2::ClientConfiguration::PollingConfiguration.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #max_rpc_retry_count

    def max_rpc_retry_count() -> ::Integer

**Returns**

- (::Integer) --- Number of times the client should retry a failed GetClientConfiguration RPC per polling interval before giving up.

### #max_rpc_retry_count=

    def max_rpc_retry_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Number of times the client should retry a failed GetClientConfiguration RPC per polling interval before giving up.
**Returns**

- (::Integer) --- Number of times the client should retry a failed GetClientConfiguration RPC per polling interval before giving up.

### #polling_interval

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

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Protobuf-Duration)) --- A duration describing the time between GetClientConfiguration RPCs. Only strictly positive values are permissible.

### #polling_interval=

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

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Protobuf-Duration)) --- A duration describing the time between GetClientConfiguration RPCs. Only strictly positive values are permissible.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Protobuf-Duration)) --- A duration describing the time between GetClientConfiguration RPCs. Only strictly positive values are permissible.

### #validity_duration

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

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Protobuf-Duration)) --- How long the client should consider the configuration it receives from GetClientConfiguration valid for. Once this duration has passed, the client should consider the configuration invalid and must either:


  - Get a new configuration from GetClientConfiguration
  - Or if it cannot, use a sane default configuration

  This duration will be at least as long as the polling interval.

### #validity_duration=

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

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Protobuf-Duration)) --- How long the client should consider the configuration it receives from GetClientConfiguration valid for. Once this duration has passed, the client should consider the configuration invalid and must either:


  - Get a new configuration from GetClientConfiguration
  - Or if it cannot, use a sane default configuration

  This duration will be at least as long as the polling interval.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Protobuf-Duration)) --- How long the client should consider the configuration it receives from GetClientConfiguration valid for. Once this duration has passed, the client should consider the configuration invalid and must either:


  - Get a new configuration from GetClientConfiguration
  - Or if it cannot, use a sane default configuration

  This duration will be at least as long as the polling interval.