📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/AlertCenter
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AbuseDetected.php
▶ Open 📄 View Source
🐘 AccessApproval.php
▶ Open 📄 View Source
🐘 AccountSuspensionDetails.php
▶ Open 📄 View Source
🐘 AccountSuspensionWarning.php
▶ Open 📄 View Source
🐘 AccountWarning.php
▶ Open 📄 View Source
🐘 ActionInfo.php
▶ Open 📄 View Source
🐘 ActivityRule.php
▶ Open 📄 View Source
🐘 Alert.php
▶ Open 📄 View Source
🐘 AlertFeedback.php
▶ Open 📄 View Source
🐘 AlertMetadata.php
▶ Open 📄 View Source
🐘 AlertcenterEmpty.php
▶ Open 📄 View Source
🐘 ApnsCertificateExpirationInfo.php
▶ Open 📄 View Source
🐘 AppMakerSqlSetupNotification.php
▶ Open 📄 View Source
🐘 AppSettingsChanged.php
▶ Open 📄 View Source
🐘 AppsOutage.php
▶ Open 📄 View Source
🐘 Attachment.php
▶ Open 📄 View Source
🐘 BadWhitelist.php
▶ Open 📄 View Source
🐘 BatchDeleteAlertsRequest.php
▶ Open 📄 View Source
🐘 BatchDeleteAlertsResponse.php
▶ Open 📄 View Source
🐘 BatchUndeleteAlertsRequest.php
▶ Open 📄 View Source
🐘 BatchUndeleteAlertsResponse.php
▶ Open 📄 View Source
🐘 ClientSideEncryptionServiceUnavailable.php
▶ Open 📄 View Source
🐘 CloudPubsubTopic.php
▶ Open 📄 View Source
🐘 Csv.php
▶ Open 📄 View Source
🐘 CsvRow.php
▶ Open 📄 View Source
🐘 DeviceCompromised.php
▶ Open 📄 View Source
🐘 DeviceCompromisedSecurityDetail.php
▶ Open 📄 View Source
🐘 DeviceManagementRule.php
▶ Open 📄 View Source
🐘 DlpRuleViolation.php
▶ Open 📄 View Source
🐘 DomainId.php
▶ Open 📄 View Source
🐘 DomainWideTakeoutInitiated.php
▶ Open 📄 View Source
🐘 DriveSyncStateChanged.php
▶ Open 📄 View Source
🐘 Entity.php
▶ Open 📄 View Source
🐘 EntityList.php
▶ Open 📄 View Source
🐘 GmailMessageInfo.php
▶ Open 📄 View Source
🐘 GoogleOperations.php
▶ Open 📄 View Source
🐘 IdentityProviderError.php
▶ Open 📄 View Source
🐘 KeyServiceError.php
▶ Open 📄 View Source
🐘 ListAlertFeedbackResponse.php
▶ Open 📄 View Source
🐘 ListAlertsResponse.php
▶ Open 📄 View Source
🐘 LoginDetails.php
▶ Open 📄 View Source
🐘 MailPhishing.php
▶ Open 📄 View Source
🐘 MaliciousEntity.php
▶ Open 📄 View Source
🐘 MandatoryServiceAnnouncement.php
▶ Open 📄 View Source
🐘 MatchInfo.php
▶ Open 📄 View Source
🐘 MergeInfo.php
▶ Open 📄 View Source
🐘 Notification.php
▶ Open 📄 View Source
🐘 OutOfDomainForwarding.php
▶ Open 📄 View Source
🐘 PhishingSpike.php
▶ Open 📄 View Source
🐘 PredefinedDetectorInfo.php
▶ Open 📄 View Source
🐘 PrimaryAdminChangedEvent.php
▶ Open 📄 View Source
🐘 ReportingRule.php
▶ Open 📄 View Source
🐘 RequestInfo.php
▶ Open 📄 View Source
🐘 ResourceInfo.php
▶ Open 📄 View Source
🐘 RuleInfo.php
▶ Open 📄 View Source
🐘 RuleViolationInfo.php
▶ Open 📄 View Source
🐘 SSOProfileCreatedEvent.php
▶ Open 📄 View Source
🐘 SSOProfileDeletedEvent.php
▶ Open 📄 View Source
🐘 SSOProfileUpdatedEvent.php
▶ Open 📄 View Source
🐘 SensitiveAdminAction.php
▶ Open 📄 View Source
🐘 Settings.php
▶ Open 📄 View Source
🐘 StateSponsoredAttack.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 SuperAdminPasswordResetEvent.php
▶ Open 📄 View Source
🐘 SupportTicket.php
▶ Open 📄 View Source
🐘 SuspiciousActivity.php
▶ Open 📄 View Source
🐘 SuspiciousActivitySecurityDetail.php
▶ Open 📄 View Source
🐘 TransferError.php
▶ Open 📄 View Source
🐘 TransferMisconfiguration.php
▶ Open 📄 View Source
🐘 UndeleteAlertRequest.php
▶ Open 📄 View Source
🐘 User.php
▶ Open 📄 View Source
🐘 UserChanges.php
▶ Open 📄 View Source
🐘 UserDefinedDetectorInfo.php
▶ Open 📄 View Source
🐘 VaultAcceleratedDeletion.php
▶ Open 📄 View Source
🐘 VoiceMisconfiguration.php
▶ Open 📄 View Source
🐘 VoicemailMisconfiguration.php
▶ Open 📄 View Source
🐘 VoicemailRecipientError.php
▶ Open 📄 View Source

📄 Source: PhishingSpike.php

<?php
/*
 * Copyright 2014 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.
 */

namespace Google\Service\AlertCenter;

class PhishingSpike extends \Google\Collection
{
  protected $collection_key = 'messages';
  protected $domainIdType = DomainId::class;
  protected $domainIdDataType = '';
  /**
   * If `true`, the email originated from within the organization.
   *
   * @var bool
   */
  public $isInternal;
  protected $maliciousEntityType = MaliciousEntity::class;
  protected $maliciousEntityDataType = '';
  protected $messagesType = GmailMessageInfo::class;
  protected $messagesDataType = 'array';

  /**
   * The domain ID.
   *
   * @param DomainId $domainId
   */
  public function setDomainId(DomainId $domainId)
  {
    $this->domainId = $domainId;
  }
  /**
   * @return DomainId
   */
  public function getDomainId()
  {
    return $this->domainId;
  }
  /**
   * If `true`, the email originated from within the organization.
   *
   * @param bool $isInternal
   */
  public function setIsInternal($isInternal)
  {
    $this->isInternal = $isInternal;
  }
  /**
   * @return bool
   */
  public function getIsInternal()
  {
    return $this->isInternal;
  }
  /**
   * The entity whose actions triggered a Gmail phishing alert.
   *
   * @param MaliciousEntity $maliciousEntity
   */
  public function setMaliciousEntity(MaliciousEntity $maliciousEntity)
  {
    $this->maliciousEntity = $maliciousEntity;
  }
  /**
   * @return MaliciousEntity
   */
  public function getMaliciousEntity()
  {
    return $this->maliciousEntity;
  }
  /**
   * The list of messages contained by this alert.
   *
   * @param GmailMessageInfo[] $messages
   */
  public function setMessages($messages)
  {
    $this->messages = $messages;
  }
  /**
   * @return GmailMessageInfo[]
   */
  public function getMessages()
  {
    return $this->messages;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PhishingSpike::class, 'Google_Service_AlertCenter_PhishingSpike');
← Back