google-apis-alertcenter_v1beta1 0.12.0 → 0.16.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: e8375992ec71f0c9740fa9e3f3f878371157daf410d56c063bef3fc654553441
4
- data.tar.gz: a395a1c9ec8056791e1a3d894f8d55aaa5e51443f71d8c1592ed1be745745733
3
+ metadata.gz: 8929df54c85d9609bed339f0bd29c737d671acb5b3296908966c614ae8e368cf
4
+ data.tar.gz: 5da2507d2137931ab06bb44e26b6bead31e7ba5168f3af8ccece43a702ce97bf
5
5
  SHA512:
6
- metadata.gz: 9b621b73dbd9cf1aa236d77096074255afbb7c891e4bfece85f4b8bf07563acbdc9b2ba06084e12e8a6191921abc12f9b94ce580905c93e1cf8bdf1ead6ca928
7
- data.tar.gz: 82e57318941acb193a1fea6b951ec778098253a9cbbab2b366807376277ea7f2886102023852dd54b7b7c9f0e94611cd2179d67f05ab6eb165ffef37a196feca
6
+ metadata.gz: a5b36863e24fc53ca2c6900f9baef5e8ec6c901f70fa8d198044f5462b200a2b60dd08bea5cf995db393fa2dc6b7c02cc2e56a5c7319485a8b9376adedcc5bdd
7
+ data.tar.gz: 83a13d2d480d1e7debf32e6f249c62808853187b320fc269af78cfaf2331c28acb5b9879c0c589c0afb084979f3029845a765e21da975de70ddb482ef75014d3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-alertcenter_v1beta1
2
2
 
3
+ ### v0.16.0 (2022-02-10)
4
+
5
+ * Regenerated from discovery document revision 20220131
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.15.0 (2021-12-21)
9
+
10
+ * Regenerated from discovery document revision 20211214
11
+ * Unspecified changes
12
+
13
+ ### v0.14.0 (2021-10-20)
14
+
15
+ * Regenerated from discovery document revision 20211012
16
+
17
+ ### v0.13.0 (2021-09-01)
18
+
19
+ * Regenerated from discovery document revision 20210803
20
+
3
21
  ### v0.12.0 (2021-07-27)
4
22
 
5
23
  * Regenerated from discovery document revision 20210720
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,8 +483,7 @@ module Google
423
483
  end
424
484
  end
425
485
 
426
- # An outage incident reported by Google for a Google Workspace (formerly G Suite)
427
- # application.
486
+ # An outage incident reported for a Google Workspace service.
428
487
  class AppsOutage
429
488
  include Google::Apis::Core::Hashable
430
489
 
@@ -433,7 +492,17 @@ module Google
433
492
  # @return [String]
434
493
  attr_accessor :dashboard_uri
435
494
 
436
- # Timestamp by which the next update shall be provided.
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.
437
506
  # Corresponds to the JSON property `nextUpdateTime`
438
507
  # @return [String]
439
508
  attr_accessor :next_update_time
@@ -443,8 +512,8 @@ module Google
443
512
  # @return [Array<String>]
444
513
  attr_accessor :products
445
514
 
446
- # Timestamp of the outage expected or confirmed resolution. (Used only when
447
- # known).
515
+ # Timestamp when the outage is expected to be resolved, or has confirmed
516
+ # resolution. Provided only when known.
448
517
  # Corresponds to the JSON property `resolutionTime`
449
518
  # @return [String]
450
519
  attr_accessor :resolution_time
@@ -461,6 +530,8 @@ module Google
461
530
  # Update properties of this object
462
531
  def update!(**args)
463
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)
464
535
  @next_update_time = args[:next_update_time] if args.key?(:next_update_time)
465
536
  @products = args[:products] if args.key?(:products)
466
537
  @resolution_time = args[:resolution_time] if args.key?(:resolution_time)
@@ -1151,6 +1222,32 @@ module Google
1151
1222
  end
1152
1223
  end
1153
1224
 
1225
+ # New alert tracking numbers.
1226
+ class MergeInfo
1227
+ include Google::Apis::Core::Hashable
1228
+
1229
+ # Optional. New alert ID. Reference the [google.apps.alertcenter.Alert] with
1230
+ # this ID for 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
1239
+
1240
+ def initialize(**args)
1241
+ update!(**args)
1242
+ end
1243
+
1244
+ # Update properties of this object
1245
+ def update!(**args)
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)
1248
+ end
1249
+ end
1250
+
1154
1251
  # Settings for callback notifications. For more details see [Google Workspace
1155
1252
  # Alert Notification](https://developers.google.com/admin-sdk/alertcenter/guides/
1156
1253
  # notifications).
@@ -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.12.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210720"
25
+ REVISION = "20220131"
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
 
@@ -214,6 +226,12 @@ module Google
214
226
  include Google::Apis::Core::JsonObjectSupport
215
227
  end
216
228
 
229
+ class MergeInfo
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
217
235
  class Notification
218
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
237
 
@@ -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
@@ -414,6 +450,9 @@ module Google
414
450
  # @private
415
451
  class Representation < Google::Apis::Core::JsonRepresentation
416
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
+
417
456
  property :next_update_time, as: 'nextUpdateTime'
418
457
  collection :products, as: 'products'
419
458
  property :resolution_time, as: 'resolutionTime'
@@ -636,6 +675,14 @@ module Google
636
675
  end
637
676
  end
638
677
 
678
+ class MergeInfo
679
+ # @private
680
+ class Representation < Google::Apis::Core::JsonRepresentation
681
+ property :new_alert_id, as: 'newAlertId'
682
+ property :new_incident_tracking_id, as: 'newIncidentTrackingId'
683
+ end
684
+ end
685
+
639
686
  class Notification
640
687
  # @private
641
688
  class Representation < Google::Apis::Core::JsonRepresentation
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.12.0
4
+ version: 0.16.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-08-02 00:00:00.000000000 Z
11
+ date: 2022-02-14 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.12.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.16.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.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Workspace Alert Center API V1beta1