google-apis-cloudsupport_v2beta 0.51.0 → 0.53.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/cloudsupport_v2beta/classes.rb +102 -0
- data/lib/google/apis/cloudsupport_v2beta/gem_version.rb +3 -3
- data/lib/google/apis/cloudsupport_v2beta/representations.rb +47 -0
- data/lib/google/apis/cloudsupport_v2beta/service.rb +217 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ae9b413ff59747e26819702c419bef1893e35829eb8ed6c58bba093e7009780
|
|
4
|
+
data.tar.gz: ec5f66ded4507a0bbb52c967daeb324177af5713bf210e217b3851df2cabd8cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 974df5fafc93c644fb72a177bef60bea3123d79baf99db0b3b8a95a59c1c5d36071e37c8b0b3bb06c24d183416a0e4b5470a407c6738a23f3a91467b29aad00c
|
|
7
|
+
data.tar.gz: 4b989dc8bf087007ec9d96905b4c10a1c3071caa6bf8376b91cb76b63b5abf74b2deed715ace453bebb544e99c6e320c56213bad2df44b58a0a7805436341213
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-cloudsupport_v2beta
|
|
2
2
|
|
|
3
|
+
### v0.53.0 (2026-07-05)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260623
|
|
6
|
+
|
|
7
|
+
### v0.52.0 (2026-06-14)
|
|
8
|
+
|
|
9
|
+
* Regenerated using generator version 0.19.0
|
|
10
|
+
|
|
3
11
|
### v0.51.0 (2026-05-24)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260519
|
data/OVERVIEW.md
CHANGED
|
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/support/docs/apis) may prov
|
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
86
|
-
This library is supported on Ruby 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
|
89
89
|
|
|
@@ -993,6 +993,32 @@ module Google
|
|
|
993
993
|
end
|
|
994
994
|
end
|
|
995
995
|
|
|
996
|
+
# Response message for ListSupportEventSubscriptions.
|
|
997
|
+
class ListSupportEventSubscriptionsResponse
|
|
998
|
+
include Google::Apis::Core::Hashable
|
|
999
|
+
|
|
1000
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
1001
|
+
# field is omitted, there are no subsequent pages.
|
|
1002
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1003
|
+
# @return [String]
|
|
1004
|
+
attr_accessor :next_page_token
|
|
1005
|
+
|
|
1006
|
+
# The support event subscriptions.
|
|
1007
|
+
# Corresponds to the JSON property `supportEventSubscriptions`
|
|
1008
|
+
# @return [Array<Google::Apis::CloudsupportV2beta::SupportEventSubscription>]
|
|
1009
|
+
attr_accessor :support_event_subscriptions
|
|
1010
|
+
|
|
1011
|
+
def initialize(**args)
|
|
1012
|
+
update!(**args)
|
|
1013
|
+
end
|
|
1014
|
+
|
|
1015
|
+
# Update properties of this object
|
|
1016
|
+
def update!(**args)
|
|
1017
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1018
|
+
@support_event_subscriptions = args[:support_event_subscriptions] if args.key?(:support_event_subscriptions)
|
|
1019
|
+
end
|
|
1020
|
+
end
|
|
1021
|
+
|
|
996
1022
|
# # gdata.* are outside protos with mising documentation
|
|
997
1023
|
class Media
|
|
998
1024
|
include Google::Apis::Core::Hashable
|
|
@@ -1335,6 +1361,69 @@ module Google
|
|
|
1335
1361
|
end
|
|
1336
1362
|
end
|
|
1337
1363
|
|
|
1364
|
+
# A support event subscription.
|
|
1365
|
+
class SupportEventSubscription
|
|
1366
|
+
include Google::Apis::Core::Hashable
|
|
1367
|
+
|
|
1368
|
+
# Output only. The time at which the subscription was created.
|
|
1369
|
+
# Corresponds to the JSON property `createTime`
|
|
1370
|
+
# @return [String]
|
|
1371
|
+
attr_accessor :create_time
|
|
1372
|
+
|
|
1373
|
+
# Output only. The time at which the subscription was deleted.
|
|
1374
|
+
# Corresponds to the JSON property `deleteTime`
|
|
1375
|
+
# @return [String]
|
|
1376
|
+
attr_accessor :delete_time
|
|
1377
|
+
|
|
1378
|
+
# Output only. Reason why subscription is failing. State of subscription must be
|
|
1379
|
+
# FAILING in order for this to have a value.
|
|
1380
|
+
# Corresponds to the JSON property `failureReason`
|
|
1381
|
+
# @return [String]
|
|
1382
|
+
attr_accessor :failure_reason
|
|
1383
|
+
|
|
1384
|
+
# Identifier. The resource name of the support event subscription.
|
|
1385
|
+
# Corresponds to the JSON property `name`
|
|
1386
|
+
# @return [String]
|
|
1387
|
+
attr_accessor :name
|
|
1388
|
+
|
|
1389
|
+
# Required. The name of the Pub/Sub topic to publish notifications to. Format:
|
|
1390
|
+
# projects/`project`/topics/`topic`
|
|
1391
|
+
# Corresponds to the JSON property `pubSubTopic`
|
|
1392
|
+
# @return [String]
|
|
1393
|
+
attr_accessor :pub_sub_topic
|
|
1394
|
+
|
|
1395
|
+
# Output only. The time at which the subscription will be purged.
|
|
1396
|
+
# Corresponds to the JSON property `purgeTime`
|
|
1397
|
+
# @return [String]
|
|
1398
|
+
attr_accessor :purge_time
|
|
1399
|
+
|
|
1400
|
+
# Output only. The state of the subscription.
|
|
1401
|
+
# Corresponds to the JSON property `state`
|
|
1402
|
+
# @return [String]
|
|
1403
|
+
attr_accessor :state
|
|
1404
|
+
|
|
1405
|
+
# Output only. The time at which the subscription was last updated.
|
|
1406
|
+
# Corresponds to the JSON property `updateTime`
|
|
1407
|
+
# @return [String]
|
|
1408
|
+
attr_accessor :update_time
|
|
1409
|
+
|
|
1410
|
+
def initialize(**args)
|
|
1411
|
+
update!(**args)
|
|
1412
|
+
end
|
|
1413
|
+
|
|
1414
|
+
# Update properties of this object
|
|
1415
|
+
def update!(**args)
|
|
1416
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1417
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
|
1418
|
+
@failure_reason = args[:failure_reason] if args.key?(:failure_reason)
|
|
1419
|
+
@name = args[:name] if args.key?(:name)
|
|
1420
|
+
@pub_sub_topic = args[:pub_sub_topic] if args.key?(:pub_sub_topic)
|
|
1421
|
+
@purge_time = args[:purge_time] if args.key?(:purge_time)
|
|
1422
|
+
@state = args[:state] if args.key?(:state)
|
|
1423
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1424
|
+
end
|
|
1425
|
+
end
|
|
1426
|
+
|
|
1338
1427
|
# Stores text attached to a support object.
|
|
1339
1428
|
class TextContent
|
|
1340
1429
|
include Google::Apis::Core::Hashable
|
|
@@ -1353,6 +1442,19 @@ module Google
|
|
|
1353
1442
|
@plain_text = args[:plain_text] if args.key?(:plain_text)
|
|
1354
1443
|
end
|
|
1355
1444
|
end
|
|
1445
|
+
|
|
1446
|
+
# Request message for UndeleteSupportEventSubscription.
|
|
1447
|
+
class UndeleteSupportEventSubscriptionRequest
|
|
1448
|
+
include Google::Apis::Core::Hashable
|
|
1449
|
+
|
|
1450
|
+
def initialize(**args)
|
|
1451
|
+
update!(**args)
|
|
1452
|
+
end
|
|
1453
|
+
|
|
1454
|
+
# Update properties of this object
|
|
1455
|
+
def update!(**args)
|
|
1456
|
+
end
|
|
1457
|
+
end
|
|
1356
1458
|
end
|
|
1357
1459
|
end
|
|
1358
1460
|
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.
|
|
19
|
+
GEM_VERSION = "0.53.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
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
|
|
@@ -160,6 +160,12 @@ module Google
|
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
|
161
161
|
end
|
|
162
162
|
|
|
163
|
+
class ListSupportEventSubscriptionsResponse
|
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
+
|
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
167
|
+
end
|
|
168
|
+
|
|
163
169
|
class Media
|
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
171
|
|
|
@@ -196,12 +202,24 @@ module Google
|
|
|
196
202
|
include Google::Apis::Core::JsonObjectSupport
|
|
197
203
|
end
|
|
198
204
|
|
|
205
|
+
class SupportEventSubscription
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
+
end
|
|
210
|
+
|
|
199
211
|
class TextContent
|
|
200
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
213
|
|
|
202
214
|
include Google::Apis::Core::JsonObjectSupport
|
|
203
215
|
end
|
|
204
216
|
|
|
217
|
+
class UndeleteSupportEventSubscriptionRequest
|
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
|
+
|
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
221
|
+
end
|
|
222
|
+
|
|
205
223
|
class Actor
|
|
206
224
|
# @private
|
|
207
225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -460,6 +478,15 @@ module Google
|
|
|
460
478
|
end
|
|
461
479
|
end
|
|
462
480
|
|
|
481
|
+
class ListSupportEventSubscriptionsResponse
|
|
482
|
+
# @private
|
|
483
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
484
|
+
property :next_page_token, as: 'nextPageToken'
|
|
485
|
+
collection :support_event_subscriptions, as: 'supportEventSubscriptions', class: Google::Apis::CloudsupportV2beta::SupportEventSubscription, decorator: Google::Apis::CloudsupportV2beta::SupportEventSubscription::Representation
|
|
486
|
+
|
|
487
|
+
end
|
|
488
|
+
end
|
|
489
|
+
|
|
463
490
|
class Media
|
|
464
491
|
# @private
|
|
465
492
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -550,12 +577,32 @@ module Google
|
|
|
550
577
|
end
|
|
551
578
|
end
|
|
552
579
|
|
|
580
|
+
class SupportEventSubscription
|
|
581
|
+
# @private
|
|
582
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
583
|
+
property :create_time, as: 'createTime'
|
|
584
|
+
property :delete_time, as: 'deleteTime'
|
|
585
|
+
property :failure_reason, as: 'failureReason'
|
|
586
|
+
property :name, as: 'name'
|
|
587
|
+
property :pub_sub_topic, as: 'pubSubTopic'
|
|
588
|
+
property :purge_time, as: 'purgeTime'
|
|
589
|
+
property :state, as: 'state'
|
|
590
|
+
property :update_time, as: 'updateTime'
|
|
591
|
+
end
|
|
592
|
+
end
|
|
593
|
+
|
|
553
594
|
class TextContent
|
|
554
595
|
# @private
|
|
555
596
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
556
597
|
property :plain_text, as: 'plainText'
|
|
557
598
|
end
|
|
558
599
|
end
|
|
600
|
+
|
|
601
|
+
class UndeleteSupportEventSubscriptionRequest
|
|
602
|
+
# @private
|
|
603
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
604
|
+
end
|
|
605
|
+
end
|
|
559
606
|
end
|
|
560
607
|
end
|
|
561
608
|
end
|
|
@@ -841,6 +841,223 @@ module Google
|
|
|
841
841
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
842
842
|
execute_or_queue_command(command, &block)
|
|
843
843
|
end
|
|
844
|
+
|
|
845
|
+
# Creates a support event subscription for an organization.
|
|
846
|
+
# @param [String] parent
|
|
847
|
+
# Required. The parent resource name where the support event subscription will
|
|
848
|
+
# be created. Format: organizations/`organization_id`
|
|
849
|
+
# @param [Google::Apis::CloudsupportV2beta::SupportEventSubscription] support_event_subscription_object
|
|
850
|
+
# @param [String] fields
|
|
851
|
+
# Selector specifying which fields to include in a partial response.
|
|
852
|
+
# @param [String] quota_user
|
|
853
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
854
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
855
|
+
# @param [Google::Apis::RequestOptions] options
|
|
856
|
+
# Request-specific options
|
|
857
|
+
#
|
|
858
|
+
# @yield [result, err] Result & error if block supplied
|
|
859
|
+
# @yieldparam result [Google::Apis::CloudsupportV2beta::SupportEventSubscription] parsed result object
|
|
860
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
861
|
+
#
|
|
862
|
+
# @return [Google::Apis::CloudsupportV2beta::SupportEventSubscription]
|
|
863
|
+
#
|
|
864
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
865
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
866
|
+
# @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)
|
|
868
|
+
command = make_simple_command(:post, 'v2beta/{+parent}/supportEventSubscriptions', options)
|
|
869
|
+
command.request_representation = Google::Apis::CloudsupportV2beta::SupportEventSubscription::Representation
|
|
870
|
+
command.request_object = support_event_subscription_object
|
|
871
|
+
command.response_representation = Google::Apis::CloudsupportV2beta::SupportEventSubscription::Representation
|
|
872
|
+
command.response_class = Google::Apis::CloudsupportV2beta::SupportEventSubscription
|
|
873
|
+
command.params['parent'] = parent unless parent.nil?
|
|
874
|
+
command.query['fields'] = fields unless fields.nil?
|
|
875
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
876
|
+
execute_or_queue_command(command, &block)
|
|
877
|
+
end
|
|
878
|
+
|
|
879
|
+
# Soft deletes a support event subscription.
|
|
880
|
+
# @param [String] name
|
|
881
|
+
# Required. The name of the support event subscription to delete. Format:
|
|
882
|
+
# organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
|
|
883
|
+
# @param [String] fields
|
|
884
|
+
# Selector specifying which fields to include in a partial response.
|
|
885
|
+
# @param [String] quota_user
|
|
886
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
887
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
888
|
+
# @param [Google::Apis::RequestOptions] options
|
|
889
|
+
# Request-specific options
|
|
890
|
+
#
|
|
891
|
+
# @yield [result, err] Result & error if block supplied
|
|
892
|
+
# @yieldparam result [Google::Apis::CloudsupportV2beta::SupportEventSubscription] parsed result object
|
|
893
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
894
|
+
#
|
|
895
|
+
# @return [Google::Apis::CloudsupportV2beta::SupportEventSubscription]
|
|
896
|
+
#
|
|
897
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
898
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
899
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
900
|
+
def delete_support_event_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
901
|
+
command = make_simple_command(:delete, 'v2beta/{+name}', options)
|
|
902
|
+
command.response_representation = Google::Apis::CloudsupportV2beta::SupportEventSubscription::Representation
|
|
903
|
+
command.response_class = Google::Apis::CloudsupportV2beta::SupportEventSubscription
|
|
904
|
+
command.params['name'] = name unless name.nil?
|
|
905
|
+
command.query['fields'] = fields unless fields.nil?
|
|
906
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
907
|
+
execute_or_queue_command(command, &block)
|
|
908
|
+
end
|
|
909
|
+
|
|
910
|
+
# Gets a support event subscription.
|
|
911
|
+
# @param [String] name
|
|
912
|
+
# Required. The name of the support event subscription to retrieve. Format:
|
|
913
|
+
# organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
|
|
914
|
+
# @param [String] fields
|
|
915
|
+
# Selector specifying which fields to include in a partial response.
|
|
916
|
+
# @param [String] quota_user
|
|
917
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
918
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
919
|
+
# @param [Google::Apis::RequestOptions] options
|
|
920
|
+
# Request-specific options
|
|
921
|
+
#
|
|
922
|
+
# @yield [result, err] Result & error if block supplied
|
|
923
|
+
# @yieldparam result [Google::Apis::CloudsupportV2beta::SupportEventSubscription] parsed result object
|
|
924
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
925
|
+
#
|
|
926
|
+
# @return [Google::Apis::CloudsupportV2beta::SupportEventSubscription]
|
|
927
|
+
#
|
|
928
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
929
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
930
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
931
|
+
def get_support_event_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
932
|
+
command = make_simple_command(:get, 'v2beta/{+name}', options)
|
|
933
|
+
command.response_representation = Google::Apis::CloudsupportV2beta::SupportEventSubscription::Representation
|
|
934
|
+
command.response_class = Google::Apis::CloudsupportV2beta::SupportEventSubscription
|
|
935
|
+
command.params['name'] = name unless name.nil?
|
|
936
|
+
command.query['fields'] = fields unless fields.nil?
|
|
937
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
938
|
+
execute_or_queue_command(command, &block)
|
|
939
|
+
end
|
|
940
|
+
|
|
941
|
+
# Lists support event subscriptions.
|
|
942
|
+
# @param [String] parent
|
|
943
|
+
# Required. The fully qualified name of the Cloud resource to list support event
|
|
944
|
+
# subscriptions under. Format: organizations/`organization_id`
|
|
945
|
+
# @param [String] filter
|
|
946
|
+
# Optional. Filter expression based on AIP-160. Supported fields: -
|
|
947
|
+
# pub_sub_topic - state Examples: - `pub_sub_topic="projects/example-project/
|
|
948
|
+
# topics/example-topic"` - `state=WORKING` - `pub_sub_topic="projects/example-
|
|
949
|
+
# project/topics/example-topic" AND state=WORKING`
|
|
950
|
+
# @param [Fixnum] page_size
|
|
951
|
+
# Optional. The maximum number of support event subscriptions to return.
|
|
952
|
+
# @param [String] page_token
|
|
953
|
+
# Optional. A token identifying the page of results to return. If unspecified,
|
|
954
|
+
# the first page is retrieved. When paginating, all other parameters provided to
|
|
955
|
+
# `ListSupportEventSubscriptions` must match the call that provided the page
|
|
956
|
+
# token.
|
|
957
|
+
# @param [Boolean] show_deleted
|
|
958
|
+
# Optional. Whether to show deleted subscriptions. By default, deleted
|
|
959
|
+
# subscriptions are not returned.
|
|
960
|
+
# @param [String] fields
|
|
961
|
+
# Selector specifying which fields to include in a partial response.
|
|
962
|
+
# @param [String] quota_user
|
|
963
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
964
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
965
|
+
# @param [Google::Apis::RequestOptions] options
|
|
966
|
+
# Request-specific options
|
|
967
|
+
#
|
|
968
|
+
# @yield [result, err] Result & error if block supplied
|
|
969
|
+
# @yieldparam result [Google::Apis::CloudsupportV2beta::ListSupportEventSubscriptionsResponse] parsed result object
|
|
970
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
971
|
+
#
|
|
972
|
+
# @return [Google::Apis::CloudsupportV2beta::ListSupportEventSubscriptionsResponse]
|
|
973
|
+
#
|
|
974
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
975
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
976
|
+
# @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)
|
|
978
|
+
command = make_simple_command(:get, 'v2beta/{+parent}/supportEventSubscriptions', options)
|
|
979
|
+
command.response_representation = Google::Apis::CloudsupportV2beta::ListSupportEventSubscriptionsResponse::Representation
|
|
980
|
+
command.response_class = Google::Apis::CloudsupportV2beta::ListSupportEventSubscriptionsResponse
|
|
981
|
+
command.params['parent'] = parent unless parent.nil?
|
|
982
|
+
command.query['filter'] = filter unless filter.nil?
|
|
983
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
984
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
985
|
+
command.query['showDeleted'] = show_deleted unless show_deleted.nil?
|
|
986
|
+
command.query['fields'] = fields unless fields.nil?
|
|
987
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
988
|
+
execute_or_queue_command(command, &block)
|
|
989
|
+
end
|
|
990
|
+
|
|
991
|
+
# Updates a support event subscription.
|
|
992
|
+
# @param [String] name
|
|
993
|
+
# Identifier. The resource name of the support event subscription.
|
|
994
|
+
# @param [Google::Apis::CloudsupportV2beta::SupportEventSubscription] support_event_subscription_object
|
|
995
|
+
# @param [String] update_mask
|
|
996
|
+
# Optional. The list of fields to update. The only supported value is
|
|
997
|
+
# pub_sub_topic.
|
|
998
|
+
# @param [String] fields
|
|
999
|
+
# Selector specifying which fields to include in a partial response.
|
|
1000
|
+
# @param [String] quota_user
|
|
1001
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1002
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1003
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1004
|
+
# Request-specific options
|
|
1005
|
+
#
|
|
1006
|
+
# @yield [result, err] Result & error if block supplied
|
|
1007
|
+
# @yieldparam result [Google::Apis::CloudsupportV2beta::SupportEventSubscription] parsed result object
|
|
1008
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1009
|
+
#
|
|
1010
|
+
# @return [Google::Apis::CloudsupportV2beta::SupportEventSubscription]
|
|
1011
|
+
#
|
|
1012
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1013
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1014
|
+
# @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)
|
|
1016
|
+
command = make_simple_command(:patch, 'v2beta/{+name}', options)
|
|
1017
|
+
command.request_representation = Google::Apis::CloudsupportV2beta::SupportEventSubscription::Representation
|
|
1018
|
+
command.request_object = support_event_subscription_object
|
|
1019
|
+
command.response_representation = Google::Apis::CloudsupportV2beta::SupportEventSubscription::Representation
|
|
1020
|
+
command.response_class = Google::Apis::CloudsupportV2beta::SupportEventSubscription
|
|
1021
|
+
command.params['name'] = name unless name.nil?
|
|
1022
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1023
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1024
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1025
|
+
execute_or_queue_command(command, &block)
|
|
1026
|
+
end
|
|
1027
|
+
|
|
1028
|
+
# Undeletes a support event subscription.
|
|
1029
|
+
# @param [String] name
|
|
1030
|
+
# Required. The name of the support event subscription to undelete. Format:
|
|
1031
|
+
# organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
|
|
1032
|
+
# @param [Google::Apis::CloudsupportV2beta::UndeleteSupportEventSubscriptionRequest] undelete_support_event_subscription_request_object
|
|
1033
|
+
# @param [String] fields
|
|
1034
|
+
# Selector specifying which fields to include in a partial response.
|
|
1035
|
+
# @param [String] quota_user
|
|
1036
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1037
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1038
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1039
|
+
# Request-specific options
|
|
1040
|
+
#
|
|
1041
|
+
# @yield [result, err] Result & error if block supplied
|
|
1042
|
+
# @yieldparam result [Google::Apis::CloudsupportV2beta::SupportEventSubscription] parsed result object
|
|
1043
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1044
|
+
#
|
|
1045
|
+
# @return [Google::Apis::CloudsupportV2beta::SupportEventSubscription]
|
|
1046
|
+
#
|
|
1047
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1048
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1049
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1050
|
+
def undelete_support_event_subscription(name, undelete_support_event_subscription_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1051
|
+
command = make_simple_command(:post, 'v2beta/{+name}:undelete', options)
|
|
1052
|
+
command.request_representation = Google::Apis::CloudsupportV2beta::UndeleteSupportEventSubscriptionRequest::Representation
|
|
1053
|
+
command.request_object = undelete_support_event_subscription_request_object
|
|
1054
|
+
command.response_representation = Google::Apis::CloudsupportV2beta::SupportEventSubscription::Representation
|
|
1055
|
+
command.response_class = Google::Apis::CloudsupportV2beta::SupportEventSubscription
|
|
1056
|
+
command.params['name'] = name unless name.nil?
|
|
1057
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1058
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1059
|
+
execute_or_queue_command(command, &block)
|
|
1060
|
+
end
|
|
844
1061
|
|
|
845
1062
|
protected
|
|
846
1063
|
|
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.53.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.53.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:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|