Network Security V1beta1 API - Module Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Paths (v0.3.0)

Reference documentation and code samples for the Network Security V1beta1 API module Google::Cloud::NetworkSecurity::V1beta1::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)

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

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