google-apis-cloudsupport_v2beta 0.49.0 → 0.51.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/cloudsupport_v2beta/classes.rb +20 -0
- data/lib/google/apis/cloudsupport_v2beta/gem_version.rb +2 -2
- data/lib/google/apis/cloudsupport_v2beta/representations.rb +3 -0
- data/lib/google/apis/cloudsupport_v2beta/service.rb +74 -66
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7fd5ceb252197117ef3828fea510e13814469e557683edf8dc4e3cf24491c53f
|
|
4
|
+
data.tar.gz: b4709fc817ce09259b3d115fa3f46245c45b0dbfbe34e2f8b4a2f04d242ab106
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd530e7fb0e14f2d4080a1f6b80343ea8482fa5ff6bbf25cac15511b73263177b8d547515de7af84ca7e548d8510c9567f62b34ba3f5d2e38a47daea3cb5057c
|
|
7
|
+
data.tar.gz: 78b1bcb7c60770b59d80b730836eb78204a6af6895197fe42f962cad67bb8bd187c97f6136f25533a71e04ed51a3d1c1257e8ba808179c8dbda1331d7259a978
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-cloudsupport_v2beta
|
|
2
2
|
|
|
3
|
+
### v0.51.0 (2026-05-24)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260519
|
|
6
|
+
|
|
7
|
+
### v0.50.0 (2026-04-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260409
|
|
10
|
+
|
|
3
11
|
### v0.49.0 (2026-01-18)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260113
|
|
@@ -526,6 +526,11 @@ module Google
|
|
|
526
526
|
# @return [String]
|
|
527
527
|
attr_accessor :from_file_name
|
|
528
528
|
|
|
529
|
+
# # gdata.* are outside protos with mising documentation
|
|
530
|
+
# Corresponds to the JSON property `fromFusionId`
|
|
531
|
+
# @return [String]
|
|
532
|
+
attr_accessor :from_fusion_id
|
|
533
|
+
|
|
529
534
|
# # gdata.* are outside protos with mising documentation
|
|
530
535
|
# Corresponds to the JSON property `fromHeader`
|
|
531
536
|
# @return [String]
|
|
@@ -536,6 +541,12 @@ module Google
|
|
|
536
541
|
# @return [String]
|
|
537
542
|
attr_accessor :from_url_path
|
|
538
543
|
|
|
544
|
+
# # gdata.* are outside protos with mising documentation
|
|
545
|
+
# Corresponds to the JSON property `fusionIdDetectionMetadata`
|
|
546
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
547
|
+
# @return [String]
|
|
548
|
+
attr_accessor :fusion_id_detection_metadata
|
|
549
|
+
|
|
539
550
|
def initialize(**args)
|
|
540
551
|
update!(**args)
|
|
541
552
|
end
|
|
@@ -545,8 +556,10 @@ module Google
|
|
|
545
556
|
@best_guess = args[:best_guess] if args.key?(:best_guess)
|
|
546
557
|
@from_bytes = args[:from_bytes] if args.key?(:from_bytes)
|
|
547
558
|
@from_file_name = args[:from_file_name] if args.key?(:from_file_name)
|
|
559
|
+
@from_fusion_id = args[:from_fusion_id] if args.key?(:from_fusion_id)
|
|
548
560
|
@from_header = args[:from_header] if args.key?(:from_header)
|
|
549
561
|
@from_url_path = args[:from_url_path] if args.key?(:from_url_path)
|
|
562
|
+
@fusion_id_detection_metadata = args[:fusion_id_detection_metadata] if args.key?(:fusion_id_detection_metadata)
|
|
550
563
|
end
|
|
551
564
|
end
|
|
552
565
|
|
|
@@ -1134,6 +1147,12 @@ module Google
|
|
|
1134
1147
|
# @return [String]
|
|
1135
1148
|
attr_accessor :sha256_hash
|
|
1136
1149
|
|
|
1150
|
+
# # gdata.* are outside protos with mising documentation
|
|
1151
|
+
# Corresponds to the JSON property `sha512Hash`
|
|
1152
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1153
|
+
# @return [String]
|
|
1154
|
+
attr_accessor :sha512_hash
|
|
1155
|
+
|
|
1137
1156
|
# # gdata.* are outside protos with mising documentation
|
|
1138
1157
|
# Corresponds to the JSON property `timestamp`
|
|
1139
1158
|
# @return [Fixnum]
|
|
@@ -1178,6 +1197,7 @@ module Google
|
|
|
1178
1197
|
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
|
1179
1198
|
@sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
|
|
1180
1199
|
@sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash)
|
|
1200
|
+
@sha512_hash = args[:sha512_hash] if args.key?(:sha512_hash)
|
|
1181
1201
|
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
1182
1202
|
@token = args[:token] if args.key?(:token)
|
|
1183
1203
|
end
|
|
@@ -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.51.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260519"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -315,8 +315,10 @@ module Google
|
|
|
315
315
|
property :best_guess, as: 'bestGuess'
|
|
316
316
|
property :from_bytes, as: 'fromBytes'
|
|
317
317
|
property :from_file_name, as: 'fromFileName'
|
|
318
|
+
property :from_fusion_id, as: 'fromFusionId'
|
|
318
319
|
property :from_header, as: 'fromHeader'
|
|
319
320
|
property :from_url_path, as: 'fromUrlPath'
|
|
321
|
+
property :fusion_id_detection_metadata, :base64 => true, as: 'fusionIdDetectionMetadata'
|
|
320
322
|
end
|
|
321
323
|
end
|
|
322
324
|
|
|
@@ -499,6 +501,7 @@ module Google
|
|
|
499
501
|
property :reference_type, as: 'referenceType'
|
|
500
502
|
property :sha1_hash, :base64 => true, as: 'sha1Hash'
|
|
501
503
|
property :sha256_hash, :base64 => true, as: 'sha256Hash'
|
|
504
|
+
property :sha512_hash, :base64 => true, as: 'sha512Hash'
|
|
502
505
|
property :timestamp, :numeric_string => true, as: 'timestamp'
|
|
503
506
|
property :token, as: 'token'
|
|
504
507
|
end
|
|
@@ -60,10 +60,10 @@ module Google
|
|
|
60
60
|
# deactivated, this endpoint immediately stops returning it. After six months, `
|
|
61
61
|
# case.create` requests using the classification will fail. EXAMPLES: cURL: ```
|
|
62
62
|
# shell curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)"
|
|
63
|
-
# \ 'https://cloudsupport.googleapis.com/
|
|
64
|
-
# display_name:"*Compute%20Engine*"' ``` Python: ```python import
|
|
63
|
+
# \ 'https://cloudsupport.googleapis.com/v2beta/caseClassifications:search?
|
|
64
|
+
# query=display_name:"*Compute%20Engine*"' ``` Python: ```python import
|
|
65
65
|
# googleapiclient.discovery supportApiService = googleapiclient.discovery.build(
|
|
66
|
-
# serviceName="cloudsupport", version="
|
|
66
|
+
# serviceName="cloudsupport", version="v2beta", discoveryServiceUrl=f"https://
|
|
67
67
|
# cloudsupport.googleapis.com/$discovery/rest?version=v2", ) request =
|
|
68
68
|
# supportApiService.caseClassifications().search( query='display_name:"*Compute
|
|
69
69
|
# Engine*"' ) print(request.execute()) ```
|
|
@@ -110,9 +110,9 @@ module Google
|
|
|
110
110
|
|
|
111
111
|
# Close a case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/
|
|
112
112
|
# 43595344" curl \ --request POST \ --header "Authorization: Bearer $(gcloud
|
|
113
|
-
# auth print-access-token)" \ "https://cloudsupport.googleapis.com/
|
|
113
|
+
# auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$case:
|
|
114
114
|
# close" ``` Python: ```python import googleapiclient.discovery api_version = "
|
|
115
|
-
#
|
|
115
|
+
# v2beta" supportApiService = googleapiclient.discovery.build( serviceName="
|
|
116
116
|
# cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.
|
|
117
117
|
# googleapis.com/$discovery/rest?version=`api_version`", ) request =
|
|
118
118
|
# supportApiService.cases().close( name="projects/some-project/cases/43595344" )
|
|
@@ -160,8 +160,8 @@ module Google
|
|
|
160
160
|
# 1BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8"
|
|
161
161
|
# `, "time_zone": "-07:00", "subscriber_email_addresses": [ "foo@domain.com", "
|
|
162
162
|
# bar@domain.com" ], "testCase": true, "priority": "P3" `' \ "https://
|
|
163
|
-
# cloudsupport.googleapis.com/
|
|
164
|
-
# googleapiclient.discovery api_version = "
|
|
163
|
+
# cloudsupport.googleapis.com/v2beta/$parent/cases" ``` Python: ```python import
|
|
164
|
+
# googleapiclient.discovery api_version = "v2beta" supportApiService =
|
|
165
165
|
# googleapiclient.discovery.build( serviceName="cloudsupport", version=
|
|
166
166
|
# api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$
|
|
167
167
|
# discovery/rest?version=`api_version`", ) request = supportApiService.cases().
|
|
@@ -210,8 +210,8 @@ module Google
|
|
|
210
210
|
# header "Authorization: Bearer $(gcloud auth print-access-token)" \ --header "
|
|
211
211
|
# Content-Type: application/json" \ --data '` "escalation": ` "reason": "
|
|
212
212
|
# BUSINESS_IMPACT", "justification": "This is a test escalation." ` `' \ "https:/
|
|
213
|
-
# /cloudsupport.googleapis.com/
|
|
214
|
-
# googleapiclient.discovery api_version = "
|
|
213
|
+
# /cloudsupport.googleapis.com/v2beta/$case:escalate" ``` Python: ```python
|
|
214
|
+
# import googleapiclient.discovery api_version = "v2beta" supportApiService =
|
|
215
215
|
# googleapiclient.discovery.build( serviceName="cloudsupport", version=
|
|
216
216
|
# api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$
|
|
217
217
|
# discovery/rest?version=`api_version`", ) request = supportApiService.cases().
|
|
@@ -252,13 +252,13 @@ module Google
|
|
|
252
252
|
|
|
253
253
|
# Retrieve a case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/
|
|
254
254
|
# 16033687" curl \ --header "Authorization: Bearer $(gcloud auth print-access-
|
|
255
|
-
# token)" \ "https://cloudsupport.googleapis.com/
|
|
256
|
-
# import googleapiclient.discovery api_version = "
|
|
257
|
-
# googleapiclient.discovery.build( serviceName="cloudsupport"
|
|
258
|
-
# api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.
|
|
259
|
-
# discovery/rest?version=`api_version`", ) request = supportApiService.
|
|
260
|
-
# get( name="projects/some-project/cases/43595344", ) print(request.
|
|
261
|
-
#
|
|
255
|
+
# token)" \ "https://cloudsupport.googleapis.com/v2beta/$case" ``` Python: ```
|
|
256
|
+
# python import googleapiclient.discovery api_version = "v2beta"
|
|
257
|
+
# supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport"
|
|
258
|
+
# , version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.
|
|
259
|
+
# com/$discovery/rest?version=`api_version`", ) request = supportApiService.
|
|
260
|
+
# cases().get( name="projects/some-project/cases/43595344", ) print(request.
|
|
261
|
+
# execute()) ```
|
|
262
262
|
# @param [String] name
|
|
263
263
|
# Required. The full name of a case to be retrieved.
|
|
264
264
|
# @param [String] fields
|
|
@@ -293,12 +293,12 @@ module Google
|
|
|
293
293
|
# by that organization. To retrieve cases under an organization and its projects,
|
|
294
294
|
# use `cases.search`. EXAMPLES: cURL: ```shell parent="projects/some-project"
|
|
295
295
|
# curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "
|
|
296
|
-
# https://cloudsupport.googleapis.com/
|
|
297
|
-
# import googleapiclient.discovery api_version = "
|
|
298
|
-
# googleapiclient.discovery.build( serviceName="cloudsupport"
|
|
299
|
-
# api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.
|
|
300
|
-
# discovery/rest?version=`api_version`", ) request = supportApiService.
|
|
301
|
-
# list(parent="projects/some-project") print(request.execute()) ```
|
|
296
|
+
# https://cloudsupport.googleapis.com/v2beta/$parent/cases" ``` Python: ```
|
|
297
|
+
# python import googleapiclient.discovery api_version = "v2beta"
|
|
298
|
+
# supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport"
|
|
299
|
+
# , version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.
|
|
300
|
+
# com/$discovery/rest?version=`api_version`", ) request = supportApiService.
|
|
301
|
+
# cases().list(parent="projects/some-project") print(request.execute()) ```
|
|
302
302
|
# @param [String] parent
|
|
303
303
|
# Required. The name of a parent to list cases under.
|
|
304
304
|
# @param [String] filter
|
|
@@ -354,13 +354,14 @@ module Google
|
|
|
354
354
|
# projects/some-project/cases/43595344" curl \ --request PATCH \ --header "
|
|
355
355
|
# Authorization: Bearer $(gcloud auth print-access-token)" \ --header "Content-
|
|
356
356
|
# Type: application/json" \ --data '` "priority": "P1" `' \ "https://
|
|
357
|
-
# cloudsupport.googleapis.com/
|
|
358
|
-
# python import googleapiclient.discovery api_version = "
|
|
359
|
-
# googleapiclient.discovery.build( serviceName="cloudsupport"
|
|
360
|
-
# api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.
|
|
361
|
-
# discovery/rest?version=`api_version`", ) request = supportApiService.
|
|
362
|
-
# patch( name="projects/some-project/cases/43112854", body=` "
|
|
363
|
-
# This is Now a New Title", "priority": "P2", `, ) print(request.
|
|
357
|
+
# cloudsupport.googleapis.com/v2beta/$case?updateMask=priority" ``` Python: ```
|
|
358
|
+
# python import googleapiclient.discovery api_version = "v2beta"
|
|
359
|
+
# supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport"
|
|
360
|
+
# , version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.
|
|
361
|
+
# com/$discovery/rest?version=`api_version`", ) request = supportApiService.
|
|
362
|
+
# cases().patch( name="projects/some-project/cases/43112854", body=` "
|
|
363
|
+
# displayName": "This is Now a New Title", "priority": "P2", `, ) print(request.
|
|
364
|
+
# execute()) ```
|
|
364
365
|
# @param [String] name
|
|
365
366
|
# Identifier. The resource name for the case.
|
|
366
367
|
# @param [Google::Apis::CloudsupportV2beta::Case] case_object
|
|
@@ -404,8 +405,8 @@ module Google
|
|
|
404
405
|
|
|
405
406
|
# Search for cases using a query. EXAMPLES: cURL: ```shell parent="projects/some-
|
|
406
407
|
# project" curl \ --header "Authorization: Bearer $(gcloud auth print-access-
|
|
407
|
-
# token)" \ "https://cloudsupport.googleapis.com/
|
|
408
|
-
# Python: ```python import googleapiclient.discovery api_version = "
|
|
408
|
+
# token)" \ "https://cloudsupport.googleapis.com/v2beta/$parent/cases:search" ```
|
|
409
|
+
# Python: ```python import googleapiclient.discovery api_version = "v2beta"
|
|
409
410
|
# supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport"
|
|
410
411
|
# , version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.
|
|
411
412
|
# com/$discovery/rest?version=`api_version`", ) request = supportApiService.
|
|
@@ -421,18 +422,25 @@ module Google
|
|
|
421
422
|
# The name of the parent resource to search for cases under.
|
|
422
423
|
# @param [String] query
|
|
423
424
|
# An expression used to filter cases. Expressions use the following fields
|
|
424
|
-
# separated by `AND` and specified with `=`: - `
|
|
425
|
+
# separated by `AND` and specified with `=`: - `state`: Can be `OPEN` or `CLOSED`
|
|
426
|
+
# . - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You can specify
|
|
427
|
+
# multiple values for priority using the `OR` operator. For example, `priority=
|
|
428
|
+
# P1 OR priority=P2`. - `creator.email`: The email address of the case creator.
|
|
429
|
+
# To search across `displayName`, `description`, and comments, use a global
|
|
430
|
+
# restriction with no keyword or operator. For example, `"my search"`. To search
|
|
431
|
+
# only cases updated after a certain date, use `update_time` restricted with
|
|
432
|
+
# that particular date, time, and timezone in ISO datetime format. For example, `
|
|
433
|
+
# update_time>"2020-01-01T00:00:00-05:00"`. `update_time` only supports the
|
|
434
|
+
# greater than operator (`>`). If you are using the `v2` version of the API, you
|
|
435
|
+
# must specify the case parent in the `parent` field. If you provide an empty `
|
|
436
|
+
# query`, all cases under the parent resource will be returned. If you are using
|
|
437
|
+
# the `v2beta` version of the API, you must specify the case parent in the `
|
|
438
|
+
# query` field using one of the two fields below, which are only available for `
|
|
439
|
+
# v2beta`. The `parent` field will be ignored. - `organization`: An organization
|
|
425
440
|
# name in the form `organizations/`. - `project`: A project name in the form `
|
|
426
|
-
# projects/`.
|
|
427
|
-
#
|
|
428
|
-
#
|
|
429
|
-
# : The email address of the case creator. You must specify either `organization`
|
|
430
|
-
# or `project`. To search across `displayName`, `description`, and comments,
|
|
431
|
-
# use a global restriction with no keyword or operator. For example, `"my search"
|
|
432
|
-
# `. To search only cases updated after a certain date, use `update_time`
|
|
433
|
-
# restricted with that particular date, time, and timezone in ISO datetime
|
|
434
|
-
# format. For example, `update_time>"2020-01-01T00:00:00-05:00"`. `update_time`
|
|
435
|
-
# only supports the greater than operator (`>`). Examples: - `organization="
|
|
441
|
+
# projects/`. Examples: For `v2`: - `state=CLOSED` - `state=OPEN AND creator.
|
|
442
|
+
# email="tester@example.com"` - `state=OPEN AND (priority=P0 OR priority=P1)` - `
|
|
443
|
+
# update_time>"2020-01-01T00:00:00-05:00"` For `v2beta`: - `organization="
|
|
436
444
|
# organizations/123456789"` - `project="projects/my-project-id"` - `project="
|
|
437
445
|
# projects/123456789"` - `organization="organizations/123456789" AND state=
|
|
438
446
|
# CLOSED` - `project="projects/my-project-id" AND creator.email="tester@example.
|
|
@@ -514,7 +522,7 @@ module Google
|
|
|
514
522
|
# Retrieve an attachment associated with a support case. EXAMPLES: cURL: ```
|
|
515
523
|
# shell attachment="projects/some-project/cases/23598314/attachments/
|
|
516
524
|
# 0684M00000P3h1fQAB" curl \ --header "Authorization: Bearer $(gcloud auth print-
|
|
517
|
-
# access-token)" \ "https://cloudsupport.googleapis.com/
|
|
525
|
+
# access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$attachment" ```
|
|
518
526
|
# Python: ```python import googleapiclient.discovery api_version = "v2beta"
|
|
519
527
|
# supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport"
|
|
520
528
|
# , version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.
|
|
@@ -553,8 +561,8 @@ module Google
|
|
|
553
561
|
# List all the attachments associated with a support case. EXAMPLES: cURL: ```
|
|
554
562
|
# shell case="projects/some-project/cases/23598314" curl \ --header "
|
|
555
563
|
# Authorization: Bearer $(gcloud auth print-access-token)" \ "https://
|
|
556
|
-
# cloudsupport.googleapis.com/
|
|
557
|
-
# googleapiclient.discovery api_version = "
|
|
564
|
+
# cloudsupport.googleapis.com/v2beta/$case/attachments" ``` Python: ```python
|
|
565
|
+
# import googleapiclient.discovery api_version = "v2beta" supportApiService =
|
|
558
566
|
# googleapiclient.discovery.build( serviceName="cloudsupport", version=
|
|
559
567
|
# api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$
|
|
560
568
|
# discovery/rest?version=`api_version`", ) request = ( supportApiService.cases()
|
|
@@ -604,14 +612,14 @@ module Google
|
|
|
604
612
|
# body`. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43591344"
|
|
605
613
|
# curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-
|
|
606
614
|
# access-token)" \ --header 'Content-Type: application/json' \ --data '` "body":
|
|
607
|
-
# "This is a test comment." `' \ "https://cloudsupport.googleapis.com/
|
|
608
|
-
# comments" ``` Python: ```python import googleapiclient.discovery
|
|
609
|
-
# "
|
|
610
|
-
# cloudsupport", version=api_version, discoveryServiceUrl=f"https://
|
|
611
|
-
# googleapis.com/$discovery/rest?version=`api_version`", ) request =
|
|
612
|
-
# supportApiService.cases() .comments() .create( parent="projects/some-
|
|
613
|
-
# cases/43595344", body=`"body": "This is a test comment."`, ) ) print(
|
|
614
|
-
# execute()) ```
|
|
615
|
+
# "This is a test comment." `' \ "https://cloudsupport.googleapis.com/v2beta/$
|
|
616
|
+
# case/comments" ``` Python: ```python import googleapiclient.discovery
|
|
617
|
+
# api_version = "v2beta" supportApiService = googleapiclient.discovery.build(
|
|
618
|
+
# serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://
|
|
619
|
+
# cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", ) request =
|
|
620
|
+
# ( supportApiService.cases() .comments() .create( parent="projects/some-
|
|
621
|
+
# project/cases/43595344", body=`"body": "This is a test comment."`, ) ) print(
|
|
622
|
+
# request.execute()) ```
|
|
615
623
|
# @param [String] parent
|
|
616
624
|
# Required. The name of the case to which the comment should be added.
|
|
617
625
|
# @param [Google::Apis::CloudsupportV2beta::Comment] comment_object
|
|
@@ -646,9 +654,9 @@ module Google
|
|
|
646
654
|
|
|
647
655
|
# Retrieve a comment. EXAMPLES: cURL: ```shell comment="projects/some-project/
|
|
648
656
|
# cases/43595344/comments/234567890" curl \ --header "Authorization: Bearer $(
|
|
649
|
-
# gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/
|
|
650
|
-
# comment" ``` Python: ```python import googleapiclient.discovery api_version =
|
|
651
|
-
# v2beta" supportApiService = googleapiclient.discovery.build( serviceName="
|
|
657
|
+
# gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/
|
|
658
|
+
# $comment" ``` Python: ```python import googleapiclient.discovery api_version =
|
|
659
|
+
# "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="
|
|
652
660
|
# cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.
|
|
653
661
|
# googleapis.com/$discovery/rest?version=`api_version`", ) request =
|
|
654
662
|
# supportApiService.cases().comments().get( name="projects/some-project/cases/
|
|
@@ -684,9 +692,9 @@ module Google
|
|
|
684
692
|
|
|
685
693
|
# List all the comments associated with a case. EXAMPLES: cURL: ```shell case="
|
|
686
694
|
# projects/some-project/cases/43595344" curl \ --header "Authorization: Bearer $(
|
|
687
|
-
# gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/
|
|
688
|
-
# case/comments" ``` Python: ```python import googleapiclient.discovery
|
|
689
|
-
# api_version = "
|
|
695
|
+
# gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/
|
|
696
|
+
# $case/comments" ``` Python: ```python import googleapiclient.discovery
|
|
697
|
+
# api_version = "v2beta" supportApiService = googleapiclient.discovery.build(
|
|
690
698
|
# serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://
|
|
691
699
|
# cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", ) request =
|
|
692
700
|
# ( supportApiService.cases() .comments() .list(parent="projects/some-project/
|
|
@@ -732,12 +740,12 @@ module Google
|
|
|
732
740
|
# HTTP requests must append "?alt=media" to the URL. EXAMPLES: cURL: ```shell
|
|
733
741
|
# name="projects/some-project/cases/43594844/attachments/0674M00000WijAnZAJ"
|
|
734
742
|
# curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "
|
|
735
|
-
# https://cloudsupport.googleapis.com/
|
|
736
|
-
#
|
|
737
|
-
# googleapiclient.discovery.build( serviceName="cloudsupport"
|
|
738
|
-
# api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.
|
|
739
|
-
# discovery/rest?version=`api_version`", ) request = supportApiService.
|
|
740
|
-
# download( name="projects/some-project/cases/43595344/attachments/
|
|
743
|
+
# https://cloudsupport.googleapis.com/v2beta/$name:download?alt=media" ```
|
|
744
|
+
# Python: ```python import googleapiclient.discovery api_version = "v2beta"
|
|
745
|
+
# supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport"
|
|
746
|
+
# , version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.
|
|
747
|
+
# com/$discovery/rest?version=`api_version`", ) request = supportApiService.
|
|
748
|
+
# media().download( name="projects/some-project/cases/43595344/attachments/
|
|
741
749
|
# 0684M00000Pw6pHQAR" ) request.uri = request.uri.split("?")[0] + "?alt=media"
|
|
742
750
|
# print(request.execute()) ```
|
|
743
751
|
# @param [String] name
|
|
@@ -783,7 +791,7 @@ module Google
|
|
|
783
791
|
# gcloud auth print-access-token)" \ --data-binary @"./example_file.txt" \ "
|
|
784
792
|
# https://cloudsupport.googleapis.com/upload/v2beta/$case/attachments?attachment.
|
|
785
793
|
# filename=uploaded_via_curl.txt" ``` Python: ```python import googleapiclient.
|
|
786
|
-
# discovery api_version = "
|
|
794
|
+
# discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.
|
|
787
795
|
# build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"
|
|
788
796
|
# https://cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", )
|
|
789
797
|
# file_path = "./example_file.txt" with open(file_path, "w") as file: file.write(
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.51.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsupport_v2beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2beta/v0.51.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsupport_v2beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|