google-apis-cloudsupport_v2beta 0.23.0 → 0.25.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5542ebc619e24bb450b22f7094204f398a06d1bf07f836f2301b027939cb7bbc
|
|
4
|
+
data.tar.gz: a47a1a4d0df4585a63907c652ea7e918b892e15fbcb19d3fbe262146b0168eea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1d41b562d7d926ff405c04778c31c229c0359d16c1da9414f4a213e722e06de8b5efde0bd2c0e1d42d189cd41b568baf4a96cd4b7cee58702a3aeaea3e59a34
|
|
7
|
+
data.tar.gz: f4e652d7a9456265ebff380d94275834f6eb3e98ae5706edcfe8291b5da41ef3061b4eaa67c5831eab9e7ae9b57ba48b151c05a26ab752fa8caf7912cb376f2d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-cloudsupport_v2beta
|
|
2
2
|
|
|
3
|
+
### v0.25.0 (2023-08-03)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20230725
|
|
6
|
+
|
|
7
|
+
### v0.24.0 (2023-07-02)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20230626
|
|
10
|
+
|
|
3
11
|
### v0.23.0 (2023-06-18)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20230614
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.25.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 = "
|
|
25
|
+
REVISION = "20230725"
|
|
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
|
|
58
|
-
# If a given classification is
|
|
59
|
-
#
|
|
60
|
-
#
|
|
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
|
|
@@ -131,7 +137,16 @@ module Google
|
|
|
131
137
|
|
|
132
138
|
# Create a new case and associate it with the given Google Cloud Resource. The
|
|
133
139
|
# case object must have the following fields set: `display_name`, `description`,
|
|
134
|
-
# `classification`, and `priority`.
|
|
140
|
+
# `classification`, and `priority`. Here is an example of calling this endpoint
|
|
141
|
+
# using cURL: ```shell parent="projects/some-project" curl \ --request POST \ --
|
|
142
|
+
# header "Authorization: Bearer $(gcloud auth print-access-token)" \ --header '
|
|
143
|
+
# Content-Type: application/json' \ --data '` "display_name": "Test case created
|
|
144
|
+
# by me.", "description": "a random test case, feel free to close", "
|
|
145
|
+
# classification": ` "id": "
|
|
146
|
+
# 1BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8"
|
|
147
|
+
# `, "time_zone": "-07:00", "subscriber_email_addresses": [ "foo@domain.com", "
|
|
148
|
+
# bar@domain.com" ], "testCase": true, "priority": "P3" `' \ "https://
|
|
149
|
+
# cloudsupport.googleapis.com/v2/$parent/cases" ```
|
|
135
150
|
# @param [String] parent
|
|
136
151
|
# Required. The name of the Google Cloud Resource under which the case should be
|
|
137
152
|
# created.
|
|
@@ -165,11 +180,16 @@ module Google
|
|
|
165
180
|
execute_or_queue_command(command, &block)
|
|
166
181
|
end
|
|
167
182
|
|
|
168
|
-
# Escalate a case. Escalating a case
|
|
183
|
+
# Escalate a case. Escalating a case initiates the Google Cloud Support
|
|
169
184
|
# escalation management process. This operation is only available to certain
|
|
170
|
-
# Customer Care
|
|
171
|
-
# Technical support escalations' in the feature list to find out which
|
|
172
|
-
#
|
|
185
|
+
# Customer Care support services. Go to https://cloud.google.com/support and
|
|
186
|
+
# look for 'Technical support escalations' in the feature list to find out which
|
|
187
|
+
# support services let you perform escalations. Here is an example of calling
|
|
188
|
+
# this endpoint using cURL: ```shell case="projects/some-project/cases/43595344"
|
|
189
|
+
# curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-
|
|
190
|
+
# access-token)" \ --header "Content-Type: application/json" \ --data '` "
|
|
191
|
+
# escalation": ` "reason": "BUSINESS_IMPACT", "justification": "This is a test
|
|
192
|
+
# escalation." ` `' \ "https://cloudsupport.googleapis.com/v2/$case:escalate" ```
|
|
173
193
|
# @param [String] name
|
|
174
194
|
# Required. The fully qualified name of the Case resource to be escalated.
|
|
175
195
|
# @param [Google::Apis::CloudsupportV2beta::EscalateCaseRequest] escalate_case_request_object
|
|
@@ -202,7 +222,10 @@ module Google
|
|
|
202
222
|
execute_or_queue_command(command, &block)
|
|
203
223
|
end
|
|
204
224
|
|
|
205
|
-
# Retrieve the specified case.
|
|
225
|
+
# Retrieve the specified case. Here is an example of calling this endpoint using
|
|
226
|
+
# cURL: ```shell case="projects/some-project/cases/16033687" curl \ --header "
|
|
227
|
+
# Authorization: Bearer $(gcloud auth print-access-token)" \ "https://
|
|
228
|
+
# cloudsupport.googleapis.com/v2/$case" ```
|
|
206
229
|
# @param [String] name
|
|
207
230
|
# Required. The fully qualified name of a case to be retrieved.
|
|
208
231
|
# @param [String] fields
|
|
@@ -233,9 +256,12 @@ module Google
|
|
|
233
256
|
end
|
|
234
257
|
|
|
235
258
|
# Retrieve all cases under the specified parent. Note: Listing cases under an
|
|
236
|
-
#
|
|
259
|
+
# organization returns only the cases directly parented by that organization. To
|
|
237
260
|
# retrieve all cases under an organization, including cases parented by projects
|
|
238
|
-
# under that organization, use `cases.search`.
|
|
261
|
+
# under that organization, use `cases.search`. Here is an example of calling
|
|
262
|
+
# this endpoint using cURL: ```shell parent="projects/some-project" curl \ --
|
|
263
|
+
# header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://
|
|
264
|
+
# cloudsupport.googleapis.com/v2/$parent/cases" ```
|
|
239
265
|
# @param [String] parent
|
|
240
266
|
# Required. The fully qualified name of parent resource to list cases under.
|
|
241
267
|
# @param [String] filter
|
|
@@ -283,7 +309,12 @@ module Google
|
|
|
283
309
|
execute_or_queue_command(command, &block)
|
|
284
310
|
end
|
|
285
311
|
|
|
286
|
-
# Update the specified case. Only a subset of fields can be updated.
|
|
312
|
+
# Update the specified case. Only a subset of fields can be updated. Here is an
|
|
313
|
+
# example of calling this endpoint using cURL: ```shell case="projects/some-
|
|
314
|
+
# project/cases/43595344" curl \ --request PATCH \ --header "Authorization:
|
|
315
|
+
# Bearer $(gcloud auth print-access-token)" \ --header "Content-Type:
|
|
316
|
+
# application/json" \ --data '` "priority": "P1" `' \ "https://cloudsupport.
|
|
317
|
+
# googleapis.com/v2/$case?updateMask=priority" ```
|
|
287
318
|
# @param [String] name
|
|
288
319
|
# The resource name for the case.
|
|
289
320
|
# @param [Google::Apis::CloudsupportV2beta::Case] case_object
|
|
@@ -325,13 +356,18 @@ module Google
|
|
|
325
356
|
execute_or_queue_command(command, &block)
|
|
326
357
|
end
|
|
327
358
|
|
|
328
|
-
# Search cases using the specified query.
|
|
359
|
+
# Search cases using the specified query. Here is an example of calling this
|
|
360
|
+
# endpoint using cURL: ```shell parent="projects/some-project" curl \ --header "
|
|
361
|
+
# Authorization: Bearer $(gcloud auth print-access-token)" \ "https://
|
|
362
|
+
# cloudsupport.googleapis.com/v2/$parent/cases:search" ```
|
|
329
363
|
# @param [Fixnum] page_size
|
|
330
364
|
# The maximum number of cases fetched with each request. The default page size
|
|
331
365
|
# is 10.
|
|
332
366
|
# @param [String] page_token
|
|
333
367
|
# A token identifying the page of results to return. If unspecified, the first
|
|
334
368
|
# page is retrieved.
|
|
369
|
+
# @param [String] parent
|
|
370
|
+
# The fully qualified name of parent resource to search cases under.
|
|
335
371
|
# @param [String] query
|
|
336
372
|
# An expression written in filter language. A query uses the following fields
|
|
337
373
|
# with the operators equals (`=`) and `AND`: - `organization`: An organization
|
|
@@ -370,19 +406,23 @@ module Google
|
|
|
370
406
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
371
407
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
372
408
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
373
|
-
def search_cases(page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
409
|
+
def search_cases(page_size: nil, page_token: nil, parent: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
374
410
|
command = make_simple_command(:get, 'v2beta/cases:search', options)
|
|
375
411
|
command.response_representation = Google::Apis::CloudsupportV2beta::SearchCasesResponse::Representation
|
|
376
412
|
command.response_class = Google::Apis::CloudsupportV2beta::SearchCasesResponse
|
|
377
413
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
378
414
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
415
|
+
command.query['parent'] = parent unless parent.nil?
|
|
379
416
|
command.query['query'] = query unless query.nil?
|
|
380
417
|
command.query['fields'] = fields unless fields.nil?
|
|
381
418
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
382
419
|
execute_or_queue_command(command, &block)
|
|
383
420
|
end
|
|
384
421
|
|
|
385
|
-
# Retrieve all attachments associated with a support case.
|
|
422
|
+
# Retrieve all attachments associated with a support case. Here is an example of
|
|
423
|
+
# calling this endpoint using cURL: ```shell case="projects/some-project/cases/
|
|
424
|
+
# 23598314" curl \ --header "Authorization: Bearer $(gcloud auth print-access-
|
|
425
|
+
# token)" \ "https://cloudsupport.googleapis.com/v2/$case/attachments" ```
|
|
386
426
|
# @param [String] parent
|
|
387
427
|
# Required. The resource name of Case object for which attachments should be
|
|
388
428
|
# listed.
|
|
@@ -422,7 +462,11 @@ module Google
|
|
|
422
462
|
end
|
|
423
463
|
|
|
424
464
|
# Add a new comment to the specified Case. The comment object must have the
|
|
425
|
-
# following fields set: body.
|
|
465
|
+
# following fields set: body. Here is an example of calling this endpoint using
|
|
466
|
+
# cURL: ```shell case="projects/some-project/cases/43591344" curl \ --request
|
|
467
|
+
# POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --
|
|
468
|
+
# header 'Content-Type: application/json' \ --data '` "body": "This is a test
|
|
469
|
+
# comment." `' \ "https://cloudsupport.googleapis.com/v2/$case/comments" ```
|
|
426
470
|
# @param [String] parent
|
|
427
471
|
# Required. The resource name of Case to which this comment should be added.
|
|
428
472
|
# @param [Google::Apis::CloudsupportV2beta::Comment] comment_object
|
|
@@ -455,7 +499,11 @@ module Google
|
|
|
455
499
|
execute_or_queue_command(command, &block)
|
|
456
500
|
end
|
|
457
501
|
|
|
458
|
-
# Retrieve all
|
|
502
|
+
# Retrieve all comments associated with the Case object. Here is an example of
|
|
503
|
+
# calling this endpoint using cURL: ```shell case="projects/cloud-support-qa-
|
|
504
|
+
# premium/cases/43595344" curl \ --header "Authorization: Bearer $(gcloud auth
|
|
505
|
+
# print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case/comments"
|
|
506
|
+
# ```
|
|
459
507
|
# @param [String] parent
|
|
460
508
|
# Required. The resource name of Case object for which comments should be listed.
|
|
461
509
|
# @param [Fixnum] page_size
|
|
@@ -493,7 +541,11 @@ module Google
|
|
|
493
541
|
end
|
|
494
542
|
|
|
495
543
|
# Download a file attachment on a case. Note: HTTP requests must append "?alt=
|
|
496
|
-
# media" to the URL.
|
|
544
|
+
# media" to the URL. Here is an example of calling this endpoint using cURL: ```
|
|
545
|
+
# shell name="projects/some-project/cases/43594844/attachments/
|
|
546
|
+
# 0674M00000WijAnZAJ" curl \ --header "Authorization: Bearer $(gcloud auth print-
|
|
547
|
+
# access-token)" \ "https://cloudsupport.googleapis.com/v2/$name:download?alt=
|
|
548
|
+
# media" ```
|
|
497
549
|
# @param [String] name
|
|
498
550
|
# The resource name of the attachment to be downloaded.
|
|
499
551
|
# @param [String] fields
|
|
@@ -531,7 +583,13 @@ module Google
|
|
|
531
583
|
end
|
|
532
584
|
|
|
533
585
|
# Create a file attachment on a case or Cloud resource. The attachment object
|
|
534
|
-
# must have the following fields set: filename.
|
|
586
|
+
# must have the following fields set: filename. Here is an example of calling
|
|
587
|
+
# this endpoint using cURL: ```shell echo "This text is in a file I'm uploading
|
|
588
|
+
# using CSAPI." \ > "./example_file.txt" case="projects/some-project/cases/
|
|
589
|
+
# 43594844" curl \ --header "Authorization: Bearer $(gcloud auth print-access-
|
|
590
|
+
# token)" \ --data-binary @"./example_file.txt" \ "https://cloudsupport.
|
|
591
|
+
# googleapis.com/upload/v2beta/$case/attachments?attachment.filename=
|
|
592
|
+
# uploaded_via_curl.txt" ```
|
|
535
593
|
# @param [String] parent
|
|
536
594
|
# Required. The resource name of the case (or case parent) to which the
|
|
537
595
|
# 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.
|
|
4
|
+
version: 0.25.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-06
|
|
11
|
+
date: 2023-08-06 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.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2beta/v0.25.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: []
|