Chronicle V1 API - Module Google::Cloud::Chronicle::V1::RuleService::Paths (v0.1.0)

Reference documentation and code samples for the Chronicle V1 API module Google::Cloud::Chronicle::V1::RuleService::Paths.

Path helper methods for the RuleService API.

Methods

#data_access_scope_path

def data_access_scope_path(project:, location:, instance:, data_access_scope:) -> ::String

Create a fully-qualified DataAccessScope resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}

Parameters
  • project (String)
  • location (String)
  • instance (String)
  • data_access_scope (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#instance_path

def instance_path(project:, location:, instance:) -> ::String

Create a fully-qualified Instance resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}

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

#reference_list_path

def reference_list_path(project:, location:, instance:, reference_list:) -> ::String

Create a fully-qualified ReferenceList resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}

Parameters
  • project (String)
  • location (String)
  • instance (String)
  • reference_list (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#retrohunt_path

def retrohunt_path(project:, location:, instance:, rule:, retrohunt:) -> ::String

Create a fully-qualified Retrohunt resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}

Parameters
  • project (String)
  • location (String)
  • instance (String)
  • rule (String)
  • retrohunt (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#rule_deployment_path

def rule_deployment_path(project:, location:, instance:, rule:) -> ::String

Create a fully-qualified RuleDeployment resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment

Parameters
  • project (String)
  • location (String)
  • instance (String)
  • rule (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#rule_path

def rule_path(project:, location:, instance:, rule:) -> ::String

Create a fully-qualified Rule resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

Parameters
  • project (String)
  • location (String)
  • instance (String)
  • rule (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)