google-cloud-support-v2beta 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a147606ed630ac447b27d86b593304747deb2f2336c17c7722c331322e49260
4
- data.tar.gz: 4aa0522472c07fe282827efbccec6e33235accc5feff8f7cada4ba3cc8a51de7
3
+ metadata.gz: 6f707e6e25ee5154cc295e635c6ff99987a92e36ccb12fc0660f34d3482331ac
4
+ data.tar.gz: 7f8ee2e47d9b349bfa6d465cb1ac7c3b0e0bd015a24f69fb8e6b77c0b7146ca9
5
5
  SHA512:
6
- metadata.gz: ae83e3a9163160bdfe2feb264519c7f0066f53e00f4ffb8c40c4a8a60885b7ba7c7b05b1601eb8bef19981052f7cb76122f4b58d8dfbfe412b3bde24ced39bdf
7
- data.tar.gz: d6d6a8001b0504d4f30ed72377bfd0524a07c5570bd2ce6f784821cd200c4f72949bfad0a9dafa07e9d0e518e7f8e1786dac4bdca3a0a1d375db2f46b266f825
6
+ metadata.gz: 76d1f0bc8553271b15735c9cf270d34bd34d18be52f23c3816f12115f2686c6f5c9e7db1f826d69f3d2f566232ece19e7872da8a32ac8fcca6c97451d7ab14cb
7
+ data.tar.gz: 041f4dfb4e5b16ea96f2e81eb3c6947dce75741bf6cebdcfbc32edc5b5d771ef90ec86ebd1f45049585cb7d2ce02f4ab0ff7dd91b9fcf158a626a4bb3ea420c4
@@ -10,7 +10,7 @@ require 'google/cloud/support/v2beta/actor_pb'
10
10
  require 'google/protobuf/timestamp_pb'
11
11
 
12
12
 
13
- descriptor_data = "\n,google/cloud/support/v2beta/attachment.proto\x12\x1bgoogle.cloud.support.v2beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/support/v2beta/actor.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x85\x03\n\nAttachment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x38\n\x07\x63reator\x18\x03 \x01(\x0b\x32\".google.cloud.support.v2beta.ActorB\x03\xe0\x41\x03\x12\x10\n\x08\x66ilename\x18\x04 \x01(\t\x12\x16\n\tmime_type\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nsize_bytes\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03:\xb0\x01\xea\x41\xac\x01\n&cloudsupport.googleapis.com/Attachment\x12\x45organizations/{organization}/cases/{case}/attachments/{attachment_id}\x12;projects/{project}/cases/{case}/attachments/{attachment_id}B\xcc\x01\n\x1f\x63om.google.cloud.support.v2betaB\x0f\x41ttachmentProtoP\x01Z9cloud.google.com/go/support/apiv2beta/supportpb;supportpb\xaa\x02\x1bGoogle.Cloud.Support.V2Beta\xca\x02\x1bGoogle\\Cloud\\Support\\V2beta\xea\x02\x1eGoogle::Cloud::Support::V2betab\x06proto3"
13
+ descriptor_data = "\n,google/cloud/support/v2beta/attachment.proto\x12\x1bgoogle.cloud.support.v2beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/support/v2beta/actor.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x88\x03\n\nAttachment\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x38\n\x07\x63reator\x18\x03 \x01(\x0b\x32\".google.cloud.support.v2beta.ActorB\x03\xe0\x41\x03\x12\x10\n\x08\x66ilename\x18\x04 \x01(\t\x12\x16\n\tmime_type\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nsize_bytes\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03:\xb0\x01\xea\x41\xac\x01\n&cloudsupport.googleapis.com/Attachment\x12\x45organizations/{organization}/cases/{case}/attachments/{attachment_id}\x12;projects/{project}/cases/{case}/attachments/{attachment_id}B\xcc\x01\n\x1f\x63om.google.cloud.support.v2betaB\x0f\x41ttachmentProtoP\x01Z9cloud.google.com/go/support/apiv2beta/supportpb;supportpb\xaa\x02\x1bGoogle.Cloud.Support.V2Beta\xca\x02\x1bGoogle\\Cloud\\Support\\V2beta\xea\x02\x1eGoogle::Cloud::Support::V2betab\x06proto3"
14
14
 
15
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
16
 
@@ -34,36 +34,6 @@ module Google
34
34
  self.service_name = 'google.cloud.support.v2beta.CaseAttachmentService'
35
35
 
36
36
  # List all the attachments associated with a support case.
37
- #
38
- # EXAMPLES:
39
- #
40
- # cURL:
41
- #
42
- # ```shell
43
- # case="projects/some-project/cases/23598314"
44
- # curl \
45
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
46
- # "https://cloudsupport.googleapis.com/v2/$case/attachments"
47
- # ```
48
- #
49
- # Python:
50
- #
51
- # ```python
52
- # import googleapiclient.discovery
53
- #
54
- # api_version = "v2"
55
- # supportApiService = googleapiclient.discovery.build(
56
- # serviceName="cloudsupport",
57
- # version=api_version,
58
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}",
59
- # )
60
- # request = (
61
- # supportApiService.cases()
62
- # .attachments()
63
- # .list(parent="projects/some-project/cases/43595344")
64
- # )
65
- # print(request.execute())
66
- # ```
67
37
  rpc :ListAttachments, ::Google::Cloud::Support::V2beta::ListAttachmentsRequest, ::Google::Cloud::Support::V2beta::ListAttachmentsResponse
68
38
  end
69
39
 
@@ -191,36 +191,6 @@ module Google
191
191
  ##
192
192
  # List all the attachments associated with a support case.
193
193
  #
194
- # EXAMPLES:
195
- #
196
- # cURL:
197
- #
198
- # ```shell
199
- # case="projects/some-project/cases/23598314"
200
- # curl \
201
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
202
- # "https://cloudsupport.googleapis.com/v2/$case/attachments"
203
- # ```
204
- #
205
- # Python:
206
- #
207
- # ```python
208
- # import googleapiclient.discovery
209
- #
210
- # api_version = "v2"
211
- # supportApiService = googleapiclient.discovery.build(
212
- # serviceName="cloudsupport",
213
- # version=api_version,
214
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=\\{api_version}",
215
- # )
216
- # request = (
217
- # supportApiService.cases()
218
- # .attachments()
219
- # .list(parent="projects/some-project/cases/43595344")
220
- # )
221
- # print(request.execute())
222
- # ```
223
- #
224
194
  # @overload list_attachments(request, options = nil)
225
195
  # Pass arguments to `list_attachments` via a request object, either of type
226
196
  # {::Google::Cloud::Support::V2beta::ListAttachmentsRequest} or an equivalent Hash.
@@ -184,36 +184,6 @@ module Google
184
184
  ##
185
185
  # List all the attachments associated with a support case.
186
186
  #
187
- # EXAMPLES:
188
- #
189
- # cURL:
190
- #
191
- # ```shell
192
- # case="projects/some-project/cases/23598314"
193
- # curl \
194
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
195
- # "https://cloudsupport.googleapis.com/v2/$case/attachments"
196
- # ```
197
- #
198
- # Python:
199
- #
200
- # ```python
201
- # import googleapiclient.discovery
202
- #
203
- # api_version = "v2"
204
- # supportApiService = googleapiclient.discovery.build(
205
- # serviceName="cloudsupport",
206
- # version=api_version,
207
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=\\{api_version}",
208
- # )
209
- # request = (
210
- # supportApiService.cases()
211
- # .attachments()
212
- # .list(parent="projects/some-project/cases/43595344")
213
- # )
214
- # print(request.execute())
215
- # ```
216
- #
217
187
  # @overload list_attachments(request, options = nil)
218
188
  # Pass arguments to `list_attachments` via a request object, either of type
219
189
  # {::Google::Cloud::Support::V2beta::ListAttachmentsRequest} or an equivalent Hash.
@@ -10,7 +10,7 @@ require 'google/cloud/support/v2beta/actor_pb'
10
10
  require 'google/protobuf/timestamp_pb'
11
11
 
12
12
 
13
- descriptor_data = "\n&google/cloud/support/v2beta/case.proto\x12\x1bgoogle.cloud.support.v2beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/support/v2beta/actor.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf1\x06\n\x04\x43\x61se\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12G\n\x0e\x63lassification\x18\x04 \x01(\x0b\x32/.google.cloud.support.v2beta.CaseClassification\x12\x11\n\ttime_zone\x18\x08 \x01(\t\x12\"\n\x1asubscriber_email_addresses\x18\t \x03(\t\x12;\n\x05state\x18\x0c \x01(\x0e\x32\'.google.cloud.support.v2beta.Case.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\x07\x63reator\x18\x0f \x01(\x0b\x32\".google.cloud.support.v2beta.Actor\x12\x15\n\rcontact_email\x18# \x01(\t\x12\x11\n\tescalated\x18\x11 \x01(\x08\x12\x11\n\ttest_case\x18\x13 \x01(\x08\x12\x15\n\rlanguage_code\x18\x17 \x01(\t\x12<\n\x08priority\x18 \x01(\x0e\x32*.google.cloud.support.v2beta.Case.Priority\"\x7f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\x1e\n\x1aIN_PROGRESS_GOOGLE_SUPPORT\x10\x02\x12\x13\n\x0f\x41\x43TION_REQUIRED\x10\x03\x12\x15\n\x11SOLUTION_PROVIDED\x10\x04\x12\n\n\x06\x43LOSED\x10\x05\"L\n\x08Priority\x12\x18\n\x14PRIORITY_UNSPECIFIED\x10\x00\x12\x06\n\x02P0\x10\x01\x12\x06\n\x02P1\x10\x02\x12\x06\n\x02P2\x10\x03\x12\x06\n\x02P3\x10\x04\x12\x06\n\x02P4\x10\x05:q\xea\x41n\n cloudsupport.googleapis.com/Case\x12)organizations/{organization}/cases/{case}\x12\x1fprojects/{project}/cases/{case}\"m\n\x12\x43\x61seClassification\x12\n\n\x02id\x18\x03 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12\x35\n\x07product\x18\n \x01(\x0b\x32$.google.cloud.support.v2beta.Product\"I\n\x07Product\x12>\n\x0cproduct_line\x18\x01 \x01(\x0e\x32(.google.cloud.support.v2beta.ProductLine*N\n\x0bProductLine\x12\x1c\n\x18PRODUCT_LINE_UNSPECIFIED\x10\x00\x12\x10\n\x0cGOOGLE_CLOUD\x10\x01\x12\x0f\n\x0bGOOGLE_MAPS\x10\x02\x42\xc6\x01\n\x1f\x63om.google.cloud.support.v2betaB\tCaseProtoP\x01Z9cloud.google.com/go/support/apiv2beta/supportpb;supportpb\xaa\x02\x1bGoogle.Cloud.Support.V2Beta\xca\x02\x1bGoogle\\Cloud\\Support\\V2beta\xea\x02\x1eGoogle::Cloud::Support::V2betab\x06proto3"
13
+ descriptor_data = "\n&google/cloud/support/v2beta/case.proto\x12\x1bgoogle.cloud.support.v2beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/support/v2beta/actor.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf6\x06\n\x04\x43\x61se\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12G\n\x0e\x63lassification\x18\x04 \x01(\x0b\x32/.google.cloud.support.v2beta.CaseClassification\x12\x11\n\ttime_zone\x18\x08 \x01(\t\x12\"\n\x1asubscriber_email_addresses\x18\t \x03(\t\x12;\n\x05state\x18\x0c \x01(\x0e\x32\'.google.cloud.support.v2beta.Case.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\x07\x63reator\x18\x0f \x01(\x0b\x32\".google.cloud.support.v2beta.Actor\x12\x15\n\rcontact_email\x18# \x01(\t\x12\x11\n\tescalated\x18\x11 \x01(\x08\x12\x11\n\ttest_case\x18\x13 \x01(\x08\x12\x15\n\rlanguage_code\x18\x17 \x01(\t\x12<\n\x08priority\x18 \x01(\x0e\x32*.google.cloud.support.v2beta.Case.Priority\"\x7f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\x1e\n\x1aIN_PROGRESS_GOOGLE_SUPPORT\x10\x02\x12\x13\n\x0f\x41\x43TION_REQUIRED\x10\x03\x12\x15\n\x11SOLUTION_PROVIDED\x10\x04\x12\n\n\x06\x43LOSED\x10\x05\"L\n\x08Priority\x12\x18\n\x14PRIORITY_UNSPECIFIED\x10\x00\x12\x06\n\x02P0\x10\x01\x12\x06\n\x02P1\x10\x02\x12\x06\n\x02P2\x10\x03\x12\x06\n\x02P3\x10\x04\x12\x06\n\x02P4\x10\x05:q\xea\x41n\n cloudsupport.googleapis.com/Case\x12)organizations/{organization}/cases/{case}\x12\x1fprojects/{project}/cases/{case}\"m\n\x12\x43\x61seClassification\x12\n\n\x02id\x18\x03 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12\x35\n\x07product\x18\n \x01(\x0b\x32$.google.cloud.support.v2beta.Product\"I\n\x07Product\x12>\n\x0cproduct_line\x18\x01 \x01(\x0e\x32(.google.cloud.support.v2beta.ProductLine*N\n\x0bProductLine\x12\x1c\n\x18PRODUCT_LINE_UNSPECIFIED\x10\x00\x12\x10\n\x0cGOOGLE_CLOUD\x10\x01\x12\x0f\n\x0bGOOGLE_MAPS\x10\x02\x42\xc6\x01\n\x1f\x63om.google.cloud.support.v2betaB\tCaseProtoP\x01Z9cloud.google.com/go/support/apiv2beta/supportpb;supportpb\xaa\x02\x1bGoogle.Cloud.Support.V2Beta\xca\x02\x1bGoogle\\Cloud\\Support\\V2beta\xea\x02\x1eGoogle::Cloud::Support::V2betab\x06proto3"
14
14
 
15
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
16
 
@@ -214,35 +214,6 @@ module Google
214
214
  ##
215
215
  # Retrieve a case.
216
216
  #
217
- # EXAMPLES:
218
- #
219
- # cURL:
220
- #
221
- # ```shell
222
- # case="projects/some-project/cases/16033687"
223
- # curl \
224
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
225
- # "https://cloudsupport.googleapis.com/v2/$case"
226
- # ```
227
- #
228
- # Python:
229
- #
230
- # ```python
231
- # import googleapiclient.discovery
232
- #
233
- # api_version = "v2"
234
- # supportApiService = googleapiclient.discovery.build(
235
- # serviceName="cloudsupport",
236
- # version=api_version,
237
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=\\{api_version}",
238
- # )
239
- #
240
- # request = supportApiService.cases().get(
241
- # name="projects/some-project/cases/43595344",
242
- # )
243
- # print(request.execute())
244
- # ```
245
- #
246
217
  # @overload get_case(request, options = nil)
247
218
  # Pass arguments to `get_case` via a request object, either of type
248
219
  # {::Google::Cloud::Support::V2beta::GetCaseRequest} or an equivalent Hash.
@@ -332,34 +303,6 @@ module Google
332
303
  # that are directly parented by that organization. To retrieve cases
333
304
  # under an organization and its projects, use `cases.search`.
334
305
  #
335
- # EXAMPLES:
336
- #
337
- # cURL:
338
- #
339
- # ```shell
340
- # parent="projects/some-project"
341
- # curl \
342
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
343
- # "https://cloudsupport.googleapis.com/v2/$parent/cases"
344
- # ```
345
- #
346
- # Python:
347
- #
348
- # ```python
349
- # import googleapiclient.discovery
350
- #
351
- # api_version = "v2"
352
- # supportApiService = googleapiclient.discovery.build(
353
- # serviceName="cloudsupport",
354
- # version=api_version,
355
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=\\{api_version}",
356
- # )
357
- #
358
- # request =
359
- # supportApiService.cases().list(parent="projects/some-project")
360
- # print(request.execute())
361
- # ```
362
- #
363
306
  # @overload list_cases(request, options = nil)
364
307
  # Pass arguments to `list_cases` via a request object, either of type
365
308
  # {::Google::Cloud::Support::V2beta::ListCasesRequest} or an equivalent Hash.
@@ -479,34 +422,6 @@ module Google
479
422
  ##
480
423
  # Search for cases using a query.
481
424
  #
482
- # EXAMPLES:
483
- #
484
- # cURL:
485
- #
486
- # ```shell
487
- # parent="projects/some-project"
488
- # curl \
489
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
490
- # "https://cloudsupport.googleapis.com/v2/$parent/cases:search"
491
- # ```
492
- #
493
- # Python:
494
- #
495
- # ```python
496
- # import googleapiclient.discovery
497
- #
498
- # api_version = "v2"
499
- # supportApiService = googleapiclient.discovery.build(
500
- # serviceName="cloudsupport",
501
- # version=api_version,
502
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=\\{api_version}",
503
- # )
504
- # request = supportApiService.cases().search(
505
- # parent="projects/some-project", query="state=OPEN"
506
- # )
507
- # print(request.execute())
508
- # ```
509
- #
510
425
  # @overload search_cases(request, options = nil)
511
426
  # Pass arguments to `search_cases` via a request object, either of type
512
427
  # {::Google::Cloud::Support::V2beta::SearchCasesRequest} or an equivalent Hash.
@@ -641,61 +556,6 @@ module Google
641
556
  # `classification`, and `priority`. If you're just testing the API and don't
642
557
  # want to route your case to an agent, set `testCase=true`.
643
558
  #
644
- # EXAMPLES:
645
- #
646
- # cURL:
647
- #
648
- # ```shell
649
- # parent="projects/some-project"
650
- # curl \
651
- # --request POST \
652
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
653
- # --header 'Content-Type: application/json' \
654
- # --data '{
655
- # "display_name": "Test case created by me.",
656
- # "description": "a random test case, feel free to close",
657
- # "classification": {
658
- # "id":
659
- # "100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8"
660
- # },
661
- # "time_zone": "-07:00",
662
- # "subscriber_email_addresses": [
663
- # "foo@domain.com",
664
- # "bar@domain.com"
665
- # ],
666
- # "testCase": true,
667
- # "priority": "P3"
668
- # }' \
669
- # "https://cloudsupport.googleapis.com/v2/$parent/cases"
670
- # ```
671
- #
672
- # Python:
673
- #
674
- # ```python
675
- # import googleapiclient.discovery
676
- #
677
- # api_version = "v2"
678
- # supportApiService = googleapiclient.discovery.build(
679
- # serviceName="cloudsupport",
680
- # version=api_version,
681
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=\\{api_version}",
682
- # )
683
- # request = supportApiService.cases().create(
684
- # parent="projects/some-project",
685
- # body={
686
- # "displayName": "A Test Case",
687
- # "description": "This is a test case.",
688
- # "testCase": True,
689
- # "priority": "P2",
690
- # "classification": {
691
- # "id":
692
- # "100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8"
693
- # },
694
- # },
695
- # )
696
- # print(request.execute())
697
- # ```
698
- #
699
559
  # @overload create_case(request, options = nil)
700
560
  # Pass arguments to `create_case` via a request object, either of type
701
561
  # {::Google::Cloud::Support::V2beta::CreateCaseRequest} or an equivalent Hash.
@@ -783,43 +643,6 @@ module Google
783
643
  ##
784
644
  # Update a case. Only some fields can be updated.
785
645
  #
786
- # EXAMPLES:
787
- #
788
- # cURL:
789
- #
790
- # ```shell
791
- # case="projects/some-project/cases/43595344"
792
- # curl \
793
- # --request PATCH \
794
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
795
- # --header "Content-Type: application/json" \
796
- # --data '{
797
- # "priority": "P1"
798
- # }' \
799
- # "https://cloudsupport.googleapis.com/v2/$case?updateMask=priority"
800
- # ```
801
- #
802
- # Python:
803
- #
804
- # ```python
805
- # import googleapiclient.discovery
806
- #
807
- # api_version = "v2"
808
- # supportApiService = googleapiclient.discovery.build(
809
- # serviceName="cloudsupport",
810
- # version=api_version,
811
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=\\{api_version}",
812
- # )
813
- # request = supportApiService.cases().patch(
814
- # name="projects/some-project/cases/43112854",
815
- # body={
816
- # "displayName": "This is Now a New Title",
817
- # "priority": "P2",
818
- # },
819
- # )
820
- # print(request.execute())
821
- # ```
822
- #
823
646
  # @overload update_case(request, options = nil)
824
647
  # Pass arguments to `update_case` via a request object, either of type
825
648
  # {::Google::Cloud::Support::V2beta::UpdateCaseRequest} or an equivalent Hash.
@@ -920,48 +743,6 @@ module Google
920
743
  # escalations' in the feature list to find out which ones let you
921
744
  # do that.
922
745
  #
923
- # EXAMPLES:
924
- #
925
- # cURL:
926
- #
927
- # ```shell
928
- # case="projects/some-project/cases/43595344"
929
- # curl \
930
- # --request POST \
931
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
932
- # --header "Content-Type: application/json" \
933
- # --data '{
934
- # "escalation": {
935
- # "reason": "BUSINESS_IMPACT",
936
- # "justification": "This is a test escalation."
937
- # }
938
- # }' \
939
- # "https://cloudsupport.googleapis.com/v2/$case:escalate"
940
- # ```
941
- #
942
- # Python:
943
- #
944
- # ```python
945
- # import googleapiclient.discovery
946
- #
947
- # api_version = "v2"
948
- # supportApiService = googleapiclient.discovery.build(
949
- # serviceName="cloudsupport",
950
- # version=api_version,
951
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=\\{api_version}",
952
- # )
953
- # request = supportApiService.cases().escalate(
954
- # name="projects/some-project/cases/43595344",
955
- # body={
956
- # "escalation": {
957
- # "reason": "BUSINESS_IMPACT",
958
- # "justification": "This is a test escalation.",
959
- # },
960
- # },
961
- # )
962
- # print(request.execute())
963
- # ```
964
- #
965
746
  # @overload escalate_case(request, options = nil)
966
747
  # Pass arguments to `escalate_case` via a request object, either of type
967
748
  # {::Google::Cloud::Support::V2beta::EscalateCaseRequest} or an equivalent Hash.
@@ -1049,35 +830,6 @@ module Google
1049
830
  ##
1050
831
  # Close a case.
1051
832
  #
1052
- # EXAMPLES:
1053
- #
1054
- # cURL:
1055
- #
1056
- # ```shell
1057
- # case="projects/some-project/cases/43595344"
1058
- # curl \
1059
- # --request POST \
1060
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
1061
- # "https://cloudsupport.googleapis.com/v2/$case:close"
1062
- # ```
1063
- #
1064
- # Python:
1065
- #
1066
- # ```python
1067
- # import googleapiclient.discovery
1068
- #
1069
- # api_version = "v2"
1070
- # supportApiService = googleapiclient.discovery.build(
1071
- # serviceName="cloudsupport",
1072
- # version=api_version,
1073
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=\\{api_version}",
1074
- # )
1075
- # request = supportApiService.cases().close(
1076
- # name="projects/some-project/cases/43595344"
1077
- # )
1078
- # print(request.execute())
1079
- # ```
1080
- #
1081
833
  # @overload close_case(request, options = nil)
1082
834
  # Pass arguments to `close_case` via a request object, either of type
1083
835
  # {::Google::Cloud::Support::V2beta::CloseCaseRequest} or an equivalent Hash.
@@ -1172,32 +924,6 @@ module Google
1172
924
  # stops returning it. After six months, `case.create` requests using the
1173
925
  # classification will fail.
1174
926
  #
1175
- # EXAMPLES:
1176
- #
1177
- # cURL:
1178
- #
1179
- # ```shell
1180
- # curl \
1181
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
1182
- # 'https://cloudsupport.googleapis.com/v2/caseClassifications:search?query=display_name:"*Compute%20Engine*"'
1183
- # ```
1184
- #
1185
- # Python:
1186
- #
1187
- # ```python
1188
- # import googleapiclient.discovery
1189
- #
1190
- # supportApiService = googleapiclient.discovery.build(
1191
- # serviceName="cloudsupport",
1192
- # version="v2",
1193
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=v2",
1194
- # )
1195
- # request = supportApiService.caseClassifications().search(
1196
- # query='display_name:"*Compute Engine*"'
1197
- # )
1198
- # print(request.execute())
1199
- # ```
1200
- #
1201
927
  # @overload search_case_classifications(request, options = nil)
1202
928
  # Pass arguments to `search_case_classifications` via a request object, either of type
1203
929
  # {::Google::Cloud::Support::V2beta::SearchCaseClassificationsRequest} or an equivalent Hash.