API hub V1 API - Module Google::Cloud::ApiHub::V1::ApiHubPlugin::Paths (v0.6.0)

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

Path helper methods for the ApiHubPlugin API.

Methods

#attribute_path

def attribute_path(project:, location:, attribute:) -> ::String

Create a fully-qualified Attribute resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/attributes/{attribute}

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

#plugin_instance_path

def plugin_instance_path(project:, location:, plugin:, instance:) -> ::String

Create a fully-qualified PluginInstance resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}

Parameters
  • project (String)
  • location (String)
  • plugin (String)
  • instance (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#plugin_path

def plugin_path(project:, location:, plugin:) -> ::String

Create a fully-qualified Plugin resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/plugins/{plugin}

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

#service_account_path

def service_account_path(project:, service_account:) -> ::String

Create a fully-qualified ServiceAccount resource string.

The resource will be in the following format:

projects/{project}/serviceAccounts/{service_account}

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