google-apis-alertcenter_v1beta1 0.33.0 → 0.35.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: ac17e8af47bbb8a63897071ac221ce229c62ef0379c2548647cae43894bec5fb
4
- data.tar.gz: 3bd458bf9e87bf07cc1c8a6b059c9966cd77a501933628eed33a675111b83194
3
+ metadata.gz: 48df379c21e1ea8ca6a58c98d5ce4e1388f49c0bf63d925df4a9e193814d2326
4
+ data.tar.gz: 19cadb7d8b80ef4818ccf8c40cfdc0d27d9490ed0db34668b5e232f63430bab4
5
5
  SHA512:
6
- metadata.gz: 545756281f9fee8ae6d6b9eeaac6b1a775cc9582b69b7086b657dfc3e9ebf285a18f4684cb380b89364a893f1291f125227116e7bdf1ef8a552f5c6008e212a0
7
- data.tar.gz: 3db9815741ec5de00da34029d83cc0027d5e1f0adbdd2257c64f012c9057855aba90c40ca6a5a7cd363be97df483de7f567bb320bb23abc1d62faeaa2a30f560
6
+ metadata.gz: 2a5f659fe323d86a745a105547328e45f716cca4f2ae24c598c5bc6419ee35096e7d433dda4d1260db312490b74343f3871eb4f66e03b5c539b7112d9da9eac5
7
+ data.tar.gz: c97a8f52cb1039d7925fc78c4295d8c790aadff91eff4935c0c0a2b0cdef2bc29625d98c96eb5083749c8c832feef8a2a4015bc7db917a9485000b6e6f86a6d9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alertcenter_v1beta1
2
2
 
3
+ ### v0.35.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230821
6
+
7
+ ### v0.34.0 (2023-04-30)
8
+
9
+ * Regenerated from discovery document revision 20230424
10
+
3
11
  ### v0.33.0 (2023-04-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230417
@@ -22,6 +22,99 @@ 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
+
66
+ # Alert that is triggered when Google support requests to access customer data.
67
+ class AccessApproval
68
+ include Google::Apis::Core::Hashable
69
+
70
+ # Justification for data access based on justification enums.
71
+ # Corresponds to the JSON property `justificationReason`
72
+ # @return [Array<String>]
73
+ attr_accessor :justification_reason
74
+
75
+ # Office location of Google staff requesting access such as "US".
76
+ # Corresponds to the JSON property `officeLocation`
77
+ # @return [String]
78
+ attr_accessor :office_location
79
+
80
+ # Products within scope of the Access Approvals request.
81
+ # Corresponds to the JSON property `products`
82
+ # @return [Array<String>]
83
+ attr_accessor :products
84
+
85
+ # ID of the Access Approvals request. This is a helpful field when requesting
86
+ # support from Google.
87
+ # Corresponds to the JSON property `requestId`
88
+ # @return [String]
89
+ attr_accessor :request_id
90
+
91
+ # Scope of access, also known as a resource. This is further narrowed down by
92
+ # the product field.
93
+ # Corresponds to the JSON property `scope`
94
+ # @return [String]
95
+ attr_accessor :scope
96
+
97
+ # Support tickets related to this Access Approvals request. Populated if there
98
+ # is an associated case number.
99
+ # Corresponds to the JSON property `tickets`
100
+ # @return [Array<Google::Apis::AlertcenterV1beta1::SupportTicket>]
101
+ attr_accessor :tickets
102
+
103
+ def initialize(**args)
104
+ update!(**args)
105
+ end
106
+
107
+ # Update properties of this object
108
+ def update!(**args)
109
+ @justification_reason = args[:justification_reason] if args.key?(:justification_reason)
110
+ @office_location = args[:office_location] if args.key?(:office_location)
111
+ @products = args[:products] if args.key?(:products)
112
+ @request_id = args[:request_id] if args.key?(:request_id)
113
+ @scope = args[:scope] if args.key?(:scope)
114
+ @tickets = args[:tickets] if args.key?(:tickets)
115
+ end
116
+ end
117
+
25
118
  # Details about why an account is receiving an account suspension warning.
26
119
  class AccountSuspensionDetails
27
120
  include Google::Apis::Core::Hashable
@@ -48,7 +141,7 @@ module Google
48
141
  end
49
142
  end
50
143
 
51
- # LINT.IfChange A warning that the customer's account is about to be suspended.
144
+ # A warning that the customer's account is about to be suspended.
52
145
  class AccountSuspensionWarning
53
146
  include Google::Apis::Core::Hashable
54
147
 
@@ -979,6 +1072,73 @@ module Google
979
1072
  end
980
1073
  end
981
1074
 
1075
+ # Individual entity affected by, or related to, an alert.
1076
+ class Entity
1077
+ include Google::Apis::Core::Hashable
1078
+
1079
+ # Link to a Security Investigation Tool search based on this entity, if
1080
+ # available.
1081
+ # Corresponds to the JSON property `link`
1082
+ # @return [String]
1083
+ attr_accessor :link
1084
+
1085
+ # Human-readable name of this entity, such as an email address, file ID, or
1086
+ # device name.
1087
+ # Corresponds to the JSON property `name`
1088
+ # @return [String]
1089
+ attr_accessor :name
1090
+
1091
+ # Extra values beyond name. The order of values should align with headers in
1092
+ # EntityList.
1093
+ # Corresponds to the JSON property `values`
1094
+ # @return [Array<String>]
1095
+ attr_accessor :values
1096
+
1097
+ def initialize(**args)
1098
+ update!(**args)
1099
+ end
1100
+
1101
+ # Update properties of this object
1102
+ def update!(**args)
1103
+ @link = args[:link] if args.key?(:link)
1104
+ @name = args[:name] if args.key?(:name)
1105
+ @values = args[:values] if args.key?(:values)
1106
+ end
1107
+ end
1108
+
1109
+ # EntityList stores entities in a format that can be translated to a table in
1110
+ # the Alert Center UI.
1111
+ class EntityList
1112
+ include Google::Apis::Core::Hashable
1113
+
1114
+ # List of entities affected by the alert.
1115
+ # Corresponds to the JSON property `entities`
1116
+ # @return [Array<Google::Apis::AlertcenterV1beta1::Entity>]
1117
+ attr_accessor :entities
1118
+
1119
+ # Headers of the values in entities. If no value is defined in Entity, this
1120
+ # field should be empty.
1121
+ # Corresponds to the JSON property `headers`
1122
+ # @return [Array<String>]
1123
+ attr_accessor :headers
1124
+
1125
+ # Name of the key detail used to display this entity list.
1126
+ # Corresponds to the JSON property `name`
1127
+ # @return [String]
1128
+ attr_accessor :name
1129
+
1130
+ def initialize(**args)
1131
+ update!(**args)
1132
+ end
1133
+
1134
+ # Update properties of this object
1135
+ def update!(**args)
1136
+ @entities = args[:entities] if args.key?(:entities)
1137
+ @headers = args[:headers] if args.key?(:headers)
1138
+ @name = args[:name] if args.key?(:name)
1139
+ end
1140
+ end
1141
+
982
1142
  # Details of a message in phishing spike alert.
983
1143
  class GmailMessageInfo
984
1144
  include Google::Apis::Core::Hashable
@@ -1860,6 +2020,31 @@ module Google
1860
2020
  end
1861
2021
  end
1862
2022
 
2023
+ # Support ticket related to Access Approvals request
2024
+ class SupportTicket
2025
+ include Google::Apis::Core::Hashable
2026
+
2027
+ # Support ticket ID
2028
+ # Corresponds to the JSON property `ticketId`
2029
+ # @return [String]
2030
+ attr_accessor :ticket_id
2031
+
2032
+ # Link to support ticket
2033
+ # Corresponds to the JSON property `ticketUrl`
2034
+ # @return [String]
2035
+ attr_accessor :ticket_url
2036
+
2037
+ def initialize(**args)
2038
+ update!(**args)
2039
+ end
2040
+
2041
+ # Update properties of this object
2042
+ def update!(**args)
2043
+ @ticket_id = args[:ticket_id] if args.key?(:ticket_id)
2044
+ @ticket_url = args[:ticket_url] if args.key?(:ticket_url)
2045
+ end
2046
+ end
2047
+
1863
2048
  # A mobile suspicious activity alert. Derived from audit logs.
1864
2049
  class SuspiciousActivity
1865
2050
  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.35.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 = "20230821"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,18 @@ 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
+
31
+ class AccessApproval
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class AccountSuspensionDetails
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -184,6 +196,18 @@ module Google
184
196
  include Google::Apis::Core::JsonObjectSupport
185
197
  end
186
198
 
199
+ class Entity
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class EntityList
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
187
211
  class GmailMessageInfo
188
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
213
 
@@ -346,6 +370,12 @@ module Google
346
370
  include Google::Apis::Core::JsonObjectSupport
347
371
  end
348
372
 
373
+ class SupportTicket
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
349
379
  class SuspiciousActivity
350
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
381
 
@@ -412,6 +442,30 @@ module Google
412
442
  include Google::Apis::Core::JsonObjectSupport
413
443
  end
414
444
 
445
+ class AbuseDetected
446
+ # @private
447
+ class Representation < Google::Apis::Core::JsonRepresentation
448
+ property :additional_details, as: 'additionalDetails', class: Google::Apis::AlertcenterV1beta1::EntityList, decorator: Google::Apis::AlertcenterV1beta1::EntityList::Representation
449
+
450
+ property :product, as: 'product'
451
+ property :sub_alert_id, as: 'subAlertId'
452
+ property :variation_type, as: 'variationType'
453
+ end
454
+ end
455
+
456
+ class AccessApproval
457
+ # @private
458
+ class Representation < Google::Apis::Core::JsonRepresentation
459
+ collection :justification_reason, as: 'justificationReason'
460
+ property :office_location, as: 'officeLocation'
461
+ collection :products, as: 'products'
462
+ property :request_id, as: 'requestId'
463
+ property :scope, as: 'scope'
464
+ collection :tickets, as: 'tickets', class: Google::Apis::AlertcenterV1beta1::SupportTicket, decorator: Google::Apis::AlertcenterV1beta1::SupportTicket::Representation
465
+
466
+ end
467
+ end
468
+
415
469
  class AccountSuspensionDetails
416
470
  # @private
417
471
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -677,6 +731,25 @@ module Google
677
731
  end
678
732
  end
679
733
 
734
+ class Entity
735
+ # @private
736
+ class Representation < Google::Apis::Core::JsonRepresentation
737
+ property :link, as: 'link'
738
+ property :name, as: 'name'
739
+ collection :values, as: 'values'
740
+ end
741
+ end
742
+
743
+ class EntityList
744
+ # @private
745
+ class Representation < Google::Apis::Core::JsonRepresentation
746
+ collection :entities, as: 'entities', class: Google::Apis::AlertcenterV1beta1::Entity, decorator: Google::Apis::AlertcenterV1beta1::Entity::Representation
747
+
748
+ collection :headers, as: 'headers'
749
+ property :name, as: 'name'
750
+ end
751
+ end
752
+
680
753
  class GmailMessageInfo
681
754
  # @private
682
755
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -942,6 +1015,14 @@ module Google
942
1015
  end
943
1016
  end
944
1017
 
1018
+ class SupportTicket
1019
+ # @private
1020
+ class Representation < Google::Apis::Core::JsonRepresentation
1021
+ property :ticket_id, as: 'ticketId'
1022
+ property :ticket_url, as: 'ticketUrl'
1023
+ end
1024
+ end
1025
+
945
1026
  class SuspiciousActivity
946
1027
  # @private
947
1028
  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.35.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-08-27 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.35.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Workspace Alert Center API V1beta1