Service Client: Google::Cloud::Networkconnectivity::V1::Hub::HubServiceClient

Client stub representing the remote HubService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to networkconnectivity.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Networkconnectivity::V1::Hub - Compiled Protocol Buffers messages for google/cloud/networkconnectivity/v1/hub.proto

SYNOPSIS

use Google::Cloud::Networkconnectivity::V1::Hub;

my $msg = Google::Cloud::Networkconnectivity::V1::Hub::Hub->new({
    name => $name,
    create_time => $create_time,
    update_time => $update_time,
    labels => $labels,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Networkconnectivity::V1::Hub::Hub->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/networkconnectivity/v1/hub.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Networkconnectivity::V1::Hub::Hub

A Network Connectivity Center hub is a global management resource to which you attach spokes. A single hub can contain spokes from multiple regions. However, if any of a hub's spokes use the site-to-site data transfer feature, the resources associated with those spokes must all be in the same VPC network. Spokes that do not use site-to-site data transfer can be associated with any VPC network in your project.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: 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}`

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the hub was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the hub was last updated.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Hub::LabelsEntry)

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

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. An optional description of the hub.

  • $msg->unique_id() / $msg->unique_id($value)

    Type: 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.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::State)

    Output only. The current lifecycle state of this hub.

  • $msg->routing_vpcs() / $msg->routing_vpcs($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::RoutingVPC)

    Output only. The VPC networks associated with this hub's spokes.

    This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.

  • $msg->route_tables() / $msg->route_tables($value)

    Type: String

    Output only. The route tables that belong to this hub. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}`

    This field is read-only. Network Connectivity Center automatically populates it based on the route tables nested under the hub.

  • $msg->spoke_summary() / $msg->spoke_summary($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::SpokeSummary)

    Output only. A summary of the spokes associated with a hub. The summary includes a count of spokes according to type and according to state. If any spokes are inactive, the summary also lists the reasons they are inactive, including a count for each reason.

  • $msg->policy_mode() / $msg->policy_mode($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::PolicyMode)

    Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policy_mode defaults to PRESET.

  • $msg->preset_topology() / $msg->preset_topology($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::PresetTopology)

    Optional. The topology implemented in this hub. Currently, this field is only used when policy_mode = PRESET. The available preset topologies are MESH and STAR. If preset_topology is unspecified and policy_mode = PRESET, the preset_topology defaults to MESH. When policy_mode = CUSTOM, the preset_topology is set to PRESET_TOPOLOGY_UNSPECIFIED.

  • $msg->export_psc() / $msg->export_psc($value)

    Type: Bool

    Optional. Whether Private Service Connect connection propagation is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.

  • $msg->export_psc_config() / $msg->export_psc_config($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Hub::ExportPscConfig)

    Optional. Config for more granular control of Private Service Connect transitivity.

Google::Cloud::Networkconnectivity::V1::Hub::RoutingVPC

RoutingVPC contains information about the VPC networks associated with the spokes of a Network Connectivity Center hub.

Inherits from Protobuf::Message.

Accessors

  • $msg->uri() / $msg->uri($value)

    Type: String

    The URI of the VPC network.

  • $msg->required_for_new_site_to_site_data_transfer_spokes() / $msg->required_for_new_site_to_site_data_transfer_spokes($value)

    Type: Bool

    Output only. If true, indicates that this VPC network is currently associated with spokes that use the data transfer feature (spokes where the site_to_site_data_transfer field is set to true). If you create new spokes that use data transfer, they must be associated with this VPC network. At most, one VPC network will have this field set to true.

Google::Cloud::Networkconnectivity::V1::Hub::Spoke

A Network Connectivity Center spoke represents one or more network connectivity resources.

When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields:

* linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances * linked_vpc_network

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}`

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the spoke was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the spoke was last updated.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Spoke::LabelsEntry)

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

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. An optional description of the spoke.

  • $msg->hub() / $msg->hub($value)

    Type: String

    Immutable. The name of the hub that this spoke is attached to.

  • $msg->group() / $msg->group($value)

    Type: String

    Optional. The name of the group that this spoke is associated with.

  • $msg->linked_vpn_tunnels() / $msg->linked_vpn_tunnels($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::LinkedVpnTunnels)

    Optional. VPN tunnels that are associated with the spoke.

  • $msg->linked_interconnect_attachments() / $msg->linked_interconnect_attachments($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::LinkedInterconnectAttachments)

    Optional. VLAN attachments that are associated with the spoke.

  • $msg->linked_router_appliance_instances() / $msg->linked_router_appliance_instances($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::LinkedRouterApplianceInstances)

    Optional. Router appliance instances that are associated with the spoke.

  • $msg->linked_vpc_network() / $msg->linked_vpc_network($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::LinkedVpcNetwork)

    Optional. VPC network that is associated with the spoke.

  • $msg->gateway() / $msg->gateway($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Gateway)

    Optional. This is a gateway that can apply specialized processing to traffic going through it.

  • $msg->linked_producer_vpc_network() / $msg->linked_producer_vpc_network($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::LinkedProducerVpcNetwork)

    Optional. The linked producer VPC that is associated with the spoke.

  • $msg->unique_id() / $msg->unique_id($value)

    Type: String

    Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different `unique_id`.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::State)

    Output only. The current lifecycle state of this spoke.

  • $msg->reasons() / $msg->reasons($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Spoke::StateReason)

    Output only. The reasons for current state of the spoke.

  • $msg->spoke_type() / $msg->spoke_type($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::SpokeType)

    Output only. The type of resource associated with the spoke.

  • $msg->etag() / $msg->etag($value)

    Type: String

    Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

  • $msg->field_paths_pending_update() / $msg->field_paths_pending_update($value)

    Type: String

    Output only. The list of fields waiting for hub administrator's approval.

Google::Cloud::Networkconnectivity::V1::Hub::RouteTable

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: 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}`

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the route table was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the route table was last updated.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::RouteTable::LabelsEntry)

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

  • $msg->description() / $msg->description($value)

    Type: String

    An optional description of the route table.

  • $msg->uid() / $msg->uid($value)

    Type: 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`.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::State)

    Output only. The current lifecycle state of this route table.

Google::Cloud::Networkconnectivity::V1::Hub::Route

A route defines a path from VM instances within a spoke to a specific destination resource. Only VPC spokes have routes.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. The name of the route. Route names must be unique. Route names use the following form: `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}/routes/{route_id}`

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the route was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the route was last updated.

  • $msg->ip_cidr_range() / $msg->ip_cidr_range($value)

    Type: String

    The destination IP address range.

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::RouteType)

    Output only. The route's type. Its type is determined by the properties of its IP address range.

  • $msg->next_hop_vpc_network() / $msg->next_hop_vpc_network($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::NextHopVpcNetwork)

    Immutable. The destination VPC network for packets on this route.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Route::LabelsEntry)

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

  • $msg->description() / $msg->description($value)

    Type: String

    An optional description of the route.

  • $msg->uid() / $msg->uid($value)

    Type: String

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

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::State)

    Output only. The current lifecycle state of the route.

  • $msg->spoke() / $msg->spoke($value)

    Type: String

    Immutable. The spoke that this route leads to. Example: projects/12345/locations/global/spokes/SPOKE

  • $msg->location() / $msg->location($value)

    Type: String

    Output only. The origin location of the route. Uses the following form: "projects/{project}/locations/{location}" Example: projects/1234/locations/us-central1

  • $msg->priority() / $msg->priority($value)

    Type: Int64

    Output only. The priority of this route. Priority is used to break ties in cases where a destination matches more than one route. In these cases the route with the lowest-numbered priority value wins.

  • $msg->next_hop_vpn_tunnel() / $msg->next_hop_vpn_tunnel($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::NextHopVPNTunnel)

    Immutable. The next-hop VPN tunnel for packets on this route.

  • $msg->next_hop_router_appliance_instance() / $msg->next_hop_router_appliance_instance($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::NextHopRouterApplianceInstance)

    Immutable. The next-hop Router appliance instance for packets on this route.

  • $msg->next_hop_interconnect_attachment() / $msg->next_hop_interconnect_attachment($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::NextHopInterconnectAttachment)

    Immutable. The next-hop VLAN attachment for packets on this route.

  • $msg->next_hop_spoke() / $msg->next_hop_spoke($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::NextHopSpoke)

    Immutable. The next-hop spoke for packets on this route.

Google::Cloud::Networkconnectivity::V1::Hub::Group

A group represents a subset of spokes attached to a hub.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. The name of the group. Group names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}`

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the group was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the group was last updated.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Group::LabelsEntry)

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

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. The description of the group.

  • $msg->uid() / $msg->uid($value)

    Type: String

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

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::State)

    Output only. The current lifecycle state of this group.

  • $msg->auto_accept() / $msg->auto_accept($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::AutoAccept)

    Optional. The auto-accept setting for this group.

  • $msg->route_table() / $msg->route_table($value)

    Type: String

    Output only. The name of the route table that corresponds to this group. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}`

Google::Cloud::Networkconnectivity::V1::Hub::AutoAccept

The auto-accept setting for a group controls whether proposed spokes are automatically attached to the hub. If auto-accept is enabled, the spoke immediately is attached to the hub and becomes part of the group. In this case, the new spoke is in the ACTIVE state. If auto-accept is disabled, the spoke goes to the INACTIVE state, and it must be reviewed and accepted by a hub administrator.

Inherits from Protobuf::Message.

Accessors

  • $msg->auto_accept_projects() / $msg->auto_accept_projects($value)

    Type: String

    Optional. A list of project ids or project numbers for which you want to enable auto-accept. The auto-accept setting is applied to spokes being created or updated in these projects.

Google::Cloud::Networkconnectivity::V1::Hub::ListHubsRequest

Request for [HubService.ListHubs][google.cloud.networkconnectivity.v1.HubService.ListHubs] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource's name.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of results per page to return.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    An expression that filters the list of results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort the results by a certain order.

Google::Cloud::Networkconnectivity::V1::Hub::ListHubsResponse

Response for [HubService.ListHubs][google.cloud.networkconnectivity.v1.HubService.ListHubs] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->hubs() / $msg->hubs($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Hub)

    The requested hubs.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Networkconnectivity::V1::Hub::GetHubRequest

Request for [HubService.GetHub][google.cloud.networkconnectivity.v1.HubService.GetHub] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the hub resource to get.

Google::Cloud::Networkconnectivity::V1::Hub::CreateHubRequest

Request for [HubService.CreateHub][google.cloud.networkconnectivity.v1.HubService.CreateHub] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource.

  • $msg->hub_id() / $msg->hub_id($value)

    Type: String

    Required. A unique identifier for the hub.

  • $msg->hub() / $msg->hub($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Hub)

    Required. The initial values for a new hub.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments.

    The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::Hub::UpdateHubRequest

Request for [HubService.UpdateHub][google.cloud.networkconnectivity.v1.HubService.UpdateHub] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. In the case of an update to an existing hub, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten.

  • $msg->hub() / $msg->hub($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Hub)

    Required. The state that the hub should be in after the update.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments.

    The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::Hub::DeleteHubRequest

The request for [HubService.DeleteHub][google.cloud.networkconnectivity.v1.HubService.DeleteHub].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the hub to delete.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments.

    The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::Hub::ListHubSpokesRequest

The request for [HubService.ListHubSpokes][google.cloud.networkconnectivity.v1.HubService.ListHubSpokes].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the hub.

  • $msg->spoke_locations() / $msg->spoke_locations($value)

    Type: String

    A list of locations. Specify one of the following: `[global]`, a single region (for example, `[us-central1]`), or a combination of values (for example, `[global, us-central1, us-west1]`). If the spoke_locations field is populated, the list of results includes only spokes in the specified location. If the spoke_locations field is not populated, the list of results includes spokes in all locations.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of results to return per page.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    An expression that filters the list of results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort the results by name or create_time.

  • $msg->view() / $msg->view($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::ListHubSpokesRequest::SpokeView)

    The view of the spoke to return. The view that you use determines which spoke fields are included in the response.

Enum: ListHubSpokesRequest::SpokeView

  • SPOKE_VIEW_UNSPECIFIED => 0

  • BASIC => 1

  • DETAILED => 2

Google::Cloud::Networkconnectivity::V1::Hub::ListHubSpokesResponse

The response for [HubService.ListHubSpokes][google.cloud.networkconnectivity.v1.HubService.ListHubSpokes].

Inherits from Protobuf::Message.

Accessors

  • $msg->spokes() / $msg->spokes($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Spoke)

    The requested spokes. The spoke fields can be partially populated based on the `view` field in the request message.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Networkconnectivity::V1::Hub::QueryHubStatusRequest

The request for [HubService.QueryHubStatus][google.cloud.networkconnectivity.v1.HubService.QueryHubStatus].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the hub.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of results to return per page.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. The page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. An expression that filters the list of results. The filter can be used to filter the results by the following fields: * `psc_propagation_status.source_spoke` * `psc_propagation_status.source_group` * `psc_propagation_status.source_forwarding_rule` * `psc_propagation_status.target_spoke` * `psc_propagation_status.target_group` * `psc_propagation_status.code` * `psc_propagation_status.message`

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Sort the results in ascending order by the specified fields. A comma-separated list of any of these fields: * `psc_propagation_status.source_spoke` * `psc_propagation_status.source_group` * `psc_propagation_status.source_forwarding_rule` * `psc_propagation_status.target_spoke` * `psc_propagation_status.target_group` * `psc_propagation_status.code` If `group_by` is set, the value of the `order_by` field must be the same as or a subset of the `group_by` field.

  • $msg->group_by() / $msg->group_by($value)

    Type: String

    Optional. Aggregate the results by the specified fields. A comma-separated list of any of these fields: * `psc_propagation_status.source_spoke` * `psc_propagation_status.source_group` * `psc_propagation_status.source_forwarding_rule` * `psc_propagation_status.target_spoke` * `psc_propagation_status.target_group` * `psc_propagation_status.code`

Google::Cloud::Networkconnectivity::V1::Hub::QueryHubStatusResponse

The response for [HubService.QueryHubStatus][google.cloud.networkconnectivity.v1.HubService.QueryHubStatus].

Inherits from Protobuf::Message.

Accessors

  • $msg->hub_status_entries() / $msg->hub_status_entries($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::HubStatusEntry)

    The list of hub status.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

Google::Cloud::Networkconnectivity::V1::Hub::HubStatusEntry

A hub status entry represents the status of a set of propagated Private Service Connect connections grouped by certain fields.

Inherits from Protobuf::Message.

Accessors

  • $msg->count() / $msg->count($value)

    Type: Int32

    The number of propagated Private Service Connect connections with this status. If the `group_by` field was not set in the request message, the value of this field is 1.

  • $msg->group_by() / $msg->group_by($value)

    Type: String

    The fields that this entry is grouped by. This has the same value as the `group_by` field in the request message.

  • $msg->psc_propagation_status() / $msg->psc_propagation_status($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::PscPropagationStatus)

    The Private Service Connect propagation status.

Google::Cloud::Networkconnectivity::V1::Hub::PscPropagationStatus

The status of one or more propagated Private Service Connect connections in a hub.

Inherits from Protobuf::Message.

Accessors

  • $msg->source_spoke() / $msg->source_spoke($value)

    Type: String

    The name of the spoke that the source forwarding rule belongs to.

  • $msg->source_group() / $msg->source_group($value)

    Type: String

    The name of the group that the source spoke belongs to.

  • $msg->source_forwarding_rule() / $msg->source_forwarding_rule($value)

    Type: String

    The name of the forwarding rule exported to the hub.

  • $msg->target_spoke() / $msg->target_spoke($value)

    Type: String

    The name of the spoke that the source forwarding rule propagates to.

  • $msg->target_group() / $msg->target_group($value)

    Type: String

    The name of the group that the target spoke belongs to.

  • $msg->code() / $msg->code($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::PscPropagationStatus::Code)

    The propagation status.

  • $msg->message() / $msg->message($value)

    Type: String

    The human-readable summary of the Private Service Connect connection propagation status.

Enum: PscPropagationStatus::Code

  • CODE_UNSPECIFIED => 0

  • READY => 1

  • PROPAGATING => 2

  • ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED => 3

  • ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED => 4

  • ERROR_PRODUCER_QUOTA_EXCEEDED => 5

  • ERROR_CONSUMER_QUOTA_EXCEEDED => 6

Google::Cloud::Networkconnectivity::V1::Hub::ListSpokesRequest

The request for [HubService.ListSpokes][google.cloud.networkconnectivity.v1.HubService.ListSpokes].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of results to return per page.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    An expression that filters the list of results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort the results by a certain order.

Google::Cloud::Networkconnectivity::V1::Hub::ListSpokesResponse

The response for [HubService.ListSpokes][google.cloud.networkconnectivity.v1.HubService.ListSpokes].

Inherits from Protobuf::Message.

Accessors

  • $msg->spokes() / $msg->spokes($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Spoke)

    The requested spokes.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Networkconnectivity::V1::Hub::GetSpokeRequest

The request for [HubService.GetSpoke][google.cloud.networkconnectivity.v1.HubService.GetSpoke].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the spoke resource.

Google::Cloud::Networkconnectivity::V1::Hub::CreateSpokeRequest

The request for [HubService.CreateSpoke][google.cloud.networkconnectivity.v1.HubService.CreateSpoke].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource.

  • $msg->spoke_id() / $msg->spoke_id($value)

    Type: String

    Required. Unique id for the spoke to create.

  • $msg->spoke() / $msg->spoke($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Spoke)

    Required. The initial values for a new spoke.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments.

    The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::Hub::UpdateSpokeRequest

Request for [HubService.UpdateSpoke][google.cloud.networkconnectivity.v1.HubService.UpdateSpoke] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. In the case of an update to an existing spoke, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten.

  • $msg->spoke() / $msg->spoke($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Spoke)

    Required. The state that the spoke should be in after the update.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments.

    The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::Hub::DeleteSpokeRequest

The request for [HubService.DeleteSpoke][google.cloud.networkconnectivity.v1.HubService.DeleteSpoke].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the spoke to delete.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments.

    The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::Hub::AcceptHubSpokeRequest

The request for [HubService.AcceptHubSpoke][google.cloud.networkconnectivity.v1.HubService.AcceptHubSpoke].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the hub into which to accept the spoke.

  • $msg->spoke_uri() / $msg->spoke_uri($value)

    Type: String

    Required. The URI of the spoke to accept into the hub.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments.

    The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::Hub::AcceptHubSpokeResponse

The response for [HubService.AcceptHubSpoke][google.cloud.networkconnectivity.v1.HubService.AcceptHubSpoke].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Networkconnectivity::V1::Hub::RejectHubSpokeRequest

The request for [HubService.RejectHubSpoke][google.cloud.networkconnectivity.v1.HubService.RejectHubSpoke].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the hub from which to reject the spoke.

  • $msg->spoke_uri() / $msg->spoke_uri($value)

    Type: String

    Required. The URI of the spoke to reject from the hub.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments.

    The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->details() / $msg->details($value)

    Type: String

    Optional. Additional information provided by the hub administrator.

Google::Cloud::Networkconnectivity::V1::Hub::RejectHubSpokeResponse

The response for [HubService.RejectHubSpoke][google.cloud.networkconnectivity.v1.HubService.RejectHubSpoke].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Networkconnectivity::V1::Hub::AcceptSpokeUpdateRequest

The request for [HubService.AcceptSpokeUpdate][google.cloud.networkconnectivity.v1.HubService.AcceptSpokeUpdate].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the hub to accept spoke update.

  • $msg->spoke_uri() / $msg->spoke_uri($value)

    Type: String

    Required. The URI of the spoke to accept update.

  • $msg->spoke_etag() / $msg->spoke_etag($value)

    Type: String

    Required. The etag of the spoke to accept update.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments.

    The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::Hub::AcceptSpokeUpdateResponse

The response for [HubService.AcceptSpokeUpdate][google.cloud.networkconnectivity.v1.HubService.AcceptSpokeUpdate].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Networkconnectivity::V1::Hub::RejectSpokeUpdateRequest

The request for [HubService.RejectSpokeUpdate][google.cloud.networkconnectivity.v1.HubService.RejectSpokeUpdate].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the hub to reject spoke update.

  • $msg->spoke_uri() / $msg->spoke_uri($value)

    Type: String

    Required. The URI of the spoke to reject update.

  • $msg->spoke_etag() / $msg->spoke_etag($value)

    Type: String

    Required. The etag of the spoke to reject update.

  • $msg->details() / $msg->details($value)

    Type: String

    Optional. Additional information provided by the hub administrator.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments.

    The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::Hub::RejectSpokeUpdateResponse

The response for [HubService.RejectSpokeUpdate][google.cloud.networkconnectivity.v1.HubService.RejectSpokeUpdate].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Networkconnectivity::V1::Hub::GetRouteTableRequest

The request for [HubService.GetRouteTable][google.cloud.networkconnectivity.v1.HubService.GetRouteTable].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the route table resource.

Google::Cloud::Networkconnectivity::V1::Hub::GetRouteRequest

The request for [HubService.GetRoute][google.cloud.networkconnectivity.v1.HubService.GetRoute].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the route resource.

Google::Cloud::Networkconnectivity::V1::Hub::ListRoutesRequest

Request for [HubService.ListRoutes][google.cloud.networkconnectivity.v1.HubService.ListRoutes] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource's name.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of results to return per page.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    An expression that filters the list of results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort the results by a certain order.

Google::Cloud::Networkconnectivity::V1::Hub::ListRoutesResponse

Response for [HubService.ListRoutes][google.cloud.networkconnectivity.v1.HubService.ListRoutes] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->routes() / $msg->routes($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Route)

    The requested routes.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    RouteTables that could not be reached.

Google::Cloud::Networkconnectivity::V1::Hub::ListRouteTablesRequest

Request for [HubService.ListRouteTables][google.cloud.networkconnectivity.v1.HubService.ListRouteTables] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource's name.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of results to return per page.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    An expression that filters the list of results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort the results by a certain order.

Google::Cloud::Networkconnectivity::V1::Hub::ListRouteTablesResponse

Response for [HubService.ListRouteTables][google.cloud.networkconnectivity.v1.HubService.ListRouteTables] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->route_tables() / $msg->route_tables($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::RouteTable)

    The requested route tables.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Hubs that could not be reached.

Google::Cloud::Networkconnectivity::V1::Hub::ListGroupsRequest

Request for [HubService.ListGroups][google.cloud.networkconnectivity.v1.HubService.ListGroups] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource's name.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of results to return per page.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    An expression that filters the list of results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort the results by a certain order.

Google::Cloud::Networkconnectivity::V1::Hub::ListGroupsResponse

Response for [HubService.ListGroups][google.cloud.networkconnectivity.v1.HubService.ListGroups] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->groups() / $msg->groups($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Group)

    The requested groups.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Hubs that could not be reached.

Google::Cloud::Networkconnectivity::V1::Hub::LinkedVpnTunnels

A collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes.

Inherits from Protobuf::Message.

Accessors

  • $msg->uris() / $msg->uris($value)

    Type: String

    The URIs of linked VPN tunnel resources.

  • $msg->site_to_site_data_transfer() / $msg->site_to_site_data_transfer($value)

    Type: Bool

    A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).

  • $msg->vpc_network() / $msg->vpc_network($value)

    Type: String

    Output only. The VPC network where these VPN tunnels are located.

  • $msg->include_import_ranges() / $msg->include_import_ranges($value)

    Type: String

    Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

  • $msg->proposed_include_import_ranges() / $msg->proposed_include_import_ranges($value)

    Type: String

    Output only. The proposed include import IP ranges waiting for hub administrator's approval.

  • $msg->exclude_import_ranges() / $msg->exclude_import_ranges($value)

    Type: String

    Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

  • $msg->proposed_exclude_import_ranges() / $msg->proposed_exclude_import_ranges($value)

    Type: String

    Output only. The proposed exclude import IP ranges waiting for hub administrator's approval.

  • $msg->include_export_ranges() / $msg->include_export_ranges($value)

    Type: String

    Optional. Dynamic routes fully encompassed by include export ranges are included during export to hub.

  • $msg->proposed_include_export_ranges() / $msg->proposed_include_export_ranges($value)

    Type: String

    Output only. The proposed include export IP ranges waiting for hub administrator's approval.

  • $msg->exclude_export_ranges() / $msg->exclude_export_ranges($value)

    Type: String

    Optional. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

  • $msg->proposed_exclude_export_ranges() / $msg->proposed_exclude_export_ranges($value)

    Type: String

    Output only. The proposed exclude export IP ranges waiting for hub administrator's approval.

Google::Cloud::Networkconnectivity::V1::Hub::LinkedInterconnectAttachments

A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.

Inherits from Protobuf::Message.

Accessors

  • $msg->uris() / $msg->uris($value)

    Type: String

    The URIs of linked interconnect attachment resources

  • $msg->site_to_site_data_transfer() / $msg->site_to_site_data_transfer($value)

    Type: Bool

    A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).

  • $msg->vpc_network() / $msg->vpc_network($value)

    Type: String

    Output only. The VPC network where these VLAN attachments are located.

  • $msg->include_import_ranges() / $msg->include_import_ranges($value)

    Type: String

    Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

  • $msg->proposed_include_import_ranges() / $msg->proposed_include_import_ranges($value)

    Type: String

    Output only. The proposed include import IP ranges waiting for hub administrator's approval.

  • $msg->exclude_import_ranges() / $msg->exclude_import_ranges($value)

    Type: String

    Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

  • $msg->proposed_exclude_import_ranges() / $msg->proposed_exclude_import_ranges($value)

    Type: String

    Output only. The proposed exclude import IP ranges waiting for hub administrator's approval.

  • $msg->include_export_ranges() / $msg->include_export_ranges($value)

    Type: String

    Optional. Dynamic routes fully encompassed by include export ranges are included during export to hub.

  • $msg->proposed_include_export_ranges() / $msg->proposed_include_export_ranges($value)

    Type: String

    Output only. The proposed include export IP ranges waiting for hub administrator's approval.

  • $msg->exclude_export_ranges() / $msg->exclude_export_ranges($value)

    Type: String

    Optional. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

  • $msg->proposed_exclude_export_ranges() / $msg->proposed_exclude_export_ranges($value)

    Type: String

    Output only. The proposed exclude export IP ranges waiting for hub administrator's approval.

Google::Cloud::Networkconnectivity::V1::Hub::LinkedRouterApplianceInstances

A collection of router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke.

Inherits from Protobuf::Message.

Accessors

  • $msg->instances() / $msg->instances($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::RouterApplianceInstance)

    The list of router appliance instances.

  • $msg->site_to_site_data_transfer() / $msg->site_to_site_data_transfer($value)

    Type: Bool

    A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).

  • $msg->vpc_network() / $msg->vpc_network($value)

    Type: String

    Output only. The VPC network where these router appliance instances are located.

  • $msg->include_import_ranges() / $msg->include_import_ranges($value)

    Type: String

    Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

  • $msg->proposed_include_import_ranges() / $msg->proposed_include_import_ranges($value)

    Type: String

    Output only. The proposed include import IP ranges waiting for hub administrator's approval.

  • $msg->exclude_import_ranges() / $msg->exclude_import_ranges($value)

    Type: String

    Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

  • $msg->proposed_exclude_import_ranges() / $msg->proposed_exclude_import_ranges($value)

    Type: String

    Output only. The proposed exclude import IP ranges waiting for hub administrator's approval.

  • $msg->include_export_ranges() / $msg->include_export_ranges($value)

    Type: String

    Optional. Dynamic routes fully encompassed by include export ranges are included during export to hub.

  • $msg->proposed_include_export_ranges() / $msg->proposed_include_export_ranges($value)

    Type: String

    Output only. The proposed include export IP ranges waiting for hub administrator's approval.

  • $msg->exclude_export_ranges() / $msg->exclude_export_ranges($value)

    Type: String

    Optional. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

  • $msg->proposed_exclude_export_ranges() / $msg->proposed_exclude_export_ranges($value)

    Type: String

    Output only. The proposed exclude export IP ranges waiting for hub administrator's approval.

Google::Cloud::Networkconnectivity::V1::Hub::LinkedVpcNetwork

An existing VPC network.

Inherits from Protobuf::Message.

Accessors

  • $msg->uri() / $msg->uri($value)

    Type: String

    Required. The URI of the VPC network resource.

  • $msg->exclude_export_ranges() / $msg->exclude_export_ranges($value)

    Type: String

    Optional. IP ranges encompassing the subnets to be excluded from peering.

  • $msg->include_export_ranges() / $msg->include_export_ranges($value)

    Type: String

    Optional. IP ranges allowed to be included from peering.

  • $msg->proposed_include_export_ranges() / $msg->proposed_include_export_ranges($value)

    Type: String

    Output only. The proposed include export IP ranges waiting for hub administrator's approval.

  • $msg->proposed_exclude_export_ranges() / $msg->proposed_exclude_export_ranges($value)

    Type: String

    Output only. The proposed exclude export IP ranges waiting for hub administrator's approval.

  • $msg->producer_vpc_spokes() / $msg->producer_vpc_spokes($value)

    Type: String

    Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC network. Because they are directly connected through VPC peering, NCC export filters do not apply between the service consumer VPC spoke and any of its producer VPC spokes. This VPC spoke cannot be deleted as long as any of these producer VPC spokes are connected to the NCC Hub.

Google::Cloud::Networkconnectivity::V1::Hub::Gateway

A gateway that can apply specialized traffic processing.

Inherits from Protobuf::Message.

Accessors

  • $msg->ip_range_reservations() / $msg->ip_range_reservations($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Gateway::IpRangeReservation)

    Optional. A list of IP ranges that are reserved for this gateway's internal intfrastructure.

  • $msg->capacity() / $msg->capacity($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::Gateway::GatewayCapacity)

    Optional. The aggregate processing capacity of this gateway.

  • $msg->cloud_routers() / $msg->cloud_routers($value)

    Type: String

    Output only. The list of Cloud Routers that are connected to this gateway. Should be in the form: https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/routers/{router}

  • $msg->sac_attachment() / $msg->sac_attachment($value)

    Type: String

    Output only. The URI of the connected SACAttachment. Should be in the form: projects/{project}/locations/{location}/sacAttachments/{sac_attachment}

Enum: Gateway::GatewayCapacity

  • GATEWAY_CAPACITY_UNSPECIFIED => 0

  • CAPACITY_1_GBPS => 5

  • CAPACITY_10_GBPS => 1

Google::Cloud::Networkconnectivity::V1::Hub::GatewayAdvertisedRoute

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

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: 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}`

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the gateway advertised route was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the gateway advertised route was last updated.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::GatewayAdvertisedRoute::LabelsEntry)

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

  • $msg->description() / $msg->description($value)

    Type: String

    An optional description of the gateway advertised route.

  • $msg->unique_id() / $msg->unique_id($value)

    Type: 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`.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::State)

    Output only. The current lifecycle state of this gateway advertised route.

  • $msg->ip_range() / $msg->ip_range($value)

    Type: 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`.

  • $msg->priority() / $msg->priority($value)

    Type: Int32

    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.

  • $msg->recipient() / $msg->recipient($value)

    Type: Enum (Google::Cloud::Networkconnectivity::V1::GatewayAdvertisedRoute::Recipient)

    Optional. The recipient of this advertised route.

Enum: GatewayAdvertisedRoute::Recipient

  • RECIPIENT_UNSPECIFIED => 0

  • ADVERTISE_TO_HUB => 1

Google::Cloud::Networkconnectivity::V1::Hub::CreateGatewayAdvertisedRouteRequest

The request for [HubService.CreateGatewayAdvertisedRoute][google.cloud.networkconnectivity.v1.HubService.CreateGatewayAdvertisedRoute].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource.

  • $msg->gateway_advertised_route_id() / $msg->gateway_advertised_route_id($value)

    Type: String

    Required. Unique id for the route to create.

  • $msg->gateway_advertised_route() / $msg->gateway_advertised_route($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::GatewayAdvertisedRoute)

    Required. Initial values for the new gateway advertised route.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments.

    The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::Hub::GetGatewayAdvertisedRouteRequest

The request for [HubService.GetGatewayAdvertisedRoute][google.cloud.networkconnectivity.v1.HubService.GetGatewayAdvertisedRoute].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the gateway advertised route to get.

Google::Cloud::Networkconnectivity::V1::Hub::ListGatewayAdvertisedRoutesRequest

The request for [HubService.ListGatewayAdvertisedRoutes][google.cloud.networkconnectivity.v1.HubService.ListGatewayAdvertisedRoutes].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource's name.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of results per page that should be returned.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `ListGatewayAdvertisedRoutes` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListGatewayAdvertisedRoutes` must match the call that provided the page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    An expression that filters the list of results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort the results by a certain order.

Google::Cloud::Networkconnectivity::V1::Hub::ListGatewayAdvertisedRoutesResponse

Response for [HubService.ListGatewayAdvertisedRoutes][google.cloud.networkconnectivity.v1.HubService.ListGatewayAdvertisedRoutes] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->gateway_advertised_routes() / $msg->gateway_advertised_routes($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::GatewayAdvertisedRoute)

    The requested gateway advertised routes.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Hubs that could not be reached.

Google::Cloud::Networkconnectivity::V1::Hub::UpdateGatewayAdvertisedRouteRequest

The request for [HubService.UpdateGatewayAdvertisedRoute][google.cloud.networkconnectivity.v1.HubService.UpdateGatewayAdvertisedRoute].

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. In the case of an update to an existing group, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten.

  • $msg->gateway_advertised_route() / $msg->gateway_advertised_route($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::GatewayAdvertisedRoute)

    Required. The gateway advertised route to update.

    The gateway advertised route's `name` field is used to identify the gateway advertised route to update. Format: `projects/{project}/locations/{location}/spokes/{spoke}/gatewayAdvertisedRoutes/{gatewayAdvertisedRoute}`

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments.

    The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::Hub::DeleteGatewayAdvertisedRouteRequest

Request for [HubService.DeleteGatewayAdvertisedRoute][google.cloud.networkconnectivity.v1.HubService.DeleteGatewayAdvertisedRoute] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the gateway advertised route to delete.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments.

    The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkconnectivity::V1::Hub::LinkedProducerVpcNetwork

Inherits from Protobuf::Message.

Accessors

  • $msg->network() / $msg->network($value)

    Type: String

    Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered with.

  • $msg->service_consumer_vpc_spoke() / $msg->service_consumer_vpc_spoke($value)

    Type: String

    Output only. The Service Consumer Network spoke.

  • $msg->peering() / $msg->peering($value)

    Type: String

    Immutable. The name of the VPC peering between the Service Consumer VPC and the Producer VPC (defined in the Tenant project) which is added to the NCC hub. This peering must be in ACTIVE state.

  • $msg->producer_network() / $msg->producer_network($value)

    Type: String

    Output only. The URI of the Producer VPC.

  • $msg->exclude_export_ranges() / $msg->exclude_export_ranges($value)

    Type: String

    Optional. IP ranges encompassing the subnets to be excluded from peering.

  • $msg->include_export_ranges() / $msg->include_export_ranges($value)

    Type: String

    Optional. IP ranges allowed to be included from peering.

  • $msg->proposed_include_export_ranges() / $msg->proposed_include_export_ranges($value)

    Type: String

    Output only. The proposed include export IP ranges waiting for hub administrator's approval.

  • $msg->proposed_exclude_export_ranges() / $msg->proposed_exclude_export_ranges($value)

    Type: String

    Output only. The proposed exclude export IP ranges waiting for hub administrator's approval.

Google::Cloud::Networkconnectivity::V1::Hub::RouterApplianceInstance

A router appliance instance is a Compute Engine virtual machine (VM) instance that acts as a BGP speaker. A router appliance instance is specified by the URI of the VM and the internal IP address of one of the VM's network interfaces.

Inherits from Protobuf::Message.

Accessors

  • $msg->virtual_machine() / $msg->virtual_machine($value)

    Type: String

    The URI of the VM.

  • $msg->ip_address() / $msg->ip_address($value)

    Type: String

    The IP address on the VM to use for peering.

Google::Cloud::Networkconnectivity::V1::Hub::LocationMetadata

Metadata about locations

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Networkconnectivity::V1::Hub::NextHopVpcNetwork

Inherits from Protobuf::Message.

Accessors

  • $msg->uri() / $msg->uri($value)

    Type: String

    The URI of the VPC network resource

Google::Cloud::Networkconnectivity::V1::Hub::NextHopVPNTunnel

A route next hop that leads to a VPN tunnel resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->uri() / $msg->uri($value)

    Type: String

    The URI of the VPN tunnel resource.

  • $msg->vpc_network() / $msg->vpc_network($value)

    Type: String

    The VPC network where this VPN tunnel is located.

  • $msg->site_to_site_data_transfer() / $msg->site_to_site_data_transfer($value)

    Type: Bool

    Indicates whether site-to-site data transfer is allowed for this VPN tunnel resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).

Google::Cloud::Networkconnectivity::V1::Hub::NextHopRouterApplianceInstance

A route next hop that leads to a Router appliance instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->uri() / $msg->uri($value)

    Type: String

    The URI of the Router appliance instance.

  • $msg->vpc_network() / $msg->vpc_network($value)

    Type: String

    The VPC network where this VM is located.

  • $msg->site_to_site_data_transfer() / $msg->site_to_site_data_transfer($value)

    Type: Bool

    Indicates whether site-to-site data transfer is allowed for this Router appliance instance resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).

Google::Cloud::Networkconnectivity::V1::Hub::NextHopInterconnectAttachment

A route next hop that leads to an interconnect attachment resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->uri() / $msg->uri($value)

    Type: String

    The URI of the interconnect attachment resource.

  • $msg->vpc_network() / $msg->vpc_network($value)

    Type: String

    The VPC network where this interconnect attachment is located.

  • $msg->site_to_site_data_transfer() / $msg->site_to_site_data_transfer($value)

    Type: Bool

    Indicates whether site-to-site data transfer is allowed for this interconnect attachment resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).

Google::Cloud::Networkconnectivity::V1::Hub::NextHopSpoke

A route next hop that leads to a spoke resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->uri() / $msg->uri($value)

    Type: String

    The URI of the spoke resource.

  • $msg->site_to_site_data_transfer() / $msg->site_to_site_data_transfer($value)

    Type: Bool

    Indicates whether site-to-site data transfer is allowed for this spoke resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). Whether this route is accessible to other hybrid spokes with site-to-site data transfer enabled. If this is false, the route is only accessible to VPC spokes of the connected Hub.

Google::Cloud::Networkconnectivity::V1::Hub::SpokeSummary

Summarizes information about the spokes associated with a hub. The summary includes a count of spokes according to type and according to state. If any spokes are inactive, the summary also lists the reasons they are inactive, including a count for each reason.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Networkconnectivity::V1::Hub::GetGroupRequest

The request for [HubService.GetGroup][google.cloud.networkconnectivity.v1.HubService.GetGroup].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the route table resource.

Google::Cloud::Networkconnectivity::V1::Hub::UpdateGroupRequest

Request for [HubService.UpdateGroup][google.cloud.networkconnectivity.v1.HubService.UpdateGroup] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. In the case of an update to an existing group, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten.

  • $msg->group() / $msg->group($value)

    Type: Message (Google::Cloud::Networkconnectivity::V1::Hub::Group)

    Required. The state that the group should be in after the update.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments.

    The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Networkconnectivity::V1::Hub::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.