google-apis-cloudsupport_v2beta 0.24.0 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 395a6c5d6fff9e21af8bc961a32bd925ec8946821c3c080e40b92ac1dd474f39
4
- data.tar.gz: dc4ba3393ea340932192745eccf3c00a55678a6b2414d06376bf0d749801c99d
3
+ metadata.gz: 11b7b98694bd54f24a2b2c16872fba4040bb4c5b44ea3d8234473a6654c39a71
4
+ data.tar.gz: 61ae2b86f4186e44342fd6d6cd32f2d152cc3a0dba0357dbb7a87563799dfbc1
5
5
  SHA512:
6
- metadata.gz: 828813a525350eed47848c03461ce1b6615ea9af9d1786d485479a17b0e919b39c3ab908dc71e74219bee32ec2c6bd227516a9650e3627a96d2a744bb2ad4ba7
7
- data.tar.gz: d10cf05e64688e78dc45999805095887c5ac55efc9761ca2a2b5b03f13e7bb1cd27f83ec3db653c50891015f28c489542988afe5f99568a9e0725d809672ecc5
6
+ metadata.gz: f8cb4f4738730baf055acfd335748c50e786db585df330604adc53de55f09039f3ee5304b890d65181818dbf8cbe9fd5025a9e45ab50e9727ee394f839e16f1a
7
+ data.tar.gz: 2d02306e5e312cb10645c9ff98ad97219a405a96dd62f06d235ad6b835723958f34f0a0f4a390a865dba0946805ef1d15918ebe0bea274f59ef1b9606706bda4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudsupport_v2beta
2
2
 
3
+ ### v0.26.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230818
6
+
7
+ ### v0.25.0 (2023-08-03)
8
+
9
+ * Regenerated from discovery document revision 20230725
10
+
3
11
  ### v0.24.0 (2023-07-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20230626
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudsupportV2beta
18
18
  # Version of the google-apis-cloudsupport_v2beta gem
19
- GEM_VERSION = "0.24.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230626"
25
+ REVISION = "20230818"
26
26
  end
27
27
  end
28
28
  end
@@ -54,10 +54,13 @@ module Google
54
54
  # classications are hierarchical, with each classification containing all levels
55
55
  # of the hierarchy, separated by `" > "`. For example `"Technical Issue >
56
56
  # Compute > Compute Engine"`. Classification IDs returned by `
57
- # caseClassifications.search` are guaranteed to be valid for at least 6 months.
58
- # If a given classification is deactiveated, it will immediately stop being
59
- # returned. After 6 months, `case.create` requests using the classification ID
60
- # will fail.
57
+ # caseClassifications.search` are guaranteed to be valid for at least six months.
58
+ # If a given classification is deactivated, it immediately stops being returned.
59
+ # After six months, `case.create` requests using the classification ID will
60
+ # fail. Here is an example of calling this endpoint using cURL: ```shell curl \ -
61
+ # -header "Authorization: Bearer $(gcloud auth print-access-token)" \ 'https://
62
+ # cloudsupport.googleapis.com/v2/caseClassifications:search?query=display_name:"*
63
+ # Compute%20Engine*"' ```
61
64
  # @param [Fixnum] page_size
62
65
  # The maximum number of cases fetched with each request.
63
66
  # @param [String] page_token
@@ -96,7 +99,10 @@ module Google
96
99
  execute_or_queue_command(command, &block)
97
100
  end
98
101
 
99
- # Close the specified case.
102
+ # Close the specified case. Here is an example of calling this endpoint using
103
+ # cURL: ```shell case="projects/some-project/cases/43595344" curl \ --request
104
+ # POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "
105
+ # https://cloudsupport.googleapis.com/v2/$case:close" ```
100
106
  # @param [String] name
101
107
  # Required. The fully qualified name of the case resource to be closed.
102
108
  # @param [Google::Apis::CloudsupportV2beta::CloseCaseRequest] close_case_request_object
@@ -129,9 +135,19 @@ module Google
129
135
  execute_or_queue_command(command, &block)
130
136
  end
131
137
 
132
- # Create a new case and associate it with the given Google Cloud Resource. The
133
- # case object must have the following fields set: `display_name`, `description`,
134
- # `classification`, and `priority`.
138
+ # Create a new case and associate it with a Google Cloud Resource. The case
139
+ # object must have the following fields set: `display_name`, `description`, `
140
+ # classification`, and `priority`. If you're just testing the API and don't want
141
+ # to route your case to an agent, set `testCase=true`. Here is an example of
142
+ # calling this endpoint using cURL: ```shell parent="projects/some-project" curl
143
+ # \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-access-
144
+ # token)" \ --header 'Content-Type: application/json' \ --data '` "display_name":
145
+ # "Test case created by me.", "description": "a random test case, feel free to
146
+ # close", "classification": ` "id": "
147
+ # 1BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8"
148
+ # `, "time_zone": "-07:00", "subscriber_email_addresses": [ "foo@domain.com", "
149
+ # bar@domain.com" ], "testCase": true, "priority": "P3" `' \ "https://
150
+ # cloudsupport.googleapis.com/v2/$parent/cases" ```
135
151
  # @param [String] parent
136
152
  # Required. The name of the Google Cloud Resource under which the case should be
137
153
  # created.
@@ -165,11 +181,16 @@ module Google
165
181
  execute_or_queue_command(command, &block)
166
182
  end
167
183
 
168
- # Escalate a case. Escalating a case will initiate the Google Cloud Support
184
+ # Escalate a case. Escalating a case initiates the Google Cloud Support
169
185
  # escalation management process. This operation is only available to certain
170
- # Customer Care tiers. Go to https://cloud.google.com/support and look for '
171
- # Technical support escalations' in the feature list to find out which tiers are
172
- # able to perform escalations.
186
+ # Customer Care support services. Go to https://cloud.google.com/support and
187
+ # look for 'Technical support escalations' in the feature list to find out which
188
+ # support services let you perform escalations. Here is an example of calling
189
+ # this endpoint using cURL: ```shell case="projects/some-project/cases/43595344"
190
+ # curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-
191
+ # access-token)" \ --header "Content-Type: application/json" \ --data '` "
192
+ # escalation": ` "reason": "BUSINESS_IMPACT", "justification": "This is a test
193
+ # escalation." ` `' \ "https://cloudsupport.googleapis.com/v2/$case:escalate" ```
173
194
  # @param [String] name
174
195
  # Required. The fully qualified name of the Case resource to be escalated.
175
196
  # @param [Google::Apis::CloudsupportV2beta::EscalateCaseRequest] escalate_case_request_object
@@ -202,7 +223,10 @@ module Google
202
223
  execute_or_queue_command(command, &block)
203
224
  end
204
225
 
205
- # Retrieve the specified case.
226
+ # Retrieve the specified case. Here is an example of calling this endpoint using
227
+ # cURL: ```shell case="projects/some-project/cases/16033687" curl \ --header "
228
+ # Authorization: Bearer $(gcloud auth print-access-token)" \ "https://
229
+ # cloudsupport.googleapis.com/v2/$case" ```
206
230
  # @param [String] name
207
231
  # Required. The fully qualified name of a case to be retrieved.
208
232
  # @param [String] fields
@@ -233,9 +257,12 @@ module Google
233
257
  end
234
258
 
235
259
  # Retrieve all cases under the specified parent. Note: Listing cases under an
236
- # Organization returns only the cases directly parented by that organization. To
260
+ # organization returns only the cases directly parented by that organization. To
237
261
  # retrieve all cases under an organization, including cases parented by projects
238
- # under that organization, use `cases.search`.
262
+ # under that organization, use `cases.search`. Here is an example of calling
263
+ # this endpoint using cURL: ```shell parent="projects/some-project" curl \ --
264
+ # header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://
265
+ # cloudsupport.googleapis.com/v2/$parent/cases" ```
239
266
  # @param [String] parent
240
267
  # Required. The fully qualified name of parent resource to list cases under.
241
268
  # @param [String] filter
@@ -283,7 +310,12 @@ module Google
283
310
  execute_or_queue_command(command, &block)
284
311
  end
285
312
 
286
- # Update the specified case. Only a subset of fields can be updated.
313
+ # Update the specified case. Only a subset of fields can be updated. Here is an
314
+ # example of calling this endpoint using cURL: ```shell case="projects/some-
315
+ # project/cases/43595344" curl \ --request PATCH \ --header "Authorization:
316
+ # Bearer $(gcloud auth print-access-token)" \ --header "Content-Type:
317
+ # application/json" \ --data '` "priority": "P1" `' \ "https://cloudsupport.
318
+ # googleapis.com/v2/$case?updateMask=priority" ```
287
319
  # @param [String] name
288
320
  # The resource name for the case.
289
321
  # @param [Google::Apis::CloudsupportV2beta::Case] case_object
@@ -325,7 +357,10 @@ module Google
325
357
  execute_or_queue_command(command, &block)
326
358
  end
327
359
 
328
- # Search cases using the specified query.
360
+ # Search cases using the specified query. Here is an example of calling this
361
+ # endpoint using cURL: ```shell parent="projects/some-project" curl \ --header "
362
+ # Authorization: Bearer $(gcloud auth print-access-token)" \ "https://
363
+ # cloudsupport.googleapis.com/v2/$parent/cases:search" ```
329
364
  # @param [Fixnum] page_size
330
365
  # The maximum number of cases fetched with each request. The default page size
331
366
  # is 10.
@@ -385,7 +420,10 @@ module Google
385
420
  execute_or_queue_command(command, &block)
386
421
  end
387
422
 
388
- # Retrieve all attachments associated with a support case.
423
+ # Retrieve all attachments associated with a support case. Here is an example of
424
+ # calling this endpoint using cURL: ```shell case="projects/some-project/cases/
425
+ # 23598314" curl \ --header "Authorization: Bearer $(gcloud auth print-access-
426
+ # token)" \ "https://cloudsupport.googleapis.com/v2/$case/attachments" ```
389
427
  # @param [String] parent
390
428
  # Required. The resource name of Case object for which attachments should be
391
429
  # listed.
@@ -425,7 +463,11 @@ module Google
425
463
  end
426
464
 
427
465
  # Add a new comment to the specified Case. The comment object must have the
428
- # following fields set: body.
466
+ # following fields set: body. Here is an example of calling this endpoint using
467
+ # cURL: ```shell case="projects/some-project/cases/43591344" curl \ --request
468
+ # POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --
469
+ # header 'Content-Type: application/json' \ --data '` "body": "This is a test
470
+ # comment." `' \ "https://cloudsupport.googleapis.com/v2/$case/comments" ```
429
471
  # @param [String] parent
430
472
  # Required. The resource name of Case to which this comment should be added.
431
473
  # @param [Google::Apis::CloudsupportV2beta::Comment] comment_object
@@ -458,7 +500,11 @@ module Google
458
500
  execute_or_queue_command(command, &block)
459
501
  end
460
502
 
461
- # Retrieve all Comments associated with the Case object.
503
+ # Retrieve all comments associated with the Case object. Here is an example of
504
+ # calling this endpoint using cURL: ```shell case="projects/cloud-support-qa-
505
+ # premium/cases/43595344" curl \ --header "Authorization: Bearer $(gcloud auth
506
+ # print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case/comments"
507
+ # ```
462
508
  # @param [String] parent
463
509
  # Required. The resource name of Case object for which comments should be listed.
464
510
  # @param [Fixnum] page_size
@@ -496,7 +542,11 @@ module Google
496
542
  end
497
543
 
498
544
  # Download a file attachment on a case. Note: HTTP requests must append "?alt=
499
- # media" to the URL.
545
+ # media" to the URL. Here is an example of calling this endpoint using cURL: ```
546
+ # shell name="projects/some-project/cases/43594844/attachments/
547
+ # 0674M00000WijAnZAJ" curl \ --header "Authorization: Bearer $(gcloud auth print-
548
+ # access-token)" \ "https://cloudsupport.googleapis.com/v2/$name:download?alt=
549
+ # media" ```
500
550
  # @param [String] name
501
551
  # The resource name of the attachment to be downloaded.
502
552
  # @param [String] fields
@@ -534,7 +584,13 @@ module Google
534
584
  end
535
585
 
536
586
  # Create a file attachment on a case or Cloud resource. The attachment object
537
- # must have the following fields set: filename.
587
+ # must have the following fields set: filename. Here is an example of calling
588
+ # this endpoint using cURL: ```shell echo "This text is in a file I'm uploading
589
+ # using CSAPI." \ > "./example_file.txt" case="projects/some-project/cases/
590
+ # 43594844" curl \ --header "Authorization: Bearer $(gcloud auth print-access-
591
+ # token)" \ --data-binary @"./example_file.txt" \ "https://cloudsupport.
592
+ # googleapis.com/upload/v2beta/$case/attachments?attachment.filename=
593
+ # uploaded_via_curl.txt" ```
538
594
  # @param [String] parent
539
595
  # Required. The resource name of the case (or case parent) to which the
540
596
  # attachment should be attached.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudsupport_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-02 00:00:00.000000000 Z
11
+ date: 2023-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsupport_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2beta/v0.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2beta/v0.26.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsupport_v2beta
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Cloud Support API V2beta