# Datastream V1 API - Class Google::Cloud::Datastream::V1::Route (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.0 0.13.0 0.12.0 0.11.0 0.10.1 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::Route.

The route resource is the child of the private connection resource,
used for defining a route for a private connection.

## 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-datastream-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The create time of the resource.

### #destination_address

    def destination_address() -> ::String

**Returns**

- (::String) --- Required. Destination address for connection

### #destination_address=

    def destination_address=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Destination address for connection
**Returns**

- (::String) --- Required. Destination address for connection

### #destination_port

    def destination_port() -> ::Integer

**Returns**

- (::Integer) --- Destination port for connection

### #destination_port=

    def destination_port=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Destination port for connection
**Returns**

- (::Integer) --- Destination port for connection

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Required. Display name.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Display name.
**Returns**

- (::String) --- Required. Display name.

### #labels

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

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Labels.

### #labels=

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

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Labels.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Labels.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. Identifier. The resource's name.

### #update_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The update time of the resource.