google-apis-alertcenter_v1beta1 0.4.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/alertcenter_v1beta1/classes.rb +129 -5
- data/lib/google/apis/alertcenter_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/alertcenter_v1beta1/representations.rb +58 -0
- data/lib/google/apis/alertcenter_v1beta1/service.rb +7 -6
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2829ce0e3fd76738764cce7a6e43908e0153803c4e6538edb3e1089f9d6c1b22
|
4
|
+
data.tar.gz: 4828ade639c25a6d9c64762d1fea8bfd13370fa716bfc4d2db27763393f0312d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bae7141475d59f4476d47e27ef01537947f6c99dfb16e5479c487a515cf1e65b922ae1d964b83e4cbdb4ce3e0b3af65ae08c60720cc0f5547fa26872ae8aab8
|
7
|
+
data.tar.gz: ba9dd953a1f33d42cba1e3586ed3131d9d47ee10e2d0a6924a811de487b5b18ae1eee0793b55f69217900be613a7e5570baec751d525fa019b3a4a1ae2223beb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-alertcenter_v1beta1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210619
|
6
|
+
|
7
|
+
### v0.8.0 (2021-06-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210601
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.7.0 (2021-05-28)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210519
|
15
|
+
|
16
|
+
### v0.6.0 (2021-05-19)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.5.0 (2021-05-05)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210427
|
23
|
+
|
3
24
|
### v0.4.0 (2021-03-09)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210303
|
@@ -215,8 +215,8 @@ module Google
|
|
215
215
|
|
216
216
|
# Required. A unique identifier for the system that reported the alert. This is
|
217
217
|
# output only after alert is created. Supported sources are any of the following:
|
218
|
-
# * Google Operations * Mobile device management * Gmail phishing *
|
219
|
-
# takeout * State sponsored attack * Google identity
|
218
|
+
# * Google Operations * Mobile device management * Gmail phishing * Data Loss
|
219
|
+
# Prevention * Domain wide takeout * State sponsored attack * Google identity
|
220
220
|
# Corresponds to the JSON property `source`
|
221
221
|
# @return [String]
|
222
222
|
attr_accessor :source
|
@@ -227,8 +227,8 @@ module Google
|
|
227
227
|
attr_accessor :start_time
|
228
228
|
|
229
229
|
# Required. The type of the alert. This is output only after alert is created.
|
230
|
-
# For a list of available alert types see [Google Workspace Alert types](
|
231
|
-
# sdk/alertcenter/reference/alert-types).
|
230
|
+
# For a list of available alert types see [Google Workspace Alert types](https://
|
231
|
+
# developers.google.com/admin-sdk/alertcenter/reference/alert-types).
|
232
232
|
# Corresponds to the JSON property `type`
|
233
233
|
# @return [String]
|
234
234
|
attr_accessor :type
|
@@ -395,6 +395,34 @@ module Google
|
|
395
395
|
end
|
396
396
|
end
|
397
397
|
|
398
|
+
# Alerts from AppSettingsChanged bucket Rules configured by Admin which contain
|
399
|
+
# the below rules. Calendar settings changed Drive settings changed Email
|
400
|
+
# settings changed Mobile settings changed
|
401
|
+
class AppSettingsChanged
|
402
|
+
include Google::Apis::Core::Hashable
|
403
|
+
|
404
|
+
# Any other associated alert details, for example, AlertConfiguration.
|
405
|
+
# Corresponds to the JSON property `alertDetails`
|
406
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
407
|
+
# @return [String]
|
408
|
+
attr_accessor :alert_details
|
409
|
+
|
410
|
+
# Rule name
|
411
|
+
# Corresponds to the JSON property `name`
|
412
|
+
# @return [String]
|
413
|
+
attr_accessor :name
|
414
|
+
|
415
|
+
def initialize(**args)
|
416
|
+
update!(**args)
|
417
|
+
end
|
418
|
+
|
419
|
+
# Update properties of this object
|
420
|
+
def update!(**args)
|
421
|
+
@alert_details = args[:alert_details] if args.key?(:alert_details)
|
422
|
+
@name = args[:name] if args.key?(:name)
|
423
|
+
end
|
424
|
+
end
|
425
|
+
|
398
426
|
# Attachment with application-specific information about an alert.
|
399
427
|
class Attachment
|
400
428
|
include Google::Apis::Core::Hashable
|
@@ -1079,7 +1107,8 @@ module Google
|
|
1079
1107
|
end
|
1080
1108
|
|
1081
1109
|
# Settings for callback notifications. For more details see [Google Workspace
|
1082
|
-
# Alert Notification](/admin-sdk/alertcenter/guides/
|
1110
|
+
# Alert Notification](https://developers.google.com/admin-sdk/alertcenter/guides/
|
1111
|
+
# notifications).
|
1083
1112
|
class Notification
|
1084
1113
|
include Google::Apis::Core::Hashable
|
1085
1114
|
|
@@ -1100,6 +1129,44 @@ module Google
|
|
1100
1129
|
end
|
1101
1130
|
end
|
1102
1131
|
|
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
|
+
|
1103
1170
|
# Alert for a spike in user reported phishing. *Warning*: This type has been
|
1104
1171
|
# deprecated. Use [MailPhishing](/admin-sdk/alertcenter/reference/rest/v1beta1/
|
1105
1172
|
# MailPhishing) instead.
|
@@ -1159,6 +1226,41 @@ module Google
|
|
1159
1226
|
end
|
1160
1227
|
end
|
1161
1228
|
|
1229
|
+
# Alerts from Reporting Rules configured by Admin.
|
1230
|
+
class ReportingRule
|
1231
|
+
include Google::Apis::Core::Hashable
|
1232
|
+
|
1233
|
+
# Any other associated alert details, for example, AlertConfiguration.
|
1234
|
+
# Corresponds to the JSON property `alertDetails`
|
1235
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1236
|
+
# @return [String]
|
1237
|
+
attr_accessor :alert_details
|
1238
|
+
|
1239
|
+
# Rule name
|
1240
|
+
# Corresponds to the JSON property `name`
|
1241
|
+
# @return [String]
|
1242
|
+
attr_accessor :name
|
1243
|
+
|
1244
|
+
# Alert Rule query Sample Query query ` condition ` filter `
|
1245
|
+
# expected_application_id: 777491262838 expected_event_name: "
|
1246
|
+
# indexable_content_change" filter_op: IN ` ` conjunction_operator: OR `
|
1247
|
+
# Corresponds to the JSON property `query`
|
1248
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1249
|
+
# @return [String]
|
1250
|
+
attr_accessor :query
|
1251
|
+
|
1252
|
+
def initialize(**args)
|
1253
|
+
update!(**args)
|
1254
|
+
end
|
1255
|
+
|
1256
|
+
# Update properties of this object
|
1257
|
+
def update!(**args)
|
1258
|
+
@alert_details = args[:alert_details] if args.key?(:alert_details)
|
1259
|
+
@name = args[:name] if args.key?(:name)
|
1260
|
+
@query = args[:query] if args.key?(:query)
|
1261
|
+
end
|
1262
|
+
end
|
1263
|
+
|
1162
1264
|
# Requests for one application that needs default SQL setup.
|
1163
1265
|
class RequestInfo
|
1164
1266
|
include Google::Apis::Core::Hashable
|
@@ -1535,6 +1637,28 @@ module Google
|
|
1535
1637
|
end
|
1536
1638
|
end
|
1537
1639
|
|
1640
|
+
# Alerts from UserChanges bucket Rules for predefined rules which contain the
|
1641
|
+
# below rules. Suspended user made active New user Added User suspended (by
|
1642
|
+
# admin) User granted admin privileges User admin privileges revoked User
|
1643
|
+
# deleted Users password changed
|
1644
|
+
class UserChanges
|
1645
|
+
include Google::Apis::Core::Hashable
|
1646
|
+
|
1647
|
+
# Rule name
|
1648
|
+
# Corresponds to the JSON property `name`
|
1649
|
+
# @return [String]
|
1650
|
+
attr_accessor :name
|
1651
|
+
|
1652
|
+
def initialize(**args)
|
1653
|
+
update!(**args)
|
1654
|
+
end
|
1655
|
+
|
1656
|
+
# Update properties of this object
|
1657
|
+
def update!(**args)
|
1658
|
+
@name = args[:name] if args.key?(:name)
|
1659
|
+
end
|
1660
|
+
end
|
1661
|
+
|
1538
1662
|
# Detector defined by administrators.
|
1539
1663
|
class UserDefinedDetectorInfo
|
1540
1664
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210619"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class AppSettingsChanged
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class Attachment
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -208,6 +214,12 @@ module Google
|
|
208
214
|
include Google::Apis::Core::JsonObjectSupport
|
209
215
|
end
|
210
216
|
|
217
|
+
class OutOfDomainForwarding
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
211
223
|
class PhishingSpike
|
212
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
225
|
|
@@ -220,6 +232,12 @@ module Google
|
|
220
232
|
include Google::Apis::Core::JsonObjectSupport
|
221
233
|
end
|
222
234
|
|
235
|
+
class ReportingRule
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
223
241
|
class RequestInfo
|
224
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
243
|
|
@@ -286,6 +304,12 @@ module Google
|
|
286
304
|
include Google::Apis::Core::JsonObjectSupport
|
287
305
|
end
|
288
306
|
|
307
|
+
class UserChanges
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
289
313
|
class UserDefinedDetectorInfo
|
290
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
315
|
|
@@ -378,6 +402,14 @@ module Google
|
|
378
402
|
end
|
379
403
|
end
|
380
404
|
|
405
|
+
class AppSettingsChanged
|
406
|
+
# @private
|
407
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
408
|
+
property :alert_details, :base64 => true, as: 'alertDetails'
|
409
|
+
property :name, as: 'name'
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
381
413
|
class Attachment
|
382
414
|
# @private
|
383
415
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -601,6 +633,16 @@ module Google
|
|
601
633
|
end
|
602
634
|
end
|
603
635
|
|
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
|
+
|
604
646
|
class PhishingSpike
|
605
647
|
# @private
|
606
648
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -621,6 +663,15 @@ module Google
|
|
621
663
|
end
|
622
664
|
end
|
623
665
|
|
666
|
+
class ReportingRule
|
667
|
+
# @private
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
669
|
+
property :alert_details, :base64 => true, as: 'alertDetails'
|
670
|
+
property :name, as: 'name'
|
671
|
+
property :query, :base64 => true, as: 'query'
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
624
675
|
class RequestInfo
|
625
676
|
# @private
|
626
677
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -729,6 +780,13 @@ module Google
|
|
729
780
|
end
|
730
781
|
end
|
731
782
|
|
783
|
+
class UserChanges
|
784
|
+
# @private
|
785
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
786
|
+
property :name, as: 'name'
|
787
|
+
end
|
788
|
+
end
|
789
|
+
|
732
790
|
class UserDefinedDetectorInfo
|
733
791
|
# @private
|
734
792
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -227,9 +227,9 @@ module Google
|
|
227
227
|
# identity if not provided.
|
228
228
|
# @param [String] filter
|
229
229
|
# Optional. A query string for filtering alert results. For more details, see [
|
230
|
-
# Query filters](/admin-sdk/alertcenter/guides/
|
231
|
-
# query filter fields](
|
232
|
-
# list).
|
230
|
+
# Query filters](https://developers.google.com/admin-sdk/alertcenter/guides/
|
231
|
+
# query-filters) and [Supported query filter fields](https://developers.google.
|
232
|
+
# com/admin-sdk/alertcenter/reference/filter-fields#alerts.list).
|
233
233
|
# @param [String] order_by
|
234
234
|
# Optional. The sort order of the list results. If not specified results may be
|
235
235
|
# returned in arbitrary order. You can sort the results in descending order
|
@@ -362,9 +362,10 @@ module Google
|
|
362
362
|
# caller identity if not provided.
|
363
363
|
# @param [String] filter
|
364
364
|
# Optional. A query string for filtering alert feedback results. For more
|
365
|
-
# details, see [Query filters](/admin-sdk/
|
366
|
-
# Supported query filter fields](
|
367
|
-
#
|
365
|
+
# details, see [Query filters](https://developers.google.com/admin-sdk/
|
366
|
+
# alertcenter/guides/query-filters) and [Supported query filter fields](https://
|
367
|
+
# developers.google.com/admin-sdk/alertcenter/reference/filter-fields#alerts.
|
368
|
+
# feedback.list).
|
368
369
|
# @param [String] fields
|
369
370
|
# Selector specifying which fields to include in a partial response.
|
370
371
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-alertcenter_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.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-
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Google Workspace Alert Center API
|
28
34
|
V1beta1. Simple REST clients are Ruby client libraries that provide access to Google
|
29
35
|
services via their HTTP REST API endpoints. These libraries are generated and updated
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-alertcenter_v1beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alertcenter_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alertcenter_v1beta1/v0.9.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-alertcenter_v1beta1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Google Workspace Alert Center API V1beta1
|