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
$msg->name()/$msg->name($value)Type:
StringIdentifier. Name of the resource in the format of $provider-$site.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Networkconnectivity::V1beta::TransportManager::RemoteTransportProfile::LabelsEntry)Output only. Labels as key value pairs.
$msg->description()/$msg->description($value)Type:
StringOutput only. Description of the profile.
$msg->provider()/$msg->provider($value)Type:
StringOutput only. Name of the provider on the other end of this profile. E.g. “Amazon Web Services” or “Microsoft Azure”.
$msg->provider_site()/$msg->provider_site($value)Type:
StringOutput only. If the profile is a Cloud Service Provider with compute resources, this is populated with the region where connectivity is being established. If the profile provides facility-level selection, this is an identity of the facility any connections on this profile are going through.
$msg->supported_bandwidths()/$msg->supported_bandwidths($value)Type:
Enum(Google::Cloud::Networkconnectivity::V1beta::RemoteTransportProfile::Bandwidth)Output only. List of bandwidth enum values that are supported by this profile.
$msg->sla()/$msg->sla($value)Type:
Enum(Google::Cloud::Networkconnectivity::V1beta::RemoteTransportProfile::ServiceLevelAvailability)Output only. Availability class that will be configured for this particular RemoteTransportProfile.
$msg->flow()/$msg->flow($value)Type:
Enum(Google::Cloud::Networkconnectivity::V1beta::RemoteTransportProfile::KeyProvisioningFlow)Output only. Type of provisioning flows supported by this profile.
$msg->order_state()/$msg->order_state($value)Type:
Enum(Google::Cloud::Networkconnectivity::V1beta::RemoteTransportProfile::State)Output only. Order state for this profile.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. Human readable name of this profile, used to identify this profile in the UI.
$msg->provider_type()/$msg->provider_type($value)Type:
Enum(Google::Cloud::Networkconnectivity::V1beta::RemoteTransportProfile::ProviderType)Output only. Provider type for this profile.
Enum: RemoteTransportProfile::Bandwidth
BANDWIDTH_UNSPECIFIED=>0BPS_50M=>1BPS_100M=>2BPS_200M=>3BPS_300M=>4BPS_400M=>5BPS_500M=>6BPS_1G=>7BPS_2G=>8BPS_5G=>9BPS_10G=>10BPS_20G=>11BPS_50G=>12BPS_100G=>13
Enum: RemoteTransportProfile::ServiceLevelAvailability
SERVICE_LEVEL_AVAILABILITY_UNSPECIFIED=>0HIGH=>1MAXIMUM=>2
Enum: RemoteTransportProfile::KeyProvisioningFlow
KEY_PROVISIONING_FLOW_UNSPECIFIED=>0INPUT_ONLY=>1OUTPUT_ONLY=>2INPUT_OR_OUTPUT=>3
Enum: RemoteTransportProfile::State
STATE_UNSPECIFIED=>0CLOSED=>1OPEN=>2
Enum: RemoteTransportProfile::ProviderType
PROVIDER_TYPE_UNSPECIFIED=>0CLOUD=>1NETWORK=>2
Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListRemoteTransportProfilesRequest
Message for requesting list of RemoteTransportProfiles.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListRemoteTransportProfilesRequest.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. 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:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnordered 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:
StringRequired. 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:
StringRequired. Parent value for ParseFromActivationKeyRequest.
$msg->activation_key()/$msg->activation_key($value)Type:
StringRequired. 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
$msg->remote_transport_profile()/$msg->remote_transport_profile($value)Type:
Message(Google::Cloud::Networkconnectivity::V1beta::TransportManager::RemoteTransportProfile)The RemoteTransportProfile that was parsed from the activation key.
Google::Cloud::Networkconnectivity::V1beta::TransportManager::Transport
Message describing Transport object.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. 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:
StringOptional. Description of the Transport.
$msg->remote_profile()/$msg->remote_profile($value)Type:
StringOptional. Immutable. Name of the remoteTransportProfile that this Transport is connecting to.
$msg->provided_activation_key()/$msg->provided_activation_key($value)Type:
StringOptional. 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:
StringOutput 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:
Int32Output only. The maximum transmission unit (MTU) of a packet that can be sent over this transport.
$msg->admin_enabled()/$msg->admin_enabled($value)Type:
BoolOptional. 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:
StringOptional. 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:
StringOptional. 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:
StringOptional. Immutable. The user supplied account id for the CSP associated with the remote profile.
$msg->peering_network()/$msg->peering_network($value)Type:
StringOutput 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:
StringOptional. 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:
BoolOptional. 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:
BoolOptional. 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=>0BPS_50M=>1BPS_100M=>2BPS_200M=>3BPS_300M=>4BPS_400M=>5BPS_500M=>6BPS_1G=>7BPS_2G=>8BPS_5G=>9BPS_10G=>10BPS_20G=>11BPS_50G=>12BPS_100G=>13
Enum: Transport::StackType
STACK_TYPE_UNSPECIFIED=>0IPV4_ONLY=>1IPV4_IPV6=>2
Enum: Transport::State
STATE_UNSPECIFIED=>0CREATING=>1PENDING_CONFIG=>2PENDING_KEY=>3ACTIVE=>4DELETING=>5DEPROVISIONED=>6
Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListTransportsRequest
Message for requesting list of Transports.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListTransportsRequest.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. 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:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnordered 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:
StringRequired. 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:
StringRequired. Name of the resource.
$msg->skip_cache()/$msg->skip_cache($value)Type:
BoolOptional. 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
$msg->overall_status()/$msg->overall_status($value)Type:
Enum(Google::Cloud::Networkconnectivity::V1beta::GetStatusResponse::OverallStatus)The overall status of the Transport. This field will always output the most critical status of the Transport. For example, if the connectivity is DISCONNECTED, and the underlying networking components are DOWN, then the overall status will be DOWN.
$msg->operational_status()/$msg->operational_status($value)Type:
Enum(Google::Cloud::Networkconnectivity::V1beta::GetStatusResponse::OperationalStatus)The operational status of the underlying networking components.
$msg->connectivity_status()/$msg->connectivity_status($value)Type:
Enum(Google::Cloud::Networkconnectivity::V1beta::GetStatusResponse::ConnectivityStatus)Current status of connectivity to the local GCP resource. This reflects whether the VPC Peering or NCC Hub appears correctly configured.
$msg->mac_sec_status()/$msg->mac_sec_status($value)Type:
Enum(Google::Cloud::Networkconnectivity::V1beta::GetStatusResponse::MacSecStatus)Current status of MACSec on the underlying network connectivity between GC and the partner.
Enum: GetStatusResponse::OverallStatus
OVERALL_STATUS_UNSPECIFIED=>0ACTIVE=>1PENDING_KEY=>2CONFIGURING=>3DISCONNECTED=>4DOWN=>5
Enum: GetStatusResponse::OperationalStatus
OPERATIONAL_STATUS_UNSPECIFIED=>0OPERATIONAL_STATUS_ACTIVE=>1OPERATIONAL_STATUS_DOWN=>2
Enum: GetStatusResponse::ConnectivityStatus
CONNECTIVITY_STATUS_UNSPECIFIED=>0CONNECTIVITY_STATUS_CONNECTED=>1CONNECTIVITY_STATUS_DISCONNECTED=>2
Enum: GetStatusResponse::MacSecStatus
MAC_SEC_STATUS_UNSPECIFIED=>0MAC_SEC_STATUS_ACTIVE_FAIL_CLOSED=>1MAC_SEC_STATUS_ACTIVE_FAIL_OPEN=>2MAC_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:
StringRequired. Value for parent.
$msg->transport_id()/$msg->transport_id($value)Type:
StringRequired. 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:
StringOptional. 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:
StringOptional. 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:
StringRequired. Name of the resource.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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.