reCAPTCHA Enterprise V1 API - Module Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Paths (v1.3.0)

Reference documentation and code samples for the reCAPTCHA Enterprise V1 API module Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Paths.

Path helper methods for the RecaptchaEnterpriseService API.

Methods

#assessment_path

def assessment_path(project:, assessment:) -> ::String

Create a fully-qualified Assessment resource string.

The resource will be in the following format:

projects/{project}/assessments/{assessment}

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

#firewall_policy_path

def firewall_policy_path(project:, firewallpolicy:) -> ::String

Create a fully-qualified FirewallPolicy resource string.

The resource will be in the following format:

projects/{project}/firewallpolicies/{firewallpolicy}

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

#key_path

def key_path(project:, key:) -> ::String

Create a fully-qualified Key resource string.

The resource will be in the following format:

projects/{project}/keys/{key}

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

#metrics_path

def metrics_path(project:, key:) -> ::String

Create a fully-qualified Metrics resource string.

The resource will be in the following format:

projects/{project}/keys/{key}/metrics

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

#project_path

def project_path(project:) -> ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
Returns
  • (::String)
def related_account_group_path(project:, relatedaccountgroup:) -> ::String

Create a fully-qualified RelatedAccountGroup resource string.

The resource will be in the following format:

projects/{project}/relatedaccountgroups/{relatedaccountgroup}

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