google-apis-alertcenter_v1beta1 0.3.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/alertcenter_v1beta1/classes.rb +118 -12
- data/lib/google/apis/alertcenter_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/alertcenter_v1beta1/representations.rb +56 -0
- data/lib/google/apis/alertcenter_v1beta1/service.rb +7 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b38c8f24baf724d1bab34c329a94801bf812b42c8998193487f700a0caab5e65
|
4
|
+
data.tar.gz: 60d50c4338044fe24d6f27f70e3cd8787c10cf9913c38dfeab543daf605b3eed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cecb2b717920ad3d81ed3a1a354d83e78e5de84db3670e315ee41e51c12dc11123173e22d37a5e3528db83ae3866e9bfee06456c56e0d413972362edc3daaf36
|
7
|
+
data.tar.gz: b32d306ab2e4a0738f56d347a06704fb9cfe08c45dc797cc54a02fb89210b029791fc962e3dbfe39bf3d6a266f3f49217d0d3c5b41471b6de8b14cf68cfc4366
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-alertcenter_v1beta1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-06-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210601
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
8
|
+
### v0.7.0 (2021-05-28)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210519
|
11
|
+
|
12
|
+
### v0.6.0 (2021-05-19)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.5.0 (2021-05-05)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210427
|
19
|
+
|
20
|
+
### v0.4.0 (2021-03-09)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210303
|
23
|
+
* Regenerated using generator version 0.2.0
|
24
|
+
|
3
25
|
### v0.3.0 (2021-03-04)
|
4
26
|
|
5
27
|
* Unspecified changes
|
@@ -47,7 +47,21 @@ module Google
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
#
|
50
|
+
# Metadata related to the action.
|
51
|
+
class ActionInfo
|
52
|
+
include Google::Apis::Core::Hashable
|
53
|
+
|
54
|
+
def initialize(**args)
|
55
|
+
update!(**args)
|
56
|
+
end
|
57
|
+
|
58
|
+
# Update properties of this object
|
59
|
+
def update!(**args)
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
# Alerts from Google Workspace Security Center rules service configured by an
|
64
|
+
# admin.
|
51
65
|
class ActivityRule
|
52
66
|
include Google::Apis::Core::Hashable
|
53
67
|
|
@@ -201,8 +215,8 @@ module Google
|
|
201
215
|
|
202
216
|
# Required. A unique identifier for the system that reported the alert. This is
|
203
217
|
# output only after alert is created. Supported sources are any of the following:
|
204
|
-
# * Google Operations * Mobile device management * Gmail phishing *
|
205
|
-
# 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
|
206
220
|
# Corresponds to the JSON property `source`
|
207
221
|
# @return [String]
|
208
222
|
attr_accessor :source
|
@@ -213,8 +227,8 @@ module Google
|
|
213
227
|
attr_accessor :start_time
|
214
228
|
|
215
229
|
# Required. The type of the alert. This is output only after alert is created.
|
216
|
-
# For a list of available alert types see [Google Workspace Alert types](
|
217
|
-
# 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).
|
218
232
|
# Corresponds to the JSON property `type`
|
219
233
|
# @return [String]
|
220
234
|
attr_accessor :type
|
@@ -381,6 +395,34 @@ module Google
|
|
381
395
|
end
|
382
396
|
end
|
383
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
|
+
|
384
426
|
# Attachment with application-specific information about an alert.
|
385
427
|
class Attachment
|
386
428
|
include Google::Apis::Core::Hashable
|
@@ -702,8 +744,8 @@ module Google
|
|
702
744
|
class DlpRuleViolation
|
703
745
|
include Google::Apis::Core::Hashable
|
704
746
|
|
705
|
-
# Common alert information about violated rules that are configured by
|
706
|
-
# administrators.
|
747
|
+
# Common alert information about violated rules that are configured by Google
|
748
|
+
# Workspace administrators.
|
707
749
|
# Corresponds to the JSON property `ruleViolationInfo`
|
708
750
|
# @return [Google::Apis::AlertcenterV1beta1::RuleViolationInfo]
|
709
751
|
attr_accessor :rule_violation_info
|
@@ -841,7 +883,7 @@ module Google
|
|
841
883
|
end
|
842
884
|
end
|
843
885
|
|
844
|
-
# An incident reported by Google Operations for a
|
886
|
+
# An incident reported by Google Operations for a Google Workspace application.
|
845
887
|
class GoogleOperations
|
846
888
|
include Google::Apis::Core::Hashable
|
847
889
|
|
@@ -861,7 +903,7 @@ module Google
|
|
861
903
|
# @return [String]
|
862
904
|
attr_accessor :description
|
863
905
|
|
864
|
-
# A header to display above the incident message.
|
906
|
+
# A header to display above the incident message. Typically used to attach a
|
865
907
|
# localized notice on the timeline for followup comms translations.
|
866
908
|
# Corresponds to the JSON property `header`
|
867
909
|
# @return [String]
|
@@ -1065,7 +1107,8 @@ module Google
|
|
1065
1107
|
end
|
1066
1108
|
|
1067
1109
|
# Settings for callback notifications. For more details see [Google Workspace
|
1068
|
-
# Alert Notification](/admin-sdk/alertcenter/guides/
|
1110
|
+
# Alert Notification](https://developers.google.com/admin-sdk/alertcenter/guides/
|
1111
|
+
# notifications).
|
1069
1112
|
class Notification
|
1070
1113
|
include Google::Apis::Core::Hashable
|
1071
1114
|
|
@@ -1145,6 +1188,41 @@ module Google
|
|
1145
1188
|
end
|
1146
1189
|
end
|
1147
1190
|
|
1191
|
+
# Alerts from Reporting Rules configured by Admin.
|
1192
|
+
class ReportingRule
|
1193
|
+
include Google::Apis::Core::Hashable
|
1194
|
+
|
1195
|
+
# Any other associated alert details, for example, AlertConfiguration.
|
1196
|
+
# Corresponds to the JSON property `alertDetails`
|
1197
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1198
|
+
# @return [String]
|
1199
|
+
attr_accessor :alert_details
|
1200
|
+
|
1201
|
+
# Rule name
|
1202
|
+
# Corresponds to the JSON property `name`
|
1203
|
+
# @return [String]
|
1204
|
+
attr_accessor :name
|
1205
|
+
|
1206
|
+
# Alert Rule query Sample Query query ` condition ` filter `
|
1207
|
+
# expected_application_id: 777491262838 expected_event_name: "
|
1208
|
+
# indexable_content_change" filter_op: IN ` ` conjunction_operator: OR `
|
1209
|
+
# Corresponds to the JSON property `query`
|
1210
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1211
|
+
# @return [String]
|
1212
|
+
attr_accessor :query
|
1213
|
+
|
1214
|
+
def initialize(**args)
|
1215
|
+
update!(**args)
|
1216
|
+
end
|
1217
|
+
|
1218
|
+
# Update properties of this object
|
1219
|
+
def update!(**args)
|
1220
|
+
@alert_details = args[:alert_details] if args.key?(:alert_details)
|
1221
|
+
@name = args[:name] if args.key?(:name)
|
1222
|
+
@query = args[:query] if args.key?(:query)
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
|
1148
1226
|
# Requests for one application that needs default SQL setup.
|
1149
1227
|
class RequestInfo
|
1150
1228
|
include Google::Apis::Core::Hashable
|
@@ -1227,8 +1305,8 @@ module Google
|
|
1227
1305
|
end
|
1228
1306
|
end
|
1229
1307
|
|
1230
|
-
# Common alert information about violated rules that are configured by
|
1231
|
-
# administrators.
|
1308
|
+
# Common alert information about violated rules that are configured by Google
|
1309
|
+
# Workspace administrators.
|
1232
1310
|
class RuleViolationInfo
|
1233
1311
|
include Google::Apis::Core::Hashable
|
1234
1312
|
|
@@ -1271,6 +1349,11 @@ module Google
|
|
1271
1349
|
# @return [String]
|
1272
1350
|
attr_accessor :trigger
|
1273
1351
|
|
1352
|
+
# Metadata related to the triggered actions.
|
1353
|
+
# Corresponds to the JSON property `triggeredActionInfo`
|
1354
|
+
# @return [Array<Google::Apis::AlertcenterV1beta1::ActionInfo>]
|
1355
|
+
attr_accessor :triggered_action_info
|
1356
|
+
|
1274
1357
|
# Actions applied as a consequence of the rule being triggered.
|
1275
1358
|
# Corresponds to the JSON property `triggeredActionTypes`
|
1276
1359
|
# @return [Array<String>]
|
@@ -1295,6 +1378,7 @@ module Google
|
|
1295
1378
|
@rule_info = args[:rule_info] if args.key?(:rule_info)
|
1296
1379
|
@suppressed_action_types = args[:suppressed_action_types] if args.key?(:suppressed_action_types)
|
1297
1380
|
@trigger = args[:trigger] if args.key?(:trigger)
|
1381
|
+
@triggered_action_info = args[:triggered_action_info] if args.key?(:triggered_action_info)
|
1298
1382
|
@triggered_action_types = args[:triggered_action_types] if args.key?(:triggered_action_types)
|
1299
1383
|
@triggering_user_email = args[:triggering_user_email] if args.key?(:triggering_user_email)
|
1300
1384
|
end
|
@@ -1515,6 +1599,28 @@ module Google
|
|
1515
1599
|
end
|
1516
1600
|
end
|
1517
1601
|
|
1602
|
+
# Alerts from UserChanges bucket Rules for predefined rules which contain the
|
1603
|
+
# below rules. Suspended user made active New user Added User suspended (by
|
1604
|
+
# admin) User granted admin privileges User admin privileges revoked User
|
1605
|
+
# deleted Users password changed
|
1606
|
+
class UserChanges
|
1607
|
+
include Google::Apis::Core::Hashable
|
1608
|
+
|
1609
|
+
# Rule name
|
1610
|
+
# Corresponds to the JSON property `name`
|
1611
|
+
# @return [String]
|
1612
|
+
attr_accessor :name
|
1613
|
+
|
1614
|
+
def initialize(**args)
|
1615
|
+
update!(**args)
|
1616
|
+
end
|
1617
|
+
|
1618
|
+
# Update properties of this object
|
1619
|
+
def update!(**args)
|
1620
|
+
@name = args[:name] if args.key?(:name)
|
1621
|
+
end
|
1622
|
+
end
|
1623
|
+
|
1518
1624
|
# Detector defined by administrators.
|
1519
1625
|
class UserDefinedDetectorInfo
|
1520
1626
|
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.8.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 = "20210601"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class ActionInfo
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class ActivityRule
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -58,6 +64,12 @@ module Google
|
|
58
64
|
include Google::Apis::Core::JsonObjectSupport
|
59
65
|
end
|
60
66
|
|
67
|
+
class AppSettingsChanged
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
61
73
|
class Attachment
|
62
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
75
|
|
@@ -214,6 +226,12 @@ module Google
|
|
214
226
|
include Google::Apis::Core::JsonObjectSupport
|
215
227
|
end
|
216
228
|
|
229
|
+
class ReportingRule
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
217
235
|
class RequestInfo
|
218
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
237
|
|
@@ -280,6 +298,12 @@ module Google
|
|
280
298
|
include Google::Apis::Core::JsonObjectSupport
|
281
299
|
end
|
282
300
|
|
301
|
+
class UserChanges
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
283
307
|
class UserDefinedDetectorInfo
|
284
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
309
|
|
@@ -295,6 +319,12 @@ module Google
|
|
295
319
|
end
|
296
320
|
end
|
297
321
|
|
322
|
+
class ActionInfo
|
323
|
+
# @private
|
324
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
298
328
|
class ActivityRule
|
299
329
|
# @private
|
300
330
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -366,6 +396,14 @@ module Google
|
|
366
396
|
end
|
367
397
|
end
|
368
398
|
|
399
|
+
class AppSettingsChanged
|
400
|
+
# @private
|
401
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
402
|
+
property :alert_details, :base64 => true, as: 'alertDetails'
|
403
|
+
property :name, as: 'name'
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
369
407
|
class Attachment
|
370
408
|
# @private
|
371
409
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -609,6 +647,15 @@ module Google
|
|
609
647
|
end
|
610
648
|
end
|
611
649
|
|
650
|
+
class ReportingRule
|
651
|
+
# @private
|
652
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
653
|
+
property :alert_details, :base64 => true, as: 'alertDetails'
|
654
|
+
property :name, as: 'name'
|
655
|
+
property :query, :base64 => true, as: 'query'
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
612
659
|
class RequestInfo
|
613
660
|
# @private
|
614
661
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -647,6 +694,8 @@ module Google
|
|
647
694
|
|
648
695
|
collection :suppressed_action_types, as: 'suppressedActionTypes'
|
649
696
|
property :trigger, as: 'trigger'
|
697
|
+
collection :triggered_action_info, as: 'triggeredActionInfo', class: Google::Apis::AlertcenterV1beta1::ActionInfo, decorator: Google::Apis::AlertcenterV1beta1::ActionInfo::Representation
|
698
|
+
|
650
699
|
collection :triggered_action_types, as: 'triggeredActionTypes'
|
651
700
|
property :triggering_user_email, as: 'triggeringUserEmail'
|
652
701
|
end
|
@@ -715,6 +764,13 @@ module Google
|
|
715
764
|
end
|
716
765
|
end
|
717
766
|
|
767
|
+
class UserChanges
|
768
|
+
# @private
|
769
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
770
|
+
property :name, as: 'name'
|
771
|
+
end
|
772
|
+
end
|
773
|
+
|
718
774
|
class UserDefinedDetectorInfo
|
719
775
|
# @private
|
720
776
|
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,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.
|
4
|
+
version: 0.8.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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alertcenter_v1beta1/v0.8.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-alertcenter_v1beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Google Workspace Alert Center API V1beta1
|