@@ -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
11711273end
0 commit comments