google-apis-alertcenter_v1beta1 0.2.0 → 0.7.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: 91c5df9c7c1d75a2334457974154b3a0b1e79fdb4746ba52efc61f0b7467b552
4
- data.tar.gz: 8e025bf880cb7072b109305a1b05b1187c53f0a4317b6d0ac54eb3b51824fb4b
3
+ metadata.gz: b5244a49196d1f72fcc2b4d104fc6485c0c1ecba0b06f9abac3260b2a8843a71
4
+ data.tar.gz: b4491b14b11fcb6fd0c3b0b2dfbdd87a076d1042d51509070eb66728b3007e96
5
5
  SHA512:
6
- metadata.gz: c1a10f6a17e61b98bd5b74f64a64fc82ae2ec61df85ab7c8d5d0d10e0be3948a8f7b284b84be227e42dde309275898ace4e844822ec8a56bc4c126c1a9087585
7
- data.tar.gz: 9209e40e0dd244edbfd1d4ca010d6812a481c17aece046ef3f29930a136c2e57dba5b9a3548f13b89e6f7be7cfd8c80603cf6b68d86d3db7bb8ace2f0cbd6ed1
6
+ metadata.gz: 6790d66898c52d0b10bacbbacab261bb990c0e50b063ace887d315de8f79a08a82ff6f61439d1aead29e9e09a7908ed19324f837ffa20fe21430be6c1110f433
7
+ data.tar.gz: c798949958c950b5ddf95332ee243827a71fe825c852451e924e16112bf8fe71e0879944aee35cce99a936c1f1ba265b25374528e28cbae7735ed32e962a308f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-alertcenter_v1beta1
2
2
 
3
+ ### v0.7.0 (2021-05-28)
4
+
5
+ * Regenerated from discovery document revision 20210519
6
+
7
+ ### v0.6.0 (2021-05-19)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.5.0 (2021-05-05)
12
+
13
+ * Regenerated from discovery document revision 20210427
14
+
15
+ ### v0.4.0 (2021-03-09)
16
+
17
+ * Regenerated from discovery document revision 20210303
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.3.0 (2021-03-04)
21
+
22
+ * Unspecified changes
23
+
3
24
  ### v0.2.0 (2021-01-26)
4
25
 
5
26
  * Regenerated from discovery document revision 20210123
@@ -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
 
@@ -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](/admin-
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 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,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. Typcially used to attach a
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/notifications).
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 G Suite
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.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210123"
25
+ REVISION = "20210519"
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/query-filters) and [Supported
231
- # query filter fields](/admin-sdk/alertcenter/reference/filter-fields#alerts.
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/alertcenter/guides/query-filters) and [
366
- # Supported query filter fields](/admin-sdk/alertcenter/reference/filter-fields#
367
- # alerts.feedback.list).
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.2.0
4
+ version: 0.7.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-02-08 00:00:00.000000000 Z
11
+ date: 2021-05-31 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.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alertcenter_v1beta1/v0.7.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.2.6
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