google-apis-cloudsupport_v2 0.24.0 → 0.26.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: 107215200f6db7e7fc27840c9b6561987acc71c9c694ffa1a4aad71714ab11ef
4
- data.tar.gz: 200655436a92f1f4ed36646329b05308b6b611f7144ea8eeead499af2274302e
3
+ metadata.gz: 9092d5b0b580dd4f15bd8e114a59b5a13b9a26f8c72b1e38de42479aca2bc698
4
+ data.tar.gz: 5dba21ef97eca7b9f2857d98d0cb394c33cfa005190a8ab08802d747195f93c8
5
5
  SHA512:
6
- metadata.gz: e53039ecb0f073746f0b7b1df3d7eddde10a83cfdafb28d5fdfa561701d32239c50bbf96b7c877b1163c123108fea43834ca8ce370450faedfecee3de1eac67b
7
- data.tar.gz: 2bbea357631992213abfef50b59cd0e15535689a12af320ef53ec8735172d2a4c7c8d65a9865a4a67f67f56e13df6449a636937eeba572883a4cbef07c99c835
6
+ metadata.gz: e93a5ea847fd256fd82b0a20e05e6e4aab1038e54fa742193164f92f47b28bf64e8c1e095f3863a2f5a3ce5b2467275584ad5a456e8d74b396aa44cc3b5ac0f7
7
+ data.tar.gz: 523ce2b3b6dc0c0e2129df087b535bc6dec9f63f0ff1c37c677ef80000f9fa7a4d4a008e2479ac4f059c9a1232d55ed36c23b1fe98de804169d0d4acb9e2b6f3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudsupport_v2
2
2
 
3
+ ### v0.26.0 (2026-08-02)
4
+
5
+ * Regenerated from discovery document revision 20260726
6
+
7
+ ### v0.25.0 (2026-07-12)
8
+
9
+ * Regenerated from discovery document revision 20260707
10
+
3
11
  ### v0.24.0 (2026-07-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20260623
@@ -744,6 +744,22 @@ module Google
744
744
  end
745
745
  end
746
746
 
747
+ # A generic empty message that you can re-use to avoid defining duplicated empty
748
+ # messages in your APIs. A typical example is to use it as the request or the
749
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
750
+ # protobuf.Empty) returns (google.protobuf.Empty); `
751
+ class Empty
752
+ include Google::Apis::Core::Hashable
753
+
754
+ def initialize(**args)
755
+ update!(**args)
756
+ end
757
+
758
+ # Update properties of this object
759
+ def update!(**args)
760
+ end
761
+ end
762
+
747
763
  # The request message for the EscalateCase endpoint.
748
764
  class EscalateCaseRequest
749
765
  include Google::Apis::Core::Hashable
@@ -789,6 +805,19 @@ module Google
789
805
  end
790
806
  end
791
807
 
808
+ # Request message for ExpungeSupportEventSubscription.
809
+ class ExpungeSupportEventSubscriptionRequest
810
+ include Google::Apis::Core::Hashable
811
+
812
+ def initialize(**args)
813
+ update!(**args)
814
+ end
815
+
816
+ # Update properties of this object
817
+ def update!(**args)
818
+ end
819
+ end
820
+
792
821
  # The response message for the ListAttachments endpoint.
793
822
  class ListAttachmentsResponse
794
823
  include Google::Apis::Core::Hashable
@@ -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.24.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260623"
25
+ REVISION = "20260726"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class Empty
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class EscalateCaseRequest
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -130,6 +136,12 @@ module Google
130
136
  include Google::Apis::Core::JsonObjectSupport
131
137
  end
132
138
 
139
+ class ExpungeSupportEventSubscriptionRequest
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
133
145
  class ListAttachmentsResponse
134
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
147
 
@@ -372,6 +384,12 @@ module Google
372
384
  end
373
385
  end
374
386
 
387
+ class Empty
388
+ # @private
389
+ class Representation < Google::Apis::Core::JsonRepresentation
390
+ end
391
+ end
392
+
375
393
  class EscalateCaseRequest
376
394
  # @private
377
395
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -388,6 +406,12 @@ module Google
388
406
  end
389
407
  end
390
408
 
409
+ class ExpungeSupportEventSubscriptionRequest
410
+ # @private
411
+ class Representation < Google::Apis::Core::JsonRepresentation
412
+ end
413
+ end
414
+
391
415
  class ListAttachmentsResponse
392
416
  # @private
393
417
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -790,7 +790,18 @@ module Google
790
790
  execute_or_queue_command(command, &block)
791
791
  end
792
792
 
793
- # Creates a support event subscription for an organization.
793
+ # Creates a support event subscription for an organization. EXAMPLES: cURL: ```
794
+ # shell parent="organizations/123456789" curl \ --request POST \ --header "
795
+ # Authorization: Bearer $(gcloud auth print-access-token)" \ --header 'Content-
796
+ # Type: application/json' \ --data '` "pub_sub_topic": "projects/my-project/
797
+ # topics/my-topic" `' \ "https://cloudsupport.googleapis.com/v2/$parent/
798
+ # supportEventSubscriptions" ``` Python: ```python import googleapiclient.
799
+ # discovery api_version = "v2" supportApiService = googleapiclient.discovery.
800
+ # build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"
801
+ # https://cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", )
802
+ # request = supportApiService.supportEventSubscriptions().create( parent="
803
+ # organizations/123456789", body=` "pub_sub_topic": "projects/my-project/topics/
804
+ # my-topic" `, ) print(request.execute()) ```
794
805
  # @param [String] parent
795
806
  # Required. The parent resource name where the support event subscription will
796
807
  # be created. Format: organizations/`organization_id`
@@ -812,7 +823,7 @@ module Google
812
823
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
813
824
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
814
825
  # @raise [Google::Apis::AuthorizationError] Authorization is required
815
- def create_support_event_subscription(parent, support_event_subscription_object = nil, fields: nil, quota_user: nil, options: nil, &block)
826
+ def create_organization_support_event_subscription(parent, support_event_subscription_object = nil, fields: nil, quota_user: nil, options: nil, &block)
816
827
  command = make_simple_command(:post, 'v2/{+parent}/supportEventSubscriptions', options)
817
828
  command.request_representation = Google::Apis::CloudsupportV2::SupportEventSubscription::Representation
818
829
  command.request_object = support_event_subscription_object
@@ -824,7 +835,17 @@ module Google
824
835
  execute_or_queue_command(command, &block)
825
836
  end
826
837
 
827
- # Soft deletes a support event subscription.
838
+ # Soft deletes a support event subscription. EXAMPLES: cURL: ```shell
839
+ # support_event_subscription="organizations/123456789/supportEventSubscriptions/
840
+ # abcdef123456" curl \ --request DELETE \ --header "Authorization: Bearer $(
841
+ # gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$
842
+ # support_event_subscription" ``` Python: ```python import googleapiclient.
843
+ # discovery api_version = "v2" supportApiService = googleapiclient.discovery.
844
+ # build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"
845
+ # https://cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", )
846
+ # request = supportApiService).supportEventSubscriptions().delete( name="
847
+ # organizations/123456789/supportEventSubscriptions/abcdef123456" ) print(
848
+ # request.execute()) ```
828
849
  # @param [String] name
829
850
  # Required. The name of the support event subscription to delete. Format:
830
851
  # organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
@@ -845,7 +866,7 @@ module Google
845
866
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
846
867
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
847
868
  # @raise [Google::Apis::AuthorizationError] Authorization is required
848
- def delete_support_event_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
869
+ def delete_organization_support_event_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
849
870
  command = make_simple_command(:delete, 'v2/{+name}', options)
850
871
  command.response_representation = Google::Apis::CloudsupportV2::SupportEventSubscription::Representation
851
872
  command.response_class = Google::Apis::CloudsupportV2::SupportEventSubscription
@@ -855,7 +876,61 @@ module Google
855
876
  execute_or_queue_command(command, &block)
856
877
  end
857
878
 
858
- # Gets a support event subscription.
879
+ # Expunges a support event subscription. EXAMPLES: cURL: ```shell
880
+ # support_event_subscription="organizations/123456789/supportEventSubscriptions/
881
+ # abcdef123456" curl \ --request POST \ --header "Authorization: Bearer $(gcloud
882
+ # auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$
883
+ # support_event_subscription:expunge" ``` Python: ```python import
884
+ # googleapiclient.discovery api_version = "v2" supportApiService =
885
+ # googleapiclient.discovery.build( serviceName="cloudsupport", version=
886
+ # api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$
887
+ # discovery/rest?version=`api_version`", ) request = supportApiService.
888
+ # supportEventSubscriptions().expunge( name="organizations/123456789/
889
+ # supportEventSubscriptions/abcdef123456" ) print(request.execute()) ```
890
+ # @param [String] name
891
+ # Required. The name of the support event subscription to expunge. Format:
892
+ # organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
893
+ # @param [Google::Apis::CloudsupportV2::ExpungeSupportEventSubscriptionRequest] expunge_support_event_subscription_request_object
894
+ # @param [String] fields
895
+ # Selector specifying which fields to include in a partial response.
896
+ # @param [String] quota_user
897
+ # Available to use for quota purposes for server-side applications. Can be any
898
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
899
+ # @param [Google::Apis::RequestOptions] options
900
+ # Request-specific options
901
+ #
902
+ # @yield [result, err] Result & error if block supplied
903
+ # @yieldparam result [Google::Apis::CloudsupportV2::Empty] parsed result object
904
+ # @yieldparam err [StandardError] error object if request failed
905
+ #
906
+ # @return [Google::Apis::CloudsupportV2::Empty]
907
+ #
908
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
909
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
910
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
911
+ def expunge_support_event_subscription(name, expunge_support_event_subscription_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
912
+ command = make_simple_command(:post, 'v2/{+name}:expunge', options)
913
+ command.request_representation = Google::Apis::CloudsupportV2::ExpungeSupportEventSubscriptionRequest::Representation
914
+ command.request_object = expunge_support_event_subscription_request_object
915
+ command.response_representation = Google::Apis::CloudsupportV2::Empty::Representation
916
+ command.response_class = Google::Apis::CloudsupportV2::Empty
917
+ command.params['name'] = name unless name.nil?
918
+ command.query['fields'] = fields unless fields.nil?
919
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
920
+ execute_or_queue_command(command, &block)
921
+ end
922
+
923
+ # Gets a support event subscription. EXAMPLES: cURL: ```shell
924
+ # support_event_subscription="organizations/123456789/supportEventSubscriptions/
925
+ # abcdef123456" curl \ --header "Authorization: Bearer $(gcloud auth print-
926
+ # access-token)" \ "https://cloudsupport.googleapis.com/v2/$
927
+ # support_event_subscription" ``` Python: ```python import googleapiclient.
928
+ # discovery api_version = "v2" supportApiService = googleapiclient.discovery.
929
+ # build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"
930
+ # https://cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", )
931
+ # request = supportApiService.supportEventSubscriptions().get( name="
932
+ # organizations/123456789/supportEventSubscriptions/abcdef123456" ) print(
933
+ # request.execute()) ```
859
934
  # @param [String] name
860
935
  # Required. The name of the support event subscription to retrieve. Format:
861
936
  # organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
@@ -876,7 +951,7 @@ module Google
876
951
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
877
952
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
878
953
  # @raise [Google::Apis::AuthorizationError] Authorization is required
879
- def get_support_event_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
954
+ def get_organization_support_event_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
880
955
  command = make_simple_command(:get, 'v2/{+name}', options)
881
956
  command.response_representation = Google::Apis::CloudsupportV2::SupportEventSubscription::Representation
882
957
  command.response_class = Google::Apis::CloudsupportV2::SupportEventSubscription
@@ -886,7 +961,15 @@ module Google
886
961
  execute_or_queue_command(command, &block)
887
962
  end
888
963
 
889
- # Lists support event subscriptions.
964
+ # Lists support event subscriptions. EXAMPLES: cURL: ```shell parent="
965
+ # organizations/123456789" curl \ --header "Authorization: Bearer $(gcloud auth
966
+ # print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$parent/
967
+ # supportEventSubscriptions" ``` Python: ```python import googleapiclient.
968
+ # discovery api_version = "v2" supportApiService = googleapiclient.discovery.
969
+ # build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"
970
+ # https://cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", )
971
+ # request = supportApiService.supportEventSubscriptions().list( parent="
972
+ # organizations/123456789" ) print(request.execute()) ```
890
973
  # @param [String] parent
891
974
  # Required. The fully qualified name of the Cloud resource to list support event
892
975
  # subscriptions under. Format: organizations/`organization_id`
@@ -922,7 +1005,7 @@ module Google
922
1005
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
923
1006
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
924
1007
  # @raise [Google::Apis::AuthorizationError] Authorization is required
925
- def list_support_event_subscriptions(parent, filter: nil, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
1008
+ def list_organization_support_event_subscriptions(parent, filter: nil, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
926
1009
  command = make_simple_command(:get, 'v2/{+parent}/supportEventSubscriptions', options)
927
1010
  command.response_representation = Google::Apis::CloudsupportV2::ListSupportEventSubscriptionsResponse::Representation
928
1011
  command.response_class = Google::Apis::CloudsupportV2::ListSupportEventSubscriptionsResponse
@@ -936,7 +1019,19 @@ module Google
936
1019
  execute_or_queue_command(command, &block)
937
1020
  end
938
1021
 
939
- # Updates a support event subscription.
1022
+ # Updates a support event subscription. EXAMPLES: cURL: ```shell
1023
+ # support_event_subscription="organizations/123456789/supportEventSubscriptions/
1024
+ # abcdef123456" curl \ --request PATCH \ --header "Authorization: Bearer $(
1025
+ # gcloud auth print-access-token)" \ --header "Content-Type: application/json" \
1026
+ # --data '` "pub_sub_topic": "projects/my-project/topics/new-topic" `' \ "https:/
1027
+ # /cloudsupport.googleapis.com/v2/$support_event_subscription?updateMask=
1028
+ # pub_sub_topic" ``` Python: ```python import googleapiclient.discovery
1029
+ # api_version = "v2" supportApiService = googleapiclient.discovery.build(
1030
+ # serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://
1031
+ # cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", ) request =
1032
+ # supportApiService.supportEventSubscriptions().patch( name="organizations/
1033
+ # 123456789/supportEventSubscriptions/abcdef123456", body=` "pub_sub_topic": "
1034
+ # projects/my-project/topics/new-topic" `, ) print(request.execute()) ```
940
1035
  # @param [String] name
941
1036
  # Identifier. The resource name of the support event subscription.
942
1037
  # @param [Google::Apis::CloudsupportV2::SupportEventSubscription] support_event_subscription_object
@@ -960,7 +1055,7 @@ module Google
960
1055
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
961
1056
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
962
1057
  # @raise [Google::Apis::AuthorizationError] Authorization is required
963
- def patch_support_event_subscription(name, support_event_subscription_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1058
+ def patch_organization_support_event_subscription(name, support_event_subscription_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
964
1059
  command = make_simple_command(:patch, 'v2/{+name}', options)
965
1060
  command.request_representation = Google::Apis::CloudsupportV2::SupportEventSubscription::Representation
966
1061
  command.request_object = support_event_subscription_object
@@ -973,7 +1068,17 @@ module Google
973
1068
  execute_or_queue_command(command, &block)
974
1069
  end
975
1070
 
976
- # Undeletes a support event subscription.
1071
+ # Undeletes a support event subscription. EXAMPLES: cURL: ```shell
1072
+ # support_event_subscription="organizations/123456789/supportEventSubscriptions/
1073
+ # abcdef123456" curl \ --request POST \ --header "Authorization: Bearer $(gcloud
1074
+ # auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$
1075
+ # support_event_subscription:undelete" ``` Python: ```python import
1076
+ # googleapiclient.discovery api_version = "v2" supportApiService =
1077
+ # googleapiclient.discovery.build( serviceName="cloudsupport", version=
1078
+ # api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$
1079
+ # discovery/rest?version=`api_version`", ) request = supportApiService.
1080
+ # supportEventSubscriptions().undelete( name="organizations/123456789/
1081
+ # supportEventSubscriptions/abcdef123456" ) print(request.execute()) ```
977
1082
  # @param [String] name
978
1083
  # Required. The name of the support event subscription to undelete. Format:
979
1084
  # organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudsupport_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.26.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_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2/v0.24.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2/v0.26.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsupport_v2
62
62
  rdoc_options: []
63
63
  require_paths: