google-apis-cloudsupport_v2beta 0.45.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: ada30ad95712534befd24acd45800291c8422b5eeac3d4df87730667523e14fd
4
- data.tar.gz: 3ecfb39289bbc6db09124fb96da938a0bfbae67517bf8c01308a7760ec0a7e77
3
+ metadata.gz: d508082393f443d245506bc656bf42dd84b33f07bdfa0a6a956a71d0ed685c76
4
+ data.tar.gz: eb54dd72be2866a720f64e38ccdb4dc30dfef80e4ad3b8eee76f8e94b5bb333a
5
5
  SHA512:
6
- metadata.gz: 628e72c136baaa03455c5128e09b1ed6bc4c56faf1bf2b8a88b3269b980546a96836f773109e9c1eb12ea957bf9c011e06cd9e2e07921b3af6e3f8ce10e4950e
7
- data.tar.gz: 52c4c3c0feed90328ef87624e390057d6107a24e72afd13df70b06e2223a0a992c41674669dd1b2821171022cba33b00299348ff979a19ced239b5a6e39735d1
6
+ metadata.gz: 07b016da16342486f9b215eb1a913eb63a2e1383a54fb30fa5f132ecb8293994826ecb9f1d1b6decfc46c989f568f57abc4409e3bb62c82445108031df213191
7
+ data.tar.gz: 4ec44a2d4dd4f89df657e128a9bbe71dd309f7b52ab2c5e3390d82ba7280a1e4c36cb8d602d209bcc06e7713c127fa2a14b2908ba18a672aa4518e8a53a54900
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudsupport_v2beta
2
2
 
3
+ ### v0.47.0 (2025-08-10)
4
+
5
+ * Regenerated from discovery document revision 20250806
6
+
7
+ ### v0.46.0 (2025-06-15)
8
+
9
+ * Regenerated from discovery document revision 20250609
10
+
3
11
  ### v0.45.0 (2025-06-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20250602
@@ -1319,38 +1319,6 @@ module Google
1319
1319
  @plain_text = args[:plain_text] if args.key?(:plain_text)
1320
1320
  end
1321
1321
  end
1322
-
1323
- # Metadata about the operation. Used to lookup the current status.
1324
- class WorkflowOperationMetadata
1325
- include Google::Apis::Core::Hashable
1326
-
1327
- # The namespace that the job was scheduled in. Must be included in the workflow
1328
- # metadata so the workflow status can be retrieved.
1329
- # Corresponds to the JSON property `namespace`
1330
- # @return [String]
1331
- attr_accessor :namespace
1332
-
1333
- # The type of action the operation is classified as.
1334
- # Corresponds to the JSON property `operationAction`
1335
- # @return [String]
1336
- attr_accessor :operation_action
1337
-
1338
- # Which version of the workflow service this operation came from.
1339
- # Corresponds to the JSON property `workflowOperationType`
1340
- # @return [String]
1341
- attr_accessor :workflow_operation_type
1342
-
1343
- def initialize(**args)
1344
- update!(**args)
1345
- end
1346
-
1347
- # Update properties of this object
1348
- def update!(**args)
1349
- @namespace = args[:namespace] if args.key?(:namespace)
1350
- @operation_action = args[:operation_action] if args.key?(:operation_action)
1351
- @workflow_operation_type = args[:workflow_operation_type] if args.key?(:workflow_operation_type)
1352
- end
1353
- end
1354
1322
  end
1355
1323
  end
1356
1324
  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.45.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 = "20250602"
25
+ REVISION = "20250806"
26
26
  end
27
27
  end
28
28
  end
@@ -202,12 +202,6 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
- class WorkflowOperationMetadata
206
- class Representation < Google::Apis::Core::JsonRepresentation; end
207
-
208
- include Google::Apis::Core::JsonObjectSupport
209
- end
210
-
211
205
  class Actor
212
206
  # @private
213
207
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -557,15 +551,6 @@ module Google
557
551
  property :plain_text, as: 'plainText'
558
552
  end
559
553
  end
560
-
561
- class WorkflowOperationMetadata
562
- # @private
563
- class Representation < Google::Apis::Core::JsonRepresentation
564
- property :namespace, as: 'namespace'
565
- property :operation_action, as: 'operationAction'
566
- property :workflow_operation_type, as: 'workflowOperationType'
567
- end
568
- end
569
554
  end
570
555
  end
571
556
  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.45.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.45.0
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: