google-apis-alertcenter_v1beta1 0.1.0 → 0.6.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: 6e586eea84860033a0cf7bfa373ebbc4f3f7fa0f9788eb22d46e4ac52fe82572
4
- data.tar.gz: 13ee934bb4eae216a9bdb488b5e8de36f3fc3bcddb5df4ef7f7ee9cd0fc0359b
3
+ metadata.gz: 285ed6a08da3618077c479b94dfe3ba9828a7c6f0a72231ac2d260d3ff83b45f
4
+ data.tar.gz: a10cf21207ad7486b1e406dcefe2e3fae50a5579aeb6f309d615cc12490f1ce4
5
5
  SHA512:
6
- metadata.gz: f2a689fc1194be87d77fb8804a1f1da49d3be88822bd22658d05241f0e61d1464f78a8f00fd3857008f71b870e9ea3fa89aa96806e8699fb30b44cf3e1e5d41e
7
- data.tar.gz: 6077ff69d4c2fb12be96344fc6dec466c1c963599aba0e8ab988ee50ff8e85a5c725f020e80be7199ffbe45c2170a4013cb0009a692d0efe68fb4d02f018909c
6
+ metadata.gz: 4441db0aa2c50c81905774c8f49059091493bda9a8e412b162bf399360f69c2b9bbd95e1dd9cc417651e04cb18a458ff51b774b00733da7c1a624efb79dd4fed
7
+ data.tar.gz: 1bdb98412794003e54c678e4fccca021d2df084ff975b0adba078e605f68e012255d08599a8a5ccf30698cd17f8eaf3f507a991578058f995e6e1874f7daea17
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-alertcenter_v1beta1
2
2
 
3
+ ### v0.6.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.5.0 (2021-05-05)
8
+
9
+ * Regenerated from discovery document revision 20210427
10
+
11
+ ### v0.4.0 (2021-03-09)
12
+
13
+ * Regenerated from discovery document revision 20210303
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.3.0 (2021-03-04)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.2.0 (2021-01-26)
21
+
22
+ * Regenerated from discovery document revision 20210123
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated from discovery document revision 20201231
@@ -47,7 +47,21 @@ module Google
47
47
  end
48
48
  end
49
49
 
50
- # Alerts from G Suite Security Center rules service configured by admin.
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
 
@@ -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 G Suite
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 G Suite application.
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,6 +903,12 @@ module Google
861
903
  # @return [String]
862
904
  attr_accessor :description
863
905
 
906
+ # A header to display above the incident message. Typically used to attach a
907
+ # localized notice on the timeline for followup comms translations.
908
+ # Corresponds to the JSON property `header`
909
+ # @return [String]
910
+ attr_accessor :header
911
+
864
912
  # A one-line incident description.
865
913
  # Corresponds to the JSON property `title`
866
914
  # @return [String]
@@ -875,6 +923,7 @@ module Google
875
923
  @affected_user_emails = args[:affected_user_emails] if args.key?(:affected_user_emails)
876
924
  @attachment_data = args[:attachment_data] if args.key?(:attachment_data)
877
925
  @description = args[:description] if args.key?(:description)
926
+ @header = args[:header] if args.key?(:header)
878
927
  @title = args[:title] if args.key?(:title)
879
928
  end
880
929
  end
@@ -1138,6 +1187,41 @@ module Google
1138
1187
  end
1139
1188
  end
1140
1189
 
1190
+ # Alerts from Reporting Rules configured by Admin.
1191
+ class ReportingRule
1192
+ include Google::Apis::Core::Hashable
1193
+
1194
+ # Any other associated alert details, for example, AlertConfiguration.
1195
+ # Corresponds to the JSON property `alertDetails`
1196
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1197
+ # @return [String]
1198
+ attr_accessor :alert_details
1199
+
1200
+ # Rule name
1201
+ # Corresponds to the JSON property `name`
1202
+ # @return [String]
1203
+ attr_accessor :name
1204
+
1205
+ # Alert Rule query Sample Query query ` condition ` filter `
1206
+ # expected_application_id: 777491262838 expected_event_name: "
1207
+ # indexable_content_change" filter_op: IN ` ` conjunction_operator: OR `
1208
+ # Corresponds to the JSON property `query`
1209
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1210
+ # @return [String]
1211
+ attr_accessor :query
1212
+
1213
+ def initialize(**args)
1214
+ update!(**args)
1215
+ end
1216
+
1217
+ # Update properties of this object
1218
+ def update!(**args)
1219
+ @alert_details = args[:alert_details] if args.key?(:alert_details)
1220
+ @name = args[:name] if args.key?(:name)
1221
+ @query = args[:query] if args.key?(:query)
1222
+ end
1223
+ end
1224
+
1141
1225
  # Requests for one application that needs default SQL setup.
1142
1226
  class RequestInfo
1143
1227
  include Google::Apis::Core::Hashable
@@ -1220,8 +1304,8 @@ module Google
1220
1304
  end
1221
1305
  end
1222
1306
 
1223
- # Common alert information about violated rules that are configured by G Suite
1224
- # administrators.
1307
+ # Common alert information about violated rules that are configured by Google
1308
+ # Workspace administrators.
1225
1309
  class RuleViolationInfo
1226
1310
  include Google::Apis::Core::Hashable
1227
1311
 
@@ -1264,6 +1348,11 @@ module Google
1264
1348
  # @return [String]
1265
1349
  attr_accessor :trigger
1266
1350
 
1351
+ # Metadata related to the triggered actions.
1352
+ # Corresponds to the JSON property `triggeredActionInfo`
1353
+ # @return [Array<Google::Apis::AlertcenterV1beta1::ActionInfo>]
1354
+ attr_accessor :triggered_action_info
1355
+
1267
1356
  # Actions applied as a consequence of the rule being triggered.
1268
1357
  # Corresponds to the JSON property `triggeredActionTypes`
1269
1358
  # @return [Array<String>]
@@ -1288,6 +1377,7 @@ module Google
1288
1377
  @rule_info = args[:rule_info] if args.key?(:rule_info)
1289
1378
  @suppressed_action_types = args[:suppressed_action_types] if args.key?(:suppressed_action_types)
1290
1379
  @trigger = args[:trigger] if args.key?(:trigger)
1380
+ @triggered_action_info = args[:triggered_action_info] if args.key?(:triggered_action_info)
1291
1381
  @triggered_action_types = args[:triggered_action_types] if args.key?(:triggered_action_types)
1292
1382
  @triggering_user_email = args[:triggering_user_email] if args.key?(:triggering_user_email)
1293
1383
  end
@@ -1508,6 +1598,28 @@ module Google
1508
1598
  end
1509
1599
  end
1510
1600
 
1601
+ # Alerts from UserChanges bucket Rules for predefined rules which contain the
1602
+ # below rules. Suspended user made active New user Added User suspended (by
1603
+ # admin) User granted admin privileges User admin privileges revoked User
1604
+ # deleted Users password changed
1605
+ class UserChanges
1606
+ include Google::Apis::Core::Hashable
1607
+
1608
+ # Rule name
1609
+ # Corresponds to the JSON property `name`
1610
+ # @return [String]
1611
+ attr_accessor :name
1612
+
1613
+ def initialize(**args)
1614
+ update!(**args)
1615
+ end
1616
+
1617
+ # Update properties of this object
1618
+ def update!(**args)
1619
+ @name = args[:name] if args.key?(:name)
1620
+ end
1621
+ end
1622
+
1511
1623
  # Detector defined by administrators.
1512
1624
  class UserDefinedDetectorInfo
1513
1625
  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.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201231"
25
+ REVISION = "20210427"
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
@@ -517,6 +555,7 @@ module Google
517
555
  property :attachment_data, as: 'attachmentData', class: Google::Apis::AlertcenterV1beta1::Attachment, decorator: Google::Apis::AlertcenterV1beta1::Attachment::Representation
518
556
 
519
557
  property :description, as: 'description'
558
+ property :header, as: 'header'
520
559
  property :title, as: 'title'
521
560
  end
522
561
  end
@@ -608,6 +647,15 @@ module Google
608
647
  end
609
648
  end
610
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
+
611
659
  class RequestInfo
612
660
  # @private
613
661
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -646,6 +694,8 @@ module Google
646
694
 
647
695
  collection :suppressed_action_types, as: 'suppressedActionTypes'
648
696
  property :trigger, as: 'trigger'
697
+ collection :triggered_action_info, as: 'triggeredActionInfo', class: Google::Apis::AlertcenterV1beta1::ActionInfo, decorator: Google::Apis::AlertcenterV1beta1::ActionInfo::Representation
698
+
649
699
  collection :triggered_action_types, as: 'triggeredActionTypes'
650
700
  property :triggering_user_email, as: 'triggeringUserEmail'
651
701
  end
@@ -714,6 +764,13 @@ module Google
714
764
  end
715
765
  end
716
766
 
767
+ class UserChanges
768
+ # @private
769
+ class Representation < Google::Apis::Core::JsonRepresentation
770
+ property :name, as: 'name'
771
+ end
772
+ end
773
+
717
774
  class UserDefinedDetectorInfo
718
775
  # @private
719
776
  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.1.0
4
+ version: 0.6.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 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.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alertcenter_v1beta1/v0.6.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: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
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