Class NetworkPeering (1.4.0)

NetworkPeering(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

NameDescription
name str
Output only. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Creation time of this resource.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Last update time of this resource.
peer_network str
Required. The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the peer_network_type is VMWARE_ENGINE_NETWORK, specify the name in the form: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. Otherwise specify the name in the form: projects/{project}/global/networks/{network_id}, where {project} can either be a project number or a project ID.
export_custom_routes bool
Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true. This field is a member of oneof_ _export_custom_routes.
import_custom_routes bool
Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true. This field is a member of oneof_ _import_custom_routes.
exchange_subnet_routes bool
Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is 'ACTIVE'. This field is a member of oneof_ _exchange_subnet_routes.
export_custom_routes_with_public_ip bool
Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field. This field is a member of oneof_ _export_custom_routes_with_public_ip.
import_custom_routes_with_public_ip bool
Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field. This field is a member of oneof_ _import_custom_routes_with_public_ip.
state google.cloud.vmwareengine_v1.types.NetworkPeering.State
Output only. State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.
state_details str
Output only. Output Only. Details about the current state of the network peering.
peer_mtu int
Optional. Maximum transmission unit (MTU) in bytes. The default value is 1500. If a value of 0 is provided for this field, VMware Engine uses the default value instead.
peer_network_type google.cloud.vmwareengine_v1.types.NetworkPeering.PeerNetworkType
Required. The type of the network to peer with the VMware Engine network.
uid str
Output only. System-generated unique identifier for the resource.
vmware_engine_network str
Required. The relative resource name of the VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.
description str
Optional. User-provided description for this network peering.

Classes

PeerNetworkType

PeerNetworkType(value)

Type or purpose of the network peering connection.

Values: PEER_NETWORK_TYPE_UNSPECIFIED (0): Unspecified STANDARD (1): Peering connection used for connecting to another VPC network established by the same user. For example, a peering connection to another VPC network in the same project or to an on-premises network. VMWARE_ENGINE_NETWORK (2): Peering connection used for connecting to another VMware Engine network. PRIVATE_SERVICES_ACCESS (3): Peering connection used for establishing private services access <https://cloud.google.com/vpc/docs/private-services-access>__. NETAPP_CLOUD_VOLUMES (4): Peering connection used for connecting to NetApp Cloud Volumes. THIRD_PARTY_SERVICE (5): Peering connection used for connecting to third-party services. Most third-party services require manual setup of reverse peering on the VPC network associated with the third-party service. DELL_POWERSCALE (6): Peering connection used for connecting to Dell PowerScale Filers

State

State(value)

Possible states of a network peering.

Values: STATE_UNSPECIFIED (0): Unspecified network peering state. This is the default value. INACTIVE (1): The peering is not active. ACTIVE (2): The peering is active. CREATING (3): The peering is being created. DELETING (4): The peering is being deleted.