google-apis-alertcenter_v1beta1 0.33.0 → 0.34.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: ac17e8af47bbb8a63897071ac221ce229c62ef0379c2548647cae43894bec5fb
4
- data.tar.gz: 3bd458bf9e87bf07cc1c8a6b059c9966cd77a501933628eed33a675111b83194
3
+ metadata.gz: 81831f6811236dedb613954a4eab93a398a821d65ee8f228b10230bbd3b70e3a
4
+ data.tar.gz: abdd64f278a83af6a3ae14957def19b93d4429cc4e8d10a52a8373e72abb675e
5
5
  SHA512:
6
- metadata.gz: 545756281f9fee8ae6d6b9eeaac6b1a775cc9582b69b7086b657dfc3e9ebf285a18f4684cb380b89364a893f1291f125227116e7bdf1ef8a552f5c6008e212a0
7
- data.tar.gz: 3db9815741ec5de00da34029d83cc0027d5e1f0adbdd2257c64f012c9057855aba90c40ca6a5a7cd363be97df483de7f567bb320bb23abc1d62faeaa2a30f560
6
+ metadata.gz: d48293a01bc8c458249da92e5d5b206bd71702b885a784d3d10b338b8f4d8d3bb0e5e740187febffb2fa7c09d41c01ee7bf6eebb59c0c4a151a27fd0c136379f
7
+ data.tar.gz: 61647438ae5c4ecf1a327a89a3394326ca184108f1b5d6d1d193e5f8d27a3781bc0736cb528b75e0ddc2c9ecf6ce18089697949bfe45da062ad3a77f5112db7d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alertcenter_v1beta1
2
2
 
3
+ ### v0.34.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230424
6
+
3
7
  ### v0.33.0 (2023-04-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20230417
@@ -22,6 +22,47 @@ module Google
22
22
  module Apis
23
23
  module AlertcenterV1beta1
24
24
 
25
+ # A generic alert for abusive user activity occurring with a customer.
26
+ class AbuseDetected
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # EntityList stores entities in a format that can be translated to a table in
30
+ # the Alert Center UI.
31
+ # Corresponds to the JSON property `additionalDetails`
32
+ # @return [Google::Apis::AlertcenterV1beta1::EntityList]
33
+ attr_accessor :additional_details
34
+
35
+ # Product that the abuse is originating from.
36
+ # Corresponds to the JSON property `product`
37
+ # @return [String]
38
+ attr_accessor :product
39
+
40
+ # Unique identifier of each sub alert that is onboarded.
41
+ # Corresponds to the JSON property `subAlertId`
42
+ # @return [String]
43
+ attr_accessor :sub_alert_id
44
+
45
+ # Variation of AbuseDetected alerts. The variation_type determines the texts
46
+ # displayed the alert details. This differs from sub_alert_id because each sub
47
+ # alert can have multiple variation_types, representing different stages of the
48
+ # alert.
49
+ # Corresponds to the JSON property `variationType`
50
+ # @return [String]
51
+ attr_accessor :variation_type
52
+
53
+ def initialize(**args)
54
+ update!(**args)
55
+ end
56
+
57
+ # Update properties of this object
58
+ def update!(**args)
59
+ @additional_details = args[:additional_details] if args.key?(:additional_details)
60
+ @product = args[:product] if args.key?(:product)
61
+ @sub_alert_id = args[:sub_alert_id] if args.key?(:sub_alert_id)
62
+ @variation_type = args[:variation_type] if args.key?(:variation_type)
63
+ end
64
+ end
65
+
25
66
  # Details about why an account is receiving an account suspension warning.
26
67
  class AccountSuspensionDetails
27
68
  include Google::Apis::Core::Hashable
@@ -48,7 +89,7 @@ module Google
48
89
  end
49
90
  end
50
91
 
51
- # LINT.IfChange A warning that the customer's account is about to be suspended.
92
+ # A warning that the customer's account is about to be suspended.
52
93
  class AccountSuspensionWarning
53
94
  include Google::Apis::Core::Hashable
54
95
 
@@ -979,6 +1020,73 @@ module Google
979
1020
  end
980
1021
  end
981
1022
 
1023
+ # Individual entity affected by, or related to, an alert.
1024
+ class Entity
1025
+ include Google::Apis::Core::Hashable
1026
+
1027
+ # Link to a Security Investigation Tool search based on this entity, if
1028
+ # available.
1029
+ # Corresponds to the JSON property `link`
1030
+ # @return [String]
1031
+ attr_accessor :link
1032
+
1033
+ # Human-readable name of this entity, such as an email address, file ID, or
1034
+ # device name.
1035
+ # Corresponds to the JSON property `name`
1036
+ # @return [String]
1037
+ attr_accessor :name
1038
+
1039
+ # Extra values beyond name. The order of values should align with headers in
1040
+ # EntityList.
1041
+ # Corresponds to the JSON property `values`
1042
+ # @return [Array<String>]
1043
+ attr_accessor :values
1044
+
1045
+ def initialize(**args)
1046
+ update!(**args)
1047
+ end
1048
+
1049
+ # Update properties of this object
1050
+ def update!(**args)
1051
+ @link = args[:link] if args.key?(:link)
1052
+ @name = args[:name] if args.key?(:name)
1053
+ @values = args[:values] if args.key?(:values)
1054
+ end
1055
+ end
1056
+
1057
+ # EntityList stores entities in a format that can be translated to a table in
1058
+ # the Alert Center UI.
1059
+ class EntityList
1060
+ include Google::Apis::Core::Hashable
1061
+
1062
+ # List of entities affected by the alert.
1063
+ # Corresponds to the JSON property `entities`
1064
+ # @return [Array<Google::Apis::AlertcenterV1beta1::Entity>]
1065
+ attr_accessor :entities
1066
+
1067
+ # Headers of the values in entities. If no value is defined in Entity, this
1068
+ # field should be empty.
1069
+ # Corresponds to the JSON property `headers`
1070
+ # @return [Array<String>]
1071
+ attr_accessor :headers
1072
+
1073
+ # Name of the key detail used to display this entity list.
1074
+ # Corresponds to the JSON property `name`
1075
+ # @return [String]
1076
+ attr_accessor :name
1077
+
1078
+ def initialize(**args)
1079
+ update!(**args)
1080
+ end
1081
+
1082
+ # Update properties of this object
1083
+ def update!(**args)
1084
+ @entities = args[:entities] if args.key?(:entities)
1085
+ @headers = args[:headers] if args.key?(:headers)
1086
+ @name = args[:name] if args.key?(:name)
1087
+ end
1088
+ end
1089
+
982
1090
  # Details of a message in phishing spike alert.
983
1091
  class GmailMessageInfo
984
1092
  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.33.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230417"
25
+ REVISION = "20230424"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module AlertcenterV1beta1
24
24
 
25
+ class AbuseDetected
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AccountSuspensionDetails
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -184,6 +190,18 @@ module Google
184
190
  include Google::Apis::Core::JsonObjectSupport
185
191
  end
186
192
 
193
+ class Entity
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class EntityList
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
187
205
  class GmailMessageInfo
188
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
207
 
@@ -412,6 +430,17 @@ module Google
412
430
  include Google::Apis::Core::JsonObjectSupport
413
431
  end
414
432
 
433
+ class AbuseDetected
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :additional_details, as: 'additionalDetails', class: Google::Apis::AlertcenterV1beta1::EntityList, decorator: Google::Apis::AlertcenterV1beta1::EntityList::Representation
437
+
438
+ property :product, as: 'product'
439
+ property :sub_alert_id, as: 'subAlertId'
440
+ property :variation_type, as: 'variationType'
441
+ end
442
+ end
443
+
415
444
  class AccountSuspensionDetails
416
445
  # @private
417
446
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -677,6 +706,25 @@ module Google
677
706
  end
678
707
  end
679
708
 
709
+ class Entity
710
+ # @private
711
+ class Representation < Google::Apis::Core::JsonRepresentation
712
+ property :link, as: 'link'
713
+ property :name, as: 'name'
714
+ collection :values, as: 'values'
715
+ end
716
+ end
717
+
718
+ class EntityList
719
+ # @private
720
+ class Representation < Google::Apis::Core::JsonRepresentation
721
+ collection :entities, as: 'entities', class: Google::Apis::AlertcenterV1beta1::Entity, decorator: Google::Apis::AlertcenterV1beta1::Entity::Representation
722
+
723
+ collection :headers, as: 'headers'
724
+ property :name, as: 'name'
725
+ end
726
+ end
727
+
680
728
  class GmailMessageInfo
681
729
  # @private
682
730
  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.33.0
4
+ version: 0.34.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: 2023-04-23 00:00:00.000000000 Z
11
+ date: 2023-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
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.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alertcenter_v1beta1/v0.34.0
62
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: []