google-apis-cloudsupport_v2beta 0.46.0 → 0.47.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: d508082393f443d245506bc656bf42dd84b33f07bdfa0a6a956a71d0ed685c76
|
4
|
+
data.tar.gz: eb54dd72be2866a720f64e38ccdb4dc30dfef80e4ad3b8eee76f8e94b5bb333a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07b016da16342486f9b215eb1a913eb63a2e1383a54fb30fa5f132ecb8293994826ecb9f1d1b6decfc46c989f568f57abc4409e3bb62c82445108031df213191
|
7
|
+
data.tar.gz: 4ec44a2d4dd4f89df657e128a9bbe71dd309f7b52ab2c5e3390d82ba7280a1e4c36cb8d602d209bcc06e7713c127fa2a14b2908ba18a672aa4518e8a53a54900
|
data/CHANGELOG.md
CHANGED
@@ -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.47.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 = "20250806"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -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.47.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.47.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:
|