Google Cloud Support V2BETA API - Class Google::Cloud::Support::V2beta::CaseService::Rest::ServiceStub (v0.1.1)

Reference documentation and code samples for the Google Cloud Support V2BETA API class Google::Cloud::Support::V2beta::CaseService::Rest::ServiceStub.

REST service stub for the CaseService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#close_case

def close_case(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2beta::Case

Baseline implementation for the close_case REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_case

def create_case(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2beta::Case

Baseline implementation for the create_case REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#escalate_case

def escalate_case(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2beta::Case

Baseline implementation for the escalate_case REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_case

def get_case(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2beta::Case

Baseline implementation for the get_case REST call

Parameters
  • request_pb (::Google::Cloud::Support::V2beta::GetCaseRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_cases

def list_cases(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2beta::ListCasesResponse

Baseline implementation for the list_cases REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#search_case_classifications

def search_case_classifications(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2beta::SearchCaseClassificationsResponse

Baseline implementation for the search_case_classifications REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#search_cases

def search_cases(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2beta::SearchCasesResponse

Baseline implementation for the search_cases REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_case

def update_case(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2beta::Case

Baseline implementation for the update_case REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)