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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Support V2BETA API - Class Google::Cloud::Support::V2beta::CaseService::Rest::ServiceStub (v0.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.2.0 (latest)](/ruby/docs/reference/google-cloud-support-v2beta/latest/Google-Cloud-Support-V2beta-CaseService-Rest-ServiceStub)\n- [0.1.1](/ruby/docs/reference/google-cloud-support-v2beta/0.1.1/Google-Cloud-Support-V2beta-CaseService-Rest-ServiceStub) \nReference documentation and code samples for the Google Cloud Support V2BETA API class Google::Cloud::Support::V2beta::CaseService::Rest::ServiceStub.\n\nREST service stub for the CaseService service.\nService stub contains baseline method implementations\nincluding transcoding, making the REST call, and deserialing the response. \n\nInherits\n--------\n\n- Object\n\nMethods\n-------\n\n### #close_case\n\n def close_case(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Cloud::Support::V2beta::Case\n\nBaseline implementation for the close_case REST call \n**Parameters**\n\n- **request_pb** ([::Google::Cloud::Support::V2beta::CloseCaseRequest](./Google-Cloud-Support-V2beta-CloseCaseRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Cloud::Support::V2beta::Case](./Google-Cloud-Support-V2beta-Case))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Cloud::Support::V2beta::Case](./Google-Cloud-Support-V2beta-Case)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)\n\n### #create_case\n\n def create_case(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Cloud::Support::V2beta::Case\n\nBaseline implementation for the create_case REST call \n**Parameters**\n\n- **request_pb** ([::Google::Cloud::Support::V2beta::CreateCaseRequest](./Google-Cloud-Support-V2beta-CreateCaseRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Cloud::Support::V2beta::Case](./Google-Cloud-Support-V2beta-Case))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Cloud::Support::V2beta::Case](./Google-Cloud-Support-V2beta-Case)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)\n\n### #endpoint\n\n def endpoint() -\u003e String\n\nThe effective endpoint \n**Returns**\n\n- (String)\n\n### #escalate_case\n\n def escalate_case(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Cloud::Support::V2beta::Case\n\nBaseline implementation for the escalate_case REST call \n**Parameters**\n\n- **request_pb** ([::Google::Cloud::Support::V2beta::EscalateCaseRequest](./Google-Cloud-Support-V2beta-EscalateCaseRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Cloud::Support::V2beta::Case](./Google-Cloud-Support-V2beta-Case))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Cloud::Support::V2beta::Case](./Google-Cloud-Support-V2beta-Case)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)\n\n### #get_case\n\n def get_case(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Cloud::Support::V2beta::Case\n\nBaseline implementation for the get_case REST call \n**Parameters**\n\n- **request_pb** ([::Google::Cloud::Support::V2beta::GetCaseRequest](./Google-Cloud-Support-V2beta-GetCaseRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Cloud::Support::V2beta::Case](./Google-Cloud-Support-V2beta-Case))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Cloud::Support::V2beta::Case](./Google-Cloud-Support-V2beta-Case)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)\n\n### #list_cases\n\n def list_cases(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Cloud::Support::V2beta::ListCasesResponse\n\nBaseline implementation for the list_cases REST call \n**Parameters**\n\n- **request_pb** ([::Google::Cloud::Support::V2beta::ListCasesRequest](./Google-Cloud-Support-V2beta-ListCasesRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Cloud::Support::V2beta::ListCasesResponse](./Google-Cloud-Support-V2beta-ListCasesResponse))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Cloud::Support::V2beta::ListCasesResponse](./Google-Cloud-Support-V2beta-ListCasesResponse)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)\n\n### #logger\n\n def logger(stub: false) -\u003e Logger\n\nThe logger used for request/response debug logging. \n**Returns**\n\n- (Logger)\n\n### #search_case_classifications\n\n def search_case_classifications(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Cloud::Support::V2beta::SearchCaseClassificationsResponse\n\nBaseline implementation for the search_case_classifications REST call \n**Parameters**\n\n- **request_pb** ([::Google::Cloud::Support::V2beta::SearchCaseClassificationsRequest](./Google-Cloud-Support-V2beta-SearchCaseClassificationsRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Cloud::Support::V2beta::SearchCaseClassificationsResponse](./Google-Cloud-Support-V2beta-SearchCaseClassificationsResponse))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Cloud::Support::V2beta::SearchCaseClassificationsResponse](./Google-Cloud-Support-V2beta-SearchCaseClassificationsResponse)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)\n\n### #search_cases\n\n def search_cases(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Cloud::Support::V2beta::SearchCasesResponse\n\nBaseline implementation for the search_cases REST call \n**Parameters**\n\n- **request_pb** ([::Google::Cloud::Support::V2beta::SearchCasesRequest](./Google-Cloud-Support-V2beta-SearchCasesRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Cloud::Support::V2beta::SearchCasesResponse](./Google-Cloud-Support-V2beta-SearchCasesResponse))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Cloud::Support::V2beta::SearchCasesResponse](./Google-Cloud-Support-V2beta-SearchCasesResponse)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)\n\n### #universe_domain\n\n def universe_domain() -\u003e String\n\nThe effective universe domain \n**Returns**\n\n- (String)\n\n### #update_case\n\n def update_case(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Cloud::Support::V2beta::Case\n\nBaseline implementation for the update_case REST call \n**Parameters**\n\n- **request_pb** ([::Google::Cloud::Support::V2beta::UpdateCaseRequest](./Google-Cloud-Support-V2beta-UpdateCaseRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Cloud::Support::V2beta::Case](./Google-Cloud-Support-V2beta-Case))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Cloud::Support::V2beta::Case](./Google-Cloud-Support-V2beta-Case)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)"]]