Network Services V1 API - Module Google::Cloud::NetworkServices::V1::NetworkServices::Paths (v2.2.0)

Reference documentation and code samples for the Network Services V1 API module Google::Cloud::NetworkServices::V1::NetworkServices::Paths.

Path helper methods for the NetworkServices API.

Methods

#address_path

def address_path(project:, region:, address:) -> ::String

Create a fully-qualified Address resource string.

The resource will be in the following format:

projects/{project}/regions/{region}/addresses/{address}

Parameters
  • project (String)
  • region (String)
  • address (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#authorization_policy_path

def authorization_policy_path(project:, location:, authorization_policy:) -> ::String

Create a fully-qualified AuthorizationPolicy resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/authorizationPolicies/{authorization_policy}

Parameters
  • project (String)
  • location (String)
  • authorization_policy (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#backend_service_path

def backend_service_path(project:, location:, backend_service:) -> ::String

Create a fully-qualified BackendService resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/backendServices/{backend_service}

Parameters
  • project (String)
  • location (String)
  • backend_service (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#certificate_path

def certificate_path(project:, location:, certificate:) -> ::String

Create a fully-qualified Certificate resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/certificates/{certificate}

Parameters
  • project (String)
  • location (String)
  • certificate (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#client_tls_policy_path

def client_tls_policy_path(project:, location:, client_tls_policy:) -> ::String

Create a fully-qualified ClientTlsPolicy resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}

Parameters
  • project (String)
  • location (String)
  • client_tls_policy (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#endpoint_policy_path

def endpoint_policy_path(project:, location:, endpoint_policy:) -> ::String

Create a fully-qualified EndpointPolicy resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/endpointPolicies/{endpoint_policy}

Parameters
  • project (String)
  • location (String)
  • endpoint_policy (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#gateway_path

def gateway_path(project:, location:, gateway:) -> ::String

Create a fully-qualified Gateway resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/gateways/{gateway}

Parameters
  • project (String)
  • location (String)
  • gateway (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#gateway_route_view_path

def gateway_route_view_path(project:, location:, gateway:, route_view:) -> ::String

Create a fully-qualified GatewayRouteView resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/gateways/{gateway}/routeViews/{route_view}

Parameters
  • project (String)
  • location (String)
  • gateway (String)
  • route_view (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#gateway_security_policy_path

def gateway_security_policy_path(project:, location:, gateway_security_policy:) -> ::String

Create a fully-qualified GatewaySecurityPolicy resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}

Parameters
  • project (String)
  • location (String)
  • gateway_security_policy (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#grpc_route_path

def grpc_route_path(project:, location:, grpc_route:) -> ::String

Create a fully-qualified GrpcRoute resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/grpcRoutes/{grpc_route}

Parameters
  • project (String)
  • location (String)
  • grpc_route (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#http_route_path

def http_route_path(project:, location:, http_route:) -> ::String

Create a fully-qualified HttpRoute resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/httpRoutes/{http_route}

Parameters
  • project (String)
  • location (String)
  • http_route (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

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

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#mesh_path

def mesh_path(project:, location:, mesh:) -> ::String

Create a fully-qualified Mesh resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/meshes/{mesh}

Parameters
  • project (String)
  • location (String)
  • mesh (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#mesh_route_view_path

def mesh_route_view_path(project:, location:, mesh:, route_view:) -> ::String

Create a fully-qualified MeshRouteView resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/meshes/{mesh}/routeViews/{route_view}

Parameters
  • project (String)
  • location (String)
  • mesh (String)
  • route_view (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#network_path

def network_path(project:, network:) -> ::String

Create a fully-qualified Network resource string.

The resource will be in the following format:

projects/{project}/global/networks/{network}

Parameters
  • project (String)
  • network (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#server_tls_policy_path

def server_tls_policy_path(project:, location:, server_tls_policy:) -> ::String

Create a fully-qualified ServerTlsPolicy resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/serverTlsPolicies/{server_tls_policy}

Parameters
  • project (String)
  • location (String)
  • server_tls_policy (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#service_binding_path

def service_binding_path(project:, location:, service_binding:) -> ::String

Create a fully-qualified ServiceBinding resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/serviceBindings/{service_binding}

Parameters
  • project (String)
  • location (String)
  • service_binding (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#service_lb_policy_path

def service_lb_policy_path(project:, location:, service_lb_policy:) -> ::String

Create a fully-qualified ServiceLbPolicy resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy}

Parameters
  • project (String)
  • location (String)
  • service_lb_policy (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#service_path

def service_path(project:, location:, namespace:, service:) -> ::String

Create a fully-qualified Service resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}

Parameters
  • project (String)
  • location (String)
  • namespace (String)
  • service (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • region (String)
  • subnetwork (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#tcp_route_path

def tcp_route_path(project:, location:, tcp_route:) -> ::String

Create a fully-qualified TcpRoute resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/tcpRoutes/{tcp_route}

Parameters
  • project (String)
  • location (String)
  • tcp_route (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#tls_route_path

def tls_route_path(project:, location:, tls_route:) -> ::String

Create a fully-qualified TlsRoute resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/tlsRoutes/{tls_route}

Parameters
  • project (String)
  • location (String)
  • tls_route (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)