google-apis-cloudsupport_v2beta 0.46.0 → 0.48.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 +7 -0
- data/lib/google/apis/cloudsupport_v2beta/gem_version.rb +2 -2
- data/lib/google/apis/cloudsupport_v2beta/representations.rb +1 -0
- data/lib/google/apis/cloudsupport_v2beta/service.rb +77 -0
- 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: 037acddca381dce679f8b7973b661dd2f0dfe69d47251e5fedd2efc85a725dc2
|
|
4
|
+
data.tar.gz: f1a982c742c032172bb3ee2bbf62d9450e92c801356b37ebcb3858eb244d1d34
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f727ac05ddbd37ada64606962a7e959b20a12617d4f598afcffac1a35e40595aeb6f9b7bd189baa7074aba1142ced28675eba82ca1f447f8a775bdda51cf69d3
|
|
7
|
+
data.tar.gz: c8c9cb922bed184c10a6292c5b88fd1a7a172b940ab97bc06306fc1390f4915e4ac421a5eb24f15d20fee70c25b0e8352bb75bdaf38367bc8b2caf6dfb804704
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-cloudsupport_v2beta
|
|
2
2
|
|
|
3
|
+
### v0.48.0 (2025-12-07)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251203
|
|
6
|
+
|
|
7
|
+
### v0.47.0 (2025-08-10)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250806
|
|
10
|
+
|
|
3
11
|
### v0.46.0 (2025-06-15)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250609
|
|
@@ -140,6 +140,12 @@ module Google
|
|
|
140
140
|
# @return [String]
|
|
141
141
|
attr_accessor :blob_id
|
|
142
142
|
|
|
143
|
+
# # gdata.* are outside protos with mising documentation
|
|
144
|
+
# Corresponds to the JSON property `downloadExternalReadToken`
|
|
145
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
146
|
+
# @return [String]
|
|
147
|
+
attr_accessor :download_external_read_token
|
|
148
|
+
|
|
143
149
|
# # gdata.* are outside protos with mising documentation
|
|
144
150
|
# Corresponds to the JSON property `downloadReadHandle`
|
|
145
151
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
@@ -165,6 +171,7 @@ module Google
|
|
|
165
171
|
def update!(**args)
|
|
166
172
|
@blob_generation = args[:blob_generation] if args.key?(:blob_generation)
|
|
167
173
|
@blob_id = args[:blob_id] if args.key?(:blob_id)
|
|
174
|
+
@download_external_read_token = args[:download_external_read_token] if args.key?(:download_external_read_token)
|
|
168
175
|
@download_read_handle = args[:download_read_handle] if args.key?(:download_read_handle)
|
|
169
176
|
@read_token = args[:read_token] if args.key?(:read_token)
|
|
170
177
|
@upload_metadata_container = args[:upload_metadata_container] if args.key?(:upload_metadata_container)
|
|
@@ -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.48.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 = "20251203"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -230,6 +230,7 @@ module Google
|
|
|
230
230
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
231
231
|
property :blob_generation, :numeric_string => true, as: 'blobGeneration'
|
|
232
232
|
property :blob_id, as: 'blobId'
|
|
233
|
+
property :download_external_read_token, :base64 => true, as: 'downloadExternalReadToken'
|
|
233
234
|
property :download_read_handle, :base64 => true, as: 'downloadReadHandle'
|
|
234
235
|
property :read_token, as: 'readToken'
|
|
235
236
|
property :upload_metadata_container, :base64 => true, as: 'uploadMetadataContainer'
|
|
@@ -511,6 +511,45 @@ module Google
|
|
|
511
511
|
execute_or_queue_command(command, &block)
|
|
512
512
|
end
|
|
513
513
|
|
|
514
|
+
# Retrieve an attachment associated with a support case. EXAMPLES: cURL: ```
|
|
515
|
+
# shell attachment="projects/some-project/cases/23598314/attachments/
|
|
516
|
+
# 0684M00000P3h1fQAB" curl \ --header "Authorization: Bearer $(gcloud auth print-
|
|
517
|
+
# access-token)" \ "https://cloudsupport.googleapis.com/v2/$attachment" ```
|
|
518
|
+
# Python: ```python import googleapiclient.discovery api_version = "v2beta"
|
|
519
|
+
# supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport"
|
|
520
|
+
# , version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.
|
|
521
|
+
# com/$discovery/rest?version=`api_version`", ) request = ( supportApiService.
|
|
522
|
+
# cases() .attachments() .get(name="projects/some-project/cases/43595344/
|
|
523
|
+
# attachments/0684M00000P3h1fQAB") ) print(request.execute()) ```
|
|
524
|
+
# @param [String] name
|
|
525
|
+
# Required. The name of the attachment to get.
|
|
526
|
+
# @param [String] fields
|
|
527
|
+
# Selector specifying which fields to include in a partial response.
|
|
528
|
+
# @param [String] quota_user
|
|
529
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
530
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
531
|
+
# @param [Google::Apis::RequestOptions] options
|
|
532
|
+
# Request-specific options
|
|
533
|
+
#
|
|
534
|
+
# @yield [result, err] Result & error if block supplied
|
|
535
|
+
# @yieldparam result [Google::Apis::CloudsupportV2beta::Attachment] parsed result object
|
|
536
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
537
|
+
#
|
|
538
|
+
# @return [Google::Apis::CloudsupportV2beta::Attachment]
|
|
539
|
+
#
|
|
540
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
541
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
542
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
543
|
+
def get_case_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
544
|
+
command = make_simple_command(:get, 'v2beta/{+name}', options)
|
|
545
|
+
command.response_representation = Google::Apis::CloudsupportV2beta::Attachment::Representation
|
|
546
|
+
command.response_class = Google::Apis::CloudsupportV2beta::Attachment
|
|
547
|
+
command.params['name'] = name unless name.nil?
|
|
548
|
+
command.query['fields'] = fields unless fields.nil?
|
|
549
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
550
|
+
execute_or_queue_command(command, &block)
|
|
551
|
+
end
|
|
552
|
+
|
|
514
553
|
# List all the attachments associated with a support case. EXAMPLES: cURL: ```
|
|
515
554
|
# shell case="projects/some-project/cases/23598314" curl \ --header "
|
|
516
555
|
# Authorization: Bearer $(gcloud auth print-access-token)" \ "https://
|
|
@@ -605,6 +644,44 @@ module Google
|
|
|
605
644
|
execute_or_queue_command(command, &block)
|
|
606
645
|
end
|
|
607
646
|
|
|
647
|
+
# Retrieve a comment. EXAMPLES: cURL: ```shell comment="projects/some-project/
|
|
648
|
+
# cases/43595344/comments/234567890" curl \ --header "Authorization: Bearer $(
|
|
649
|
+
# gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$
|
|
650
|
+
# comment" ``` Python: ```python import googleapiclient.discovery api_version = "
|
|
651
|
+
# v2beta" supportApiService = googleapiclient.discovery.build( serviceName="
|
|
652
|
+
# cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.
|
|
653
|
+
# googleapis.com/$discovery/rest?version=`api_version`", ) request =
|
|
654
|
+
# supportApiService.cases().comments().get( name="projects/some-project/cases/
|
|
655
|
+
# 43595344/comments/234567890", ) print(request.execute()) ```
|
|
656
|
+
# @param [String] name
|
|
657
|
+
# Required. The name of the comment to retrieve.
|
|
658
|
+
# @param [String] fields
|
|
659
|
+
# Selector specifying which fields to include in a partial response.
|
|
660
|
+
# @param [String] quota_user
|
|
661
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
662
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
663
|
+
# @param [Google::Apis::RequestOptions] options
|
|
664
|
+
# Request-specific options
|
|
665
|
+
#
|
|
666
|
+
# @yield [result, err] Result & error if block supplied
|
|
667
|
+
# @yieldparam result [Google::Apis::CloudsupportV2beta::Comment] parsed result object
|
|
668
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
669
|
+
#
|
|
670
|
+
# @return [Google::Apis::CloudsupportV2beta::Comment]
|
|
671
|
+
#
|
|
672
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
673
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
674
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
675
|
+
def get_case_comment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
676
|
+
command = make_simple_command(:get, 'v2beta/{+name}', options)
|
|
677
|
+
command.response_representation = Google::Apis::CloudsupportV2beta::Comment::Representation
|
|
678
|
+
command.response_class = Google::Apis::CloudsupportV2beta::Comment
|
|
679
|
+
command.params['name'] = name unless name.nil?
|
|
680
|
+
command.query['fields'] = fields unless fields.nil?
|
|
681
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
682
|
+
execute_or_queue_command(command, &block)
|
|
683
|
+
end
|
|
684
|
+
|
|
608
685
|
# List all the comments associated with a case. EXAMPLES: cURL: ```shell case="
|
|
609
686
|
# projects/some-project/cases/43595344" curl \ --header "Authorization: Bearer $(
|
|
610
687
|
# gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$
|
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.48.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.48.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:
|