# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/support/v2/case_service.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/support/v2/case_pb' require 'google/cloud/support/v2/escalation_pb' require 'google/protobuf/field_mask_pb' descriptor_data = "\n*google/cloud/support/v2/case_service.proto\x12\x17google.cloud.support.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/cloud/support/v2/case.proto\x1a(google/cloud/support/v2/escalation.proto\x1a google/protobuf/field_mask.proto\"H\n\x0eGetCaseRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n cloudsupport.googleapis.com/Case\"\x7f\n\x11\x43reateCaseRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 cloudsupport.googleapis.com/Case\x12\x30\n\x04\x63\x61se\x18\x02 \x01(\x0b\x32\x1d.google.cloud.support.v2.CaseB\x03\xe0\x41\x02\"\x83\x01\n\x10ListCasesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 cloudsupport.googleapis.com/Case\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"Z\n\x11ListCasesResponse\x12,\n\x05\x63\x61ses\x18\x01 \x03(\x0b\x32\x1d.google.cloud.support.v2.Case\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Z\n\x12SearchCasesRequest\x12\x0e\n\x06parent\x18\x04 \x01(\t\x12\r\n\x05query\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\\\n\x13SearchCasesResponse\x12,\n\x05\x63\x61ses\x18\x01 \x03(\x0b\x32\x1d.google.cloud.support.v2.Case\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x86\x01\n\x13\x45scalateCaseRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n cloudsupport.googleapis.com/Case\x12\x37\n\nescalation\x18\x02 \x01(\x0b\x32#.google.cloud.support.v2.Escalation\"v\n\x11UpdateCaseRequest\x12\x30\n\x04\x63\x61se\x18\x01 \x01(\x0b\x32\x1d.google.cloud.support.v2.CaseB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"J\n\x10\x43loseCaseRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n cloudsupport.googleapis.com/Case\"X\n SearchCaseClassificationsRequest\x12\r\n\x05query\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x87\x01\n!SearchCaseClassificationsResponse\x12I\n\x14\x63\x61se_classifications\x18\x01 \x03(\x0b\x32+.google.cloud.support.v2.CaseClassification\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xcf\x0c\n\x0b\x43\x61seService\x12\xa5\x01\n\x07GetCase\x12\'.google.cloud.support.v2.GetCaseRequest\x1a\x1d.google.cloud.support.v2.Case\"R\xda\x41\x04name\x82\xd3\xe4\x93\x02\x45\x12\x1d/v2/{name=projects/*/cases/*}Z$\x12\"/v2/{name=organizations/*/cases/*}\x12\xb8\x01\n\tListCases\x12).google.cloud.support.v2.ListCasesRequest\x1a*.google.cloud.support.v2.ListCasesResponse\"T\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x45\x12\x1d/v2/{parent=projects/*}/casesZ$\x12\"/v2/{parent=organizations/*}/cases\x12\xc3\x01\n\x0bSearchCases\x12+.google.cloud.support.v2.SearchCasesRequest\x1a,.google.cloud.support.v2.SearchCasesResponse\"Y\x82\xd3\xe4\x93\x02S\x12$/v2/{parent=projects/*}/cases:searchZ+\x12)/v2/{parent=organizations/*}/cases:search\x12\xbe\x01\n\nCreateCase\x12*.google.cloud.support.v2.CreateCaseRequest\x1a\x1d.google.cloud.support.v2.Case\"e\xda\x41\x0bparent,case\x82\xd3\xe4\x93\x02Q\"\x1d/v2/{parent=projects/*}/cases:\x04\x63\x61seZ*\"\"/v2/{parent=organizations/*}/cases:\x04\x63\x61se\x12\xcd\x01\n\nUpdateCase\x12*.google.cloud.support.v2.UpdateCaseRequest\x1a\x1d.google.cloud.support.v2.Case\"t\xda\x41\x10\x63\x61se,update_mask\x82\xd3\xe4\x93\x02[2\"/v2/{case.name=projects/*/cases/*}:\x04\x63\x61seZ/2\'/v2/{case.name=organizations/*/cases/*}:\x04\x63\x61se\x12\xc0\x01\n\x0c\x45scalateCase\x12,.google.cloud.support.v2.EscalateCaseRequest\x1a\x1d.google.cloud.support.v2.Case\"c\x82\xd3\xe4\x93\x02]\"&/v2/{name=projects/*/cases/*}:escalate:\x01*Z0\"+/v2/{name=organizations/*/cases/*}:escalate:\x01*\x12\xb4\x01\n\tCloseCase\x12).google.cloud.support.v2.CloseCaseRequest\x1a\x1d.google.cloud.support.v2.Case\"]\x82\xd3\xe4\x93\x02W\"#/v2/{name=projects/*/cases/*}:close:\x01*Z-\"(/v2/{name=organizations/*/cases/*}:close:\x01*\x12\xba\x01\n\x19SearchCaseClassifications\x12\x39.google.cloud.support.v2.SearchCaseClassificationsRequest\x1a:.google.cloud.support.v2.SearchCaseClassificationsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v2/caseClassifications:search\x1aO\xca\x41\x1b\x63loudsupport.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb9\x01\n\x1b\x63om.google.cloud.support.v2B\x10\x43\x61seServiceProtoP\x01Z5cloud.google.com/go/support/apiv2/supportpb;supportpb\xaa\x02\x17Google.Cloud.Support.V2\xca\x02\x17Google\\Cloud\\Support\\V2\xea\x02\x1aGoogle::Cloud::Support::V2b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.cloud.support.v2.Case", "google/cloud/support/v2/case.proto"], ["google.cloud.support.v2.Escalation", "google/cloud/support/v2/escalation.proto"], ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module Support module V2 GetCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2.GetCaseRequest").msgclass CreateCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2.CreateCaseRequest").msgclass ListCasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2.ListCasesRequest").msgclass ListCasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2.ListCasesResponse").msgclass SearchCasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2.SearchCasesRequest").msgclass SearchCasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2.SearchCasesResponse").msgclass EscalateCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2.EscalateCaseRequest").msgclass UpdateCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2.UpdateCaseRequest").msgclass CloseCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2.CloseCaseRequest").msgclass SearchCaseClassificationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2.SearchCaseClassificationsRequest").msgclass SearchCaseClassificationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2.SearchCaseClassificationsResponse").msgclass end end end end