Network Security V1 API - Module Google::Cloud::NetworkSecurity::V1::NetworkSecurity::Paths (v0.1.0)

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

Path helper methods for the NetworkSecurity 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)

#authz_policy_path

def authz_policy_path(project:, location:, authz_policy:) -> ::String

Create a fully-qualified AuthzPolicy resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/authzPolicies/{authz_policy}

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

#backend_authentication_config_path

def backend_authentication_config_path(project:, location:, backend_authentication_config:) -> ::String

Create a fully-qualified BackendAuthenticationConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/backendAuthenticationConfigs/{backend_authentication_config}

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

#ca_pool_path

def ca_pool_path(project:, location:, ca_pool:) -> ::String

Create a fully-qualified CaPool resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/caPools/{ca_pool}

Parameters
  • project (String)
  • location (String)
  • ca_pool (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)

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

#gateway_security_policy_rule_path

def gateway_security_policy_rule_path(project:, location:, gateway_security_policy:, rule:) -> ::String

Create a fully-qualified GatewaySecurityPolicyRule resource string.

The resource will be in the following format:

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

Parameters
  • project (String)
  • location (String)
  • gateway_security_policy (String)
  • rule (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)

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

#tls_inspection_policy_path

def tls_inspection_policy_path(project:, location:, tls_inspection_policy:) -> ::String

Create a fully-qualified TlsInspectionPolicy resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}

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

#trust_config_path

def trust_config_path(project:, location:, trust_config:) -> ::String

Create a fully-qualified TrustConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/trustConfigs/{trust_config}

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

#url_list_path

def url_list_path(project:, location:, url_list:) -> ::String

Create a fully-qualified UrlList resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/urlLists/{url_list}

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