Class Transport (2.17.0)

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

Message describing Transport object.

Attributes

Name Description
name str
Identifier. Name of the resource.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Create time stamp.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Update time stamp.
labels MutableMapping[str, str]
Optional. Labels as key value pairs.
description str
Optional. Description of the Transport.
remote_profile str
Optional. Immutable. Name of the remoteTransportProfile that this Transport is connecting to.
provided_activation_key str
Optional. Immutable. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.
generated_activation_key str
Output only. Google-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.
bandwidth google.cloud.networkconnectivity_v1beta.types.Transport.Bandwidth
Optional. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile, and must be set when no activation key is being provided.
stack_type google.cloud.networkconnectivity_v1beta.types.Transport.StackType
Optional. IP version stack for the established connectivity.
state google.cloud.networkconnectivity_v1beta.types.Transport.State
Output only. State of the underlying connectivity.
mtu_limit int
Output only. The maximum transmission unit (MTU) of a packet that can be sent over this transport.
admin_enabled bool
Optional. Administrative state of the underlying connectivity. If set to true (default), connectivity should be available between your environments. If set to false, the connectivity over these links is disabled. Disabling your Transport does not affect billing, and retains the underlying network bandwidth associated with the connectivity.
network str
Optional. Immutable. Resource URI of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.
advertised_routes MutableSequence[str]
Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
remote_account_id str
Optional. Immutable. The user supplied account id for the CSP associated with the remote profile.
peering_network str
Output only. VPC Network URI that was created for the VPC Peering connection to the provided network. If VPC Peering is disconnected, this can be used to re-establish.
hub str
Optional. Immutable. The NCC Hub that the Transport should attach to. The hub must be in the same project as the Transport. Format: {hub} or projects/{project}/locations/global/hubs/{hub}
psc_routing_enabled bool
Optional. Immutable. Controls whether a Routing VPC Spoke should be created and attached to the NCC Hub. This will provide Private Service Connect (PSC) connectivity through NCC. This can only be set when the Transport is first created.
auto_accept bool
Optional. Immutable. Controls whether resources proposed by the Transport are automatically accepted on behalf of the user. List of actions that can be automatically accepted are: 1. VPC Peering creation 2. Routing VPC Spoke creation 3. Hybrid Spoke creation

Classes

Bandwidth

Bandwidth(value)

Supported bandwidth options.

LabelsEntry

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

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

StackType

StackType(value)

IP version stack for the established connectivity.

State

State(value)

Represents the status of the underlying connectivity. One of the following states, depending on who has initiated the Transport request.