# Network Connectivity V1 API - Class Google::Cloud::NetworkConnectivity::V1::RouteTable (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.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.1 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::RouteTable.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time the route table was created.

### #description

    def description() -> ::String

**Returns**

- (::String) --- An optional description of the route table.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- An optional description of the route table.
**Returns**

- (::String) --- An optional description of the route table.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional labels in key-value pair format. For more information about labels, see [Requirements for
  labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional labels in key-value pair format. For more information about labels, see [Requirements for
  labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional labels in key-value pair format. For more information about labels, see [Requirements for
  labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).

### #name

    def name() -> ::String

**Returns**

- (::String) --- Immutable. The name of the route table. Route table names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Immutable. The name of the route table. Route table names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}`
**Returns**

- (::String) --- Immutable. The name of the route table. Route table names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}`

### #state

    def state() -> ::Google::Cloud::NetworkConnectivity::V1::State

**Returns**

- ([::Google::Cloud::NetworkConnectivity::V1::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1/latest/Google-Cloud-NetworkConnectivity-V1-State)) --- Output only. The current lifecycle state of this route table.

### #uid

    def uid() -> ::String

**Returns**

- (::String) --- Output only. The Google-generated UUID for the route table. This value is unique across all route table resources. If a route table is deleted and another with the same name is created, the new route table is assigned a different `uid`.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time the route table was last updated.