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

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

Path helper methods for the EntityService API.

Methods

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

#watchlist_path

def watchlist_path(project:, location:, instance:, watchlist:) -> ::String

Create a fully-qualified Watchlist resource string.

The resource will be in the following format:

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

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