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}
- project (String)
- region (String)
- address (String)
- (::String)
- (::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}
- project (String)
- location (String)
- authorization_policy (String)
- (::String)
- (::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}
- project (String)
- location (String)
- backend_service (String)
- (::String)
- (::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}
- project (String)
- location (String)
- certificate (String)
- (::String)
- (::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}
- project (String)
- location (String)
- client_tls_policy (String)
- (::String)
- (::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}
- project (String)
- location (String)
- endpoint_policy (String)
- (::String)
- (::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}
- project (String)
- location (String)
- gateway (String)
- (::String)
- (::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}
- project (String)
- location (String)
- gateway (String)
- route_view (String)
- (::String)
- (::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}
- project (String)
- location (String)
- gateway_security_policy (String)
- (::String)
- (::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}
- project (String)
- location (String)
- grpc_route (String)
- (::String)
- (::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}
- project (String)
- location (String)
- http_route (String)
- (::String)
- (::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}
- project (String)
- location (String)
- (::String)
- (::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}
- project (String)
- location (String)
- mesh (String)
- (::String)
- (::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}
- project (String)
- location (String)
- mesh (String)
- route_view (String)
- (::String)
- (::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}
- project (String)
- network (String)
- (::String)
- (::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}
- project (String)
- location (String)
- server_tls_policy (String)
- (::String)
- (::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}
- project (String)
- location (String)
- service_binding (String)
- (::String)
- (::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}
- project (String)
- location (String)
- service_lb_policy (String)
- (::String)
- (::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}
- project (String)
- location (String)
- namespace (String)
- service (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)
#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}
- project (String)
- location (String)
- tcp_route (String)
- (::String)
- (::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}
- project (String)
- location (String)
- tls_route (String)
- (::String)
- (::ArgumentError)