Network Connectivity V1BETA API - Class Google::Cloud::NetworkConnectivity::V1beta::GatewayAdvertisedRoute (v0.1.0)

Reference documentation and code samples for the Network Connectivity V1BETA API class Google::Cloud::NetworkConnectivity::V1beta::GatewayAdvertisedRoute.

A gateway advertised route is a route that a gateway spoke advertises somewhere.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

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

#description

def description() -> ::String
Returns
  • (::String) — An optional description of the gateway advertised route.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — An optional description of the gateway advertised route.
Returns
  • (::String) — An optional description of the gateway advertised route.

#ip_range

def ip_range() -> ::String
Returns
  • (::String) — Immutable. This route's advertised IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

#ip_range=

def ip_range=(value) -> ::String
Parameter
  • value (::String) — Immutable. This route's advertised IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.
Returns
  • (::String) — Immutable. This route's advertised IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

#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.

#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.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional labels in key-value pair format. For more information about labels, see Requirements for labels.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The name of the gateway advertised route. Route names must be unique and use the following form: projects/{project_number}/locations/{region}/spokes/{spoke}/gatewayAdvertisedRoutes/{gateway_advertised_route_id}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The name of the gateway advertised route. Route names must be unique and use the following form: projects/{project_number}/locations/{region}/spokes/{spoke}/gatewayAdvertisedRoutes/{gateway_advertised_route_id}
Returns
  • (::String) — Identifier. The name of the gateway advertised route. Route names must be unique and use the following form: projects/{project_number}/locations/{region}/spokes/{spoke}/gatewayAdvertisedRoutes/{gateway_advertised_route_id}

#priority

def priority() -> ::Integer
Returns
  • (::Integer) — Optional. The priority of this advertised route. You can choose a value from 0 to 65335. If you don't provide a value, Google Cloud assigns a priority of 100 to the ranges.

#priority=

def priority=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The priority of this advertised route. You can choose a value from 0 to 65335. If you don't provide a value, Google Cloud assigns a priority of 100 to the ranges.
Returns
  • (::Integer) — Optional. The priority of this advertised route. You can choose a value from 0 to 65335. If you don't provide a value, Google Cloud assigns a priority of 100 to the ranges.

#recipient

def recipient() -> ::Google::Cloud::NetworkConnectivity::V1beta::GatewayAdvertisedRoute::Recipient
Returns

#recipient=

def recipient=(value) -> ::Google::Cloud::NetworkConnectivity::V1beta::GatewayAdvertisedRoute::Recipient
Parameter
Returns

#state

def state() -> ::Google::Cloud::NetworkConnectivity::V1beta::State
Returns

#unique_id

def unique_id() -> ::String
Returns
  • (::String) — Output only. The Google-generated UUID for the gateway advertised route. This value is unique across all gateway advertised route resources. If a gateway advertised route is deleted and another with the same name is created, the new route is assigned a different unique_id.

#update_time

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