google-api-client 0.24.2 → 0.24.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +68 -0
- data/README.md +9 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +5 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +90 -87
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +17 -15
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +155 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +82 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +31 -0
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +835 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +394 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +302 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +37 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +8 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -4
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +5 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +8 -1
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +6 -5
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +12 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +52 -18
- data/generated/google/apis/cloudasset_v1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +798 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +263 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +313 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +42 -5
- data/generated/google/apis/cloudbuild_v1/representations.rb +6 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +59 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +28 -0
- data/generated/google/apis/cloudiot_v1/service.rb +94 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +34 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +227 -48
- data/generated/google/apis/compute_alpha/representations.rb +84 -1
- data/generated/google/apis/compute_alpha/service.rb +50 -10
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +593 -77
- data/generated/google/apis/compute_beta/representations.rb +224 -18
- data/generated/google/apis/compute_beta/service.rb +174 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +41 -18
- data/generated/google/apis/compute_v1/representations.rb +3 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +372 -119
- data/generated/google/apis/content_v2/representations.rb +157 -39
- data/generated/google/apis/content_v2/service.rb +101 -11
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +372 -119
- data/generated/google/apis/content_v2sandbox/representations.rb +157 -39
- data/generated/google/apis/content_v2sandbox/service.rb +90 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +7 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +12 -0
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +21 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +2 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +2 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +110 -5
- data/generated/google/apis/dlp_v2/representations.rb +17 -0
- data/generated/google/apis/dlp_v2/service.rb +41 -3
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +0 -234
- data/generated/google/apis/file_v1beta1/representations.rb +0 -79
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +19 -1
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +3 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +43 -0
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +767 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +337 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +502 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +8 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +1 -0
- data/generated/google/apis/firebaserules_v1/service.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/service.rb +80 -80
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +4 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +3 -1
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +0 -10
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +339 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +45 -37
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +21 -18
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +45 -20
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +2 -0
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +12 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +12 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +19 -17
- data/generated/google/apis/monitoring_v3/representations.rb +1 -2
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +18 -15
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +18 -15
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +2 -150
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -42
- data/generated/google/apis/servicenetworking_v1beta.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +3440 -0
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +992 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +227 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2 -150
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -42
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +308 -30
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +12 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +47 -0
- data/generated/google/apis/testing_v1/representations.rb +18 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +676 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +306 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +676 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +306 -0
- data/generated/google/apis/{videointelligence_v1beta1.rb → videointelligence_v1p1beta1.rb} +6 -6
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/classes.rb +885 -489
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/representations.rb +357 -194
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/service.rb +12 -12
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +2 -2
- data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +22 -6
@@ -0,0 +1,835 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module AlertcenterV1beta1
|
24
|
+
|
25
|
+
# Alerts for user account warning events.
|
26
|
+
class AccountWarning
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Required. Email of the user that this event belongs to.
|
30
|
+
# Corresponds to the JSON property `email`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :email
|
33
|
+
|
34
|
+
# Details of the login action
|
35
|
+
# Corresponds to the JSON property `loginDetails`
|
36
|
+
# @return [Google::Apis::AlertcenterV1beta1::LoginDetails]
|
37
|
+
attr_accessor :login_details
|
38
|
+
|
39
|
+
def initialize(**args)
|
40
|
+
update!(**args)
|
41
|
+
end
|
42
|
+
|
43
|
+
# Update properties of this object
|
44
|
+
def update!(**args)
|
45
|
+
@email = args[:email] if args.key?(:email)
|
46
|
+
@login_details = args[:login_details] if args.key?(:login_details)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# An alert affecting a customer.
|
51
|
+
# All fields are read-only once created.
|
52
|
+
class Alert
|
53
|
+
include Google::Apis::Core::Hashable
|
54
|
+
|
55
|
+
# Output only. The unique identifier for the alert.
|
56
|
+
# Corresponds to the JSON property `alertId`
|
57
|
+
# @return [String]
|
58
|
+
attr_accessor :alert_id
|
59
|
+
|
60
|
+
# Output only. The time this alert was created. Assigned by the server.
|
61
|
+
# Corresponds to the JSON property `createTime`
|
62
|
+
# @return [String]
|
63
|
+
attr_accessor :create_time
|
64
|
+
|
65
|
+
# Output only. The unique identifier of the Google account of the customer.
|
66
|
+
# Corresponds to the JSON property `customerId`
|
67
|
+
# @return [String]
|
68
|
+
attr_accessor :customer_id
|
69
|
+
|
70
|
+
# Optional. Specific data associated with this alert.
|
71
|
+
# e.g. google.apps.alertcenter.type.DeviceCompromised.
|
72
|
+
# Corresponds to the JSON property `data`
|
73
|
+
# @return [Hash<String,Object>]
|
74
|
+
attr_accessor :data
|
75
|
+
|
76
|
+
# Optional. The time this alert was no longer active. If provided, the
|
77
|
+
# end time must not be earlier than the start time. If not provided, the end
|
78
|
+
# time will default to the start time.
|
79
|
+
# Corresponds to the JSON property `endTime`
|
80
|
+
# @return [String]
|
81
|
+
attr_accessor :end_time
|
82
|
+
|
83
|
+
# Output only. An optional Security Investigation Tool query for this
|
84
|
+
# alert.
|
85
|
+
# Corresponds to the JSON property `securityInvestigationToolLink`
|
86
|
+
# @return [String]
|
87
|
+
attr_accessor :security_investigation_tool_link
|
88
|
+
|
89
|
+
# Required. A unique identifier for the system that is reported the alert.
|
90
|
+
# Supported sources are any of the following:
|
91
|
+
# * "Google Operations"
|
92
|
+
# * "Mobile device management"
|
93
|
+
# * "Gmail phishing"
|
94
|
+
# * "Domain wide takeout"
|
95
|
+
# * "Government attack warning"
|
96
|
+
# * "Google identity"
|
97
|
+
# Corresponds to the JSON property `source`
|
98
|
+
# @return [String]
|
99
|
+
attr_accessor :source
|
100
|
+
|
101
|
+
# Required. The time this alert became active.
|
102
|
+
# Corresponds to the JSON property `startTime`
|
103
|
+
# @return [String]
|
104
|
+
attr_accessor :start_time
|
105
|
+
|
106
|
+
# Required. The type of the alert.
|
107
|
+
# Supported types are any of the following:
|
108
|
+
# * "Google Operations"
|
109
|
+
# * "Device compromised"
|
110
|
+
# * "Suspicious activity"
|
111
|
+
# * "User reported phishing"
|
112
|
+
# * "Misconfigured whitelist"
|
113
|
+
# * "Customer takeout initiated"
|
114
|
+
# * "Government attack warning"
|
115
|
+
# * "User reported spam spike"
|
116
|
+
# * "Suspicious message reported"
|
117
|
+
# * "Phishing reclassification"
|
118
|
+
# * "Malware reclassification"
|
119
|
+
# LINT.IfChange
|
120
|
+
# * "Suspicious login"
|
121
|
+
# * "Suspicious login (less secure app)"
|
122
|
+
# * "User suspended"
|
123
|
+
# * "Leaked password"
|
124
|
+
# * "User suspended (suspicious activity)"
|
125
|
+
# * "User suspended (spam)"
|
126
|
+
# * "User suspended (spam through relay)"
|
127
|
+
# LINT.ThenChange(//depot/google3/apps/albert/data/albert_enums.proto)
|
128
|
+
# Corresponds to the JSON property `type`
|
129
|
+
# @return [String]
|
130
|
+
attr_accessor :type
|
131
|
+
|
132
|
+
def initialize(**args)
|
133
|
+
update!(**args)
|
134
|
+
end
|
135
|
+
|
136
|
+
# Update properties of this object
|
137
|
+
def update!(**args)
|
138
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
139
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
140
|
+
@customer_id = args[:customer_id] if args.key?(:customer_id)
|
141
|
+
@data = args[:data] if args.key?(:data)
|
142
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
143
|
+
@security_investigation_tool_link = args[:security_investigation_tool_link] if args.key?(:security_investigation_tool_link)
|
144
|
+
@source = args[:source] if args.key?(:source)
|
145
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
146
|
+
@type = args[:type] if args.key?(:type)
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
# A customer feedback about an alert.
|
151
|
+
class AlertFeedback
|
152
|
+
include Google::Apis::Core::Hashable
|
153
|
+
|
154
|
+
# Output only. The alert identifier.
|
155
|
+
# Corresponds to the JSON property `alertId`
|
156
|
+
# @return [String]
|
157
|
+
attr_accessor :alert_id
|
158
|
+
|
159
|
+
# Output only. The time this feedback was created. Assigned by the server.
|
160
|
+
# Corresponds to the JSON property `createTime`
|
161
|
+
# @return [String]
|
162
|
+
attr_accessor :create_time
|
163
|
+
|
164
|
+
# Output only. The unique identifier of the Google account of the customer.
|
165
|
+
# Corresponds to the JSON property `customerId`
|
166
|
+
# @return [String]
|
167
|
+
attr_accessor :customer_id
|
168
|
+
|
169
|
+
# Output only. The email of the user that provided the feedback.
|
170
|
+
# Corresponds to the JSON property `email`
|
171
|
+
# @return [String]
|
172
|
+
attr_accessor :email
|
173
|
+
|
174
|
+
# Output only. A unique identifier for the feedback. When creating a new
|
175
|
+
# feedback the system will assign one.
|
176
|
+
# Corresponds to the JSON property `feedbackId`
|
177
|
+
# @return [String]
|
178
|
+
attr_accessor :feedback_id
|
179
|
+
|
180
|
+
# Required. The type of the feedback.
|
181
|
+
# Corresponds to the JSON property `type`
|
182
|
+
# @return [String]
|
183
|
+
attr_accessor :type
|
184
|
+
|
185
|
+
def initialize(**args)
|
186
|
+
update!(**args)
|
187
|
+
end
|
188
|
+
|
189
|
+
# Update properties of this object
|
190
|
+
def update!(**args)
|
191
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
192
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
193
|
+
@customer_id = args[:customer_id] if args.key?(:customer_id)
|
194
|
+
@email = args[:email] if args.key?(:email)
|
195
|
+
@feedback_id = args[:feedback_id] if args.key?(:feedback_id)
|
196
|
+
@type = args[:type] if args.key?(:type)
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
# Attachment with application-specific information about an alert.
|
201
|
+
class Attachment
|
202
|
+
include Google::Apis::Core::Hashable
|
203
|
+
|
204
|
+
# Representation of a CSV file attachment, as a list of column headers and
|
205
|
+
# a list of data rows.
|
206
|
+
# Corresponds to the JSON property `csv`
|
207
|
+
# @return [Google::Apis::AlertcenterV1beta1::Csv]
|
208
|
+
attr_accessor :csv
|
209
|
+
|
210
|
+
def initialize(**args)
|
211
|
+
update!(**args)
|
212
|
+
end
|
213
|
+
|
214
|
+
# Update properties of this object
|
215
|
+
def update!(**args)
|
216
|
+
@csv = args[:csv] if args.key?(:csv)
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
# Alert for setting the domain or ip that malicious email comes from as
|
221
|
+
# whitelisted domain or ip in Gmail advanced settings.
|
222
|
+
class BadWhitelist
|
223
|
+
include Google::Apis::Core::Hashable
|
224
|
+
|
225
|
+
# Domain id of Gmail phishing alerts.
|
226
|
+
# Corresponds to the JSON property `domainId`
|
227
|
+
# @return [Google::Apis::AlertcenterV1beta1::DomainId]
|
228
|
+
attr_accessor :domain_id
|
229
|
+
|
230
|
+
# Entity whose actions triggered a Gmail phishing alert.
|
231
|
+
# Corresponds to the JSON property `maliciousEntity`
|
232
|
+
# @return [Google::Apis::AlertcenterV1beta1::MaliciousEntity]
|
233
|
+
attr_accessor :malicious_entity
|
234
|
+
|
235
|
+
# Every alert could contain multiple messages.
|
236
|
+
# Corresponds to the JSON property `messages`
|
237
|
+
# @return [Array<Google::Apis::AlertcenterV1beta1::GmailMessageInfo>]
|
238
|
+
attr_accessor :messages
|
239
|
+
|
240
|
+
# The source ip address of the malicious email. e.g. "127.0.0.1".
|
241
|
+
# Corresponds to the JSON property `sourceIp`
|
242
|
+
# @return [String]
|
243
|
+
attr_accessor :source_ip
|
244
|
+
|
245
|
+
def initialize(**args)
|
246
|
+
update!(**args)
|
247
|
+
end
|
248
|
+
|
249
|
+
# Update properties of this object
|
250
|
+
def update!(**args)
|
251
|
+
@domain_id = args[:domain_id] if args.key?(:domain_id)
|
252
|
+
@malicious_entity = args[:malicious_entity] if args.key?(:malicious_entity)
|
253
|
+
@messages = args[:messages] if args.key?(:messages)
|
254
|
+
@source_ip = args[:source_ip] if args.key?(:source_ip)
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
# Representation of a CSV file attachment, as a list of column headers and
|
259
|
+
# a list of data rows.
|
260
|
+
class Csv
|
261
|
+
include Google::Apis::Core::Hashable
|
262
|
+
|
263
|
+
# List of data rows in a CSV file, as string arrays rather than as a
|
264
|
+
# single comma-separated string.
|
265
|
+
# Corresponds to the JSON property `dataRows`
|
266
|
+
# @return [Array<Google::Apis::AlertcenterV1beta1::CsvRow>]
|
267
|
+
attr_accessor :data_rows
|
268
|
+
|
269
|
+
# List of headers for data columns in a CSV file.
|
270
|
+
# Corresponds to the JSON property `headers`
|
271
|
+
# @return [Array<String>]
|
272
|
+
attr_accessor :headers
|
273
|
+
|
274
|
+
def initialize(**args)
|
275
|
+
update!(**args)
|
276
|
+
end
|
277
|
+
|
278
|
+
# Update properties of this object
|
279
|
+
def update!(**args)
|
280
|
+
@data_rows = args[:data_rows] if args.key?(:data_rows)
|
281
|
+
@headers = args[:headers] if args.key?(:headers)
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
# Representation of a single data row in a CSV file.
|
286
|
+
class CsvRow
|
287
|
+
include Google::Apis::Core::Hashable
|
288
|
+
|
289
|
+
# Data entries in a CSV file row, as a string array rather than a single
|
290
|
+
# comma-separated string.
|
291
|
+
# Corresponds to the JSON property `entries`
|
292
|
+
# @return [Array<String>]
|
293
|
+
attr_accessor :entries
|
294
|
+
|
295
|
+
def initialize(**args)
|
296
|
+
update!(**args)
|
297
|
+
end
|
298
|
+
|
299
|
+
# Update properties of this object
|
300
|
+
def update!(**args)
|
301
|
+
@entries = args[:entries] if args.key?(:entries)
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
# A mobile device compromised alert. Derived from audit logs.
|
306
|
+
class DeviceCompromised
|
307
|
+
include Google::Apis::Core::Hashable
|
308
|
+
|
309
|
+
# The email of the user this alert was created for.
|
310
|
+
# Corresponds to the JSON property `email`
|
311
|
+
# @return [String]
|
312
|
+
attr_accessor :email
|
313
|
+
|
314
|
+
# Required. List of security events.
|
315
|
+
# Corresponds to the JSON property `events`
|
316
|
+
# @return [Array<Google::Apis::AlertcenterV1beta1::DeviceCompromisedSecurityDetail>]
|
317
|
+
attr_accessor :events
|
318
|
+
|
319
|
+
def initialize(**args)
|
320
|
+
update!(**args)
|
321
|
+
end
|
322
|
+
|
323
|
+
# Update properties of this object
|
324
|
+
def update!(**args)
|
325
|
+
@email = args[:email] if args.key?(:email)
|
326
|
+
@events = args[:events] if args.key?(:events)
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
# Detailed information of a single MDM device compromised event.
|
331
|
+
class DeviceCompromisedSecurityDetail
|
332
|
+
include Google::Apis::Core::Hashable
|
333
|
+
|
334
|
+
# Device compromised state includes: "Compromised" and "Not Compromised".
|
335
|
+
# Corresponds to the JSON property `deviceCompromisedState`
|
336
|
+
# @return [String]
|
337
|
+
attr_accessor :device_compromised_state
|
338
|
+
|
339
|
+
# Required. Device Info.
|
340
|
+
# Corresponds to the JSON property `deviceId`
|
341
|
+
# @return [String]
|
342
|
+
attr_accessor :device_id
|
343
|
+
|
344
|
+
# The model of the device.
|
345
|
+
# Corresponds to the JSON property `deviceModel`
|
346
|
+
# @return [String]
|
347
|
+
attr_accessor :device_model
|
348
|
+
|
349
|
+
# The type of the device.
|
350
|
+
# Corresponds to the JSON property `deviceType`
|
351
|
+
# @return [String]
|
352
|
+
attr_accessor :device_type
|
353
|
+
|
354
|
+
# Required for IOS, empty for others.
|
355
|
+
# Corresponds to the JSON property `iosVendorId`
|
356
|
+
# @return [String]
|
357
|
+
attr_accessor :ios_vendor_id
|
358
|
+
|
359
|
+
# The device resource id.
|
360
|
+
# Corresponds to the JSON property `resourceId`
|
361
|
+
# @return [String]
|
362
|
+
attr_accessor :resource_id
|
363
|
+
|
364
|
+
# The serial number of the device.
|
365
|
+
# Corresponds to the JSON property `serialNumber`
|
366
|
+
# @return [String]
|
367
|
+
attr_accessor :serial_number
|
368
|
+
|
369
|
+
def initialize(**args)
|
370
|
+
update!(**args)
|
371
|
+
end
|
372
|
+
|
373
|
+
# Update properties of this object
|
374
|
+
def update!(**args)
|
375
|
+
@device_compromised_state = args[:device_compromised_state] if args.key?(:device_compromised_state)
|
376
|
+
@device_id = args[:device_id] if args.key?(:device_id)
|
377
|
+
@device_model = args[:device_model] if args.key?(:device_model)
|
378
|
+
@device_type = args[:device_type] if args.key?(:device_type)
|
379
|
+
@ios_vendor_id = args[:ios_vendor_id] if args.key?(:ios_vendor_id)
|
380
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
381
|
+
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
382
|
+
end
|
383
|
+
end
|
384
|
+
|
385
|
+
# Domain id of Gmail phishing alerts.
|
386
|
+
class DomainId
|
387
|
+
include Google::Apis::Core::Hashable
|
388
|
+
|
389
|
+
# The primary domain for the customer.
|
390
|
+
# Corresponds to the JSON property `customerPrimaryDomain`
|
391
|
+
# @return [String]
|
392
|
+
attr_accessor :customer_primary_domain
|
393
|
+
|
394
|
+
def initialize(**args)
|
395
|
+
update!(**args)
|
396
|
+
end
|
397
|
+
|
398
|
+
# Update properties of this object
|
399
|
+
def update!(**args)
|
400
|
+
@customer_primary_domain = args[:customer_primary_domain] if args.key?(:customer_primary_domain)
|
401
|
+
end
|
402
|
+
end
|
403
|
+
|
404
|
+
# A takeout operation for the entire domain was initiated by an admin. Derived
|
405
|
+
# from audit logs.
|
406
|
+
class DomainWideTakeoutInitiated
|
407
|
+
include Google::Apis::Core::Hashable
|
408
|
+
|
409
|
+
# Email of the admin who initiated the takeout.
|
410
|
+
# Corresponds to the JSON property `email`
|
411
|
+
# @return [String]
|
412
|
+
attr_accessor :email
|
413
|
+
|
414
|
+
# takeout request id.
|
415
|
+
# Corresponds to the JSON property `takeoutRequestId`
|
416
|
+
# @return [String]
|
417
|
+
attr_accessor :takeout_request_id
|
418
|
+
|
419
|
+
def initialize(**args)
|
420
|
+
update!(**args)
|
421
|
+
end
|
422
|
+
|
423
|
+
# Update properties of this object
|
424
|
+
def update!(**args)
|
425
|
+
@email = args[:email] if args.key?(:email)
|
426
|
+
@takeout_request_id = args[:takeout_request_id] if args.key?(:takeout_request_id)
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
430
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
431
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
432
|
+
# or the response type of an API method. For instance:
|
433
|
+
# service Foo `
|
434
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
435
|
+
# `
|
436
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
437
|
+
class Empty
|
438
|
+
include Google::Apis::Core::Hashable
|
439
|
+
|
440
|
+
def initialize(**args)
|
441
|
+
update!(**args)
|
442
|
+
end
|
443
|
+
|
444
|
+
# Update properties of this object
|
445
|
+
def update!(**args)
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
# Details of a message in phishing spike alert.
|
450
|
+
class GmailMessageInfo
|
451
|
+
include Google::Apis::Core::Hashable
|
452
|
+
|
453
|
+
# SHA256 Hash of email's attachment and all MIME parts.
|
454
|
+
# Corresponds to the JSON property `attachmentsSha256Hash`
|
455
|
+
# @return [Array<String>]
|
456
|
+
attr_accessor :attachments_sha256_hash
|
457
|
+
|
458
|
+
# The date the malicious email was sent.
|
459
|
+
# Corresponds to the JSON property `date`
|
460
|
+
# @return [String]
|
461
|
+
attr_accessor :date
|
462
|
+
|
463
|
+
# Hash of message body text.
|
464
|
+
# Corresponds to the JSON property `md5HashMessageBody`
|
465
|
+
# @return [String]
|
466
|
+
attr_accessor :md5_hash_message_body
|
467
|
+
|
468
|
+
# MD5 Hash of email's subject. (Only available for reported emails).
|
469
|
+
# Corresponds to the JSON property `md5HashSubject`
|
470
|
+
# @return [String]
|
471
|
+
attr_accessor :md5_hash_subject
|
472
|
+
|
473
|
+
# Snippet of the message body text. (Only available for reported emails)
|
474
|
+
# Corresponds to the JSON property `messageBodySnippet`
|
475
|
+
# @return [String]
|
476
|
+
attr_accessor :message_body_snippet
|
477
|
+
|
478
|
+
# Message id.
|
479
|
+
# Corresponds to the JSON property `messageId`
|
480
|
+
# @return [String]
|
481
|
+
attr_accessor :message_id
|
482
|
+
|
483
|
+
# Recipient of this email.
|
484
|
+
# Corresponds to the JSON property `recipient`
|
485
|
+
# @return [String]
|
486
|
+
attr_accessor :recipient
|
487
|
+
|
488
|
+
# Email subject text. (Only available for reported emails).
|
489
|
+
# Corresponds to the JSON property `subjectText`
|
490
|
+
# @return [String]
|
491
|
+
attr_accessor :subject_text
|
492
|
+
|
493
|
+
def initialize(**args)
|
494
|
+
update!(**args)
|
495
|
+
end
|
496
|
+
|
497
|
+
# Update properties of this object
|
498
|
+
def update!(**args)
|
499
|
+
@attachments_sha256_hash = args[:attachments_sha256_hash] if args.key?(:attachments_sha256_hash)
|
500
|
+
@date = args[:date] if args.key?(:date)
|
501
|
+
@md5_hash_message_body = args[:md5_hash_message_body] if args.key?(:md5_hash_message_body)
|
502
|
+
@md5_hash_subject = args[:md5_hash_subject] if args.key?(:md5_hash_subject)
|
503
|
+
@message_body_snippet = args[:message_body_snippet] if args.key?(:message_body_snippet)
|
504
|
+
@message_id = args[:message_id] if args.key?(:message_id)
|
505
|
+
@recipient = args[:recipient] if args.key?(:recipient)
|
506
|
+
@subject_text = args[:subject_text] if args.key?(:subject_text)
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
510
|
+
# An incident reported by Google Operations for a G Suite application.
|
511
|
+
class GoogleOperations
|
512
|
+
include Google::Apis::Core::Hashable
|
513
|
+
|
514
|
+
# List of emails which correspond to the users directly affected by the
|
515
|
+
# incident.
|
516
|
+
# Corresponds to the JSON property `affectedUserEmails`
|
517
|
+
# @return [Array<String>]
|
518
|
+
attr_accessor :affected_user_emails
|
519
|
+
|
520
|
+
# Attachment with application-specific information about an alert.
|
521
|
+
# Corresponds to the JSON property `attachmentData`
|
522
|
+
# @return [Google::Apis::AlertcenterV1beta1::Attachment]
|
523
|
+
attr_accessor :attachment_data
|
524
|
+
|
525
|
+
# Detailed, freeform incident description.
|
526
|
+
# Corresponds to the JSON property `description`
|
527
|
+
# @return [String]
|
528
|
+
attr_accessor :description
|
529
|
+
|
530
|
+
# One-line incident description.
|
531
|
+
# Corresponds to the JSON property `title`
|
532
|
+
# @return [String]
|
533
|
+
attr_accessor :title
|
534
|
+
|
535
|
+
def initialize(**args)
|
536
|
+
update!(**args)
|
537
|
+
end
|
538
|
+
|
539
|
+
# Update properties of this object
|
540
|
+
def update!(**args)
|
541
|
+
@affected_user_emails = args[:affected_user_emails] if args.key?(:affected_user_emails)
|
542
|
+
@attachment_data = args[:attachment_data] if args.key?(:attachment_data)
|
543
|
+
@description = args[:description] if args.key?(:description)
|
544
|
+
@title = args[:title] if args.key?(:title)
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
548
|
+
# Response message for an alert feedback listing request.
|
549
|
+
class ListAlertFeedbackResponse
|
550
|
+
include Google::Apis::Core::Hashable
|
551
|
+
|
552
|
+
# The list of alert feedback.
|
553
|
+
# Result is ordered descending by creation time.
|
554
|
+
# Corresponds to the JSON property `feedback`
|
555
|
+
# @return [Array<Google::Apis::AlertcenterV1beta1::AlertFeedback>]
|
556
|
+
attr_accessor :feedback
|
557
|
+
|
558
|
+
def initialize(**args)
|
559
|
+
update!(**args)
|
560
|
+
end
|
561
|
+
|
562
|
+
# Update properties of this object
|
563
|
+
def update!(**args)
|
564
|
+
@feedback = args[:feedback] if args.key?(:feedback)
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
568
|
+
# Response message for an alert listing request.
|
569
|
+
class ListAlertsResponse
|
570
|
+
include Google::Apis::Core::Hashable
|
571
|
+
|
572
|
+
# The list of alerts.
|
573
|
+
# Corresponds to the JSON property `alerts`
|
574
|
+
# @return [Array<Google::Apis::AlertcenterV1beta1::Alert>]
|
575
|
+
attr_accessor :alerts
|
576
|
+
|
577
|
+
# If not empty, indicates that there may be more alerts that match the
|
578
|
+
# request; this value can be passed in a new ListAlertsRequest to get the
|
579
|
+
# next page of values.
|
580
|
+
# Corresponds to the JSON property `nextPageToken`
|
581
|
+
# @return [String]
|
582
|
+
attr_accessor :next_page_token
|
583
|
+
|
584
|
+
def initialize(**args)
|
585
|
+
update!(**args)
|
586
|
+
end
|
587
|
+
|
588
|
+
# Update properties of this object
|
589
|
+
def update!(**args)
|
590
|
+
@alerts = args[:alerts] if args.key?(:alerts)
|
591
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
592
|
+
end
|
593
|
+
end
|
594
|
+
|
595
|
+
# Details of the login action
|
596
|
+
class LoginDetails
|
597
|
+
include Google::Apis::Core::Hashable
|
598
|
+
|
599
|
+
# Required. Human readable IP address (e.g., 11.22.33.44) that is
|
600
|
+
# associated with the warning event.
|
601
|
+
# Corresponds to the JSON property `ipAddress`
|
602
|
+
# @return [String]
|
603
|
+
attr_accessor :ip_address
|
604
|
+
|
605
|
+
# Required. Login time that is associated with the warning event.
|
606
|
+
# Corresponds to the JSON property `loginTime`
|
607
|
+
# @return [String]
|
608
|
+
attr_accessor :login_time
|
609
|
+
|
610
|
+
def initialize(**args)
|
611
|
+
update!(**args)
|
612
|
+
end
|
613
|
+
|
614
|
+
# Update properties of this object
|
615
|
+
def update!(**args)
|
616
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
617
|
+
@login_time = args[:login_time] if args.key?(:login_time)
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
621
|
+
# Proto for all phishing alerts with common payload.
|
622
|
+
# Supported types are any of the following:
|
623
|
+
# User reported phishing
|
624
|
+
# User reported spam spike
|
625
|
+
# Suspicious message reported
|
626
|
+
# Phishing reclassification
|
627
|
+
# Malware reclassification
|
628
|
+
class MailPhishing
|
629
|
+
include Google::Apis::Core::Hashable
|
630
|
+
|
631
|
+
# Domain id of Gmail phishing alerts.
|
632
|
+
# Corresponds to the JSON property `domainId`
|
633
|
+
# @return [Google::Apis::AlertcenterV1beta1::DomainId]
|
634
|
+
attr_accessor :domain_id
|
635
|
+
|
636
|
+
# If true, the email is originated from within the organization.
|
637
|
+
# Corresponds to the JSON property `isInternal`
|
638
|
+
# @return [Boolean]
|
639
|
+
attr_accessor :is_internal
|
640
|
+
alias_method :is_internal?, :is_internal
|
641
|
+
|
642
|
+
# Entity whose actions triggered a Gmail phishing alert.
|
643
|
+
# Corresponds to the JSON property `maliciousEntity`
|
644
|
+
# @return [Google::Apis::AlertcenterV1beta1::MaliciousEntity]
|
645
|
+
attr_accessor :malicious_entity
|
646
|
+
|
647
|
+
# Every alert could contain multiple messages.
|
648
|
+
# Corresponds to the JSON property `messages`
|
649
|
+
# @return [Array<Google::Apis::AlertcenterV1beta1::GmailMessageInfo>]
|
650
|
+
attr_accessor :messages
|
651
|
+
|
652
|
+
def initialize(**args)
|
653
|
+
update!(**args)
|
654
|
+
end
|
655
|
+
|
656
|
+
# Update properties of this object
|
657
|
+
def update!(**args)
|
658
|
+
@domain_id = args[:domain_id] if args.key?(:domain_id)
|
659
|
+
@is_internal = args[:is_internal] if args.key?(:is_internal)
|
660
|
+
@malicious_entity = args[:malicious_entity] if args.key?(:malicious_entity)
|
661
|
+
@messages = args[:messages] if args.key?(:messages)
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
665
|
+
# Entity whose actions triggered a Gmail phishing alert.
|
666
|
+
class MaliciousEntity
|
667
|
+
include Google::Apis::Core::Hashable
|
668
|
+
|
669
|
+
# Sender email address.
|
670
|
+
# Corresponds to the JSON property `fromHeader`
|
671
|
+
# @return [String]
|
672
|
+
attr_accessor :from_header
|
673
|
+
|
674
|
+
def initialize(**args)
|
675
|
+
update!(**args)
|
676
|
+
end
|
677
|
+
|
678
|
+
# Update properties of this object
|
679
|
+
def update!(**args)
|
680
|
+
@from_header = args[:from_header] if args.key?(:from_header)
|
681
|
+
end
|
682
|
+
end
|
683
|
+
|
684
|
+
# Alert for a spike in user reported phishing.
|
685
|
+
# This will be deprecated in favor of MailPhishing.
|
686
|
+
class PhishingSpike
|
687
|
+
include Google::Apis::Core::Hashable
|
688
|
+
|
689
|
+
# Domain id of Gmail phishing alerts.
|
690
|
+
# Corresponds to the JSON property `domainId`
|
691
|
+
# @return [Google::Apis::AlertcenterV1beta1::DomainId]
|
692
|
+
attr_accessor :domain_id
|
693
|
+
|
694
|
+
# If true, the email is originated from within the organization.
|
695
|
+
# Corresponds to the JSON property `isInternal`
|
696
|
+
# @return [Boolean]
|
697
|
+
attr_accessor :is_internal
|
698
|
+
alias_method :is_internal?, :is_internal
|
699
|
+
|
700
|
+
# Entity whose actions triggered a Gmail phishing alert.
|
701
|
+
# Corresponds to the JSON property `maliciousEntity`
|
702
|
+
# @return [Google::Apis::AlertcenterV1beta1::MaliciousEntity]
|
703
|
+
attr_accessor :malicious_entity
|
704
|
+
|
705
|
+
# Every alert could contain multiple messages.
|
706
|
+
# Corresponds to the JSON property `messages`
|
707
|
+
# @return [Array<Google::Apis::AlertcenterV1beta1::GmailMessageInfo>]
|
708
|
+
attr_accessor :messages
|
709
|
+
|
710
|
+
def initialize(**args)
|
711
|
+
update!(**args)
|
712
|
+
end
|
713
|
+
|
714
|
+
# Update properties of this object
|
715
|
+
def update!(**args)
|
716
|
+
@domain_id = args[:domain_id] if args.key?(:domain_id)
|
717
|
+
@is_internal = args[:is_internal] if args.key?(:is_internal)
|
718
|
+
@malicious_entity = args[:malicious_entity] if args.key?(:malicious_entity)
|
719
|
+
@messages = args[:messages] if args.key?(:messages)
|
720
|
+
end
|
721
|
+
end
|
722
|
+
|
723
|
+
# A state sponsored attack alert. Derived from audit logs.
|
724
|
+
class StateSponsoredAttack
|
725
|
+
include Google::Apis::Core::Hashable
|
726
|
+
|
727
|
+
# The email of the user this incident was created for.
|
728
|
+
# Corresponds to the JSON property `email`
|
729
|
+
# @return [String]
|
730
|
+
attr_accessor :email
|
731
|
+
|
732
|
+
def initialize(**args)
|
733
|
+
update!(**args)
|
734
|
+
end
|
735
|
+
|
736
|
+
# Update properties of this object
|
737
|
+
def update!(**args)
|
738
|
+
@email = args[:email] if args.key?(:email)
|
739
|
+
end
|
740
|
+
end
|
741
|
+
|
742
|
+
# A mobile suspicious activity alert. Derived from audit logs.
|
743
|
+
class SuspiciousActivity
|
744
|
+
include Google::Apis::Core::Hashable
|
745
|
+
|
746
|
+
# The email of the user this alert was created for.
|
747
|
+
# Corresponds to the JSON property `email`
|
748
|
+
# @return [String]
|
749
|
+
attr_accessor :email
|
750
|
+
|
751
|
+
# Required. List of security events.
|
752
|
+
# Corresponds to the JSON property `events`
|
753
|
+
# @return [Array<Google::Apis::AlertcenterV1beta1::SuspiciousActivitySecurityDetail>]
|
754
|
+
attr_accessor :events
|
755
|
+
|
756
|
+
def initialize(**args)
|
757
|
+
update!(**args)
|
758
|
+
end
|
759
|
+
|
760
|
+
# Update properties of this object
|
761
|
+
def update!(**args)
|
762
|
+
@email = args[:email] if args.key?(:email)
|
763
|
+
@events = args[:events] if args.key?(:events)
|
764
|
+
end
|
765
|
+
end
|
766
|
+
|
767
|
+
# Detailed information of a single MDM suspicious activity event.
|
768
|
+
class SuspiciousActivitySecurityDetail
|
769
|
+
include Google::Apis::Core::Hashable
|
770
|
+
|
771
|
+
# Required. Device Info.
|
772
|
+
# Corresponds to the JSON property `deviceId`
|
773
|
+
# @return [String]
|
774
|
+
attr_accessor :device_id
|
775
|
+
|
776
|
+
# The model of the device.
|
777
|
+
# Corresponds to the JSON property `deviceModel`
|
778
|
+
# @return [String]
|
779
|
+
attr_accessor :device_model
|
780
|
+
|
781
|
+
# Device property which is changed.
|
782
|
+
# Corresponds to the JSON property `deviceProperty`
|
783
|
+
# @return [String]
|
784
|
+
attr_accessor :device_property
|
785
|
+
|
786
|
+
# The type of the device.
|
787
|
+
# Corresponds to the JSON property `deviceType`
|
788
|
+
# @return [String]
|
789
|
+
attr_accessor :device_type
|
790
|
+
|
791
|
+
# Required for IOS, empty for others.
|
792
|
+
# Corresponds to the JSON property `iosVendorId`
|
793
|
+
# @return [String]
|
794
|
+
attr_accessor :ios_vendor_id
|
795
|
+
|
796
|
+
# New value of the device property after change.
|
797
|
+
# Corresponds to the JSON property `newValue`
|
798
|
+
# @return [String]
|
799
|
+
attr_accessor :new_value
|
800
|
+
|
801
|
+
# Old value of the device property before change.
|
802
|
+
# Corresponds to the JSON property `oldValue`
|
803
|
+
# @return [String]
|
804
|
+
attr_accessor :old_value
|
805
|
+
|
806
|
+
# The device resource id.
|
807
|
+
# Corresponds to the JSON property `resourceId`
|
808
|
+
# @return [String]
|
809
|
+
attr_accessor :resource_id
|
810
|
+
|
811
|
+
# The serial number of the device.
|
812
|
+
# Corresponds to the JSON property `serialNumber`
|
813
|
+
# @return [String]
|
814
|
+
attr_accessor :serial_number
|
815
|
+
|
816
|
+
def initialize(**args)
|
817
|
+
update!(**args)
|
818
|
+
end
|
819
|
+
|
820
|
+
# Update properties of this object
|
821
|
+
def update!(**args)
|
822
|
+
@device_id = args[:device_id] if args.key?(:device_id)
|
823
|
+
@device_model = args[:device_model] if args.key?(:device_model)
|
824
|
+
@device_property = args[:device_property] if args.key?(:device_property)
|
825
|
+
@device_type = args[:device_type] if args.key?(:device_type)
|
826
|
+
@ios_vendor_id = args[:ios_vendor_id] if args.key?(:ios_vendor_id)
|
827
|
+
@new_value = args[:new_value] if args.key?(:new_value)
|
828
|
+
@old_value = args[:old_value] if args.key?(:old_value)
|
829
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
830
|
+
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
831
|
+
end
|
832
|
+
end
|
833
|
+
end
|
834
|
+
end
|
835
|
+
end
|