A hub is a collection of spokes. A single hub can contain spokes from multiple regions. However, all of a hub's spokes must be associated with resources that reside in the same VPC network.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time the hub was created.
#description
def description() -> ::String
- (::String) — An optional description of the hub.
#description=
def description=(value) -> ::String
- value (::String) — An optional description of the hub.
- (::String) — An optional description of the hub.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional labels in key:value format. For more information about labels, see Requirements for labels.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional labels in key:value format. For more information about labels, see Requirements for labels.
- (::Google::Protobuf::Map{::String => ::String}) — Optional labels in key:value format. For more information about labels, see Requirements for labels.
#name
def name() -> ::String
-
(::String) — Immutable. The name of the hub. Hub names must be unique. They use the
following form:
projects/{project_number}/locations/global/hubs/{hub_id}
#name=
def name=(value) -> ::String
-
value (::String) — Immutable. The name of the hub. Hub names must be unique. They use the
following form:
projects/{project_number}/locations/global/hubs/{hub_id}
-
(::String) — Immutable. The name of the hub. Hub names must be unique. They use the
following form:
projects/{project_number}/locations/global/hubs/{hub_id}
#routing_vpcs
def routing_vpcs() -> ::Array<::Google::Cloud::NetworkConnectivity::V1::RoutingVPC>
-
(::Array<::Google::Cloud::NetworkConnectivity::V1::RoutingVPC>) — The VPC network associated with this hub's spokes. All of the VPN tunnels,
VLAN attachments, and router appliance instances referenced by this hub's
spokes must belong to this VPC network.
This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.
#routing_vpcs=
def routing_vpcs=(value) -> ::Array<::Google::Cloud::NetworkConnectivity::V1::RoutingVPC>
-
value (::Array<::Google::Cloud::NetworkConnectivity::V1::RoutingVPC>) — The VPC network associated with this hub's spokes. All of the VPN tunnels,
VLAN attachments, and router appliance instances referenced by this hub's
spokes must belong to this VPC network.
This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.
-
(::Array<::Google::Cloud::NetworkConnectivity::V1::RoutingVPC>) — The VPC network associated with this hub's spokes. All of the VPN tunnels,
VLAN attachments, and router appliance instances referenced by this hub's
spokes must belong to this VPC network.
This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.
#state
def state() -> ::Google::Cloud::NetworkConnectivity::V1::State
- (::Google::Cloud::NetworkConnectivity::V1::State) — Output only. The current lifecycle state of this hub.
#unique_id
def unique_id() -> ::String
- (::String) — Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time the hub was last updated.