google-apis-alertcenter_v1beta1 0.11.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d46b03e1d68d3454f455059af246153be752029b6c8ba9018b2f4eb7b6a94085
4
- data.tar.gz: f1d741b02e87ab35c5ec32679bc393ef3e09da29c3ca4c7cf9a545697d4687b5
3
+ metadata.gz: 2ec5215f733bd1986ebb5bc7deafc917d5606e0f714a087e370285ed0403530b
4
+ data.tar.gz: ccefdc0730c96ef03b0bc49dd584cceb7d7a5c2a4087b7c22280c0431d346476
5
5
  SHA512:
6
- metadata.gz: c2722b30f010f9f403cbaf6113bea489e1c81cc95e4e20793efa0e140883b3f764deba47737739cfeee9fcbab6b5c798928f35870eaa8fd30e59c08c4c8df4cc
7
- data.tar.gz: f4dbbdeb71ece9c71974226cfbc7011341d3bc88810ef7f1345f9069bc36a42dd854562234af5da66aec3509b8179e6af8b304b14802574146bc81af9b5829e7
6
+ metadata.gz: 1e102a4a79f194d0e02750a05a0d208342f80c54f54386fc1653cb6ba7d4981650b72273af0c86298beb01be7b06f87f0a1c98b2b5f91df8a8ac78a7da2f24c2
7
+ data.tar.gz: 354ee2ae5034ba31f21267256e2253a3865a1f3f7609aff217db36720b56c098b306a1e3f71707844e73f16a88bdc0a192c843489a8dd1dd3fce6c32e36ffb9c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-alertcenter_v1beta1
2
2
 
3
+ ### v0.15.0 (2021-12-21)
4
+
5
+ * Regenerated from discovery document revision 20211214
6
+ * Unspecified changes
7
+
8
+ ### v0.14.0 (2021-10-20)
9
+
10
+ * Regenerated from discovery document revision 20211012
11
+
12
+ ### v0.13.0 (2021-09-01)
13
+
14
+ * Regenerated from discovery document revision 20210803
15
+
16
+ ### v0.12.0 (2021-07-27)
17
+
18
+ * Regenerated from discovery document revision 20210720
19
+
3
20
  ### v0.11.0 (2021-07-20)
4
21
 
5
22
  * Regenerated from discovery document revision 20210713
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/alertcenter_v1beta1"
51
51
  client = Google::Apis::AlertcenterV1beta1::AlertCenterService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Alertcenter service in particular.)
67
67
 
@@ -22,6 +22,65 @@ module Google
22
22
  module Apis
23
23
  module AlertcenterV1beta1
24
24
 
25
+ # Details about why an account is receiving an account suspension warning.
26
+ class AccountSuspensionDetails
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The reason why this account is receiving an account suspension warning.
30
+ # Corresponds to the JSON property `abuseReason`
31
+ # @return [String]
32
+ attr_accessor :abuse_reason
33
+
34
+ # The name of the product being abused. This is restricted to only the following
35
+ # values: "Gmail" "Google Workspace" "Payments" "Voice" "YouTube" "Other"
36
+ # Corresponds to the JSON property `productName`
37
+ # @return [String]
38
+ attr_accessor :product_name
39
+
40
+ def initialize(**args)
41
+ update!(**args)
42
+ end
43
+
44
+ # Update properties of this object
45
+ def update!(**args)
46
+ @abuse_reason = args[:abuse_reason] if args.key?(:abuse_reason)
47
+ @product_name = args[:product_name] if args.key?(:product_name)
48
+ end
49
+ end
50
+
51
+ # A warning that the customer's account is about to be suspended.
52
+ class AccountSuspensionWarning
53
+ include Google::Apis::Core::Hashable
54
+
55
+ # The amount of time remaining to appeal an imminent suspension. After this
56
+ # window has elapsed, the account will be suspended. Only populated if the
57
+ # account suspension is in WARNING state.
58
+ # Corresponds to the JSON property `appealWindow`
59
+ # @return [String]
60
+ attr_accessor :appeal_window
61
+
62
+ # Account suspension warning state.
63
+ # Corresponds to the JSON property `state`
64
+ # @return [String]
65
+ attr_accessor :state
66
+
67
+ # Details about why an account is being suspended.
68
+ # Corresponds to the JSON property `suspensionDetails`
69
+ # @return [Array<Google::Apis::AlertcenterV1beta1::AccountSuspensionDetails>]
70
+ attr_accessor :suspension_details
71
+
72
+ def initialize(**args)
73
+ update!(**args)
74
+ end
75
+
76
+ # Update properties of this object
77
+ def update!(**args)
78
+ @appeal_window = args[:appeal_window] if args.key?(:appeal_window)
79
+ @state = args[:state] if args.key?(:state)
80
+ @suspension_details = args[:suspension_details] if args.key?(:suspension_details)
81
+ end
82
+ end
83
+
25
84
  # Alerts for user account warning events.
26
85
  class AccountWarning
27
86
  include Google::Apis::Core::Hashable
@@ -216,7 +275,8 @@ module Google
216
275
  # Required. A unique identifier for the system that reported the alert. This is
217
276
  # output only after alert is created. Supported sources are any of the following:
218
277
  # * Google Operations * Mobile device management * Gmail phishing * Data Loss
219
- # Prevention * Domain wide takeout * State sponsored attack * Google identity
278
+ # Prevention * Domain wide takeout * State sponsored attack * Google identity *
279
+ # Apps outage
220
280
  # Corresponds to the JSON property `source`
221
281
  # @return [String]
222
282
  attr_accessor :source
@@ -423,6 +483,62 @@ module Google
423
483
  end
424
484
  end
425
485
 
486
+ # An outage incident reported for a Google Workspace service.
487
+ class AppsOutage
488
+ include Google::Apis::Core::Hashable
489
+
490
+ # Link to the outage event in Google Workspace Status Dashboard
491
+ # Corresponds to the JSON property `dashboardUri`
492
+ # @return [String]
493
+ attr_accessor :dashboard_uri
494
+
495
+ # Incident tracking ID.
496
+ # Corresponds to the JSON property `incidentTrackingId`
497
+ # @return [String]
498
+ attr_accessor :incident_tracking_id
499
+
500
+ # New alert tracking numbers.
501
+ # Corresponds to the JSON property `mergeInfo`
502
+ # @return [Google::Apis::AlertcenterV1beta1::MergeInfo]
503
+ attr_accessor :merge_info
504
+
505
+ # Timestamp by which the next update is expected to arrive.
506
+ # Corresponds to the JSON property `nextUpdateTime`
507
+ # @return [String]
508
+ attr_accessor :next_update_time
509
+
510
+ # List of products impacted by the outage.
511
+ # Corresponds to the JSON property `products`
512
+ # @return [Array<String>]
513
+ attr_accessor :products
514
+
515
+ # Timestamp when the outage is expected to be resolved, or has confirmed
516
+ # resolution. Provided only when known.
517
+ # Corresponds to the JSON property `resolutionTime`
518
+ # @return [String]
519
+ attr_accessor :resolution_time
520
+
521
+ # Current outage status.
522
+ # Corresponds to the JSON property `status`
523
+ # @return [String]
524
+ attr_accessor :status
525
+
526
+ def initialize(**args)
527
+ update!(**args)
528
+ end
529
+
530
+ # Update properties of this object
531
+ def update!(**args)
532
+ @dashboard_uri = args[:dashboard_uri] if args.key?(:dashboard_uri)
533
+ @incident_tracking_id = args[:incident_tracking_id] if args.key?(:incident_tracking_id)
534
+ @merge_info = args[:merge_info] if args.key?(:merge_info)
535
+ @next_update_time = args[:next_update_time] if args.key?(:next_update_time)
536
+ @products = args[:products] if args.key?(:products)
537
+ @resolution_time = args[:resolution_time] if args.key?(:resolution_time)
538
+ @status = args[:status] if args.key?(:status)
539
+ end
540
+ end
541
+
426
542
  # Attachment with application-specific information about an alert.
427
543
  class Attachment
428
544
  include Google::Apis::Core::Hashable
@@ -1106,18 +1222,20 @@ module Google
1106
1222
  end
1107
1223
  end
1108
1224
 
1109
- # Settings for callback notifications. For more details see [Google Workspace
1110
- # Alert Notification](https://developers.google.com/admin-sdk/alertcenter/guides/
1111
- # notifications).
1112
- class Notification
1225
+ # New alert tracking numbers.
1226
+ class MergeInfo
1113
1227
  include Google::Apis::Core::Hashable
1114
1228
 
1115
- # A reference to a Cloud Pubsub topic. To register for notifications, the owner
1116
- # of the topic must grant `alerts-api-push-notifications@system.gserviceaccount.
1117
- # com` the `projects.topics.publish` permission.
1118
- # Corresponds to the JSON property `cloudPubsubTopic`
1119
- # @return [Google::Apis::AlertcenterV1beta1::CloudPubsubTopic]
1120
- attr_accessor :cloud_pubsub_topic
1229
+ # New alert ID. Reference the [google.apps.alertcenter.Alert] with this ID for
1230
+ # the current state.
1231
+ # Corresponds to the JSON property `newAlertId`
1232
+ # @return [String]
1233
+ attr_accessor :new_alert_id
1234
+
1235
+ # The new tracking ID from the parent incident.
1236
+ # Corresponds to the JSON property `newIncidentTrackingId`
1237
+ # @return [String]
1238
+ attr_accessor :new_incident_tracking_id
1121
1239
 
1122
1240
  def initialize(**args)
1123
1241
  update!(**args)
@@ -1125,34 +1243,23 @@ module Google
1125
1243
 
1126
1244
  # Update properties of this object
1127
1245
  def update!(**args)
1128
- @cloud_pubsub_topic = args[:cloud_pubsub_topic] if args.key?(:cloud_pubsub_topic)
1246
+ @new_alert_id = args[:new_alert_id] if args.key?(:new_alert_id)
1247
+ @new_incident_tracking_id = args[:new_incident_tracking_id] if args.key?(:new_incident_tracking_id)
1129
1248
  end
1130
1249
  end
1131
1250
 
1132
- # An alert that gets triggered when a user enables autoforwarding to an email
1133
- # which is outside of its domain
1134
- class OutOfDomainForwarding
1251
+ # Settings for callback notifications. For more details see [Google Workspace
1252
+ # Alert Notification](https://developers.google.com/admin-sdk/alertcenter/guides/
1253
+ # notifications).
1254
+ class Notification
1135
1255
  include Google::Apis::Core::Hashable
1136
1256
 
1137
- # Email of the actor who triggered the alert.
1138
- # Corresponds to the JSON property `actorEmail`
1139
- # @return [String]
1140
- attr_accessor :actor_email
1141
-
1142
- # The time the email forwarding was enabled
1143
- # Corresponds to the JSON property `enableTime`
1144
- # @return [String]
1145
- attr_accessor :enable_time
1146
-
1147
- # Email to which emails are being forwarded
1148
- # Corresponds to the JSON property `forwardeeEmail`
1149
- # @return [String]
1150
- attr_accessor :forwardee_email
1151
-
1152
- # IP address of the user while enabling forwarding
1153
- # Corresponds to the JSON property `ipAddress`
1154
- # @return [String]
1155
- attr_accessor :ip_address
1257
+ # A reference to a Cloud Pubsub topic. To register for notifications, the owner
1258
+ # of the topic must grant `alerts-api-push-notifications@system.gserviceaccount.
1259
+ # com` the `projects.topics.publish` permission.
1260
+ # Corresponds to the JSON property `cloudPubsubTopic`
1261
+ # @return [Google::Apis::AlertcenterV1beta1::CloudPubsubTopic]
1262
+ attr_accessor :cloud_pubsub_topic
1156
1263
 
1157
1264
  def initialize(**args)
1158
1265
  update!(**args)
@@ -1160,10 +1267,7 @@ module Google
1160
1267
 
1161
1268
  # Update properties of this object
1162
1269
  def update!(**args)
1163
- @actor_email = args[:actor_email] if args.key?(:actor_email)
1164
- @enable_time = args[:enable_time] if args.key?(:enable_time)
1165
- @forwardee_email = args[:forwardee_email] if args.key?(:forwardee_email)
1166
- @ip_address = args[:ip_address] if args.key?(:ip_address)
1270
+ @cloud_pubsub_topic = args[:cloud_pubsub_topic] if args.key?(:cloud_pubsub_topic)
1167
1271
  end
1168
1272
  end
1169
1273
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlertcenterV1beta1
18
18
  # Version of the google-apis-alertcenter_v1beta1 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210713"
25
+ REVISION = "20211214"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module AlertcenterV1beta1
24
24
 
25
+ class AccountSuspensionDetails
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AccountSuspensionWarning
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class AccountWarning
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -70,6 +82,12 @@ module Google
70
82
  include Google::Apis::Core::JsonObjectSupport
71
83
  end
72
84
 
85
+ class AppsOutage
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
73
91
  class Attachment
74
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
93
 
@@ -208,13 +226,13 @@ module Google
208
226
  include Google::Apis::Core::JsonObjectSupport
209
227
  end
210
228
 
211
- class Notification
229
+ class MergeInfo
212
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
231
 
214
232
  include Google::Apis::Core::JsonObjectSupport
215
233
  end
216
234
 
217
- class OutOfDomainForwarding
235
+ class Notification
218
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
237
 
220
238
  include Google::Apis::Core::JsonObjectSupport
@@ -316,6 +334,24 @@ module Google
316
334
  include Google::Apis::Core::JsonObjectSupport
317
335
  end
318
336
 
337
+ class AccountSuspensionDetails
338
+ # @private
339
+ class Representation < Google::Apis::Core::JsonRepresentation
340
+ property :abuse_reason, as: 'abuseReason'
341
+ property :product_name, as: 'productName'
342
+ end
343
+ end
344
+
345
+ class AccountSuspensionWarning
346
+ # @private
347
+ class Representation < Google::Apis::Core::JsonRepresentation
348
+ property :appeal_window, as: 'appealWindow'
349
+ property :state, as: 'state'
350
+ collection :suspension_details, as: 'suspensionDetails', class: Google::Apis::AlertcenterV1beta1::AccountSuspensionDetails, decorator: Google::Apis::AlertcenterV1beta1::AccountSuspensionDetails::Representation
351
+
352
+ end
353
+ end
354
+
319
355
  class AccountWarning
320
356
  # @private
321
357
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -410,6 +446,20 @@ module Google
410
446
  end
411
447
  end
412
448
 
449
+ class AppsOutage
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ property :dashboard_uri, as: 'dashboardUri'
453
+ property :incident_tracking_id, as: 'incidentTrackingId'
454
+ property :merge_info, as: 'mergeInfo', class: Google::Apis::AlertcenterV1beta1::MergeInfo, decorator: Google::Apis::AlertcenterV1beta1::MergeInfo::Representation
455
+
456
+ property :next_update_time, as: 'nextUpdateTime'
457
+ collection :products, as: 'products'
458
+ property :resolution_time, as: 'resolutionTime'
459
+ property :status, as: 'status'
460
+ end
461
+ end
462
+
413
463
  class Attachment
414
464
  # @private
415
465
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -625,21 +675,19 @@ module Google
625
675
  end
626
676
  end
627
677
 
628
- class Notification
678
+ class MergeInfo
629
679
  # @private
630
680
  class Representation < Google::Apis::Core::JsonRepresentation
631
- property :cloud_pubsub_topic, as: 'cloudPubsubTopic', class: Google::Apis::AlertcenterV1beta1::CloudPubsubTopic, decorator: Google::Apis::AlertcenterV1beta1::CloudPubsubTopic::Representation
632
-
681
+ property :new_alert_id, as: 'newAlertId'
682
+ property :new_incident_tracking_id, as: 'newIncidentTrackingId'
633
683
  end
634
684
  end
635
685
 
636
- class OutOfDomainForwarding
686
+ class Notification
637
687
  # @private
638
688
  class Representation < Google::Apis::Core::JsonRepresentation
639
- property :actor_email, as: 'actorEmail'
640
- property :enable_time, as: 'enableTime'
641
- property :forwardee_email, as: 'forwardeeEmail'
642
- property :ip_address, as: 'ipAddress'
689
+ property :cloud_pubsub_topic, as: 'cloudPubsubTopic', class: Google::Apis::AlertcenterV1beta1::CloudPubsubTopic, decorator: Google::Apis::AlertcenterV1beta1::CloudPubsubTopic::Representation
690
+
643
691
  end
644
692
  end
645
693
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alertcenter_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-26 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-alertcenter_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alertcenter_v1beta1/v0.11.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-alertcenter_v1beta1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alertcenter_v1beta1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alertcenter_v1beta1/v0.15.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alertcenter_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Workspace Alert Center API V1beta1