google-apis-cloudsupport_v2beta 0.53.0 → 0.54.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: 7ae9b413ff59747e26819702c419bef1893e35829eb8ed6c58bba093e7009780
4
- data.tar.gz: ec5f66ded4507a0bbb52c967daeb324177af5713bf210e217b3851df2cabd8cd
3
+ metadata.gz: 076c8a4e693b7366128f8c08c6415d826b6e36caae364123fab0e81423fdab1f
4
+ data.tar.gz: b102ab0b3dc632ca0072801e00f015905189a3e430f88f977dc6aae13126d27d
5
5
  SHA512:
6
- metadata.gz: 974df5fafc93c644fb72a177bef60bea3123d79baf99db0b3b8a95a59c1c5d36071e37c8b0b3bb06c24d183416a0e4b5470a407c6738a23f3a91467b29aad00c
7
- data.tar.gz: 4b989dc8bf087007ec9d96905b4c10a1c3071caa6bf8376b91cb76b63b5abf74b2deed715ace453bebb544e99c6e320c56213bad2df44b58a0a7805436341213
6
+ metadata.gz: 5899037a4ebd2d7bec9f57cab8eabcb3f948d72a8bcb4f9d9fed293624bcb6135f9de9a85e20bafc178a9ce205891fe3544eb31f6ea1a146bd5451b53832d270
7
+ data.tar.gz: fc9d77637249f50d3e6a0227b796572f65c13c05a5dff3784f0ad42b821eb145f4af0148e1e24260c108bb0b6a293204acc3f7d6f06561a4a7e01fced3fed059
data/CHANGELOG.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # Release history for google-apis-cloudsupport_v2beta
2
2
 
3
- ### v0.53.0 (2026-07-05)
3
+ ### v0.54.0 (2026-08-02)
4
4
 
5
- * Regenerated from discovery document revision 20260623
5
+ * Regenerated from discovery document revision 20260726
6
+
7
+ ### v0.53.0 (2026-07-12)
8
+
9
+ * Regenerated from discovery document revision 20260707
6
10
 
7
11
  ### v0.52.0 (2026-06-14)
8
12
 
@@ -813,6 +813,22 @@ module Google
813
813
  end
814
814
  end
815
815
 
816
+ # A generic empty message that you can re-use to avoid defining duplicated empty
817
+ # messages in your APIs. A typical example is to use it as the request or the
818
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
819
+ # protobuf.Empty) returns (google.protobuf.Empty); `
820
+ class Empty
821
+ include Google::Apis::Core::Hashable
822
+
823
+ def initialize(**args)
824
+ update!(**args)
825
+ end
826
+
827
+ # Update properties of this object
828
+ def update!(**args)
829
+ end
830
+ end
831
+
816
832
  # The request message for the EscalateCase endpoint.
817
833
  class EscalateCaseRequest
818
834
  include Google::Apis::Core::Hashable
@@ -858,6 +874,19 @@ module Google
858
874
  end
859
875
  end
860
876
 
877
+ # Request message for ExpungeSupportEventSubscription.
878
+ class ExpungeSupportEventSubscriptionRequest
879
+ include Google::Apis::Core::Hashable
880
+
881
+ def initialize(**args)
882
+ update!(**args)
883
+ end
884
+
885
+ # Update properties of this object
886
+ def update!(**args)
887
+ end
888
+ end
889
+
861
890
  # A feed item associated with a support case.
862
891
  class FeedItem
863
892
  include Google::Apis::Core::Hashable
@@ -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.53.0"
19
+ GEM_VERSION = "0.54.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
@@ -124,6 +124,12 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class Empty
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
127
133
  class EscalateCaseRequest
128
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
135
 
@@ -136,6 +142,12 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class ExpungeSupportEventSubscriptionRequest
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
139
151
  class FeedItem
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
@@ -420,6 +432,12 @@ module Google
420
432
  end
421
433
  end
422
434
 
435
+ class Empty
436
+ # @private
437
+ class Representation < Google::Apis::Core::JsonRepresentation
438
+ end
439
+ end
440
+
423
441
  class EscalateCaseRequest
424
442
  # @private
425
443
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -436,6 +454,12 @@ module Google
436
454
  end
437
455
  end
438
456
 
457
+ class ExpungeSupportEventSubscriptionRequest
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ end
461
+ end
462
+
439
463
  class FeedItem
440
464
  # @private
441
465
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -842,7 +842,18 @@ module Google
842
842
  execute_or_queue_command(command, &block)
843
843
  end
844
844
 
845
- # Creates a support event subscription for an organization.
845
+ # Creates a support event subscription for an organization. EXAMPLES: cURL: ```
846
+ # shell parent="organizations/123456789" curl \ --request POST \ --header "
847
+ # Authorization: Bearer $(gcloud auth print-access-token)" \ --header 'Content-
848
+ # Type: application/json' \ --data '` "pub_sub_topic": "projects/my-project/
849
+ # topics/my-topic" `' \ "https://cloudsupport.googleapis.com/v2beta/$parent/
850
+ # supportEventSubscriptions" ``` Python: ```python import googleapiclient.
851
+ # discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.
852
+ # build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"
853
+ # https://cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", )
854
+ # request = supportApiService.supportEventSubscriptions().create( parent="
855
+ # organizations/123456789", body=` "pub_sub_topic": "projects/my-project/topics/
856
+ # my-topic" `, ) print(request.execute()) ```
846
857
  # @param [String] parent
847
858
  # Required. The parent resource name where the support event subscription will
848
859
  # be created. Format: organizations/`organization_id`
@@ -864,7 +875,7 @@ module Google
864
875
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
865
876
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
866
877
  # @raise [Google::Apis::AuthorizationError] Authorization is required
867
- def create_support_event_subscription(parent, support_event_subscription_object = nil, fields: nil, quota_user: nil, options: nil, &block)
878
+ def create_organization_support_event_subscription(parent, support_event_subscription_object = nil, fields: nil, quota_user: nil, options: nil, &block)
868
879
  command = make_simple_command(:post, 'v2beta/{+parent}/supportEventSubscriptions', options)
869
880
  command.request_representation = Google::Apis::CloudsupportV2beta::SupportEventSubscription::Representation
870
881
  command.request_object = support_event_subscription_object
@@ -876,7 +887,17 @@ module Google
876
887
  execute_or_queue_command(command, &block)
877
888
  end
878
889
 
879
- # Soft deletes a support event subscription.
890
+ # Soft deletes a support event subscription. EXAMPLES: cURL: ```shell
891
+ # support_event_subscription="organizations/123456789/supportEventSubscriptions/
892
+ # abcdef123456" curl \ --request DELETE \ --header "Authorization: Bearer $(
893
+ # gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/
894
+ # $support_event_subscription" ``` Python: ```python import googleapiclient.
895
+ # discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.
896
+ # build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"
897
+ # https://cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", )
898
+ # request = supportApiService).supportEventSubscriptions().delete( name="
899
+ # organizations/123456789/supportEventSubscriptions/abcdef123456" ) print(
900
+ # request.execute()) ```
880
901
  # @param [String] name
881
902
  # Required. The name of the support event subscription to delete. Format:
882
903
  # organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
@@ -897,7 +918,7 @@ module Google
897
918
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
898
919
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
899
920
  # @raise [Google::Apis::AuthorizationError] Authorization is required
900
- def delete_support_event_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
921
+ def delete_organization_support_event_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
901
922
  command = make_simple_command(:delete, 'v2beta/{+name}', options)
902
923
  command.response_representation = Google::Apis::CloudsupportV2beta::SupportEventSubscription::Representation
903
924
  command.response_class = Google::Apis::CloudsupportV2beta::SupportEventSubscription
@@ -907,7 +928,61 @@ module Google
907
928
  execute_or_queue_command(command, &block)
908
929
  end
909
930
 
910
- # Gets a support event subscription.
931
+ # Expunges a support event subscription. EXAMPLES: cURL: ```shell
932
+ # support_event_subscription="organizations/123456789/supportEventSubscriptions/
933
+ # abcdef123456" curl \ --request POST \ --header "Authorization: Bearer $(gcloud
934
+ # auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$
935
+ # support_event_subscription:expunge" ``` Python: ```python import
936
+ # googleapiclient.discovery api_version = "v2beta" supportApiService =
937
+ # googleapiclient.discovery.build( serviceName="cloudsupport", version=
938
+ # api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$
939
+ # discovery/rest?version=`api_version`", ) request = supportApiService.
940
+ # supportEventSubscriptions().expunge( name="organizations/123456789/
941
+ # supportEventSubscriptions/abcdef123456" ) print(request.execute()) ```
942
+ # @param [String] name
943
+ # Required. The name of the support event subscription to expunge. Format:
944
+ # organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
945
+ # @param [Google::Apis::CloudsupportV2beta::ExpungeSupportEventSubscriptionRequest] expunge_support_event_subscription_request_object
946
+ # @param [String] fields
947
+ # Selector specifying which fields to include in a partial response.
948
+ # @param [String] quota_user
949
+ # Available to use for quota purposes for server-side applications. Can be any
950
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
951
+ # @param [Google::Apis::RequestOptions] options
952
+ # Request-specific options
953
+ #
954
+ # @yield [result, err] Result & error if block supplied
955
+ # @yieldparam result [Google::Apis::CloudsupportV2beta::Empty] parsed result object
956
+ # @yieldparam err [StandardError] error object if request failed
957
+ #
958
+ # @return [Google::Apis::CloudsupportV2beta::Empty]
959
+ #
960
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
961
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
962
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
963
+ def expunge_support_event_subscription(name, expunge_support_event_subscription_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
964
+ command = make_simple_command(:post, 'v2beta/{+name}:expunge', options)
965
+ command.request_representation = Google::Apis::CloudsupportV2beta::ExpungeSupportEventSubscriptionRequest::Representation
966
+ command.request_object = expunge_support_event_subscription_request_object
967
+ command.response_representation = Google::Apis::CloudsupportV2beta::Empty::Representation
968
+ command.response_class = Google::Apis::CloudsupportV2beta::Empty
969
+ command.params['name'] = name unless name.nil?
970
+ command.query['fields'] = fields unless fields.nil?
971
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
972
+ execute_or_queue_command(command, &block)
973
+ end
974
+
975
+ # Gets a support event subscription. EXAMPLES: cURL: ```shell
976
+ # support_event_subscription="organizations/123456789/supportEventSubscriptions/
977
+ # abcdef123456" curl \ --header "Authorization: Bearer $(gcloud auth print-
978
+ # access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$
979
+ # support_event_subscription" ``` Python: ```python import googleapiclient.
980
+ # discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.
981
+ # build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"
982
+ # https://cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", )
983
+ # request = supportApiService.supportEventSubscriptions().get( name="
984
+ # organizations/123456789/supportEventSubscriptions/abcdef123456" ) print(
985
+ # request.execute()) ```
911
986
  # @param [String] name
912
987
  # Required. The name of the support event subscription to retrieve. Format:
913
988
  # organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
@@ -928,7 +1003,7 @@ module Google
928
1003
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
929
1004
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
930
1005
  # @raise [Google::Apis::AuthorizationError] Authorization is required
931
- def get_support_event_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
1006
+ def get_organization_support_event_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
932
1007
  command = make_simple_command(:get, 'v2beta/{+name}', options)
933
1008
  command.response_representation = Google::Apis::CloudsupportV2beta::SupportEventSubscription::Representation
934
1009
  command.response_class = Google::Apis::CloudsupportV2beta::SupportEventSubscription
@@ -938,7 +1013,15 @@ module Google
938
1013
  execute_or_queue_command(command, &block)
939
1014
  end
940
1015
 
941
- # Lists support event subscriptions.
1016
+ # Lists support event subscriptions. EXAMPLES: cURL: ```shell parent="
1017
+ # organizations/123456789" curl \ --header "Authorization: Bearer $(gcloud auth
1018
+ # print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$parent/
1019
+ # supportEventSubscriptions" ``` Python: ```python import googleapiclient.
1020
+ # discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.
1021
+ # build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"
1022
+ # https://cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", )
1023
+ # request = supportApiService.supportEventSubscriptions().list( parent="
1024
+ # organizations/123456789" ) print(request.execute()) ```
942
1025
  # @param [String] parent
943
1026
  # Required. The fully qualified name of the Cloud resource to list support event
944
1027
  # subscriptions under. Format: organizations/`organization_id`
@@ -974,7 +1057,7 @@ module Google
974
1057
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
975
1058
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
976
1059
  # @raise [Google::Apis::AuthorizationError] Authorization is required
977
- 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)
1060
+ 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)
978
1061
  command = make_simple_command(:get, 'v2beta/{+parent}/supportEventSubscriptions', options)
979
1062
  command.response_representation = Google::Apis::CloudsupportV2beta::ListSupportEventSubscriptionsResponse::Representation
980
1063
  command.response_class = Google::Apis::CloudsupportV2beta::ListSupportEventSubscriptionsResponse
@@ -988,7 +1071,19 @@ module Google
988
1071
  execute_or_queue_command(command, &block)
989
1072
  end
990
1073
 
991
- # Updates a support event subscription.
1074
+ # Updates a support event subscription. EXAMPLES: cURL: ```shell
1075
+ # support_event_subscription="organizations/123456789/supportEventSubscriptions/
1076
+ # abcdef123456" curl \ --request PATCH \ --header "Authorization: Bearer $(
1077
+ # gcloud auth print-access-token)" \ --header "Content-Type: application/json" \
1078
+ # --data '` "pub_sub_topic": "projects/my-project/topics/new-topic" `' \ "https:/
1079
+ # /cloudsupport.googleapis.com/v2beta/$support_event_subscription?updateMask=
1080
+ # pub_sub_topic" ``` Python: ```python import googleapiclient.discovery
1081
+ # api_version = "v2beta" supportApiService = googleapiclient.discovery.build(
1082
+ # serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://
1083
+ # cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", ) request =
1084
+ # supportApiService.supportEventSubscriptions().patch( name="organizations/
1085
+ # 123456789/supportEventSubscriptions/abcdef123456", body=` "pub_sub_topic": "
1086
+ # projects/my-project/topics/new-topic" `, ) print(request.execute()) ```
992
1087
  # @param [String] name
993
1088
  # Identifier. The resource name of the support event subscription.
994
1089
  # @param [Google::Apis::CloudsupportV2beta::SupportEventSubscription] support_event_subscription_object
@@ -1012,7 +1107,7 @@ module Google
1012
1107
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1013
1108
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1014
1109
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1015
- def patch_support_event_subscription(name, support_event_subscription_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1110
+ def patch_organization_support_event_subscription(name, support_event_subscription_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1016
1111
  command = make_simple_command(:patch, 'v2beta/{+name}', options)
1017
1112
  command.request_representation = Google::Apis::CloudsupportV2beta::SupportEventSubscription::Representation
1018
1113
  command.request_object = support_event_subscription_object
@@ -1025,7 +1120,17 @@ module Google
1025
1120
  execute_or_queue_command(command, &block)
1026
1121
  end
1027
1122
 
1028
- # Undeletes a support event subscription.
1123
+ # Undeletes a support event subscription. EXAMPLES: cURL: ```shell
1124
+ # support_event_subscription="organizations/123456789/supportEventSubscriptions/
1125
+ # abcdef123456" curl \ --request POST \ --header "Authorization: Bearer $(gcloud
1126
+ # auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$
1127
+ # support_event_subscription:undelete" ``` Python: ```python import
1128
+ # googleapiclient.discovery api_version = "v2beta" supportApiService =
1129
+ # googleapiclient.discovery.build( serviceName="cloudsupport", version=
1130
+ # api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$
1131
+ # discovery/rest?version=`api_version`", ) request = supportApiService.
1132
+ # supportEventSubscriptions().undelete( name="organizations/123456789/
1133
+ # supportEventSubscriptions/abcdef123456" ) print(request.execute()) ```
1029
1134
  # @param [String] name
1030
1135
  # Required. The name of the support event subscription to undelete. Format:
1031
1136
  # organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
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.53.0
4
+ version: 0.54.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.53.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2beta/v0.54.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: