Policy Simulator V1 API - Module Google::Cloud::PolicySimulator::V1::Simulator::Paths (v0.3.2)

Reference documentation and code samples for the Policy Simulator V1 API module Google::Cloud::PolicySimulator::V1::Simulator::Paths.

Path helper methods for the Simulator API.

Methods

#replay_path

def replay_path(project:, location:, replay:) -> ::String
def replay_path(folder:, location:, replay:) -> ::String
def replay_path(organization:, location:, replay:) -> ::String

Create a fully-qualified Replay resource string.

Overloads
def replay_path(project:, location:, replay:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/replays/{replay}

Parameters
  • project (String)
  • location (String)
  • replay (String)
def replay_path(folder:, location:, replay:) -> ::String
The resource will be in the following format:

folders/{folder}/locations/{location}/replays/{replay}

Parameters
  • folder (String)
  • location (String)
  • replay (String)
def replay_path(organization:, location:, replay:) -> ::String
The resource will be in the following format:

organizations/{organization}/locations/{location}/replays/{replay}

Parameters
  • organization (String)
  • location (String)
  • replay (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)