Package types (2.4.2)

API documentation for networkconnectivity_v1.types package.

Classes

AcceptHubSpokeRequest

The request for HubService.AcceptHubSpoke.

AcceptHubSpokeResponse

The response for HubService.AcceptHubSpoke.

CreateHubRequest

Request for HubService.CreateHub method.

CreatePolicyBasedRouteRequest

Request for [PolicyBasedRouting.CreatePolicyBasedRoute][] method.

CreateSpokeRequest

The request for HubService.CreateSpoke.

DeleteHubRequest

The request for HubService.DeleteHub.

DeletePolicyBasedRouteRequest

Request for [PolicyBasedRouting.DeletePolicyBasedRoute][] method.

DeleteSpokeRequest

The request for HubService.DeleteSpoke.

GetGroupRequest

The request for HubService.GetGroup.

GetHubRequest

Request for HubService.GetHub method.

GetPolicyBasedRouteRequest

Request for [PolicyBasedRouting.GetPolicyBasedRoute][] method.

GetRouteRequest

The request for HubService.GetRoute.

GetRouteTableRequest

The request for HubService.GetRouteTable.

GetSpokeRequest

The request for HubService.GetSpoke.

Group

A group represents a subset of spokes attached to a 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.

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.

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.

LinkedVpcNetwork

An existing VPC network.

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.

ListGroupsRequest

Request for HubService.ListGroups method.

ListGroupsResponse

Response for HubService.ListGroups method.

ListHubSpokesRequest

The request for HubService.ListHubSpokes.

ListHubSpokesResponse

The response for HubService.ListHubSpokes.

ListHubsRequest

Request for HubService.ListHubs method.

ListHubsResponse

Response for HubService.ListHubs method.

ListPolicyBasedRoutesRequest

Request for [PolicyBasedRouting.ListPolicyBasedRoutes][] method.

ListPolicyBasedRoutesResponse

Response for [PolicyBasedRouting.ListPolicyBasedRoutes][] method.

ListRouteTablesRequest

Request for HubService.ListRouteTables method.

ListRouteTablesResponse

Response for HubService.ListRouteTables method.

ListRoutesRequest

Request for HubService.ListRoutes method.

ListRoutesResponse

Response for HubService.ListRoutes method.

ListSpokesRequest

The request for HubService.ListSpokes.

ListSpokesResponse

The response for HubService.ListSpokes.

LocationFeature

Supported features for a location

Values: LOCATION_FEATURE_UNSPECIFIED (0): No publicly supported feature in this location SITE_TO_CLOUD_SPOKES (1): Site-to-cloud spokes are supported in this location SITE_TO_SITE_SPOKES (2): Site-to-site spokes are supported in this location

LocationMetadata

Metadata about locations

NextHopVpcNetwork

OperationMetadata

Represents the metadata of the long-running operation.

PolicyBasedRoute

Policy Based Routes (PBR) are more powerful routes that allows GCP customers to route their L4 network traffic based on not just destination IP, but also source IP, protocol and more. A PBR always take precedence when it conflicts with other types of routes. Next id: 22

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

RejectHubSpokeRequest

The request for HubService.RejectHubSpoke.

RejectHubSpokeResponse

The response for HubService.RejectHubSpoke.

Route

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

RouteTable

RouteType

The route's type

Values: ROUTE_TYPE_UNSPECIFIED (0): No route type information specified VPC_PRIMARY_SUBNET (1): The route leads to a destination within the primary address range of the VPC network's subnet. VPC_SECONDARY_SUBNET (2): The route leads to a destination within the secondary address range of the VPC network's subnet.

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.

RoutingVPC

RoutingVPC contains information about the VPC networks associated with the spokes of a Network Connectivity Center 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

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.

SpokeType

The SpokeType enum represents the type of spoke. The type reflects the kind of resource that a spoke is associated with.

Values: SPOKE_TYPE_UNSPECIFIED (0): Unspecified spoke type. VPN_TUNNEL (1): Spokes associated with VPN tunnels. INTERCONNECT_ATTACHMENT (2): Spokes associated with VLAN attachments. ROUTER_APPLIANCE (3): Spokes associated with router appliance instances. VPC_NETWORK (4): Spokes associated with VPC networks.

State

The State enum represents the lifecycle stage of a Network Connectivity Center resource.

Values: STATE_UNSPECIFIED (0): No state information available CREATING (1): The resource's create operation is in progress. ACTIVE (2): The resource is active DELETING (3): The resource's delete operation is in progress. ACCEPTING (8): The resource's accept operation is in progress. REJECTING (9): The resource's reject operation is in progress. UPDATING (6): The resource's update operation is in progress. INACTIVE (7): The resource is inactive. OBSOLETE (10): The hub associated with this spoke resource has been deleted. This state applies to spoke resources only.

UpdateHubRequest

Request for HubService.UpdateHub method.

UpdateSpokeRequest

Request for HubService.UpdateSpoke method.