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
- request_pb (::Google::Cloud::Support::V2beta::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::V2beta::Case)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2beta::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::V2beta::Case
Baseline implementation for the create_case REST call
- request_pb (::Google::Cloud::Support::V2beta::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::V2beta::Case)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2beta::Case) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (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
- request_pb (::Google::Cloud::Support::V2beta::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::V2beta::Case)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2beta::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::V2beta::Case
Baseline implementation for the get_case REST call
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Support::V2beta::Case)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2beta::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::V2beta::ListCasesResponse
Baseline implementation for the list_cases REST call
- request_pb (::Google::Cloud::Support::V2beta::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::V2beta::ListCasesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2beta::ListCasesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (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
- request_pb (::Google::Cloud::Support::V2beta::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::V2beta::SearchCaseClassificationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2beta::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::V2beta::SearchCasesResponse
Baseline implementation for the search_cases REST call
- request_pb (::Google::Cloud::Support::V2beta::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::V2beta::SearchCasesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2beta::SearchCasesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (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
- request_pb (::Google::Cloud::Support::V2beta::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::V2beta::Case)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Support::V2beta::Case) — A result object deserialized from the server's reply
- (::ArgumentError)