2018-10-09 00:36:14 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
require 'date'
|
|
|
|
require 'google/apis/core/base_service'
|
|
|
|
require 'google/apis/core/json_representation'
|
|
|
|
require 'google/apis/core/hashable'
|
|
|
|
require 'google/apis/errors'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
module AlertcenterV1beta1
|
|
|
|
|
|
|
|
class AccountWarning
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-04-25 00:37:02 +00:00
|
|
|
class ActivityRule
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class Alert
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AlertFeedback
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-08-24 00:37:50 +00:00
|
|
|
class AlertMetadata
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-09-14 00:38:26 +00:00
|
|
|
class AppMakerSqlSetupNotification
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class Attachment
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class BadWhitelist
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-08-24 00:37:50 +00:00
|
|
|
class BatchDeleteAlertsRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchDeleteAlertsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchUndeleteAlertsRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchUndeleteAlertsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-19 00:36:17 +00:00
|
|
|
class CloudPubsubTopic
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class Csv
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class CsvRow
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DeviceCompromised
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DeviceCompromisedSecurityDetail
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-02-05 00:37:38 +00:00
|
|
|
class DlpRuleViolation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class DomainId
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DomainWideTakeoutInitiated
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-02-19 00:37:40 +00:00
|
|
|
class DriveFile
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DriveFileWarning
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class Empty
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GmailMessageInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleOperations
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListAlertFeedbackResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListAlertsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LoginDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MailPhishing
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MaliciousEntity
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-02-05 00:37:38 +00:00
|
|
|
class MatchInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-19 00:36:17 +00:00
|
|
|
class Notification
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class PhishingSpike
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-02-05 00:37:38 +00:00
|
|
|
class PredefinedDetectorInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-09-14 00:38:26 +00:00
|
|
|
class RequestInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-02-05 00:37:38 +00:00
|
|
|
class ResourceInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RuleInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RuleViolationInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-19 00:36:17 +00:00
|
|
|
class Settings
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class StateSponsoredAttack
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-08-24 00:37:50 +00:00
|
|
|
class Status
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class SuspiciousActivity
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SuspiciousActivitySecurityDetail
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-08 00:36:43 +00:00
|
|
|
class UndeleteAlertRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-01-10 00:37:35 +00:00
|
|
|
class User
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-02-05 00:37:38 +00:00
|
|
|
class UserDefinedDetectorInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class AccountWarning
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :login_details, as: 'loginDetails', class: Google::Apis::AlertcenterV1beta1::LoginDetails, decorator: Google::Apis::AlertcenterV1beta1::LoginDetails::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-04-25 00:37:02 +00:00
|
|
|
class ActivityRule
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :action_names, as: 'actionNames'
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :query, as: 'query'
|
|
|
|
collection :superseded_alerts, as: 'supersededAlerts'
|
|
|
|
property :superseding_alert, as: 'supersedingAlert'
|
|
|
|
property :threshold, as: 'threshold'
|
|
|
|
property :trigger_source, as: 'triggerSource'
|
|
|
|
property :update_time, as: 'updateTime'
|
|
|
|
property :window_size, as: 'windowSize'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class Alert
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :alert_id, as: 'alertId'
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :customer_id, as: 'customerId'
|
|
|
|
hash :data, as: 'data'
|
2018-11-06 00:31:47 +00:00
|
|
|
property :deleted, as: 'deleted'
|
2018-10-09 00:36:14 +00:00
|
|
|
property :end_time, as: 'endTime'
|
2019-08-24 00:37:50 +00:00
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::AlertcenterV1beta1::AlertMetadata, decorator: Google::Apis::AlertcenterV1beta1::AlertMetadata::Representation
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
property :security_investigation_tool_link, as: 'securityInvestigationToolLink'
|
|
|
|
property :source, as: 'source'
|
|
|
|
property :start_time, as: 'startTime'
|
|
|
|
property :type, as: 'type'
|
2019-04-25 00:37:02 +00:00
|
|
|
property :update_time, as: 'updateTime'
|
2018-10-09 00:36:14 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AlertFeedback
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :alert_id, as: 'alertId'
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :customer_id, as: 'customerId'
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :feedback_id, as: 'feedbackId'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-08-24 00:37:50 +00:00
|
|
|
class AlertMetadata
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :alert_id, as: 'alertId'
|
|
|
|
property :assignee, as: 'assignee'
|
|
|
|
property :customer_id, as: 'customerId'
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :severity, as: 'severity'
|
|
|
|
property :status, as: 'status'
|
|
|
|
property :update_time, as: 'updateTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-09-14 00:38:26 +00:00
|
|
|
class AppMakerSqlSetupNotification
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :request_info, as: 'requestInfo', class: Google::Apis::AlertcenterV1beta1::RequestInfo, decorator: Google::Apis::AlertcenterV1beta1::RequestInfo::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class Attachment
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :csv, as: 'csv', class: Google::Apis::AlertcenterV1beta1::Csv, decorator: Google::Apis::AlertcenterV1beta1::Csv::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BadWhitelist
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :domain_id, as: 'domainId', class: Google::Apis::AlertcenterV1beta1::DomainId, decorator: Google::Apis::AlertcenterV1beta1::DomainId::Representation
|
|
|
|
|
|
|
|
property :malicious_entity, as: 'maliciousEntity', class: Google::Apis::AlertcenterV1beta1::MaliciousEntity, decorator: Google::Apis::AlertcenterV1beta1::MaliciousEntity::Representation
|
|
|
|
|
|
|
|
collection :messages, as: 'messages', class: Google::Apis::AlertcenterV1beta1::GmailMessageInfo, decorator: Google::Apis::AlertcenterV1beta1::GmailMessageInfo::Representation
|
|
|
|
|
|
|
|
property :source_ip, as: 'sourceIp'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-08-24 00:37:50 +00:00
|
|
|
class BatchDeleteAlertsRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :alert_id, as: 'alertId'
|
|
|
|
property :customer_id, as: 'customerId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchDeleteAlertsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
hash :failed_alert_status, as: 'failedAlertStatus', class: Google::Apis::AlertcenterV1beta1::Status, decorator: Google::Apis::AlertcenterV1beta1::Status::Representation
|
|
|
|
|
|
|
|
collection :success_alert_ids, as: 'successAlertIds'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchUndeleteAlertsRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :alert_id, as: 'alertId'
|
|
|
|
property :customer_id, as: 'customerId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchUndeleteAlertsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
hash :failed_alert_status, as: 'failedAlertStatus', class: Google::Apis::AlertcenterV1beta1::Status, decorator: Google::Apis::AlertcenterV1beta1::Status::Representation
|
|
|
|
|
|
|
|
collection :success_alert_ids, as: 'successAlertIds'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-19 00:36:17 +00:00
|
|
|
class CloudPubsubTopic
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :payload_format, as: 'payloadFormat'
|
|
|
|
property :topic_name, as: 'topicName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class Csv
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :data_rows, as: 'dataRows', class: Google::Apis::AlertcenterV1beta1::CsvRow, decorator: Google::Apis::AlertcenterV1beta1::CsvRow::Representation
|
|
|
|
|
|
|
|
collection :headers, as: 'headers'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CsvRow
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DeviceCompromised
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :email, as: 'email'
|
|
|
|
collection :events, as: 'events', class: Google::Apis::AlertcenterV1beta1::DeviceCompromisedSecurityDetail, decorator: Google::Apis::AlertcenterV1beta1::DeviceCompromisedSecurityDetail::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DeviceCompromisedSecurityDetail
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :device_compromised_state, as: 'deviceCompromisedState'
|
|
|
|
property :device_id, as: 'deviceId'
|
|
|
|
property :device_model, as: 'deviceModel'
|
|
|
|
property :device_type, as: 'deviceType'
|
|
|
|
property :ios_vendor_id, as: 'iosVendorId'
|
|
|
|
property :resource_id, as: 'resourceId'
|
|
|
|
property :serial_number, as: 'serialNumber'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-02-05 00:37:38 +00:00
|
|
|
class DlpRuleViolation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :rule_violation_info, as: 'ruleViolationInfo', class: Google::Apis::AlertcenterV1beta1::RuleViolationInfo, decorator: Google::Apis::AlertcenterV1beta1::RuleViolationInfo::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class DomainId
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :customer_primary_domain, as: 'customerPrimaryDomain'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DomainWideTakeoutInitiated
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :takeout_request_id, as: 'takeoutRequestId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-02-19 00:37:40 +00:00
|
|
|
class DriveFile
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :abuse_type, as: 'abuseType'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :num_recent_download, :numeric_string => true, as: 'numRecentDownload'
|
|
|
|
property :owner, as: 'owner'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DriveFileWarning
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :files, as: 'files', class: Google::Apis::AlertcenterV1beta1::DriveFile, decorator: Google::Apis::AlertcenterV1beta1::DriveFile::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class Empty
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GmailMessageInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :attachments_sha256_hash, as: 'attachmentsSha256Hash'
|
|
|
|
property :date, as: 'date'
|
|
|
|
property :md5_hash_message_body, as: 'md5HashMessageBody'
|
|
|
|
property :md5_hash_subject, as: 'md5HashSubject'
|
|
|
|
property :message_body_snippet, as: 'messageBodySnippet'
|
|
|
|
property :message_id, as: 'messageId'
|
|
|
|
property :recipient, as: 'recipient'
|
|
|
|
property :subject_text, as: 'subjectText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleOperations
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :affected_user_emails, as: 'affectedUserEmails'
|
|
|
|
property :attachment_data, as: 'attachmentData', class: Google::Apis::AlertcenterV1beta1::Attachment, decorator: Google::Apis::AlertcenterV1beta1::Attachment::Representation
|
|
|
|
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListAlertFeedbackResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :feedback, as: 'feedback', class: Google::Apis::AlertcenterV1beta1::AlertFeedback, decorator: Google::Apis::AlertcenterV1beta1::AlertFeedback::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListAlertsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :alerts, as: 'alerts', class: Google::Apis::AlertcenterV1beta1::Alert, decorator: Google::Apis::AlertcenterV1beta1::Alert::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LoginDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :ip_address, as: 'ipAddress'
|
|
|
|
property :login_time, as: 'loginTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MailPhishing
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :domain_id, as: 'domainId', class: Google::Apis::AlertcenterV1beta1::DomainId, decorator: Google::Apis::AlertcenterV1beta1::DomainId::Representation
|
|
|
|
|
|
|
|
property :is_internal, as: 'isInternal'
|
|
|
|
property :malicious_entity, as: 'maliciousEntity', class: Google::Apis::AlertcenterV1beta1::MaliciousEntity, decorator: Google::Apis::AlertcenterV1beta1::MaliciousEntity::Representation
|
|
|
|
|
|
|
|
collection :messages, as: 'messages', class: Google::Apis::AlertcenterV1beta1::GmailMessageInfo, decorator: Google::Apis::AlertcenterV1beta1::GmailMessageInfo::Representation
|
|
|
|
|
2020-01-23 00:37:29 +00:00
|
|
|
property :system_action_type, as: 'systemActionType'
|
2018-10-09 00:36:14 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MaliciousEntity
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-05-23 00:38:08 +00:00
|
|
|
property :display_name, as: 'displayName'
|
2020-01-10 00:37:35 +00:00
|
|
|
property :entity, as: 'entity', class: Google::Apis::AlertcenterV1beta1::User, decorator: Google::Apis::AlertcenterV1beta1::User::Representation
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
property :from_header, as: 'fromHeader'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-02-05 00:37:38 +00:00
|
|
|
class MatchInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :predefined_detector, as: 'predefinedDetector', class: Google::Apis::AlertcenterV1beta1::PredefinedDetectorInfo, decorator: Google::Apis::AlertcenterV1beta1::PredefinedDetectorInfo::Representation
|
|
|
|
|
|
|
|
property :user_defined_detector, as: 'userDefinedDetector', class: Google::Apis::AlertcenterV1beta1::UserDefinedDetectorInfo, decorator: Google::Apis::AlertcenterV1beta1::UserDefinedDetectorInfo::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-19 00:36:17 +00:00
|
|
|
class Notification
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cloud_pubsub_topic, as: 'cloudPubsubTopic', class: Google::Apis::AlertcenterV1beta1::CloudPubsubTopic, decorator: Google::Apis::AlertcenterV1beta1::CloudPubsubTopic::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class PhishingSpike
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :domain_id, as: 'domainId', class: Google::Apis::AlertcenterV1beta1::DomainId, decorator: Google::Apis::AlertcenterV1beta1::DomainId::Representation
|
|
|
|
|
|
|
|
property :is_internal, as: 'isInternal'
|
|
|
|
property :malicious_entity, as: 'maliciousEntity', class: Google::Apis::AlertcenterV1beta1::MaliciousEntity, decorator: Google::Apis::AlertcenterV1beta1::MaliciousEntity::Representation
|
|
|
|
|
|
|
|
collection :messages, as: 'messages', class: Google::Apis::AlertcenterV1beta1::GmailMessageInfo, decorator: Google::Apis::AlertcenterV1beta1::GmailMessageInfo::Representation
|
|
|
|
|
|
|
|
end
|
2019-09-14 00:38:26 +00:00
|
|
|
end
|
|
|
|
|
2020-02-05 00:37:38 +00:00
|
|
|
class PredefinedDetectorInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :detector_name, as: 'detectorName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-09-14 00:38:26 +00:00
|
|
|
class RequestInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :app_developer_email, as: 'appDeveloperEmail'
|
|
|
|
property :app_key, as: 'appKey'
|
|
|
|
property :number_of_requests, :numeric_string => true, as: 'numberOfRequests'
|
|
|
|
end
|
2018-10-09 00:36:14 +00:00
|
|
|
end
|
|
|
|
|
2020-02-05 00:37:38 +00:00
|
|
|
class ResourceInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :document_id, as: 'documentId'
|
|
|
|
property :resource_title, as: 'resourceTitle'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RuleInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :resource_name, as: 'resourceName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RuleViolationInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :data_source, as: 'dataSource'
|
|
|
|
collection :match_info, as: 'matchInfo', class: Google::Apis::AlertcenterV1beta1::MatchInfo, decorator: Google::Apis::AlertcenterV1beta1::MatchInfo::Representation
|
|
|
|
|
|
|
|
collection :recipients, as: 'recipients'
|
|
|
|
property :resource_info, as: 'resourceInfo', class: Google::Apis::AlertcenterV1beta1::ResourceInfo, decorator: Google::Apis::AlertcenterV1beta1::ResourceInfo::Representation
|
|
|
|
|
|
|
|
property :rule_info, as: 'ruleInfo', class: Google::Apis::AlertcenterV1beta1::RuleInfo, decorator: Google::Apis::AlertcenterV1beta1::RuleInfo::Representation
|
|
|
|
|
|
|
|
collection :suppressed_action_types, as: 'suppressedActionTypes'
|
|
|
|
property :trigger, as: 'trigger'
|
|
|
|
collection :triggered_action_types, as: 'triggeredActionTypes'
|
|
|
|
property :triggering_user_email, as: 'triggeringUserEmail'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-19 00:36:17 +00:00
|
|
|
class Settings
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :notifications, as: 'notifications', class: Google::Apis::AlertcenterV1beta1::Notification, decorator: Google::Apis::AlertcenterV1beta1::Notification::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class StateSponsoredAttack
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :email, as: 'email'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-08-24 00:37:50 +00:00
|
|
|
class Status
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :code, as: 'code'
|
|
|
|
collection :details, as: 'details'
|
|
|
|
property :message, as: 'message'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-10-09 00:36:14 +00:00
|
|
|
class SuspiciousActivity
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :email, as: 'email'
|
|
|
|
collection :events, as: 'events', class: Google::Apis::AlertcenterV1beta1::SuspiciousActivitySecurityDetail, decorator: Google::Apis::AlertcenterV1beta1::SuspiciousActivitySecurityDetail::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SuspiciousActivitySecurityDetail
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :device_id, as: 'deviceId'
|
|
|
|
property :device_model, as: 'deviceModel'
|
|
|
|
property :device_property, as: 'deviceProperty'
|
|
|
|
property :device_type, as: 'deviceType'
|
|
|
|
property :ios_vendor_id, as: 'iosVendorId'
|
|
|
|
property :new_value, as: 'newValue'
|
|
|
|
property :old_value, as: 'oldValue'
|
|
|
|
property :resource_id, as: 'resourceId'
|
|
|
|
property :serial_number, as: 'serialNumber'
|
|
|
|
end
|
|
|
|
end
|
2018-12-08 00:36:43 +00:00
|
|
|
|
|
|
|
class UndeleteAlertRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :customer_id, as: 'customerId'
|
|
|
|
end
|
|
|
|
end
|
2020-01-10 00:37:35 +00:00
|
|
|
|
|
|
|
class User
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :email_address, as: 'emailAddress'
|
|
|
|
end
|
|
|
|
end
|
2020-02-05 00:37:38 +00:00
|
|
|
|
|
|
|
class UserDefinedDetectorInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :resource_name, as: 'resourceName'
|
|
|
|
end
|
|
|
|
end
|
2018-10-09 00:36:14 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|