google-apis-cloudsupport_v2 0.23.0 → 0.24.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: 107215200f6db7e7fc27840c9b6561987acc71c9c694ffa1a4aad71714ab11ef
|
|
4
|
+
data.tar.gz: 200655436a92f1f4ed36646329b05308b6b611f7144ea8eeead499af2274302e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e53039ecb0f073746f0b7b1df3d7eddde10a83cfdafb28d5fdfa561701d32239c50bbf96b7c877b1163c123108fea43834ca8ce370450faedfecee3de1eac67b
|
|
7
|
+
data.tar.gz: 2bbea357631992213abfef50b59cd0e15535689a12af320ef53ec8735172d2a4c7c8d65a9865a4a67f67f56e13df6449a636937eeba572883a4cbef07c99c835
|
data/CHANGELOG.md
CHANGED
|
@@ -871,6 +871,32 @@ module Google
|
|
|
871
871
|
end
|
|
872
872
|
end
|
|
873
873
|
|
|
874
|
+
# Response message for ListSupportEventSubscriptions.
|
|
875
|
+
class ListSupportEventSubscriptionsResponse
|
|
876
|
+
include Google::Apis::Core::Hashable
|
|
877
|
+
|
|
878
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
879
|
+
# field is omitted, there are no subsequent pages.
|
|
880
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
881
|
+
# @return [String]
|
|
882
|
+
attr_accessor :next_page_token
|
|
883
|
+
|
|
884
|
+
# The support event subscriptions.
|
|
885
|
+
# Corresponds to the JSON property `supportEventSubscriptions`
|
|
886
|
+
# @return [Array<Google::Apis::CloudsupportV2::SupportEventSubscription>]
|
|
887
|
+
attr_accessor :support_event_subscriptions
|
|
888
|
+
|
|
889
|
+
def initialize(**args)
|
|
890
|
+
update!(**args)
|
|
891
|
+
end
|
|
892
|
+
|
|
893
|
+
# Update properties of this object
|
|
894
|
+
def update!(**args)
|
|
895
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
896
|
+
@support_event_subscriptions = args[:support_event_subscriptions] if args.key?(:support_event_subscriptions)
|
|
897
|
+
end
|
|
898
|
+
end
|
|
899
|
+
|
|
874
900
|
# # gdata.* are outside protos with mising documentation
|
|
875
901
|
class Media
|
|
876
902
|
include Google::Apis::Core::Hashable
|
|
@@ -1166,6 +1192,82 @@ module Google
|
|
|
1166
1192
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1167
1193
|
end
|
|
1168
1194
|
end
|
|
1195
|
+
|
|
1196
|
+
# A support event subscription.
|
|
1197
|
+
class SupportEventSubscription
|
|
1198
|
+
include Google::Apis::Core::Hashable
|
|
1199
|
+
|
|
1200
|
+
# Output only. The time at which the subscription was created.
|
|
1201
|
+
# Corresponds to the JSON property `createTime`
|
|
1202
|
+
# @return [String]
|
|
1203
|
+
attr_accessor :create_time
|
|
1204
|
+
|
|
1205
|
+
# Output only. The time at which the subscription was deleted.
|
|
1206
|
+
# Corresponds to the JSON property `deleteTime`
|
|
1207
|
+
# @return [String]
|
|
1208
|
+
attr_accessor :delete_time
|
|
1209
|
+
|
|
1210
|
+
# Output only. Reason why subscription is failing. State of subscription must be
|
|
1211
|
+
# FAILING in order for this to have a value.
|
|
1212
|
+
# Corresponds to the JSON property `failureReason`
|
|
1213
|
+
# @return [String]
|
|
1214
|
+
attr_accessor :failure_reason
|
|
1215
|
+
|
|
1216
|
+
# Identifier. The resource name of the support event subscription.
|
|
1217
|
+
# Corresponds to the JSON property `name`
|
|
1218
|
+
# @return [String]
|
|
1219
|
+
attr_accessor :name
|
|
1220
|
+
|
|
1221
|
+
# Required. The name of the Pub/Sub topic to publish notifications to. Format:
|
|
1222
|
+
# projects/`project`/topics/`topic`
|
|
1223
|
+
# Corresponds to the JSON property `pubSubTopic`
|
|
1224
|
+
# @return [String]
|
|
1225
|
+
attr_accessor :pub_sub_topic
|
|
1226
|
+
|
|
1227
|
+
# Output only. The time at which the subscription will be purged.
|
|
1228
|
+
# Corresponds to the JSON property `purgeTime`
|
|
1229
|
+
# @return [String]
|
|
1230
|
+
attr_accessor :purge_time
|
|
1231
|
+
|
|
1232
|
+
# Output only. The state of the subscription.
|
|
1233
|
+
# Corresponds to the JSON property `state`
|
|
1234
|
+
# @return [String]
|
|
1235
|
+
attr_accessor :state
|
|
1236
|
+
|
|
1237
|
+
# Output only. The time at which the subscription was last updated.
|
|
1238
|
+
# Corresponds to the JSON property `updateTime`
|
|
1239
|
+
# @return [String]
|
|
1240
|
+
attr_accessor :update_time
|
|
1241
|
+
|
|
1242
|
+
def initialize(**args)
|
|
1243
|
+
update!(**args)
|
|
1244
|
+
end
|
|
1245
|
+
|
|
1246
|
+
# Update properties of this object
|
|
1247
|
+
def update!(**args)
|
|
1248
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1249
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
|
1250
|
+
@failure_reason = args[:failure_reason] if args.key?(:failure_reason)
|
|
1251
|
+
@name = args[:name] if args.key?(:name)
|
|
1252
|
+
@pub_sub_topic = args[:pub_sub_topic] if args.key?(:pub_sub_topic)
|
|
1253
|
+
@purge_time = args[:purge_time] if args.key?(:purge_time)
|
|
1254
|
+
@state = args[:state] if args.key?(:state)
|
|
1255
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1256
|
+
end
|
|
1257
|
+
end
|
|
1258
|
+
|
|
1259
|
+
# Request message for UndeleteSupportEventSubscription.
|
|
1260
|
+
class UndeleteSupportEventSubscriptionRequest
|
|
1261
|
+
include Google::Apis::Core::Hashable
|
|
1262
|
+
|
|
1263
|
+
def initialize(**args)
|
|
1264
|
+
update!(**args)
|
|
1265
|
+
end
|
|
1266
|
+
|
|
1267
|
+
# Update properties of this object
|
|
1268
|
+
def update!(**args)
|
|
1269
|
+
end
|
|
1270
|
+
end
|
|
1169
1271
|
end
|
|
1170
1272
|
end
|
|
1171
1273
|
end
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.24.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 = "
|
|
25
|
+
REVISION = "20260623"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -148,6 +148,12 @@ module Google
|
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
|
149
149
|
end
|
|
150
150
|
|
|
151
|
+
class ListSupportEventSubscriptionsResponse
|
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
+
end
|
|
156
|
+
|
|
151
157
|
class Media
|
|
152
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
159
|
|
|
@@ -172,6 +178,18 @@ module Google
|
|
|
172
178
|
include Google::Apis::Core::JsonObjectSupport
|
|
173
179
|
end
|
|
174
180
|
|
|
181
|
+
class SupportEventSubscription
|
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
+
|
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
class UndeleteSupportEventSubscriptionRequest
|
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
|
+
|
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
191
|
+
end
|
|
192
|
+
|
|
175
193
|
class Actor
|
|
176
194
|
# @private
|
|
177
195
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -397,6 +415,15 @@ module Google
|
|
|
397
415
|
end
|
|
398
416
|
end
|
|
399
417
|
|
|
418
|
+
class ListSupportEventSubscriptionsResponse
|
|
419
|
+
# @private
|
|
420
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
421
|
+
property :next_page_token, as: 'nextPageToken'
|
|
422
|
+
collection :support_event_subscriptions, as: 'supportEventSubscriptions', class: Google::Apis::CloudsupportV2::SupportEventSubscription, decorator: Google::Apis::CloudsupportV2::SupportEventSubscription::Representation
|
|
423
|
+
|
|
424
|
+
end
|
|
425
|
+
end
|
|
426
|
+
|
|
400
427
|
class Media
|
|
401
428
|
# @private
|
|
402
429
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -470,6 +497,26 @@ module Google
|
|
|
470
497
|
property :next_page_token, as: 'nextPageToken'
|
|
471
498
|
end
|
|
472
499
|
end
|
|
500
|
+
|
|
501
|
+
class SupportEventSubscription
|
|
502
|
+
# @private
|
|
503
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
504
|
+
property :create_time, as: 'createTime'
|
|
505
|
+
property :delete_time, as: 'deleteTime'
|
|
506
|
+
property :failure_reason, as: 'failureReason'
|
|
507
|
+
property :name, as: 'name'
|
|
508
|
+
property :pub_sub_topic, as: 'pubSubTopic'
|
|
509
|
+
property :purge_time, as: 'purgeTime'
|
|
510
|
+
property :state, as: 'state'
|
|
511
|
+
property :update_time, as: 'updateTime'
|
|
512
|
+
end
|
|
513
|
+
end
|
|
514
|
+
|
|
515
|
+
class UndeleteSupportEventSubscriptionRequest
|
|
516
|
+
# @private
|
|
517
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
518
|
+
end
|
|
519
|
+
end
|
|
473
520
|
end
|
|
474
521
|
end
|
|
475
522
|
end
|
|
@@ -789,6 +789,223 @@ module Google
|
|
|
789
789
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
790
790
|
execute_or_queue_command(command, &block)
|
|
791
791
|
end
|
|
792
|
+
|
|
793
|
+
# Creates a support event subscription for an organization.
|
|
794
|
+
# @param [String] parent
|
|
795
|
+
# Required. The parent resource name where the support event subscription will
|
|
796
|
+
# be created. Format: organizations/`organization_id`
|
|
797
|
+
# @param [Google::Apis::CloudsupportV2::SupportEventSubscription] support_event_subscription_object
|
|
798
|
+
# @param [String] fields
|
|
799
|
+
# Selector specifying which fields to include in a partial response.
|
|
800
|
+
# @param [String] quota_user
|
|
801
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
802
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
803
|
+
# @param [Google::Apis::RequestOptions] options
|
|
804
|
+
# Request-specific options
|
|
805
|
+
#
|
|
806
|
+
# @yield [result, err] Result & error if block supplied
|
|
807
|
+
# @yieldparam result [Google::Apis::CloudsupportV2::SupportEventSubscription] parsed result object
|
|
808
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
809
|
+
#
|
|
810
|
+
# @return [Google::Apis::CloudsupportV2::SupportEventSubscription]
|
|
811
|
+
#
|
|
812
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
813
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
814
|
+
# @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)
|
|
816
|
+
command = make_simple_command(:post, 'v2/{+parent}/supportEventSubscriptions', options)
|
|
817
|
+
command.request_representation = Google::Apis::CloudsupportV2::SupportEventSubscription::Representation
|
|
818
|
+
command.request_object = support_event_subscription_object
|
|
819
|
+
command.response_representation = Google::Apis::CloudsupportV2::SupportEventSubscription::Representation
|
|
820
|
+
command.response_class = Google::Apis::CloudsupportV2::SupportEventSubscription
|
|
821
|
+
command.params['parent'] = parent unless parent.nil?
|
|
822
|
+
command.query['fields'] = fields unless fields.nil?
|
|
823
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
824
|
+
execute_or_queue_command(command, &block)
|
|
825
|
+
end
|
|
826
|
+
|
|
827
|
+
# Soft deletes a support event subscription.
|
|
828
|
+
# @param [String] name
|
|
829
|
+
# Required. The name of the support event subscription to delete. Format:
|
|
830
|
+
# organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
|
|
831
|
+
# @param [String] fields
|
|
832
|
+
# Selector specifying which fields to include in a partial response.
|
|
833
|
+
# @param [String] quota_user
|
|
834
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
835
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
836
|
+
# @param [Google::Apis::RequestOptions] options
|
|
837
|
+
# Request-specific options
|
|
838
|
+
#
|
|
839
|
+
# @yield [result, err] Result & error if block supplied
|
|
840
|
+
# @yieldparam result [Google::Apis::CloudsupportV2::SupportEventSubscription] parsed result object
|
|
841
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
842
|
+
#
|
|
843
|
+
# @return [Google::Apis::CloudsupportV2::SupportEventSubscription]
|
|
844
|
+
#
|
|
845
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
846
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
847
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
848
|
+
def delete_support_event_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
849
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
|
850
|
+
command.response_representation = Google::Apis::CloudsupportV2::SupportEventSubscription::Representation
|
|
851
|
+
command.response_class = Google::Apis::CloudsupportV2::SupportEventSubscription
|
|
852
|
+
command.params['name'] = name unless name.nil?
|
|
853
|
+
command.query['fields'] = fields unless fields.nil?
|
|
854
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
855
|
+
execute_or_queue_command(command, &block)
|
|
856
|
+
end
|
|
857
|
+
|
|
858
|
+
# Gets a support event subscription.
|
|
859
|
+
# @param [String] name
|
|
860
|
+
# Required. The name of the support event subscription to retrieve. Format:
|
|
861
|
+
# organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
|
|
862
|
+
# @param [String] fields
|
|
863
|
+
# Selector specifying which fields to include in a partial response.
|
|
864
|
+
# @param [String] quota_user
|
|
865
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
866
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
867
|
+
# @param [Google::Apis::RequestOptions] options
|
|
868
|
+
# Request-specific options
|
|
869
|
+
#
|
|
870
|
+
# @yield [result, err] Result & error if block supplied
|
|
871
|
+
# @yieldparam result [Google::Apis::CloudsupportV2::SupportEventSubscription] parsed result object
|
|
872
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
873
|
+
#
|
|
874
|
+
# @return [Google::Apis::CloudsupportV2::SupportEventSubscription]
|
|
875
|
+
#
|
|
876
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
877
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
878
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
879
|
+
def get_support_event_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
880
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
|
881
|
+
command.response_representation = Google::Apis::CloudsupportV2::SupportEventSubscription::Representation
|
|
882
|
+
command.response_class = Google::Apis::CloudsupportV2::SupportEventSubscription
|
|
883
|
+
command.params['name'] = name unless name.nil?
|
|
884
|
+
command.query['fields'] = fields unless fields.nil?
|
|
885
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
886
|
+
execute_or_queue_command(command, &block)
|
|
887
|
+
end
|
|
888
|
+
|
|
889
|
+
# Lists support event subscriptions.
|
|
890
|
+
# @param [String] parent
|
|
891
|
+
# Required. The fully qualified name of the Cloud resource to list support event
|
|
892
|
+
# subscriptions under. Format: organizations/`organization_id`
|
|
893
|
+
# @param [String] filter
|
|
894
|
+
# Optional. Filter expression based on AIP-160. Supported fields: -
|
|
895
|
+
# pub_sub_topic - state Examples: - `pub_sub_topic="projects/example-project/
|
|
896
|
+
# topics/example-topic"` - `state=WORKING` - `pub_sub_topic="projects/example-
|
|
897
|
+
# project/topics/example-topic" AND state=WORKING`
|
|
898
|
+
# @param [Fixnum] page_size
|
|
899
|
+
# Optional. The maximum number of support event subscriptions to return.
|
|
900
|
+
# @param [String] page_token
|
|
901
|
+
# Optional. A token identifying the page of results to return. If unspecified,
|
|
902
|
+
# the first page is retrieved. When paginating, all other parameters provided to
|
|
903
|
+
# `ListSupportEventSubscriptions` must match the call that provided the page
|
|
904
|
+
# token.
|
|
905
|
+
# @param [Boolean] show_deleted
|
|
906
|
+
# Optional. Whether to show deleted subscriptions. By default, deleted
|
|
907
|
+
# subscriptions are not returned.
|
|
908
|
+
# @param [String] fields
|
|
909
|
+
# Selector specifying which fields to include in a partial response.
|
|
910
|
+
# @param [String] quota_user
|
|
911
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
912
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
913
|
+
# @param [Google::Apis::RequestOptions] options
|
|
914
|
+
# Request-specific options
|
|
915
|
+
#
|
|
916
|
+
# @yield [result, err] Result & error if block supplied
|
|
917
|
+
# @yieldparam result [Google::Apis::CloudsupportV2::ListSupportEventSubscriptionsResponse] parsed result object
|
|
918
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
919
|
+
#
|
|
920
|
+
# @return [Google::Apis::CloudsupportV2::ListSupportEventSubscriptionsResponse]
|
|
921
|
+
#
|
|
922
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
923
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
924
|
+
# @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)
|
|
926
|
+
command = make_simple_command(:get, 'v2/{+parent}/supportEventSubscriptions', options)
|
|
927
|
+
command.response_representation = Google::Apis::CloudsupportV2::ListSupportEventSubscriptionsResponse::Representation
|
|
928
|
+
command.response_class = Google::Apis::CloudsupportV2::ListSupportEventSubscriptionsResponse
|
|
929
|
+
command.params['parent'] = parent unless parent.nil?
|
|
930
|
+
command.query['filter'] = filter unless filter.nil?
|
|
931
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
932
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
933
|
+
command.query['showDeleted'] = show_deleted unless show_deleted.nil?
|
|
934
|
+
command.query['fields'] = fields unless fields.nil?
|
|
935
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
936
|
+
execute_or_queue_command(command, &block)
|
|
937
|
+
end
|
|
938
|
+
|
|
939
|
+
# Updates a support event subscription.
|
|
940
|
+
# @param [String] name
|
|
941
|
+
# Identifier. The resource name of the support event subscription.
|
|
942
|
+
# @param [Google::Apis::CloudsupportV2::SupportEventSubscription] support_event_subscription_object
|
|
943
|
+
# @param [String] update_mask
|
|
944
|
+
# Optional. The list of fields to update. The only supported value is
|
|
945
|
+
# pub_sub_topic.
|
|
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::CloudsupportV2::SupportEventSubscription] parsed result object
|
|
956
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
957
|
+
#
|
|
958
|
+
# @return [Google::Apis::CloudsupportV2::SupportEventSubscription]
|
|
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 patch_support_event_subscription(name, support_event_subscription_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
964
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
|
965
|
+
command.request_representation = Google::Apis::CloudsupportV2::SupportEventSubscription::Representation
|
|
966
|
+
command.request_object = support_event_subscription_object
|
|
967
|
+
command.response_representation = Google::Apis::CloudsupportV2::SupportEventSubscription::Representation
|
|
968
|
+
command.response_class = Google::Apis::CloudsupportV2::SupportEventSubscription
|
|
969
|
+
command.params['name'] = name unless name.nil?
|
|
970
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
971
|
+
command.query['fields'] = fields unless fields.nil?
|
|
972
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
973
|
+
execute_or_queue_command(command, &block)
|
|
974
|
+
end
|
|
975
|
+
|
|
976
|
+
# Undeletes a support event subscription.
|
|
977
|
+
# @param [String] name
|
|
978
|
+
# Required. The name of the support event subscription to undelete. Format:
|
|
979
|
+
# organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
|
|
980
|
+
# @param [Google::Apis::CloudsupportV2::UndeleteSupportEventSubscriptionRequest] undelete_support_event_subscription_request_object
|
|
981
|
+
# @param [String] fields
|
|
982
|
+
# Selector specifying which fields to include in a partial response.
|
|
983
|
+
# @param [String] quota_user
|
|
984
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
985
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
986
|
+
# @param [Google::Apis::RequestOptions] options
|
|
987
|
+
# Request-specific options
|
|
988
|
+
#
|
|
989
|
+
# @yield [result, err] Result & error if block supplied
|
|
990
|
+
# @yieldparam result [Google::Apis::CloudsupportV2::SupportEventSubscription] parsed result object
|
|
991
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
992
|
+
#
|
|
993
|
+
# @return [Google::Apis::CloudsupportV2::SupportEventSubscription]
|
|
994
|
+
#
|
|
995
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
996
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
997
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
998
|
+
def undelete_support_event_subscription(name, undelete_support_event_subscription_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
999
|
+
command = make_simple_command(:post, 'v2/{+name}:undelete', options)
|
|
1000
|
+
command.request_representation = Google::Apis::CloudsupportV2::UndeleteSupportEventSubscriptionRequest::Representation
|
|
1001
|
+
command.request_object = undelete_support_event_subscription_request_object
|
|
1002
|
+
command.response_representation = Google::Apis::CloudsupportV2::SupportEventSubscription::Representation
|
|
1003
|
+
command.response_class = Google::Apis::CloudsupportV2::SupportEventSubscription
|
|
1004
|
+
command.params['name'] = name unless name.nil?
|
|
1005
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1006
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1007
|
+
execute_or_queue_command(command, &block)
|
|
1008
|
+
end
|
|
792
1009
|
|
|
793
1010
|
protected
|
|
794
1011
|
|
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.
|
|
4
|
+
version: 0.24.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2/v0.24.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:
|