Datastream V1 API - Module Google::Cloud::Datastream::V1::Datastream::Paths (v0.3.0)

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

Path helper methods for the Datastream API.

Methods

#connection_profile_path

def connection_profile_path(project:, location:, connection_profile:) -> ::String

Create a fully-qualified ConnectionProfile resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/connectionProfiles/{connection_profile}

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

#networks_path

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

Create a fully-qualified Networks resource string.

The resource will be in the following format:

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

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

#private_connection_path

def private_connection_path(project:, location:, private_connection:) -> ::String

Create a fully-qualified PrivateConnection resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/privateConnections/{private_connection}

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

#route_path

def route_path(project:, location:, private_connection:, route:) -> ::String

Create a fully-qualified Route resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/privateConnections/{private_connection}/routes/{route}

Parameters
  • project (String)
  • location (String)
  • private_connection (String)
  • route (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#stream_object_path

def stream_object_path(project:, location:, stream:, object:) -> ::String

Create a fully-qualified StreamObject resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/streams/{stream}/objects/{object}

Parameters
  • project (String)
  • location (String)
  • stream (String)
  • object (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#stream_path

def stream_path(project:, location:, stream:) -> ::String

Create a fully-qualified Stream resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/streams/{stream}

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