Essential Contacts V1 API - Module Google::Cloud::EssentialContacts::V1::EssentialContactsService::Paths (v0.3.0)

Reference documentation and code samples for the Essential Contacts V1 API module Google::Cloud::EssentialContacts::V1::EssentialContactsService::Paths.

Path helper methods for the EssentialContactsService API.

Methods

#contact_path

def contact_path(project:, contact:) -> ::String
def contact_path(folder:, contact:) -> ::String
def contact_path(organization:, contact:) -> ::String

Create a fully-qualified Contact resource string.

Overloads
def contact_path(project:, contact:) -> ::String
The resource will be in the following format:

projects/{project}/contacts/{contact}

Parameters
  • project (String)
  • contact (String)
def contact_path(folder:, contact:) -> ::String
The resource will be in the following format:

folders/{folder}/contacts/{contact}

Parameters
  • folder (String)
  • contact (String)
def contact_path(organization:, contact:) -> ::String
The resource will be in the following format:

organizations/{organization}/contacts/{contact}

Parameters
  • organization (String)
  • contact (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#folder_path

def folder_path(folder:) -> ::String

Create a fully-qualified Folder resource string.

The resource will be in the following format:

folders/{folder}

Parameter
  • folder (String)
Returns
  • (::String)

#organization_path

def organization_path(organization:) -> ::String

Create a fully-qualified Organization resource string.

The resource will be in the following format:

organizations/{organization}

Parameter
  • organization (String)
Returns
  • (::String)

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