Service Client: Google::Cloud::Networkconnectivity::V1beta::TransportManager::TransportManagerClient

Client stub representing the remote TransportManager 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::V1beta::TransportManager - Compiled Protocol Buffers messages for google/cloud/networkconnectivity/v1beta/transport_manager.proto

SYNOPSIS

use Google::Cloud::Networkconnectivity::V1beta::TransportManager;

my $msg = Google::Cloud::Networkconnectivity::V1beta::TransportManager::RemoteTransportProfile->new({
    name => $name,
    labels => $labels,
    description => $description,
    provider => $provider,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/networkconnectivity/v1beta/transport_manager.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::V1beta::TransportManager::RemoteTransportProfile

Message describing RemoteTransportProfile object.

Inherits from Protobuf::Message.

Accessors

Enum: RemoteTransportProfile::Bandwidth

  • BANDWIDTH_UNSPECIFIED => 0

  • BPS_50M => 1

  • BPS_100M => 2

  • BPS_200M => 3

  • BPS_300M => 4

  • BPS_400M => 5

  • BPS_500M => 6

  • BPS_1G => 7

  • BPS_2G => 8

  • BPS_5G => 9

  • BPS_10G => 10

  • BPS_20G => 11

  • BPS_50G => 12

  • BPS_100G => 13

Enum: RemoteTransportProfile::ServiceLevelAvailability

  • SERVICE_LEVEL_AVAILABILITY_UNSPECIFIED => 0

  • HIGH => 1

  • MAXIMUM => 2

Enum: RemoteTransportProfile::KeyProvisioningFlow

  • KEY_PROVISIONING_FLOW_UNSPECIFIED => 0

  • INPUT_ONLY => 1

  • OUTPUT_ONLY => 2

  • INPUT_OR_OUTPUT => 3

Enum: RemoteTransportProfile::State

  • STATE_UNSPECIFIED => 0

  • CLOSED => 1

  • OPEN => 2

Enum: RemoteTransportProfile::ProviderType

  • PROVIDER_TYPE_UNSPECIFIED => 0

  • CLOUD => 1

  • NETWORK => 2

Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListRemoteTransportProfilesRequest

Message for requesting list of RemoteTransportProfiles.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent value for ListRemoteTransportProfilesRequest.

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

    Optional. A token identifying a page of results the server should return.

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

    Type: String

    Optional. Filtering results.

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

    Type: String

    Optional. Hint for how to order the results.

Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListRemoteTransportProfilesResponse

Message for response to listing RemoteTransportProfiles

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::TransportManager::RemoteTransportProfile)

    The list of RemoteTransportProfiles.

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

    Type: String

    A token identifying a page of results the server should return.

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

    Type: String

    Unordered list. Locations that could not be reached.

Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetRemoteTransportProfileRequest

Message for getting a RemoteTransportProfile.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the resource.

Google::Cloud::Networkconnectivity::V1beta::TransportManager::ParseFromActivationKeyRequest

Message for getting a RemoteTransportProfile from an activation key.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent value for ParseFromActivationKeyRequest.

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

    Type: String

    Required. The activation key to get the RemoteTransportProfile for.

Google::Cloud::Networkconnectivity::V1beta::TransportManager::ParseFromActivationKeyResponse

Message for response to getting a RemoteTransportProfile from an activation key.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Networkconnectivity::V1beta::TransportManager::Transport

Message describing Transport object.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. Name of the resource.

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

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

    Output only. Create time stamp.

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

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

    Output only. Update time stamp.

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::TransportManager::Transport::LabelsEntry)

    Optional. Labels as key value pairs.

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

    Type: String

    Optional. Description of the Transport.

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

    Type: String

    Optional. Immutable. Name of the remoteTransportProfile that this Transport is connecting to.

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

    Type: String

    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.

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

    Type: String

    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.

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

    Type: Enum (Google::Cloud::Networkconnectivity::V1beta::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.

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

    Type: Enum (Google::Cloud::Networkconnectivity::V1beta::Transport::StackType)

    Optional. IP version stack for the established connectivity.

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

    Type: Enum (Google::Cloud::Networkconnectivity::V1beta::Transport::State)

    Output only. State of the underlying connectivity.

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

    Type: Int32

    Output only. The maximum transmission unit (MTU) of a packet that can be sent over this transport.

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

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

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

    Type: String

    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.

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

    Type: String

    Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.

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

    Type: String

    Optional. Immutable. The user supplied account id for the CSP associated with the remote profile.

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

    Type: String

    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.

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

    Type: String

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

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

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

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

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

Enum: Transport::Bandwidth

  • BANDWIDTH_UNSPECIFIED => 0

  • BPS_50M => 1

  • BPS_100M => 2

  • BPS_200M => 3

  • BPS_300M => 4

  • BPS_400M => 5

  • BPS_500M => 6

  • BPS_1G => 7

  • BPS_2G => 8

  • BPS_5G => 9

  • BPS_10G => 10

  • BPS_20G => 11

  • BPS_50G => 12

  • BPS_100G => 13

Enum: Transport::StackType

  • STACK_TYPE_UNSPECIFIED => 0

  • IPV4_ONLY => 1

  • IPV4_IPV6 => 2

Enum: Transport::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • PENDING_CONFIG => 2

  • PENDING_KEY => 3

  • ACTIVE => 4

  • DELETING => 5

  • DEPROVISIONED => 6

Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListTransportsRequest

Message for requesting list of Transports.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent value for ListTransportsRequest.

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

    Optional. A token identifying a page of results the server should return.

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

    Type: String

    Optional. Filtering results.

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

    Type: String

    Optional. Hint for how to order the results.

Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListTransportsResponse

Message for response to listing Transports.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::TransportManager::Transport)

    The list of Transport.

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

    Type: String

    A token identifying a page of results the server should return.

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

    Type: String

    Unordered list. Locations that could not be reached.

Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetTransportRequest

Message for getting a Transport.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the resource.

Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetStatusRequest

Message for getting a Transport's operational status.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the resource.

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

    Type: Bool

    Optional. If set to true, the response will bypass any caches and return the freshest possible data.

Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetStatusResponse

Message for the response to getting a Transport's operational status.

Inherits from Protobuf::Message.

Accessors

Enum: GetStatusResponse::OverallStatus

  • OVERALL_STATUS_UNSPECIFIED => 0

  • ACTIVE => 1

  • PENDING_KEY => 2

  • CONFIGURING => 3

  • DISCONNECTED => 4

  • DOWN => 5

Enum: GetStatusResponse::OperationalStatus

  • OPERATIONAL_STATUS_UNSPECIFIED => 0

  • OPERATIONAL_STATUS_ACTIVE => 1

  • OPERATIONAL_STATUS_DOWN => 2

Enum: GetStatusResponse::ConnectivityStatus

  • CONNECTIVITY_STATUS_UNSPECIFIED => 0

  • CONNECTIVITY_STATUS_CONNECTED => 1

  • CONNECTIVITY_STATUS_DISCONNECTED => 2

Enum: GetStatusResponse::MacSecStatus

  • MAC_SEC_STATUS_UNSPECIFIED => 0

  • MAC_SEC_STATUS_ACTIVE_FAIL_CLOSED => 1

  • MAC_SEC_STATUS_ACTIVE_FAIL_OPEN => 2

  • MAC_SEC_STATUS_NOT_CONFIGURED => 3

Google::Cloud::Networkconnectivity::V1beta::TransportManager::CreateTransportRequest

Message for creating a Transport

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Value for parent.

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

    Type: String

    Required. Id of the requesting object

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::TransportManager::Transport)

    Required. The resource being created

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

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    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 if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally 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::V1beta::TransportManager::UpdateTransportRequest

Message for updating a Transport.

Inherits from Protobuf::Message.

Accessors

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

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

    Optional. Field mask is used to specify the fields to be overwritten in the Transport resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.

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

    Type: Message (Google::Cloud::Networkconnectivity::V1beta::TransportManager::Transport)

    Required. The resource being updated.

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

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    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 if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally 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::V1beta::TransportManager::DeleteTransportRequest

Message for deleting a Transport.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the resource.

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

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    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 if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally 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::V1beta::TransportManager::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.