Network Services V1 API - Module Google::Cloud::NetworkServices::V1::NetworkServices::Paths (v1.0.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

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

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

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

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

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