API hub V1 API - Module Google::Cloud::ApiHub::V1::HostProjectRegistrationService::Paths (v0.1.0)

Reference documentation and code samples for the API hub V1 API module Google::Cloud::ApiHub::V1::HostProjectRegistrationService::Paths.

Path helper methods for the HostProjectRegistrationService API.

Methods

#host_project_registration_path

def host_project_registration_path(project:, location:, host_project_registration:) -> ::String

Create a fully-qualified HostProjectRegistration resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration}

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

#project_path

def project_path(project:) -> ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
Returns
  • (::String)