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

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

#asset_path

def asset_path(project:, location:, asset:) -> ::String

Create a fully-qualified Asset resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/assets/{asset}

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

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

#network_path

def network_path(project:, network:) -> ::String

Create a fully-qualified Network resource string.

The resource will be in the following format:

projects/{project}/global/networks/{network}

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

#pool_path

def pool_path(project:, location:, pool:) -> ::String

Create a fully-qualified Pool resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/pools/{pool}

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