Reference documentation and code samples for the Network Connectivity V1 API module Google::Cloud::NetworkConnectivity::V1::CrossNetworkAutomationService::Paths.
Path helper methods for the CrossNetworkAutomationService API.
Methods
#location_path
def location_path(project:, location:) -> ::String
Create a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
- project (String)
- location (String)
- (::String)
- (::ArgumentError)
#network_path
def network_path(project:, resource_id:) -> ::String
Create a fully-qualified Network resource string.
The resource will be in the following format:
projects/{project}/global/networks/{resource_id}
- project (String)
- resource_id (String)
- (::String)
- (::ArgumentError)
#project_path
def project_path(project:) -> ::String
Create a fully-qualified Project resource string.
The resource will be in the following format:
projects/{project}
- project (String)
- (::String)
#service_attachment_path
def service_attachment_path(project:, region:, service_attachment:) -> ::String
Create a fully-qualified ServiceAttachment resource string.
The resource will be in the following format:
projects/{project}/regions/{region}/serviceAttachments/{service_attachment}
- project (String)
- region (String)
- service_attachment (String)
- (::String)
- (::ArgumentError)
#service_class_path
def service_class_path(project:, location:, service_class:) -> ::String
Create a fully-qualified ServiceClass resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/serviceClasses/{service_class}
- project (String)
- location (String)
- service_class (String)
- (::String)
- (::ArgumentError)
#service_connection_map_path
def service_connection_map_path(project:, location:, service_connection_map:) -> ::String
Create a fully-qualified ServiceConnectionMap resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map}
- project (String)
- location (String)
- service_connection_map (String)
- (::String)
- (::ArgumentError)
#service_connection_policy_path
def service_connection_policy_path(project:, location:, service_connection_policy:) -> ::String
Create a fully-qualified ServiceConnectionPolicy resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy}
- project (String)
- location (String)
- service_connection_policy (String)
- (::String)
- (::ArgumentError)
#service_connection_token_path
def service_connection_token_path(project:, location:, service_connection_token:) -> ::String
Create a fully-qualified ServiceConnectionToken resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/serviceConnectionTokens/{service_connection_token}
- project (String)
- location (String)
- service_connection_token (String)
- (::String)
- (::ArgumentError)
#subnetwork_path
def subnetwork_path(project:, region:, subnetwork:) -> ::String
Create a fully-qualified Subnetwork resource string.
The resource will be in the following format:
projects/{project}/regions/{region}/subnetworks/{subnetwork}
- project (String)
- region (String)
- subnetwork (String)
- (::String)
- (::ArgumentError)