google-apis-cloudsupport_v2 0.1.0 → 0.2.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: 8428da806093b08571631ddb3f6b0cb522f7629d0b883c1d7a609e5e6af6057d
4
- data.tar.gz: afc7b1b3186198a47522d403d0bb56d499918bf760235ed4b5633141e5372a08
3
+ metadata.gz: 6b88fea822e6ee0ac0c6bdd849705ddb01d663c195eb6c06968cc1fcbf45dcfb
4
+ data.tar.gz: d7a4e439b946a6f36c6c8daf39a57eecb4d455c76d2c76f4f86f964f30256c6a
5
5
  SHA512:
6
- metadata.gz: bebfeb05a60ae3407370943d7723f6690fc14edd814e12d618383fb5707da57daf42d1877d3edd1b7b710c3b5574a5fd31dd2b65ce5a4e9d91b62dae2a772583
7
- data.tar.gz: 3a976b71aa49e1cade7a3ebdb4f043c8dd749403281f5b02c6cf827c42173c33ffe6cf42d1794890a5525f39fc55fed168e59bfdd5ca4fa2ca2fb8639bb6162d
6
+ metadata.gz: 2c8cfa3725f904f1079363f87b95edb607bbf6383aee335028783aa3085170de73423d02970bcd96aeec3c33ff9419535d62d38b681751c0d80cdc506ec33c9c
7
+ data.tar.gz: fa948eba60cbfbf283e6600968945000a953734b0abb95177549e26d07768d8d5da8aefef8086eae486faf324d646565c3c8a8b136072921ee145c4da5048d71
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudsupport_v2
2
2
 
3
+ ### v0.2.0 (2023-08-03)
4
+
5
+ * Regenerated from discovery document revision 20230725
6
+
3
7
  ### v0.1.0 (2023-07-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20230626
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudsupportV2
18
18
  # Version of the google-apis-cloudsupport_v2 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.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 = "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 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::CloudsupportV2::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 will initiate the Google Cloud Support
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 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.
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::CloudsupportV2::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
- # Organization returns only the cases directly parented by that organization. To
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::CloudsupportV2::Case] case_object
@@ -325,7 +356,10 @@ 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 [String] parent
330
364
  # The fully qualified name of parent resource to search cases under.
331
365
  # @param [Fixnum] page_size
@@ -385,7 +419,10 @@ module Google
385
419
  execute_or_queue_command(command, &block)
386
420
  end
387
421
 
388
- # 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" ```
389
426
  # @param [String] parent
390
427
  # Required. The resource name of Case object for which attachments should be
391
428
  # listed.
@@ -425,7 +462,11 @@ module Google
425
462
  end
426
463
 
427
464
  # Add a new comment to the specified Case. The comment object must have the
428
- # 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" ```
429
470
  # @param [String] parent
430
471
  # Required. The resource name of Case to which this comment should be added.
431
472
  # @param [Google::Apis::CloudsupportV2::Comment] comment_object
@@ -458,7 +499,11 @@ module Google
458
499
  execute_or_queue_command(command, &block)
459
500
  end
460
501
 
461
- # Retrieve all Comments associated with the Case object.
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
+ # ```
462
507
  # @param [String] parent
463
508
  # Required. The resource name of Case object for which comments should be listed.
464
509
  # @param [Fixnum] page_size
@@ -496,7 +541,11 @@ module Google
496
541
  end
497
542
 
498
543
  # Download a file attachment on a case. Note: HTTP requests must append "?alt=
499
- # 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" ```
500
549
  # @param [String] name
501
550
  # The resource name of the attachment to be downloaded.
502
551
  # @param [String] fields
@@ -534,7 +583,13 @@ module Google
534
583
  end
535
584
 
536
585
  # Create a file attachment on a case or Cloud resource. The attachment object
537
- # 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" ```
538
593
  # @param [String] parent
539
594
  # Required. The resource name of the case (or case parent) to which the
540
595
  # attachment should be attached.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudsupport_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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-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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2/v0.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2/v0.2.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsupport_v2
63
63
  post_install_message:
64
64
  rdoc_options: []