@@ -993,6 +993,32 @@ def update!(**args)
993993 end
994994 end
995995
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+
9961022 # # gdata.* are outside protos with mising documentation
9971023 class Media
9981024 include Google ::Apis ::Core ::Hashable
@@ -1335,6 +1361,69 @@ def update!(**args)
13351361 end
13361362 end
13371363
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+
13381427 # Stores text attached to a support object.
13391428 class TextContent
13401429 include Google ::Apis ::Core ::Hashable
@@ -1353,6 +1442,19 @@ def update!(**args)
13531442 @plain_text = args [ :plain_text ] if args . key? ( :plain_text )
13541443 end
13551444 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
13561458 end
13571459 end
13581460end
0 commit comments