Reference documentation and code samples for the Google Cloud Support V2 API class Google::Cloud::Support::V2::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::V2::CaseBaseline implementation for the close_case REST call
- request_pb (::Google::Cloud::Support::V2::CloseCaseRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Support::V2::Case)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2::Case) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_case
def create_case(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2::CaseBaseline implementation for the create_case REST call
- request_pb (::Google::Cloud::Support::V2::CreateCaseRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Support::V2::Case)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2::Case) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#escalate_case
def escalate_case(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2::CaseBaseline implementation for the escalate_case REST call
- request_pb (::Google::Cloud::Support::V2::EscalateCaseRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Support::V2::Case)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2::Case) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_case
def get_case(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2::CaseBaseline implementation for the get_case REST call
- request_pb (::Google::Cloud::Support::V2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Support::V2::Case)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2::Case) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_cases
def list_cases(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2::ListCasesResponseBaseline implementation for the list_cases REST call
- request_pb (::Google::Cloud::Support::V2::ListCasesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Support::V2::ListCasesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2::ListCasesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#search_case_classifications
def search_case_classifications(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2::SearchCaseClassificationsResponseBaseline implementation for the search_case_classifications REST call
- request_pb (::Google::Cloud::Support::V2::SearchCaseClassificationsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Support::V2::SearchCaseClassificationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2::SearchCaseClassificationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#search_cases
def search_cases(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2::SearchCasesResponseBaseline implementation for the search_cases REST call
- request_pb (::Google::Cloud::Support::V2::SearchCasesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Support::V2::SearchCasesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2::SearchCasesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
#update_case
def update_case(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Support::V2::CaseBaseline implementation for the update_case REST call
- request_pb (::Google::Cloud::Support::V2::UpdateCaseRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Support::V2::Case)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2::Case) — A result object deserialized from the server's reply
- (::ArgumentError)