Skip to content

Commit 8ea7b94

Browse files
feat: Automated regeneration of cloudsupport v2 client (#27231)
Auto-created at 2026-07-05 10:33:34 +0000 using the toys pull request generator.
1 parent 1a218dd commit 8ea7b94

6 files changed

Lines changed: 403 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95652,6 +95652,10 @@
9565295652
"/cloudsupport:v2/ListCommentsResponse/comments": comments
9565395653
"/cloudsupport:v2/ListCommentsResponse/comments/comment": comment
9565495654
"/cloudsupport:v2/ListCommentsResponse/nextPageToken": next_page_token
95655+
"/cloudsupport:v2/ListSupportEventSubscriptionsResponse": list_support_event_subscriptions_response
95656+
"/cloudsupport:v2/ListSupportEventSubscriptionsResponse/nextPageToken": next_page_token
95657+
"/cloudsupport:v2/ListSupportEventSubscriptionsResponse/supportEventSubscriptions": support_event_subscriptions
95658+
"/cloudsupport:v2/ListSupportEventSubscriptionsResponse/supportEventSubscriptions/support_event_subscription": support_event_subscription
9565595659
"/cloudsupport:v2/Media": media
9565695660
"/cloudsupport:v2/Media/algorithm": algorithm
9565795661
"/cloudsupport:v2/Media/bigstoreObjectRef": bigstore_object_ref
@@ -95697,6 +95701,16 @@
9569795701
"/cloudsupport:v2/SearchCasesResponse/cases": cases
9569895702
"/cloudsupport:v2/SearchCasesResponse/cases/case": case
9569995703
"/cloudsupport:v2/SearchCasesResponse/nextPageToken": next_page_token
95704+
"/cloudsupport:v2/SupportEventSubscription": support_event_subscription
95705+
"/cloudsupport:v2/SupportEventSubscription/createTime": create_time
95706+
"/cloudsupport:v2/SupportEventSubscription/deleteTime": delete_time
95707+
"/cloudsupport:v2/SupportEventSubscription/failureReason": failure_reason
95708+
"/cloudsupport:v2/SupportEventSubscription/name": name
95709+
"/cloudsupport:v2/SupportEventSubscription/pubSubTopic": pub_sub_topic
95710+
"/cloudsupport:v2/SupportEventSubscription/purgeTime": purge_time
95711+
"/cloudsupport:v2/SupportEventSubscription/state": state
95712+
"/cloudsupport:v2/SupportEventSubscription/updateTime": update_time
95713+
"/cloudsupport:v2/UndeleteSupportEventSubscriptionRequest": undelete_support_event_subscription_request
9570095714
"/cloudsupport:v2/WorkflowOperationMetadata": workflow_operation_metadata
9570195715
"/cloudsupport:v2/WorkflowOperationMetadata/namespace": namespace
9570295716
"/cloudsupport:v2/WorkflowOperationMetadata/operationAction": operation_action
@@ -95744,6 +95758,23 @@
9574495758
"/cloudsupport:v2/cloudsupport.media.download/name": name
9574595759
"/cloudsupport:v2/cloudsupport.media.upload": upload_medium
9574695760
"/cloudsupport:v2/cloudsupport.media.upload/parent": parent
95761+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.create": create_support_event_subscription
95762+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.create/parent": parent
95763+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.delete": delete_support_event_subscription
95764+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.delete/name": name
95765+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.get": get_support_event_subscription
95766+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.get/name": name
95767+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.list": list_support_event_subscriptions
95768+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.list/filter": filter
95769+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.list/pageSize": page_size
95770+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.list/pageToken": page_token
95771+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.list/parent": parent
95772+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.list/showDeleted": show_deleted
95773+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.patch": patch_support_event_subscription
95774+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.patch/name": name
95775+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.patch/updateMask": update_mask
95776+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.undelete": undelete_support_event_subscription
95777+
"/cloudsupport:v2/cloudsupport.supportEventSubscriptions.undelete/name": name
9574795778
"/cloudsupport:v2/fields": fields
9574895779
"/cloudsupport:v2/key": key
9574995780
"/cloudsupport:v2/quotaUser": quota_user

generated/google-apis-cloudsupport_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-cloudsupport_v2
22

3+
### v0.24.0 (2026-07-05)
4+
5+
* Regenerated from discovery document revision 20260623
6+
37
### v0.23.0 (2026-06-14)
48

59
* Regenerated using generator version 0.19.0

generated/google-apis-cloudsupport_v2/lib/google/apis/cloudsupport_v2/classes.rb

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,32 @@ def update!(**args)
871871
end
872872
end
873873

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+
874900
# # gdata.* are outside protos with mising documentation
875901
class Media
876902
include Google::Apis::Core::Hashable
@@ -1166,6 +1192,82 @@ def update!(**args)
11661192
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
11671193
end
11681194
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
11691271
end
11701272
end
11711273
end

generated/google-apis-cloudsupport_v2/lib/google/apis/cloudsupport_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module CloudsupportV2
1818
# Version of the google-apis-cloudsupport_v2 gem
19-
GEM_VERSION = "0.23.0"
19+
GEM_VERSION = "0.24.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.19.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260519"
25+
REVISION = "20260623"
2626
end
2727
end
2828
end

generated/google-apis-cloudsupport_v2/lib/google/apis/cloudsupport_v2/representations.rb

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
148148
include Google::Apis::Core::JsonObjectSupport
149149
end
150150

151+
class ListSupportEventSubscriptionsResponse
152+
class Representation < Google::Apis::Core::JsonRepresentation; end
153+
154+
include Google::Apis::Core::JsonObjectSupport
155+
end
156+
151157
class Media
152158
class Representation < Google::Apis::Core::JsonRepresentation; end
153159

@@ -172,6 +178,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
172178
include Google::Apis::Core::JsonObjectSupport
173179
end
174180

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+
175193
class Actor
176194
# @private
177195
class Representation < Google::Apis::Core::JsonRepresentation
@@ -397,6 +415,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
397415
end
398416
end
399417

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+
400427
class Media
401428
# @private
402429
class Representation < Google::Apis::Core::JsonRepresentation
@@ -470,6 +497,26 @@ class Representation < Google::Apis::Core::JsonRepresentation
470497
property :next_page_token, as: 'nextPageToken'
471498
end
472499
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
473520
end
474521
end
475522
end

0 commit comments

Comments
 (0)