Google Cloud Support V2 API - Module Google::Cloud::Support::V2::CommentService::Paths (v0.1.0)

Reference documentation and code samples for the Google Cloud Support V2 API module Google::Cloud::Support::V2::CommentService::Paths.

Path helper methods for the CommentService API.

Methods

#case_path

def case_path(organization:, case:) -> ::String
def case_path(project:, case:) -> ::String

Create a fully-qualified Case resource string.

Overloads
def case_path(organization:, case:) -> ::String
The resource will be in the following format:

organizations/{organization}/cases/{case}

Parameters
  • organization (String)
  • case (String)
def case_path(project:, case:) -> ::String
The resource will be in the following format:

projects/{project}/cases/{case}

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

#comment_path

def comment_path(organization:, case:, comment:) -> ::String
def comment_path(project:, case:, comment:) -> ::String

Create a fully-qualified Comment resource string.

Overloads
def comment_path(organization:, case:, comment:) -> ::String
The resource will be in the following format:

organizations/{organization}/cases/{case}/comments/{comment}

Parameters
  • organization (String)
  • case (String)
  • comment (String)
def comment_path(project:, case:, comment:) -> ::String
The resource will be in the following format:

projects/{project}/cases/{case}/comments/{comment}

Parameters
  • project (String)
  • case (String)
  • comment (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)