google-apis-alertcenter_v1beta1 0.10.0 → 0.14.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: d5b8c0ec1fa3378cc0e167fd0708fa103d6837ecc878ec4af8d33dfe3edf87ce
4
- data.tar.gz: ee77f084aff7eecd1bd3ddf7703f0e08553e5bba7a271a61d218fccf71b6f9ce
3
+ metadata.gz: 4b65e875c9c910841f479c8c66af56c571834f5efe86e5ff4236fff46f22b768
4
+ data.tar.gz: 728b3d5577708035b6c0727137722809e1673a15cc13229bcfacafc9fe509da5
5
5
  SHA512:
6
- metadata.gz: 60339392f3a4ddface057b6417f633d235380149bed7f260f26c552e8f6ec21a6c78762f463cfad8ec7ce2214351ba406e4fe8ac269130d819650e9d703b0997
7
- data.tar.gz: c0aadd2c82309996eea4f978c7806b8aaab1b173f8f535589024a3fd1b3185eab7496a446777a50d4983aa0da508bb259617fa37cb675254b39ae8fabee4b137
6
+ metadata.gz: b61b9f9f8fa61a31cea4f6ab0dac20653d9f1a6f5a38a43d1ccfb3f4c305153b040dfd40c7abead52f0ab27796624c4f273ee3a84ee01835804255efa746f570
7
+ data.tar.gz: a5864fb54d7f726fcd6abb52ebea6b665842bae72ce0e8322605cacd432ffd968566af70ac139baccea280b067bbf177951975ff3640439a02b1d1e4f57b892c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-alertcenter_v1beta1
2
2
 
3
+ ### v0.14.0 (2021-10-20)
4
+
5
+ * Regenerated from discovery document revision 20211012
6
+
7
+ ### v0.13.0 (2021-09-01)
8
+
9
+ * Regenerated from discovery document revision 20210803
10
+
11
+ ### v0.12.0 (2021-07-27)
12
+
13
+ * Regenerated from discovery document revision 20210720
14
+
15
+ ### v0.11.0 (2021-07-20)
16
+
17
+ * Regenerated from discovery document revision 20210713
18
+
3
19
  ### v0.10.0 (2021-06-29)
4
20
 
5
21
  * Regenerated using generator version 0.4.0
data/OVERVIEW.md CHANGED
@@ -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,50 @@ 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
+ # Timestamp by which the next update is expected to arrive.
496
+ # Corresponds to the JSON property `nextUpdateTime`
497
+ # @return [String]
498
+ attr_accessor :next_update_time
499
+
500
+ # List of products impacted by the outage.
501
+ # Corresponds to the JSON property `products`
502
+ # @return [Array<String>]
503
+ attr_accessor :products
504
+
505
+ # Timestamp when the outage is expected to be resolved, or has confirmed
506
+ # resolution. Provided only when known.
507
+ # Corresponds to the JSON property `resolutionTime`
508
+ # @return [String]
509
+ attr_accessor :resolution_time
510
+
511
+ # Current outage status.
512
+ # Corresponds to the JSON property `status`
513
+ # @return [String]
514
+ attr_accessor :status
515
+
516
+ def initialize(**args)
517
+ update!(**args)
518
+ end
519
+
520
+ # Update properties of this object
521
+ def update!(**args)
522
+ @dashboard_uri = args[:dashboard_uri] if args.key?(:dashboard_uri)
523
+ @next_update_time = args[:next_update_time] if args.key?(:next_update_time)
524
+ @products = args[:products] if args.key?(:products)
525
+ @resolution_time = args[:resolution_time] if args.key?(:resolution_time)
526
+ @status = args[:status] if args.key?(:status)
527
+ end
528
+ end
529
+
426
530
  # Attachment with application-specific information about an alert.
427
531
  class Attachment
428
532
  include Google::Apis::Core::Hashable
@@ -831,7 +935,7 @@ module Google
831
935
  # @return [Array<String>]
832
936
  attr_accessor :attachments_sha256_hash
833
937
 
834
- # The date the malicious email was sent.
938
+ # The date of the event related to this email.
835
939
  # Corresponds to the JSON property `date`
836
940
  # @return [String]
837
941
  attr_accessor :date
@@ -1129,44 +1233,6 @@ module Google
1129
1233
  end
1130
1234
  end
1131
1235
 
1132
- # An alert that gets triggered when a user enables autoforwarding to an email
1133
- # which is outside of its domain
1134
- class OutOfDomainForwarding
1135
- include Google::Apis::Core::Hashable
1136
-
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
1156
-
1157
- def initialize(**args)
1158
- update!(**args)
1159
- end
1160
-
1161
- # Update properties of this object
1162
- 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)
1167
- end
1168
- end
1169
-
1170
1236
  # Alert for a spike in user reported phishing. *Warning*: This type has been
1171
1237
  # deprecated. Use [MailPhishing](/admin-sdk/alertcenter/reference/rest/v1beta1/
1172
1238
  # MailPhishing) instead.
@@ -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.10.0"
19
+ GEM_VERSION = "0.14.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 = "20210619"
25
+ REVISION = "20211012"
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
 
@@ -214,12 +232,6 @@ module Google
214
232
  include Google::Apis::Core::JsonObjectSupport
215
233
  end
216
234
 
217
- class OutOfDomainForwarding
218
- class Representation < Google::Apis::Core::JsonRepresentation; end
219
-
220
- include Google::Apis::Core::JsonObjectSupport
221
- end
222
-
223
235
  class PhishingSpike
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -316,6 +328,24 @@ module Google
316
328
  include Google::Apis::Core::JsonObjectSupport
317
329
  end
318
330
 
331
+ class AccountSuspensionDetails
332
+ # @private
333
+ class Representation < Google::Apis::Core::JsonRepresentation
334
+ property :abuse_reason, as: 'abuseReason'
335
+ property :product_name, as: 'productName'
336
+ end
337
+ end
338
+
339
+ class AccountSuspensionWarning
340
+ # @private
341
+ class Representation < Google::Apis::Core::JsonRepresentation
342
+ property :appeal_window, as: 'appealWindow'
343
+ property :state, as: 'state'
344
+ collection :suspension_details, as: 'suspensionDetails', class: Google::Apis::AlertcenterV1beta1::AccountSuspensionDetails, decorator: Google::Apis::AlertcenterV1beta1::AccountSuspensionDetails::Representation
345
+
346
+ end
347
+ end
348
+
319
349
  class AccountWarning
320
350
  # @private
321
351
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -410,6 +440,17 @@ module Google
410
440
  end
411
441
  end
412
442
 
443
+ class AppsOutage
444
+ # @private
445
+ class Representation < Google::Apis::Core::JsonRepresentation
446
+ property :dashboard_uri, as: 'dashboardUri'
447
+ property :next_update_time, as: 'nextUpdateTime'
448
+ collection :products, as: 'products'
449
+ property :resolution_time, as: 'resolutionTime'
450
+ property :status, as: 'status'
451
+ end
452
+ end
453
+
413
454
  class Attachment
414
455
  # @private
415
456
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -633,16 +674,6 @@ module Google
633
674
  end
634
675
  end
635
676
 
636
- class OutOfDomainForwarding
637
- # @private
638
- 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'
643
- end
644
- end
645
-
646
677
  class PhishingSpike
647
678
  # @private
648
679
  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.10.0
4
+ version: 0.14.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-05 00:00:00.000000000 Z
11
+ date: 2021-10-27 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.10.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.14.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: