google-api-ruby-client/generated/google/apis/alertcenter_v1beta1/representations.rb

396 lines
14 KiB
Ruby
Raw Normal View History

# 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
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
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
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
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
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
class PhishingSpike
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class StateSponsoredAttack
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
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
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
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'
property :deleted, as: 'deleted'
property :end_time, as: 'endTime'
property :security_investigation_tool_link, as: 'securityInvestigationToolLink'
property :source, as: 'source'
property :start_time, as: 'startTime'
property :type, as: 'type'
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
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
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
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
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
end
end
class MaliciousEntity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :from_header, as: 'fromHeader'
end
end
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
end
class StateSponsoredAttack
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :email, as: 'email'
end
end
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
end
end
end