google-apis-alertcenter_v1beta1 0.25.0 → 0.26.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec9980c08e6747373efe7cc58a5e4839e6a32209a8258c2d31a03e6a25993e79
4
- data.tar.gz: 61ba34fb6639a6db26e9b987375b9b742e7a240aef4baa0c7ce937db3f31234c
3
+ metadata.gz: 5e51ea1ba6b4f255438defe3399d619cc5abd8219a7638fba2b62bff52000558
4
+ data.tar.gz: c5d865107384d030fd4264eceb57449fb475a34eeb998689bae598cd30fdd289
5
5
  SHA512:
6
- metadata.gz: 3aed845a9ce8ab677fa37245704086a9f92f2937eada2c9eb5927b500891d8c8368f8174793b79e0325f48c650c205229fd325651417d75d869a44e497c9ecbd
7
- data.tar.gz: 403ecb94bcf0b4865ddc084d4d2d6e0dcbde2812dd430812bd7241f20a9f4cf05f51e393bd065bb8ef41c70de07178a428c7626282ccf2357008c6dc036742b5
6
+ metadata.gz: e3440d51a26a027e11b48b5087c1c59c0e381ea853de7431f9d082a33fc77f5158d1ba4dd6595594aa7a26d313d27a960731e4872786a945d34c0ca3eb3072cd
7
+ data.tar.gz: 25f9475df4443effd9d2b3318a52a6a5c3a7b1ca2bca41083c0124e9590bbc5b032118a79094595325e3cf3c5ff3a2a3bd9f4a79ad52aee040b566bfabec020f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alertcenter_v1beta1
2
2
 
3
+ ### v0.26.0 (2022-10-05)
4
+
5
+ * Regenerated from discovery document revision 20221004
6
+
3
7
  ### v0.25.0 (2022-09-22)
4
8
 
5
9
  * Regenerated using generator version 0.10.0
@@ -22,6 +22,52 @@ 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
+ # Displayed after Customer abuse detected - `alert_descriptor`. If missing,
36
+ # alert name will be displayed as Customer abuse detected.
37
+ # Corresponds to the JSON property `alertDescriptor`
38
+ # @return [String]
39
+ attr_accessor :alert_descriptor
40
+
41
+ # Product that the abuse is originating from.
42
+ # Corresponds to the JSON property `product`
43
+ # @return [String]
44
+ attr_accessor :product
45
+
46
+ # Unique identifier of each alert that is onboarded.
47
+ # Corresponds to the JSON property `subAlertId`
48
+ # @return [String]
49
+ attr_accessor :sub_alert_id
50
+
51
+ # Customizable text to display in the summary section of the alert. Will be
52
+ # parsed as HTML to allow new paragraphs and hyperlinks.
53
+ # Corresponds to the JSON property `summary`
54
+ # @return [String]
55
+ attr_accessor :summary
56
+
57
+ def initialize(**args)
58
+ update!(**args)
59
+ end
60
+
61
+ # Update properties of this object
62
+ def update!(**args)
63
+ @additional_details = args[:additional_details] if args.key?(:additional_details)
64
+ @alert_descriptor = args[:alert_descriptor] if args.key?(:alert_descriptor)
65
+ @product = args[:product] if args.key?(:product)
66
+ @sub_alert_id = args[:sub_alert_id] if args.key?(:sub_alert_id)
67
+ @summary = args[:summary] if args.key?(:summary)
68
+ end
69
+ end
70
+
25
71
  # Details about why an account is receiving an account suspension warning.
26
72
  class AccountSuspensionDetails
27
73
  include Google::Apis::Core::Hashable
@@ -969,6 +1015,73 @@ module Google
969
1015
  end
970
1016
  end
971
1017
 
1018
+ # Individual entity affected by, or related to, an alert.
1019
+ class Entity
1020
+ include Google::Apis::Core::Hashable
1021
+
1022
+ # Link to a Security Investigation Tool search based on this entity, if
1023
+ # available.
1024
+ # Corresponds to the JSON property `link`
1025
+ # @return [String]
1026
+ attr_accessor :link
1027
+
1028
+ # Human-readable name of this entity, such as an email address, file ID, or
1029
+ # device name.
1030
+ # Corresponds to the JSON property `name`
1031
+ # @return [String]
1032
+ attr_accessor :name
1033
+
1034
+ # Extra values beyond name. The order of values should align with headers in
1035
+ # EntityList.
1036
+ # Corresponds to the JSON property `values`
1037
+ # @return [Array<String>]
1038
+ attr_accessor :values
1039
+
1040
+ def initialize(**args)
1041
+ update!(**args)
1042
+ end
1043
+
1044
+ # Update properties of this object
1045
+ def update!(**args)
1046
+ @link = args[:link] if args.key?(:link)
1047
+ @name = args[:name] if args.key?(:name)
1048
+ @values = args[:values] if args.key?(:values)
1049
+ end
1050
+ end
1051
+
1052
+ # EntityList stores entities in a format that can be translated to a table in
1053
+ # the Alert Center UI.
1054
+ class EntityList
1055
+ include Google::Apis::Core::Hashable
1056
+
1057
+ # List of entities affected by the alert.
1058
+ # Corresponds to the JSON property `entities`
1059
+ # @return [Array<Google::Apis::AlertcenterV1beta1::Entity>]
1060
+ attr_accessor :entities
1061
+
1062
+ # Headers of the values in entities. If no value is defined in Entity, this
1063
+ # field should be empty.
1064
+ # Corresponds to the JSON property `headers`
1065
+ # @return [Array<String>]
1066
+ attr_accessor :headers
1067
+
1068
+ # Name of the key detail used to display this entity list.
1069
+ # Corresponds to the JSON property `name`
1070
+ # @return [String]
1071
+ attr_accessor :name
1072
+
1073
+ def initialize(**args)
1074
+ update!(**args)
1075
+ end
1076
+
1077
+ # Update properties of this object
1078
+ def update!(**args)
1079
+ @entities = args[:entities] if args.key?(:entities)
1080
+ @headers = args[:headers] if args.key?(:headers)
1081
+ @name = args[:name] if args.key?(:name)
1082
+ end
1083
+ end
1084
+
972
1085
  # Details of a message in phishing spike alert.
973
1086
  class GmailMessageInfo
974
1087
  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.25.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220718"
25
+ REVISION = "20221004"
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
 
@@ -382,6 +400,18 @@ module Google
382
400
  include Google::Apis::Core::JsonObjectSupport
383
401
  end
384
402
 
403
+ class AbuseDetected
404
+ # @private
405
+ class Representation < Google::Apis::Core::JsonRepresentation
406
+ property :additional_details, as: 'additionalDetails', class: Google::Apis::AlertcenterV1beta1::EntityList, decorator: Google::Apis::AlertcenterV1beta1::EntityList::Representation
407
+
408
+ property :alert_descriptor, as: 'alertDescriptor'
409
+ property :product, as: 'product'
410
+ property :sub_alert_id, as: 'subAlertId'
411
+ property :summary, as: 'summary'
412
+ end
413
+ end
414
+
385
415
  class AccountSuspensionDetails
386
416
  # @private
387
417
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -647,6 +677,25 @@ module Google
647
677
  end
648
678
  end
649
679
 
680
+ class Entity
681
+ # @private
682
+ class Representation < Google::Apis::Core::JsonRepresentation
683
+ property :link, as: 'link'
684
+ property :name, as: 'name'
685
+ collection :values, as: 'values'
686
+ end
687
+ end
688
+
689
+ class EntityList
690
+ # @private
691
+ class Representation < Google::Apis::Core::JsonRepresentation
692
+ collection :entities, as: 'entities', class: Google::Apis::AlertcenterV1beta1::Entity, decorator: Google::Apis::AlertcenterV1beta1::Entity::Representation
693
+
694
+ collection :headers, as: 'headers'
695
+ property :name, as: 'name'
696
+ end
697
+ end
698
+
650
699
  class GmailMessageInfo
651
700
  # @private
652
701
  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.25.0
4
+ version: 0.26.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: 2022-09-26 00:00:00.000000000 Z
11
+ date: 2022-10-17 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.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alertcenter_v1beta1/v0.26.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: []