Live Stream V1 API - Module Google::Cloud::Video::LiveStream::V1::LivestreamService::Paths (v0.5.1)

Reference documentation and code samples for the Live Stream V1 API module Google::Cloud::Video::LiveStream::V1::LivestreamService::Paths.

Path helper methods for the LivestreamService API.

Methods

#channel_path

def channel_path(project:, location:, channel:) -> ::String

Create a fully-qualified Channel resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/channels/{channel}

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

#event_path

def event_path(project:, location:, channel:, event:) -> ::String

Create a fully-qualified Event resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/channels/{channel}/events/{event}

Parameters
  • project (String)
  • location (String)
  • channel (String)
  • event (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#input_path

def input_path(project:, location:, input:) -> ::String

Create a fully-qualified Input resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/inputs/{input}

Parameters
  • project (String)
  • location (String)
  • input (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)

#secret_version_path

def secret_version_path(project:, secret:, version:) -> ::String

Create a fully-qualified SecretVersion resource string.

The resource will be in the following format:

projects/{project}/secrets/{secret}/versions/{version}

Parameters
  • project (String)
  • secret (String)
  • version (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)