gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,70 @@
<?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\ThreatIntelligenceService;
class AffectedSoftware extends \Google\Model
{
/**
* Optional. The product of the software.
*
* @var string
*/
public $product;
/**
* Optional. The vendor of the software.
*
* @var string
*/
public $vendor;
/**
* Optional. The product of the software.
*
* @param string $product
*/
public function setProduct($product)
{
$this->product = $product;
}
/**
* @return string
*/
public function getProduct()
{
return $this->product;
}
/**
* Optional. The vendor of the software.
*
* @param string $vendor
*/
public function setVendor($vendor)
{
$this->vendor = $vendor;
}
/**
* @return string
*/
public function getVendor()
{
return $this->vendor;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AffectedSoftware::class, 'Google_Service_ThreatIntelligenceService_AffectedSoftware');
@@ -0,0 +1,422 @@
<?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\ThreatIntelligenceService;
class Alert extends \Google\Collection
{
/**
* Default value, should never be set.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* alert is new.
*/
public const STATE_NEW = 'NEW';
/**
* alert was read by a human.
*/
public const STATE_READ = 'READ';
/**
* alert has been triaged.
*/
public const STATE_TRIAGED = 'TRIAGED';
/**
* alert has been escalated.
*/
public const STATE_ESCALATED = 'ESCALATED';
/**
* alert has been resolved.
*/
public const STATE_RESOLVED = 'RESOLVED';
/**
* alert is a duplicate of another alert.
*/
public const STATE_DUPLICATE = 'DUPLICATE';
/**
* alert is a false positive and should be ignored.
*/
public const STATE_FALSE_POSITIVE = 'FALSE_POSITIVE';
/**
* alert is not actionable.
*/
public const STATE_NOT_ACTIONABLE = 'NOT_ACTIONABLE';
/**
* alert is benign.
*/
public const STATE_BENIGN = 'BENIGN';
/**
* alert is tracked externally.
*/
public const STATE_TRACKED_EXTERNALLY = 'TRACKED_EXTERNALLY';
protected $collection_key = 'findings';
/**
* Optional. AI summary of the alert.
*
* @var string
*/
public $aiSummary;
protected $auditType = Audit::class;
protected $auditDataType = '';
/**
* Output only. The resource names of the Configurations bound to this alert.
* Format: projects/{project}/configurations/{configuration}
*
* @var string[]
*/
public $configurations;
protected $detailType = AlertDetail::class;
protected $detailDataType = '';
/**
* Output only. A short title for the alert.
*
* @var string
*/
public $displayName;
/**
* Output only. alert name of the alert this alert is a duplicate of. Format:
* projects/{project}/alerts/{alert}
*
* @var string
*/
public $duplicateOf;
/**
* Output only. alert names of the alerts that are duplicates of this alert.
* Format: projects/{project}/alerts/{alert}
*
* @var string[]
*/
public $duplicatedBy;
/**
* Optional. If included when updating an alert, this should be set to the
* current etag of the alert. If the etags do not match, the update will be
* rejected and an ABORTED error will be returned.
*
* @var string
*/
public $etag;
/**
* Output only. External ID for the alert. This is used internally to provide
* protection against out of order updates.
*
* @var string
*/
public $externalId;
/**
* Output only. The number of findings associated with this alert.
*
* @var string
*/
public $findingCount;
/**
* Output only. Findings that are covered by this alert.
*
* @var string[]
*/
public $findings;
/**
* Identifier. Server generated name for the alert. format is
* projects/{project}/alerts/{alert}
*
* @var string
*/
public $name;
protected $priorityAnalysisType = PriorityAnalysis::class;
protected $priorityAnalysisDataType = '';
protected $relevanceAnalysisType = RelevanceAnalysis::class;
protected $relevanceAnalysisDataType = '';
protected $severityAnalysisType = SeverityAnalysis::class;
protected $severityAnalysisDataType = '';
/**
* Output only. State of the alert.
*
* @var string
*/
public $state;
/**
* Optional. AI summary of the alert.
*
* @param string $aiSummary
*/
public function setAiSummary($aiSummary)
{
$this->aiSummary = $aiSummary;
}
/**
* @return string
*/
public function getAiSummary()
{
return $this->aiSummary;
}
/**
* Output only. Audit information for the alert.
*
* @param Audit $audit
*/
public function setAudit(Audit $audit)
{
$this->audit = $audit;
}
/**
* @return Audit
*/
public function getAudit()
{
return $this->audit;
}
/**
* Output only. The resource names of the Configurations bound to this alert.
* Format: projects/{project}/configurations/{configuration}
*
* @param string[] $configurations
*/
public function setConfigurations($configurations)
{
$this->configurations = $configurations;
}
/**
* @return string[]
*/
public function getConfigurations()
{
return $this->configurations;
}
/**
* Output only. Details object for the alert, not all alerts will have a
* details object.
*
* @param AlertDetail $detail
*/
public function setDetail(AlertDetail $detail)
{
$this->detail = $detail;
}
/**
* @return AlertDetail
*/
public function getDetail()
{
return $this->detail;
}
/**
* Output only. A short title for the alert.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. alert name of the alert this alert is a duplicate of. Format:
* projects/{project}/alerts/{alert}
*
* @param string $duplicateOf
*/
public function setDuplicateOf($duplicateOf)
{
$this->duplicateOf = $duplicateOf;
}
/**
* @return string
*/
public function getDuplicateOf()
{
return $this->duplicateOf;
}
/**
* Output only. alert names of the alerts that are duplicates of this alert.
* Format: projects/{project}/alerts/{alert}
*
* @param string[] $duplicatedBy
*/
public function setDuplicatedBy($duplicatedBy)
{
$this->duplicatedBy = $duplicatedBy;
}
/**
* @return string[]
*/
public function getDuplicatedBy()
{
return $this->duplicatedBy;
}
/**
* Optional. If included when updating an alert, this should be set to the
* current etag of the alert. If the etags do not match, the update will be
* rejected and an ABORTED error will be returned.
*
* @param string $etag
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* Output only. External ID for the alert. This is used internally to provide
* protection against out of order updates.
*
* @param string $externalId
*/
public function setExternalId($externalId)
{
$this->externalId = $externalId;
}
/**
* @return string
*/
public function getExternalId()
{
return $this->externalId;
}
/**
* Output only. The number of findings associated with this alert.
*
* @param string $findingCount
*/
public function setFindingCount($findingCount)
{
$this->findingCount = $findingCount;
}
/**
* @return string
*/
public function getFindingCount()
{
return $this->findingCount;
}
/**
* Output only. Findings that are covered by this alert.
*
* @param string[] $findings
*/
public function setFindings($findings)
{
$this->findings = $findings;
}
/**
* @return string[]
*/
public function getFindings()
{
return $this->findings;
}
/**
* Identifier. Server generated name for the alert. format is
* projects/{project}/alerts/{alert}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. High-Precision Priority Analysis for the alert.
*
* @param PriorityAnalysis $priorityAnalysis
*/
public function setPriorityAnalysis(PriorityAnalysis $priorityAnalysis)
{
$this->priorityAnalysis = $priorityAnalysis;
}
/**
* @return PriorityAnalysis
*/
public function getPriorityAnalysis()
{
return $this->priorityAnalysis;
}
/**
* Output only. High-Precision Relevance Analysis verdict for the alert.
*
* @param RelevanceAnalysis $relevanceAnalysis
*/
public function setRelevanceAnalysis(RelevanceAnalysis $relevanceAnalysis)
{
$this->relevanceAnalysis = $relevanceAnalysis;
}
/**
* @return RelevanceAnalysis
*/
public function getRelevanceAnalysis()
{
return $this->relevanceAnalysis;
}
/**
* Output only. High-Precision Severity Analysis for the alert.
*
* @param SeverityAnalysis $severityAnalysis
*/
public function setSeverityAnalysis(SeverityAnalysis $severityAnalysis)
{
$this->severityAnalysis = $severityAnalysis;
}
/**
* @return SeverityAnalysis
*/
public function getSeverityAnalysis()
{
return $this->severityAnalysis;
}
/**
* Output only. State of the alert.
*
* Accepted values: STATE_UNSPECIFIED, NEW, READ, TRIAGED, ESCALATED,
* RESOLVED, DUPLICATE, FALSE_POSITIVE, NOT_ACTIONABLE, BENIGN,
* TRACKED_EXTERNALLY
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Alert::class, 'Google_Service_ThreatIntelligenceService_Alert');
@@ -0,0 +1,104 @@
<?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\ThreatIntelligenceService;
class AlertDetail extends \Google\Model
{
protected $dataLeakType = DataLeakAlertDetail::class;
protected $dataLeakDataType = '';
/**
* Output only. Name of the detail type. Will be set by the server during
* creation to the name of the field that is set in the detail union.
*
* @var string
*/
public $detailType;
protected $initialAccessBrokerType = InitialAccessBrokerAlertDetail::class;
protected $initialAccessBrokerDataType = '';
protected $insiderThreatType = InsiderThreatAlertDetail::class;
protected $insiderThreatDataType = '';
/**
* Data Leak alert detail type.
*
* @param DataLeakAlertDetail $dataLeak
*/
public function setDataLeak(DataLeakAlertDetail $dataLeak)
{
$this->dataLeak = $dataLeak;
}
/**
* @return DataLeakAlertDetail
*/
public function getDataLeak()
{
return $this->dataLeak;
}
/**
* Output only. Name of the detail type. Will be set by the server during
* creation to the name of the field that is set in the detail union.
*
* @param string $detailType
*/
public function setDetailType($detailType)
{
$this->detailType = $detailType;
}
/**
* @return string
*/
public function getDetailType()
{
return $this->detailType;
}
/**
* Initial Access Broker alert detail type.
*
* @param InitialAccessBrokerAlertDetail $initialAccessBroker
*/
public function setInitialAccessBroker(InitialAccessBrokerAlertDetail $initialAccessBroker)
{
$this->initialAccessBroker = $initialAccessBroker;
}
/**
* @return InitialAccessBrokerAlertDetail
*/
public function getInitialAccessBroker()
{
return $this->initialAccessBroker;
}
/**
* Insider Threat alert detail type.
*
* @param InsiderThreatAlertDetail $insiderThreat
*/
public function setInsiderThreat(InsiderThreatAlertDetail $insiderThreat)
{
$this->insiderThreat = $insiderThreat;
}
/**
* @return InsiderThreatAlertDetail
*/
public function getInsiderThreat()
{
return $this->insiderThreat;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AlertDetail::class, 'Google_Service_ThreatIntelligenceService_AlertDetail');
@@ -0,0 +1,312 @@
<?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\ThreatIntelligenceService;
class AlertDocument extends \Google\Model
{
/**
* Output only. AI summary of the document.
*
* @var string
*/
public $aiSummary;
/**
* Output only. The author of the document.
*
* @var string
*/
public $author;
/**
* Output only. Time when the origin source collected the intel.
*
* @var string
*/
public $collectionTime;
/**
* Output only. The content of the document.
*
* @var string
*/
public $content;
/**
* Output only. The timestamp of the original external publication of the
* document.
*
* @var string
*/
public $createTime;
/**
* Output only. Time when GTI received the intel.
*
* @var string
*/
public $ingestTime;
/**
* Output only. The language code of the document.
*
* @var string
*/
public $languageCode;
/**
* Identifier. Server generated name for the alert document. format is
* projects/{project}/alerts/{alert}/documents/{document}
*
* @var string
*/
public $name;
/**
* Output only. Source of the intel item, e.g. DarkMarket.
*
* @var string
*/
public $source;
/**
* Output only. Time when the intel was last updated by the source.
*
* @var string
*/
public $sourceUpdateTime;
/**
* Output only. URI of the intel item from the source.
*
* @var string
*/
public $sourceUri;
/**
* Output only. The title of the document, if available.
*
* @var string
*/
public $title;
protected $translationType = AlertDocumentTranslation::class;
protected $translationDataType = '';
/**
* Output only. AI summary of the document.
*
* @param string $aiSummary
*/
public function setAiSummary($aiSummary)
{
$this->aiSummary = $aiSummary;
}
/**
* @return string
*/
public function getAiSummary()
{
return $this->aiSummary;
}
/**
* Output only. The author of the document.
*
* @param string $author
*/
public function setAuthor($author)
{
$this->author = $author;
}
/**
* @return string
*/
public function getAuthor()
{
return $this->author;
}
/**
* Output only. Time when the origin source collected the intel.
*
* @param string $collectionTime
*/
public function setCollectionTime($collectionTime)
{
$this->collectionTime = $collectionTime;
}
/**
* @return string
*/
public function getCollectionTime()
{
return $this->collectionTime;
}
/**
* Output only. The content of the document.
*
* @param string $content
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* Output only. The timestamp of the original external publication of the
* document.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. Time when GTI received the intel.
*
* @param string $ingestTime
*/
public function setIngestTime($ingestTime)
{
$this->ingestTime = $ingestTime;
}
/**
* @return string
*/
public function getIngestTime()
{
return $this->ingestTime;
}
/**
* Output only. The language code of the document.
*
* @param string $languageCode
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* Identifier. Server generated name for the alert document. format is
* projects/{project}/alerts/{alert}/documents/{document}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Source of the intel item, e.g. DarkMarket.
*
* @param string $source
*/
public function setSource($source)
{
$this->source = $source;
}
/**
* @return string
*/
public function getSource()
{
return $this->source;
}
/**
* Output only. Time when the intel was last updated by the source.
*
* @param string $sourceUpdateTime
*/
public function setSourceUpdateTime($sourceUpdateTime)
{
$this->sourceUpdateTime = $sourceUpdateTime;
}
/**
* @return string
*/
public function getSourceUpdateTime()
{
return $this->sourceUpdateTime;
}
/**
* Output only. URI of the intel item from the source.
*
* @param string $sourceUri
*/
public function setSourceUri($sourceUri)
{
$this->sourceUri = $sourceUri;
}
/**
* @return string
*/
public function getSourceUri()
{
return $this->sourceUri;
}
/**
* Output only. The title of the document, if available.
*
* @param string $title
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* Output only. The translation of the document, if available.
*
* @param AlertDocumentTranslation $translation
*/
public function setTranslation(AlertDocumentTranslation $translation)
{
$this->translation = $translation;
}
/**
* @return AlertDocumentTranslation
*/
public function getTranslation()
{
return $this->translation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AlertDocument::class, 'Google_Service_ThreatIntelligenceService_AlertDocument');
@@ -0,0 +1,70 @@
<?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\ThreatIntelligenceService;
class AlertDocumentTranslation extends \Google\Model
{
/**
* Output only. The translated content of the document.
*
* @var string
*/
public $translatedContent;
/**
* Output only. The translated title of the document.
*
* @var string
*/
public $translatedTitle;
/**
* Output only. The translated content of the document.
*
* @param string $translatedContent
*/
public function setTranslatedContent($translatedContent)
{
$this->translatedContent = $translatedContent;
}
/**
* @return string
*/
public function getTranslatedContent()
{
return $this->translatedContent;
}
/**
* Output only. The translated title of the document.
*
* @param string $translatedTitle
*/
public function setTranslatedTitle($translatedTitle)
{
$this->translatedTitle = $translatedTitle;
}
/**
* @return string
*/
public function getTranslatedTitle()
{
return $this->translatedTitle;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AlertDocumentTranslation::class, 'Google_Service_ThreatIntelligenceService_AlertDocumentTranslation');
@@ -0,0 +1,206 @@
<?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\ThreatIntelligenceService;
class AssetDiscoveryConfig extends \Google\Collection
{
/**
* Default value, should never be set.
*/
public const SCAN_FREQUENCY_ASSET_DISCOVERY_SCAN_FREQUENCY_UNSPECIFIED = 'ASSET_DISCOVERY_SCAN_FREQUENCY_UNSPECIFIED';
/**
* Scan is triggered on demand.
*/
public const SCAN_FREQUENCY_ON_DEMAND = 'ON_DEMAND';
/**
* Scan is triggered weekly.
*/
public const SCAN_FREQUENCY_WEEKLY = 'WEEKLY';
/**
* Scan is triggered daily.
*/
public const SCAN_FREQUENCY_DAILY = 'DAILY';
/**
* Scan is triggered monthly.
*/
public const SCAN_FREQUENCY_MONTHLY = 'MONTHLY';
/**
* Default value, should never be set.
*/
public const WORKFLOW_ASSET_DISCOVERY_WORKFLOW_UNSPECIFIED = 'ASSET_DISCOVERY_WORKFLOW_UNSPECIFIED';
/**
* Discovery workflow that only discovers external facing assets.
*/
public const WORKFLOW_EXTERNAL_DISCOVERY = 'EXTERNAL_DISCOVERY';
/**
* Discovery workflow that discovers external facing assets and generates
* relevant alerts on them.
*/
public const WORKFLOW_EXTERNAL_DISCOVERY_AND_ASSESSMENT = 'EXTERNAL_DISCOVERY_AND_ASSESSMENT';
/**
* Discovery workflow that discovers mobile app assets.
*/
public const WORKFLOW_MOBILE_APP_DISCOVERY = 'MOBILE_APP_DISCOVERY';
protected $collection_key = 'seedAssets';
/**
* Output only. Timestamp of the last scan completed. This field is set by the
* system and cannot be modified by the user.
*
* @var string
*/
public $lastScanCompleteTime;
/**
* Output only. Timestamp of the last scan started - used for scheduling the
* next scan. This field is set by the system and cannot be modified by the
* user.
*
* @var string
*/
public $lastScanStartTime;
/**
* Required. Frequency at which the scheduled discovery scan should be run. If
* not specified, the default frequency is DAILY.
*
* @var string
*/
public $scanFrequency;
protected $scopeExclusionAssetsType = AssetDiscoverySeed::class;
protected $scopeExclusionAssetsDataType = 'array';
protected $seedAssetsType = AssetDiscoverySeed::class;
protected $seedAssetsDataType = 'array';
/**
* Required. Workflow to be used for the scheduled discovery scan. If not
* specified, the default workflow is EXTERNAL_DISCOVERY.
*
* @var string
*/
public $workflow;
/**
* Output only. Timestamp of the last scan completed. This field is set by the
* system and cannot be modified by the user.
*
* @param string $lastScanCompleteTime
*/
public function setLastScanCompleteTime($lastScanCompleteTime)
{
$this->lastScanCompleteTime = $lastScanCompleteTime;
}
/**
* @return string
*/
public function getLastScanCompleteTime()
{
return $this->lastScanCompleteTime;
}
/**
* Output only. Timestamp of the last scan started - used for scheduling the
* next scan. This field is set by the system and cannot be modified by the
* user.
*
* @param string $lastScanStartTime
*/
public function setLastScanStartTime($lastScanStartTime)
{
$this->lastScanStartTime = $lastScanStartTime;
}
/**
* @return string
*/
public function getLastScanStartTime()
{
return $this->lastScanStartTime;
}
/**
* Required. Frequency at which the scheduled discovery scan should be run. If
* not specified, the default frequency is DAILY.
*
* Accepted values: ASSET_DISCOVERY_SCAN_FREQUENCY_UNSPECIFIED, ON_DEMAND,
* WEEKLY, DAILY, MONTHLY
*
* @param self::SCAN_FREQUENCY_* $scanFrequency
*/
public function setScanFrequency($scanFrequency)
{
$this->scanFrequency = $scanFrequency;
}
/**
* @return self::SCAN_FREQUENCY_*
*/
public function getScanFrequency()
{
return $this->scanFrequency;
}
/**
* Optional. Seed assets that are out of scope for the scheduled discovery
* scan.
*
* @param AssetDiscoverySeed[] $scopeExclusionAssets
*/
public function setScopeExclusionAssets($scopeExclusionAssets)
{
$this->scopeExclusionAssets = $scopeExclusionAssets;
}
/**
* @return AssetDiscoverySeed[]
*/
public function getScopeExclusionAssets()
{
return $this->scopeExclusionAssets;
}
/**
* Required. Seed assets for the scheduled discovery scan. At least one seed
* asset is required.
*
* @param AssetDiscoverySeed[] $seedAssets
*/
public function setSeedAssets($seedAssets)
{
$this->seedAssets = $seedAssets;
}
/**
* @return AssetDiscoverySeed[]
*/
public function getSeedAssets()
{
return $this->seedAssets;
}
/**
* Required. Workflow to be used for the scheduled discovery scan. If not
* specified, the default workflow is EXTERNAL_DISCOVERY.
*
* Accepted values: ASSET_DISCOVERY_WORKFLOW_UNSPECIFIED, EXTERNAL_DISCOVERY,
* EXTERNAL_DISCOVERY_AND_ASSESSMENT, MOBILE_APP_DISCOVERY
*
* @param self::WORKFLOW_* $workflow
*/
public function setWorkflow($workflow)
{
$this->workflow = $workflow;
}
/**
* @return self::WORKFLOW_*
*/
public function getWorkflow()
{
return $this->workflow;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AssetDiscoveryConfig::class, 'Google_Service_ThreatIntelligenceService_AssetDiscoveryConfig');
@@ -0,0 +1,87 @@
<?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\ThreatIntelligenceService;
class AssetDiscoverySeed extends \Google\Model
{
/**
* Default value, should never be set.
*/
public const SEED_TYPE_ASSET_DISCOVERY_SEED_TYPE_UNSPECIFIED = 'ASSET_DISCOVERY_SEED_TYPE_UNSPECIFIED';
/**
* Seed asset is an IP address.
*/
public const SEED_TYPE_IP_ADDRESS = 'IP_ADDRESS';
/**
* Seed asset is a network service.
*/
public const SEED_TYPE_NETWORK_SERVICE = 'NETWORK_SERVICE';
/**
* Required. Type of the seed asset.
*
* @var string
*/
public $seedType;
/**
* Required. Value for the seed asset. Could be an IP address, network
* service, email addresses, etc.
*
* @var string
*/
public $seedValue;
/**
* Required. Type of the seed asset.
*
* Accepted values: ASSET_DISCOVERY_SEED_TYPE_UNSPECIFIED, IP_ADDRESS,
* NETWORK_SERVICE
*
* @param self::SEED_TYPE_* $seedType
*/
public function setSeedType($seedType)
{
$this->seedType = $seedType;
}
/**
* @return self::SEED_TYPE_*
*/
public function getSeedType()
{
return $this->seedType;
}
/**
* Required. Value for the seed asset. Could be an IP address, network
* service, email addresses, etc.
*
* @param string $seedValue
*/
public function setSeedValue($seedValue)
{
$this->seedValue = $seedValue;
}
/**
* @return string
*/
public function getSeedValue()
{
return $this->seedValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AssetDiscoverySeed::class, 'Google_Service_ThreatIntelligenceService_AssetDiscoverySeed');
@@ -0,0 +1,109 @@
<?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\ThreatIntelligenceService;
class Association extends \Google\Model
{
/**
* Unspecified object type.
*/
public const TYPE_THREAT_INTEL_OBJECT_TYPE_UNSPECIFIED = 'THREAT_INTEL_OBJECT_TYPE_UNSPECIFIED';
/**
* Threat actor object type.
*/
public const TYPE_THREAT_INTEL_OBJECT_TYPE_THREAT_ACTOR = 'THREAT_INTEL_OBJECT_TYPE_THREAT_ACTOR';
/**
* Malware object type.
*/
public const TYPE_THREAT_INTEL_OBJECT_TYPE_MALWARE = 'THREAT_INTEL_OBJECT_TYPE_MALWARE';
/**
* Report object type.
*/
public const TYPE_THREAT_INTEL_OBJECT_TYPE_REPORT = 'THREAT_INTEL_OBJECT_TYPE_REPORT';
/**
* Campaign object type.
*/
public const TYPE_THREAT_INTEL_OBJECT_TYPE_CAMPAIGN = 'THREAT_INTEL_OBJECT_TYPE_CAMPAIGN';
/**
* IoC Collection object type.
*/
public const TYPE_THREAT_INTEL_OBJECT_TYPE_IOC_COLLECTION = 'THREAT_INTEL_OBJECT_TYPE_IOC_COLLECTION';
/**
* Software and toolkits object type.
*/
public const TYPE_THREAT_INTEL_OBJECT_TYPE_SOFTWARE_AND_TOOLKITS = 'THREAT_INTEL_OBJECT_TYPE_SOFTWARE_AND_TOOLKITS';
/**
* Vulnerability object type.
*/
public const TYPE_THREAT_INTEL_OBJECT_TYPE_VULNERABILITY = 'THREAT_INTEL_OBJECT_TYPE_VULNERABILITY';
/**
* Required. The ID of the association.
*
* @var string
*/
public $id;
/**
* Required. The type of the association.
*
* @var string
*/
public $type;
/**
* Required. The ID of the association.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Required. The type of the association.
*
* Accepted values: THREAT_INTEL_OBJECT_TYPE_UNSPECIFIED,
* THREAT_INTEL_OBJECT_TYPE_THREAT_ACTOR, THREAT_INTEL_OBJECT_TYPE_MALWARE,
* THREAT_INTEL_OBJECT_TYPE_REPORT, THREAT_INTEL_OBJECT_TYPE_CAMPAIGN,
* THREAT_INTEL_OBJECT_TYPE_IOC_COLLECTION,
* THREAT_INTEL_OBJECT_TYPE_SOFTWARE_AND_TOOLKITS,
* THREAT_INTEL_OBJECT_TYPE_VULNERABILITY
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Association::class, 'Google_Service_ThreatIntelligenceService_Association');
@@ -0,0 +1,118 @@
<?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\ThreatIntelligenceService;
class Audit extends \Google\Model
{
/**
* Output only. Time of creation.
*
* @var string
*/
public $createTime;
/**
* Output only. Agent that created or updated the record, could be a UserId or
* a JobId.
*
* @var string
*/
public $creator;
/**
* Output only. Time of creation or last update.
*
* @var string
*/
public $updateTime;
/**
* Output only. Agent that last updated the record, could be a UserId or a
* JobId.
*
* @var string
*/
public $updater;
/**
* Output only. Time of creation.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. Agent that created or updated the record, could be a UserId or
* a JobId.
*
* @param string $creator
*/
public function setCreator($creator)
{
$this->creator = $creator;
}
/**
* @return string
*/
public function getCreator()
{
return $this->creator;
}
/**
* Output only. Time of creation or last update.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* Output only. Agent that last updated the record, could be a UserId or a
* JobId.
*
* @param string $updater
*/
public function setUpdater($updater)
{
$this->updater = $updater;
}
/**
* @return string
*/
public function getUpdater()
{
return $this->updater;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Audit::class, 'Google_Service_ThreatIntelligenceService_Audit');
@@ -0,0 +1,382 @@
<?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\ThreatIntelligenceService;
class CompromisedCredentialsFindingDetail extends \Google\Collection
{
protected $collection_key = 'fileDumpHashes';
/**
* Optional. Reference to the author this detail was extracted from. This is
* deprecated and will be removed.
*
* @deprecated
* @var string
*/
public $author;
/**
* Optional. Claimed site the credential is intended for.
*
* @var string
*/
public $credentialService;
/**
* Optional. Reference to the dark web document. This is deprecated and will
* be removed.
*
* @deprecated
* @var string
*/
public $darkWebDoc;
/**
* Optional. This will contain a link to the external reference for this
* credential. If set, this is a link back to the DTM product to allow
* customers to get additional context about this finding.
*
* @var string
*/
public $externalReferenceUri;
/**
* Optional. If the source of the credential was from a file dump this will
* contain the name of the file the credential was found in. This can be used
* by customers for context on where the credential was found and to try to
* find other references to the file in the wild.
*
* @var string
*/
public $fileDump;
/**
* Optional. A list of hashes of the file dump. These will be prefixed with
* the algorithm. Example: "sha256:"
*
* @var string[]
*/
public $fileDumpHashes;
/**
* Optional. If file_dump is set this will contain the size of the dump file
* in bytes. File dumps can be very large.
*
* @var string
*/
public $fileDumpSizeBytes;
/**
* Optional. Reference to the forum this detail was extracted from. This is
* deprecated and will be removed.
*
* @deprecated
* @var string
*/
public $forum;
/**
* Optional. This will indicate the malware family that leaked this
* credential, if known.
*
* @var string
*/
public $malwareFamily;
/**
* Optional. This indicates our best guess as to when the credential was
* leaked to the particular venue that triggered this finding. This is not
* necessarily the time the credential was actually leaked and it may not
* always be be accurate.
*
* @var string
*/
public $postedTime;
/**
* Optional. If the source of a credential is publicly addressable this will
* contain a uri to the where the credential was found.
*
* @var string
*/
public $sourceUri;
/**
* Required. This field will always be set and will be used to identify the
* user named in the credential leak. In cases where customers are authorized
* to see the actual user key this will be set to the actual user key. In
* cases where the customer is not authorized to see the actual user key this
* will be set to a hash of the user key. The hashed value is an intentionally
* opaque value that is not intended to be used for any other purpose than to
* uniquely identify the user in the context of this specific customer,
* service domain, and user name. Example: "user@example.com" or "redacted:".
*
* @var string
*/
public $userKey;
/**
* Optional. Claimed evidence of the password/secret. This will always be
* hashed. In the event where the plaintext password is known it will be set
* to "redacted:" where the same hash will be presented when the same password
* is found for the same organization for the same service. Redaction is done
* by hashing the password with a salt that is unique to the customer
* organization and service. In the event where the plaintext password is not
* known it will be set to ":" where the algorithm is the hash algorithm used
* and the hash is the hash of the password using that algorithm. In the event
* we don't know the exact algorithm used we will set it to "hashed:".
*
* @var string
*/
public $userSecretEvidence;
/**
* Optional. Reference to the author this detail was extracted from. This is
* deprecated and will be removed.
*
* @deprecated
* @param string $author
*/
public function setAuthor($author)
{
$this->author = $author;
}
/**
* @deprecated
* @return string
*/
public function getAuthor()
{
return $this->author;
}
/**
* Optional. Claimed site the credential is intended for.
*
* @param string $credentialService
*/
public function setCredentialService($credentialService)
{
$this->credentialService = $credentialService;
}
/**
* @return string
*/
public function getCredentialService()
{
return $this->credentialService;
}
/**
* Optional. Reference to the dark web document. This is deprecated and will
* be removed.
*
* @deprecated
* @param string $darkWebDoc
*/
public function setDarkWebDoc($darkWebDoc)
{
$this->darkWebDoc = $darkWebDoc;
}
/**
* @deprecated
* @return string
*/
public function getDarkWebDoc()
{
return $this->darkWebDoc;
}
/**
* Optional. This will contain a link to the external reference for this
* credential. If set, this is a link back to the DTM product to allow
* customers to get additional context about this finding.
*
* @param string $externalReferenceUri
*/
public function setExternalReferenceUri($externalReferenceUri)
{
$this->externalReferenceUri = $externalReferenceUri;
}
/**
* @return string
*/
public function getExternalReferenceUri()
{
return $this->externalReferenceUri;
}
/**
* Optional. If the source of the credential was from a file dump this will
* contain the name of the file the credential was found in. This can be used
* by customers for context on where the credential was found and to try to
* find other references to the file in the wild.
*
* @param string $fileDump
*/
public function setFileDump($fileDump)
{
$this->fileDump = $fileDump;
}
/**
* @return string
*/
public function getFileDump()
{
return $this->fileDump;
}
/**
* Optional. A list of hashes of the file dump. These will be prefixed with
* the algorithm. Example: "sha256:"
*
* @param string[] $fileDumpHashes
*/
public function setFileDumpHashes($fileDumpHashes)
{
$this->fileDumpHashes = $fileDumpHashes;
}
/**
* @return string[]
*/
public function getFileDumpHashes()
{
return $this->fileDumpHashes;
}
/**
* Optional. If file_dump is set this will contain the size of the dump file
* in bytes. File dumps can be very large.
*
* @param string $fileDumpSizeBytes
*/
public function setFileDumpSizeBytes($fileDumpSizeBytes)
{
$this->fileDumpSizeBytes = $fileDumpSizeBytes;
}
/**
* @return string
*/
public function getFileDumpSizeBytes()
{
return $this->fileDumpSizeBytes;
}
/**
* Optional. Reference to the forum this detail was extracted from. This is
* deprecated and will be removed.
*
* @deprecated
* @param string $forum
*/
public function setForum($forum)
{
$this->forum = $forum;
}
/**
* @deprecated
* @return string
*/
public function getForum()
{
return $this->forum;
}
/**
* Optional. This will indicate the malware family that leaked this
* credential, if known.
*
* @param string $malwareFamily
*/
public function setMalwareFamily($malwareFamily)
{
$this->malwareFamily = $malwareFamily;
}
/**
* @return string
*/
public function getMalwareFamily()
{
return $this->malwareFamily;
}
/**
* Optional. This indicates our best guess as to when the credential was
* leaked to the particular venue that triggered this finding. This is not
* necessarily the time the credential was actually leaked and it may not
* always be be accurate.
*
* @param string $postedTime
*/
public function setPostedTime($postedTime)
{
$this->postedTime = $postedTime;
}
/**
* @return string
*/
public function getPostedTime()
{
return $this->postedTime;
}
/**
* Optional. If the source of a credential is publicly addressable this will
* contain a uri to the where the credential was found.
*
* @param string $sourceUri
*/
public function setSourceUri($sourceUri)
{
$this->sourceUri = $sourceUri;
}
/**
* @return string
*/
public function getSourceUri()
{
return $this->sourceUri;
}
/**
* Required. This field will always be set and will be used to identify the
* user named in the credential leak. In cases where customers are authorized
* to see the actual user key this will be set to the actual user key. In
* cases where the customer is not authorized to see the actual user key this
* will be set to a hash of the user key. The hashed value is an intentionally
* opaque value that is not intended to be used for any other purpose than to
* uniquely identify the user in the context of this specific customer,
* service domain, and user name. Example: "user@example.com" or "redacted:".
*
* @param string $userKey
*/
public function setUserKey($userKey)
{
$this->userKey = $userKey;
}
/**
* @return string
*/
public function getUserKey()
{
return $this->userKey;
}
/**
* Optional. Claimed evidence of the password/secret. This will always be
* hashed. In the event where the plaintext password is known it will be set
* to "redacted:" where the same hash will be presented when the same password
* is found for the same organization for the same service. Redaction is done
* by hashing the password with a salt that is unique to the customer
* organization and service. In the event where the plaintext password is not
* known it will be set to ":" where the algorithm is the hash algorithm used
* and the hash is the hash of the password using that algorithm. In the event
* we don't know the exact algorithm used we will set it to "hashed:".
*
* @param string $userSecretEvidence
*/
public function setUserSecretEvidence($userSecretEvidence)
{
$this->userSecretEvidence = $userSecretEvidence;
}
/**
* @return string
*/
public function getUserSecretEvidence()
{
return $this->userSecretEvidence;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompromisedCredentialsFindingDetail::class, 'Google_Service_ThreatIntelligenceService_CompromisedCredentialsFindingDetail');
@@ -0,0 +1,216 @@
<?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\ThreatIntelligenceService;
class Configuration extends \Google\Model
{
/**
* Configuration state is unspecified. This is not expected to occur.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Configuration is enabled for the customer.
*/
public const STATE_ENABLED = 'ENABLED';
/**
* Configuration is disabled for the customer.
*/
public const STATE_DISABLED = 'DISABLED';
/**
* Configuration is deprecated, no new configs are allowed to be created.
*/
public const STATE_DEPRECATED = 'DEPRECATED';
protected $auditType = Audit::class;
protected $auditDataType = '';
/**
* Optional. A description of the configuration.
*
* @var string
*/
public $description;
protected $detailType = ConfigurationDetail::class;
protected $detailDataType = '';
/**
* Output only. Human readable name for the configuration.
*
* @var string
*/
public $displayName;
/**
* Identifier. Server generated name for the configuration. format is
* projects/{project}/configurations/{configuration}
*
* @var string
*/
public $name;
/**
* Required. Name of the service that provides the configuration.
*
* @var string
*/
public $provider;
/**
* Optional. State of the configuration.
*
* @var string
*/
public $state;
/**
* Optional. A user-manipulatable version. Does not adhere to a specific
* format
*
* @var string
*/
public $version;
/**
* Output only. Audit information for the configuration.
*
* @param Audit $audit
*/
public function setAudit(Audit $audit)
{
$this->audit = $audit;
}
/**
* @return Audit
*/
public function getAudit()
{
return $this->audit;
}
/**
* Optional. A description of the configuration.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. Domain specific details for the configuration.
*
* @param ConfigurationDetail $detail
*/
public function setDetail(ConfigurationDetail $detail)
{
$this->detail = $detail;
}
/**
* @return ConfigurationDetail
*/
public function getDetail()
{
return $this->detail;
}
/**
* Output only. Human readable name for the configuration.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Identifier. Server generated name for the configuration. format is
* projects/{project}/configurations/{configuration}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. Name of the service that provides the configuration.
*
* @param string $provider
*/
public function setProvider($provider)
{
$this->provider = $provider;
}
/**
* @return string
*/
public function getProvider()
{
return $this->provider;
}
/**
* Optional. State of the configuration.
*
* Accepted values: STATE_UNSPECIFIED, ENABLED, DISABLED, DEPRECATED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Optional. A user-manipulatable version. Does not adhere to a specific
* format
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Configuration::class, 'Google_Service_ThreatIntelligenceService_Configuration');
@@ -0,0 +1,68 @@
<?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\ThreatIntelligenceService;
class ConfigurationDetail extends \Google\Model
{
protected $customerProfileType = CustomerProfileConfig::class;
protected $customerProfileDataType = '';
/**
* Output only. Name of the detail type. Will be set by the server during
* creation to the name of the field that is set in the detail union.
*
* @var string
*/
public $detailType;
/**
* Customer Profile detail config.
*
* @param CustomerProfileConfig $customerProfile
*/
public function setCustomerProfile(CustomerProfileConfig $customerProfile)
{
$this->customerProfile = $customerProfile;
}
/**
* @return CustomerProfileConfig
*/
public function getCustomerProfile()
{
return $this->customerProfile;
}
/**
* Output only. Name of the detail type. Will be set by the server during
* creation to the name of the field that is set in the detail union.
*
* @param string $detailType
*/
public function setDetailType($detailType)
{
$this->detailType = $detailType;
}
/**
* @return string
*/
public function getDetailType()
{
return $this->detailType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigurationDetail::class, 'Google_Service_ThreatIntelligenceService_ConfigurationDetail');
@@ -0,0 +1,90 @@
<?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\ThreatIntelligenceService;
class ConfigurationRevision extends \Google\Model
{
/**
* Output only. The time the Revision was created
*
* @var string
*/
public $createTime;
/**
* Identifier. The name of the ConfigurationRevision Format:
* projects//configurations//revisions/
*
* @var string
*/
public $name;
protected $snapshotType = Configuration::class;
protected $snapshotDataType = '';
/**
* Output only. The time the Revision was created
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Identifier. The name of the ConfigurationRevision Format:
* projects//configurations//revisions/
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The snapshot of the configuration
*
* @param Configuration $snapshot
*/
public function setSnapshot(Configuration $snapshot)
{
$this->snapshot = $snapshot;
}
/**
* @return Configuration
*/
public function getSnapshot()
{
return $this->snapshot;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigurationRevision::class, 'Google_Service_ThreatIntelligenceService_ConfigurationRevision');
@@ -0,0 +1,138 @@
<?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\ThreatIntelligenceService;
class CustomerProfileCitation extends \Google\Model
{
/**
* Required. The citation id for the citation. Should be unique within the
* profile.
*
* @var string
*/
public $citationId;
/**
* Required. The name of the document the citation is from.
*
* @var string
*/
public $document;
/**
* The time the citation was retrieved.
*
* @var string
*/
public $retrievalTime;
/**
* Required. The source of the citation.
*
* @var string
*/
public $source;
/**
* Optional. The url of the citation.
*
* @var string
*/
public $uri;
/**
* Required. The citation id for the citation. Should be unique within the
* profile.
*
* @param string $citationId
*/
public function setCitationId($citationId)
{
$this->citationId = $citationId;
}
/**
* @return string
*/
public function getCitationId()
{
return $this->citationId;
}
/**
* Required. The name of the document the citation is from.
*
* @param string $document
*/
public function setDocument($document)
{
$this->document = $document;
}
/**
* @return string
*/
public function getDocument()
{
return $this->document;
}
/**
* The time the citation was retrieved.
*
* @param string $retrievalTime
*/
public function setRetrievalTime($retrievalTime)
{
$this->retrievalTime = $retrievalTime;
}
/**
* @return string
*/
public function getRetrievalTime()
{
return $this->retrievalTime;
}
/**
* Required. The source of the citation.
*
* @param string $source
*/
public function setSource($source)
{
$this->source = $source;
}
/**
* @return string
*/
public function getSource()
{
return $this->source;
}
/**
* Optional. The url of the citation.
*
* @param string $uri
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerProfileCitation::class, 'Google_Service_ThreatIntelligenceService_CustomerProfileCitation');
@@ -0,0 +1,71 @@
<?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\ThreatIntelligenceService;
class CustomerProfileCitedString extends \Google\Collection
{
protected $collection_key = 'citationIds';
/**
* Optional. The citation ids for the string.
*
* @var string[]
*/
public $citationIds;
/**
* Required. The value of the string.
*
* @var string
*/
public $value;
/**
* Optional. The citation ids for the string.
*
* @param string[] $citationIds
*/
public function setCitationIds($citationIds)
{
$this->citationIds = $citationIds;
}
/**
* @return string[]
*/
public function getCitationIds()
{
return $this->citationIds;
}
/**
* Required. The value of the string.
*
* @param string $value
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerProfileCitedString::class, 'Google_Service_ThreatIntelligenceService_CustomerProfileCitedString');
@@ -0,0 +1,71 @@
<?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\ThreatIntelligenceService;
class CustomerProfileCompany extends \Google\Collection
{
protected $collection_key = 'citationIds';
/**
* Optional. The citation ids for the company.
*
* @var string[]
*/
public $citationIds;
/**
* Required. The name of the company.
*
* @var string
*/
public $company;
/**
* Optional. The citation ids for the company.
*
* @param string[] $citationIds
*/
public function setCitationIds($citationIds)
{
$this->citationIds = $citationIds;
}
/**
* @return string[]
*/
public function getCitationIds()
{
return $this->citationIds;
}
/**
* Required. The name of the company.
*
* @param string $company
*/
public function setCompany($company)
{
$this->company = $company;
}
/**
* @return string
*/
public function getCompany()
{
return $this->company;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerProfileCompany::class, 'Google_Service_ThreatIntelligenceService_CustomerProfileCompany');
@@ -0,0 +1,273 @@
<?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\ThreatIntelligenceService;
class CustomerProfileConfig extends \Google\Collection
{
protected $collection_key = 'webPresences';
protected $citationsType = CustomerProfileCitation::class;
protected $citationsDataType = 'array';
protected $contactInfoType = CustomerProfileContactInfo::class;
protected $contactInfoDataType = 'array';
protected $executivesType = CustomerProfilePerson::class;
protected $executivesDataType = 'array';
protected $industriesType = CustomerProfileIndustry::class;
protected $industriesDataType = 'array';
protected $locationsType = CustomerProfileLocation::class;
protected $locationsDataType = 'array';
/**
* Required. The name of the organization.
*
* @var string
*/
public $org;
/**
* Optional. A summary of the organization.
*
* @var string
*/
public $orgSummary;
protected $parentCompaniesType = CustomerProfileCompany::class;
protected $parentCompaniesDataType = 'array';
protected $productsType = CustomerProfileProduct::class;
protected $productsDataType = 'array';
protected $securityConsiderationsType = CustomerProfileSecurityConsiderations::class;
protected $securityConsiderationsDataType = '';
protected $summaryType = CustomerProfileSummary::class;
protected $summaryDataType = '';
/**
* Optional. Technology presence of the organization.
*
* @var string
*/
public $technologyPresence;
protected $webPresencesType = CustomerProfileWebPresence::class;
protected $webPresencesDataType = 'array';
/**
* Optional. Citations for the organization profile.
*
* @param CustomerProfileCitation[] $citations
*/
public function setCitations($citations)
{
$this->citations = $citations;
}
/**
* @return CustomerProfileCitation[]
*/
public function getCitations()
{
return $this->citations;
}
/**
* Optional. Contact information for the organization.
*
* @param CustomerProfileContactInfo[] $contactInfo
*/
public function setContactInfo($contactInfo)
{
$this->contactInfo = $contactInfo;
}
/**
* @return CustomerProfileContactInfo[]
*/
public function getContactInfo()
{
return $this->contactInfo;
}
/**
* Optional. Executives of the organization.
*
* @param CustomerProfilePerson[] $executives
*/
public function setExecutives($executives)
{
$this->executives = $executives;
}
/**
* @return CustomerProfilePerson[]
*/
public function getExecutives()
{
return $this->executives;
}
/**
* Optional. The industries the organization is involved in.
*
* @param CustomerProfileIndustry[] $industries
*/
public function setIndustries($industries)
{
$this->industries = $industries;
}
/**
* @return CustomerProfileIndustry[]
*/
public function getIndustries()
{
return $this->industries;
}
/**
* Optional. Locations the organization is present or conducts business in.
*
* @param CustomerProfileLocation[] $locations
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return CustomerProfileLocation[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* Required. The name of the organization.
*
* @param string $org
*/
public function setOrg($org)
{
$this->org = $org;
}
/**
* @return string
*/
public function getOrg()
{
return $this->org;
}
/**
* Optional. A summary of the organization.
*
* @param string $orgSummary
*/
public function setOrgSummary($orgSummary)
{
$this->orgSummary = $orgSummary;
}
/**
* @return string
*/
public function getOrgSummary()
{
return $this->orgSummary;
}
/**
* Optional. The parent companies of the organization.
*
* @param CustomerProfileCompany[] $parentCompanies
*/
public function setParentCompanies($parentCompanies)
{
$this->parentCompanies = $parentCompanies;
}
/**
* @return CustomerProfileCompany[]
*/
public function getParentCompanies()
{
return $this->parentCompanies;
}
/**
* Optional. Product information for the organization.
*
* @param CustomerProfileProduct[] $products
*/
public function setProducts($products)
{
$this->products = $products;
}
/**
* @return CustomerProfileProduct[]
*/
public function getProducts()
{
return $this->products;
}
/**
* Optional. Security considerations for the organization.
*
* @param CustomerProfileSecurityConsiderations $securityConsiderations
*/
public function setSecurityConsiderations(CustomerProfileSecurityConsiderations $securityConsiderations)
{
$this->securityConsiderations = $securityConsiderations;
}
/**
* @return CustomerProfileSecurityConsiderations
*/
public function getSecurityConsiderations()
{
return $this->securityConsiderations;
}
/**
* Optional. A summarized version of the customer profile.
*
* @param CustomerProfileSummary $summary
*/
public function setSummary(CustomerProfileSummary $summary)
{
$this->summary = $summary;
}
/**
* @return CustomerProfileSummary
*/
public function getSummary()
{
return $this->summary;
}
/**
* Optional. Technology presence of the organization.
*
* @param string $technologyPresence
*/
public function setTechnologyPresence($technologyPresence)
{
$this->technologyPresence = $technologyPresence;
}
/**
* @return string
*/
public function getTechnologyPresence()
{
return $this->technologyPresence;
}
/**
* Optional. Web presence of the organization.
*
* @param CustomerProfileWebPresence[] $webPresences
*/
public function setWebPresences($webPresences)
{
$this->webPresences = $webPresences;
}
/**
* @return CustomerProfileWebPresence[]
*/
public function getWebPresences()
{
return $this->webPresences;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerProfileConfig::class, 'Google_Service_ThreatIntelligenceService_CustomerProfileConfig');
@@ -0,0 +1,159 @@
<?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\ThreatIntelligenceService;
class CustomerProfileContactInfo extends \Google\Collection
{
protected $collection_key = 'citationIds';
/**
* The address of the contact.
*
* @var string
*/
public $address;
/**
* Optional. The citation ids for the contact information.
*
* @var string[]
*/
public $citationIds;
/**
* The email address of the contact.
*
* @var string
*/
public $email;
/**
* Optional. The name of the contact.
*
* @var string
*/
public $label;
/**
* The other contact information.
*
* @var string
*/
public $other;
/**
* The phone number of the contact.
*
* @var string
*/
public $phone;
/**
* The address of the contact.
*
* @param string $address
*/
public function setAddress($address)
{
$this->address = $address;
}
/**
* @return string
*/
public function getAddress()
{
return $this->address;
}
/**
* Optional. The citation ids for the contact information.
*
* @param string[] $citationIds
*/
public function setCitationIds($citationIds)
{
$this->citationIds = $citationIds;
}
/**
* @return string[]
*/
public function getCitationIds()
{
return $this->citationIds;
}
/**
* The email address of the contact.
*
* @param string $email
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* Optional. The name of the contact.
*
* @param string $label
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* The other contact information.
*
* @param string $other
*/
public function setOther($other)
{
$this->other = $other;
}
/**
* @return string
*/
public function getOther()
{
return $this->other;
}
/**
* The phone number of the contact.
*
* @param string $phone
*/
public function setPhone($phone)
{
$this->phone = $phone;
}
/**
* @return string
*/
public function getPhone()
{
return $this->phone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerProfileContactInfo::class, 'Google_Service_ThreatIntelligenceService_CustomerProfileContactInfo');
@@ -0,0 +1,71 @@
<?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\ThreatIntelligenceService;
class CustomerProfileIndustry extends \Google\Collection
{
protected $collection_key = 'citationIds';
/**
* Optional. The citation ids for the industry.
*
* @var string[]
*/
public $citationIds;
/**
* Required. The name of the industry.
*
* @var string
*/
public $industry;
/**
* Optional. The citation ids for the industry.
*
* @param string[] $citationIds
*/
public function setCitationIds($citationIds)
{
$this->citationIds = $citationIds;
}
/**
* @return string[]
*/
public function getCitationIds()
{
return $this->citationIds;
}
/**
* Required. The name of the industry.
*
* @param string $industry
*/
public function setIndustry($industry)
{
$this->industry = $industry;
}
/**
* @return string
*/
public function getIndustry()
{
return $this->industry;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerProfileIndustry::class, 'Google_Service_ThreatIntelligenceService_CustomerProfileIndustry');
@@ -0,0 +1,115 @@
<?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\ThreatIntelligenceService;
class CustomerProfileLocation extends \Google\Collection
{
protected $collection_key = 'citationIds';
/**
* Required. The address of the location.
*
* @var string
*/
public $address;
/**
* Required. The brand of the location.
*
* @var string
*/
public $brand;
/**
* Optional. The citation ids for the location.
*
* @var string[]
*/
public $citationIds;
/**
* Optional. The type of location.
*
* @var string
*/
public $facilityType;
/**
* Required. The address of the location.
*
* @param string $address
*/
public function setAddress($address)
{
$this->address = $address;
}
/**
* @return string
*/
public function getAddress()
{
return $this->address;
}
/**
* Required. The brand of the location.
*
* @param string $brand
*/
public function setBrand($brand)
{
$this->brand = $brand;
}
/**
* @return string
*/
public function getBrand()
{
return $this->brand;
}
/**
* Optional. The citation ids for the location.
*
* @param string[] $citationIds
*/
public function setCitationIds($citationIds)
{
$this->citationIds = $citationIds;
}
/**
* @return string[]
*/
public function getCitationIds()
{
return $this->citationIds;
}
/**
* Optional. The type of location.
*
* @param string $facilityType
*/
public function setFacilityType($facilityType)
{
$this->facilityType = $facilityType;
}
/**
* @return string
*/
public function getFacilityType()
{
return $this->facilityType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerProfileLocation::class, 'Google_Service_ThreatIntelligenceService_CustomerProfileLocation');
@@ -0,0 +1,93 @@
<?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\ThreatIntelligenceService;
class CustomerProfilePerson extends \Google\Collection
{
protected $collection_key = 'citationIds';
/**
* Optional. The citation ids for the person.
*
* @var string[]
*/
public $citationIds;
/**
* Required. The name of the person.
*
* @var string
*/
public $name;
/**
* Optional. The title of the person.
*
* @var string
*/
public $title;
/**
* Optional. The citation ids for the person.
*
* @param string[] $citationIds
*/
public function setCitationIds($citationIds)
{
$this->citationIds = $citationIds;
}
/**
* @return string[]
*/
public function getCitationIds()
{
return $this->citationIds;
}
/**
* Required. The name of the person.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. The title of the person.
*
* @param string $title
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerProfilePerson::class, 'Google_Service_ThreatIntelligenceService_CustomerProfilePerson');
@@ -0,0 +1,93 @@
<?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\ThreatIntelligenceService;
class CustomerProfileProduct extends \Google\Collection
{
protected $collection_key = 'citationIds';
/**
* Required. The brand of the product.
*
* @var string
*/
public $brand;
/**
* Optional. The citation ids for the product.
*
* @var string[]
*/
public $citationIds;
/**
* Required. The name of the product.
*
* @var string
*/
public $product;
/**
* Required. The brand of the product.
*
* @param string $brand
*/
public function setBrand($brand)
{
$this->brand = $brand;
}
/**
* @return string
*/
public function getBrand()
{
return $this->brand;
}
/**
* Optional. The citation ids for the product.
*
* @param string[] $citationIds
*/
public function setCitationIds($citationIds)
{
$this->citationIds = $citationIds;
}
/**
* @return string[]
*/
public function getCitationIds()
{
return $this->citationIds;
}
/**
* Required. The name of the product.
*
* @param string $product
*/
public function setProduct($product)
{
$this->product = $product;
}
/**
* @return string
*/
public function getProduct()
{
return $this->product;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerProfileProduct::class, 'Google_Service_ThreatIntelligenceService_CustomerProfileProduct');
@@ -0,0 +1,73 @@
<?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\ThreatIntelligenceService;
class CustomerProfileSecurityConsiderations extends \Google\Collection
{
protected $collection_key = 'considerations';
/**
* Optional. A series of considerations for the security of the organization,
* such as "high risk of compromise" or "vulnerable to cyberbullying".
*
* @var string[]
*/
public $considerations;
/**
* Optional. A note about the security considerations.
*
* @var string
*/
public $note;
/**
* Optional. A series of considerations for the security of the organization,
* such as "high risk of compromise" or "vulnerable to cyberbullying".
*
* @param string[] $considerations
*/
public function setConsiderations($considerations)
{
$this->considerations = $considerations;
}
/**
* @return string[]
*/
public function getConsiderations()
{
return $this->considerations;
}
/**
* Optional. A note about the security considerations.
*
* @param string $note
*/
public function setNote($note)
{
$this->note = $note;
}
/**
* @return string
*/
public function getNote()
{
return $this->note;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerProfileSecurityConsiderations::class, 'Google_Service_ThreatIntelligenceService_CustomerProfileSecurityConsiderations');
@@ -0,0 +1,242 @@
<?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\ThreatIntelligenceService;
class CustomerProfileSummary extends \Google\Model
{
protected $areaServedType = CustomerProfileCitedString::class;
protected $areaServedDataType = '';
protected $brandsType = CustomerProfileCitedString::class;
protected $brandsDataType = '';
protected $entityTypeType = CustomerProfileCitedString::class;
protected $entityTypeDataType = '';
protected $foundedType = CustomerProfileCitedString::class;
protected $foundedDataType = '';
protected $headquartersType = CustomerProfileCitedString::class;
protected $headquartersDataType = '';
protected $industryType = CustomerProfileCitedString::class;
protected $industryDataType = '';
protected $keyPeopleSummaryType = CustomerProfileCitedString::class;
protected $keyPeopleSummaryDataType = '';
protected $parentCompanyType = CustomerProfileCitedString::class;
protected $parentCompanyDataType = '';
protected $primaryWebsiteType = CustomerProfileCitedString::class;
protected $primaryWebsiteDataType = '';
protected $productsSummaryType = CustomerProfileCitedString::class;
protected $productsSummaryDataType = '';
protected $servicesSummaryType = CustomerProfileCitedString::class;
protected $servicesSummaryDataType = '';
protected $titleType = CustomerProfileCitedString::class;
protected $titleDataType = '';
/**
* Optional. The area the customer serves.
*
* @param CustomerProfileCitedString $areaServed
*/
public function setAreaServed(CustomerProfileCitedString $areaServed)
{
$this->areaServed = $areaServed;
}
/**
* @return CustomerProfileCitedString
*/
public function getAreaServed()
{
return $this->areaServed;
}
/**
* Optional. A narrative summary of brands.
*
* @param CustomerProfileCitedString $brands
*/
public function setBrands(CustomerProfileCitedString $brands)
{
$this->brands = $brands;
}
/**
* @return CustomerProfileCitedString
*/
public function getBrands()
{
return $this->brands;
}
/**
* Optional. The entity type of the customer.
*
* @param CustomerProfileCitedString $entityType
*/
public function setEntityType(CustomerProfileCitedString $entityType)
{
$this->entityType = $entityType;
}
/**
* @return CustomerProfileCitedString
*/
public function getEntityType()
{
return $this->entityType;
}
/**
* Optional. The date the customer was founded.
*
* @param CustomerProfileCitedString $founded
*/
public function setFounded(CustomerProfileCitedString $founded)
{
$this->founded = $founded;
}
/**
* @return CustomerProfileCitedString
*/
public function getFounded()
{
return $this->founded;
}
/**
* Optional. The headquarters of the customer.
*
* @param CustomerProfileCitedString $headquarters
*/
public function setHeadquarters(CustomerProfileCitedString $headquarters)
{
$this->headquarters = $headquarters;
}
/**
* @return CustomerProfileCitedString
*/
public function getHeadquarters()
{
return $this->headquarters;
}
/**
* Optional. The industry the customer is in.
*
* @param CustomerProfileCitedString $industry
*/
public function setIndustry(CustomerProfileCitedString $industry)
{
$this->industry = $industry;
}
/**
* @return CustomerProfileCitedString
*/
public function getIndustry()
{
return $this->industry;
}
/**
* Optional. A narrative summary of key people.
*
* @param CustomerProfileCitedString $keyPeopleSummary
*/
public function setKeyPeopleSummary(CustomerProfileCitedString $keyPeopleSummary)
{
$this->keyPeopleSummary = $keyPeopleSummary;
}
/**
* @return CustomerProfileCitedString
*/
public function getKeyPeopleSummary()
{
return $this->keyPeopleSummary;
}
/**
* Optional. The parent company of the customer.
*
* @param CustomerProfileCitedString $parentCompany
*/
public function setParentCompany(CustomerProfileCitedString $parentCompany)
{
$this->parentCompany = $parentCompany;
}
/**
* @return CustomerProfileCitedString
*/
public function getParentCompany()
{
return $this->parentCompany;
}
/**
* Optional. The primary website of the customer.
*
* @param CustomerProfileCitedString $primaryWebsite
*/
public function setPrimaryWebsite(CustomerProfileCitedString $primaryWebsite)
{
$this->primaryWebsite = $primaryWebsite;
}
/**
* @return CustomerProfileCitedString
*/
public function getPrimaryWebsite()
{
return $this->primaryWebsite;
}
/**
* Optional. A narrative summary of products.
*
* @param CustomerProfileCitedString $productsSummary
*/
public function setProductsSummary(CustomerProfileCitedString $productsSummary)
{
$this->productsSummary = $productsSummary;
}
/**
* @return CustomerProfileCitedString
*/
public function getProductsSummary()
{
return $this->productsSummary;
}
/**
* Optional. A narrative summary of services.
*
* @param CustomerProfileCitedString $servicesSummary
*/
public function setServicesSummary(CustomerProfileCitedString $servicesSummary)
{
$this->servicesSummary = $servicesSummary;
}
/**
* @return CustomerProfileCitedString
*/
public function getServicesSummary()
{
return $this->servicesSummary;
}
/**
* Optional. The official name of the customer.
*
* @param CustomerProfileCitedString $title
*/
public function setTitle(CustomerProfileCitedString $title)
{
$this->title = $title;
}
/**
* @return CustomerProfileCitedString
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerProfileSummary::class, 'Google_Service_ThreatIntelligenceService_CustomerProfileSummary');
@@ -0,0 +1,71 @@
<?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\ThreatIntelligenceService;
class CustomerProfileWebPresence extends \Google\Collection
{
protected $collection_key = 'citationIds';
/**
* Optional. The citation ids for the web presence.
*
* @var string[]
*/
public $citationIds;
/**
* Required. The domain name of the web presence.
*
* @var string
*/
public $domain;
/**
* Optional. The citation ids for the web presence.
*
* @param string[] $citationIds
*/
public function setCitationIds($citationIds)
{
$this->citationIds = $citationIds;
}
/**
* @return string[]
*/
public function getCitationIds()
{
return $this->citationIds;
}
/**
* Required. The domain name of the web presence.
*
* @param string $domain
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerProfileWebPresence::class, 'Google_Service_ThreatIntelligenceService_CustomerProfileWebPresence');
@@ -0,0 +1,73 @@
<?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\ThreatIntelligenceService;
class DataLeakAlertDetail extends \Google\Collection
{
protected $collection_key = 'discoveryDocumentIds';
/**
* Required. Array of ids to accommodate multiple discovery documents
*
* @var string[]
*/
public $discoveryDocumentIds;
/**
* Required. The severity of the Data Leak alert. Allowed values are: * `LOW`
* * `MEDIUM` * `HIGH` * `CRITICAL`
*
* @var string
*/
public $severity;
/**
* Required. Array of ids to accommodate multiple discovery documents
*
* @param string[] $discoveryDocumentIds
*/
public function setDiscoveryDocumentIds($discoveryDocumentIds)
{
$this->discoveryDocumentIds = $discoveryDocumentIds;
}
/**
* @return string[]
*/
public function getDiscoveryDocumentIds()
{
return $this->discoveryDocumentIds;
}
/**
* Required. The severity of the Data Leak alert. Allowed values are: * `LOW`
* * `MEDIUM` * `HIGH` * `CRITICAL`
*
* @param string $severity
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataLeakAlertDetail::class, 'Google_Service_ThreatIntelligenceService_DataLeakAlertDetail');
@@ -0,0 +1,126 @@
<?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\ThreatIntelligenceService;
class DataLeakFindingDetail extends \Google\Model
{
/**
* Default value, should never be set.
*/
public const SEVERITY_SEVERITY_UNSPECIFIED = 'SEVERITY_UNSPECIFIED';
/**
* Low severity.
*/
public const SEVERITY_LOW = 'LOW';
/**
* Medium severity.
*/
public const SEVERITY_MEDIUM = 'MEDIUM';
/**
* High severity.
*/
public const SEVERITY_HIGH = 'HIGH';
/**
* Critical severity.
*/
public const SEVERITY_CRITICAL = 'CRITICAL';
/**
* Required. The unique identifier of the document that triggered the Data
* Leak finding. This ID can be used to retrieve the content of the document
* for further analysis.
*
* @var string
*/
public $documentId;
/**
* Required. Reference to the match score of the Data Leak finding. This is a
* float value greater than 0 and less than or equal to 1 calculated by the
* matching engine based on the similarity of the document and the user
* provided configurations.
*
* @var float
*/
public $matchScore;
/**
* Required. The severity of the Data Leak finding. This indicates the
* potential impact of the threat.
*
* @var string
*/
public $severity;
/**
* Required. The unique identifier of the document that triggered the Data
* Leak finding. This ID can be used to retrieve the content of the document
* for further analysis.
*
* @param string $documentId
*/
public function setDocumentId($documentId)
{
$this->documentId = $documentId;
}
/**
* @return string
*/
public function getDocumentId()
{
return $this->documentId;
}
/**
* Required. Reference to the match score of the Data Leak finding. This is a
* float value greater than 0 and less than or equal to 1 calculated by the
* matching engine based on the similarity of the document and the user
* provided configurations.
*
* @param float $matchScore
*/
public function setMatchScore($matchScore)
{
$this->matchScore = $matchScore;
}
/**
* @return float
*/
public function getMatchScore()
{
return $this->matchScore;
}
/**
* Required. The severity of the Data Leak finding. This indicates the
* potential impact of the threat.
*
* Accepted values: SEVERITY_UNSPECIFIED, LOW, MEDIUM, HIGH, CRITICAL
*
* @param self::SEVERITY_* $severity
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return self::SEVERITY_*
*/
public function getSeverity()
{
return $this->severity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataLeakFindingDetail::class, 'Google_Service_ThreatIntelligenceService_DataLeakFindingDetail');
@@ -0,0 +1,45 @@
<?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\ThreatIntelligenceService;
class DomainMonitoringConfig extends \Google\Collection
{
protected $collection_key = 'domains';
protected $domainsType = DomainMonitoringDomain::class;
protected $domainsDataType = 'array';
/**
* The domains to use as "seeds" for Suspicious Domain Monitoring.
*
* @param DomainMonitoringDomain[] $domains
*/
public function setDomains($domains)
{
$this->domains = $domains;
}
/**
* @return DomainMonitoringDomain[]
*/
public function getDomains()
{
return $this->domains;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DomainMonitoringConfig::class, 'Google_Service_ThreatIntelligenceService_DomainMonitoringConfig');
@@ -0,0 +1,48 @@
<?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\ThreatIntelligenceService;
class DomainMonitoringDomain extends \Google\Model
{
/**
* The domain name to match against.
*
* @var string
*/
public $domain;
/**
* The domain name to match against.
*
* @param string $domain
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DomainMonitoringDomain::class, 'Google_Service_ThreatIntelligenceService_DomainMonitoringDomain');
@@ -0,0 +1,249 @@
<?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\ThreatIntelligenceService;
class EntityProfile extends \Google\Collection
{
protected $collection_key = 'subIndustries';
/**
* Optional. List of specific countries of operation. Purpose: Essential for
* matching geographically targeted threats (e.g., actor specifies victims in
* 'DE'). Use ISO 3166-1 alpha-2 codes (e.g., "US", "GB", "JP", "DE").
*
* @var string[]
*/
public $countries;
/**
* Required. List of primary internet domain names associated with the entity.
* Purpose: Crucial for explicit matching against domains mentioned in threat
* intel and can inform semantic matching. Must contain at least one domain.
* Example: ["acme.com", "acme.co.uk"]
*
* @var string[]
*/
public $domains;
/**
* Optional. List of primary industry sectors the entity operates within.
* Purpose: Crucial for matching industry-specific threats and understanding
* attacker motivation. Use standardized GTI Industry Classification values.
* Example: ["Technology", "Financial Services", "Healthcare"]
*
* @var string[]
*/
public $industries;
/**
* Required. Canonical name of the entity (e.g., the legal company name).
* Purpose: Primary identifier for the customer.
*
* @var string
*/
public $name;
/**
* Optional. Specific geographic areas of *significant* operational
* concentration or strategic importance below the country level, if clearly
* identifiable and relevant. Purpose: Useful for highly localized threats,
* less commonly populated than `countries`. Example: ["Silicon Valley",
* "Frankfurt am Main Metropolitan Region"]
*
* @var string[]
*/
public $operationalAreas;
/**
* Required. A concise, machine-generated (e.g., LLM) or human-curated summary
* of the entity. Purpose: Captures the semantic essence for embedding
* generation and similarity matching. Should synthesize key aspects like core
* business, scale, and market. Example: "Acme Corporation is a large, US-
* based multinational conglomerate operating..."
*
* @var string
*/
public $profileSummary;
/**
* Optional. List of primary geopolitical regions where the entity has
* significant operations. Purpose: Filters geographically relevant threats.
* Use standardized names or codes where possible (e.g., "North America",
* "EMEA", "APAC", UN M49 codes).
*
* @var string[]
*/
public $regions;
/**
* Optional. List of more granular sub-industries, if applicable and known.
* Purpose: Provides finer-grained context for more specific threat matching.
* Should align with GTI classifications if possible. Example:
* ["Semiconductors", "Cloud Computing Services", "Investment Banking"]
*
* @var string[]
*/
public $subIndustries;
/**
* Optional. List of specific countries of operation. Purpose: Essential for
* matching geographically targeted threats (e.g., actor specifies victims in
* 'DE'). Use ISO 3166-1 alpha-2 codes (e.g., "US", "GB", "JP", "DE").
*
* @param string[] $countries
*/
public function setCountries($countries)
{
$this->countries = $countries;
}
/**
* @return string[]
*/
public function getCountries()
{
return $this->countries;
}
/**
* Required. List of primary internet domain names associated with the entity.
* Purpose: Crucial for explicit matching against domains mentioned in threat
* intel and can inform semantic matching. Must contain at least one domain.
* Example: ["acme.com", "acme.co.uk"]
*
* @param string[] $domains
*/
public function setDomains($domains)
{
$this->domains = $domains;
}
/**
* @return string[]
*/
public function getDomains()
{
return $this->domains;
}
/**
* Optional. List of primary industry sectors the entity operates within.
* Purpose: Crucial for matching industry-specific threats and understanding
* attacker motivation. Use standardized GTI Industry Classification values.
* Example: ["Technology", "Financial Services", "Healthcare"]
*
* @param string[] $industries
*/
public function setIndustries($industries)
{
$this->industries = $industries;
}
/**
* @return string[]
*/
public function getIndustries()
{
return $this->industries;
}
/**
* Required. Canonical name of the entity (e.g., the legal company name).
* Purpose: Primary identifier for the customer.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Specific geographic areas of *significant* operational
* concentration or strategic importance below the country level, if clearly
* identifiable and relevant. Purpose: Useful for highly localized threats,
* less commonly populated than `countries`. Example: ["Silicon Valley",
* "Frankfurt am Main Metropolitan Region"]
*
* @param string[] $operationalAreas
*/
public function setOperationalAreas($operationalAreas)
{
$this->operationalAreas = $operationalAreas;
}
/**
* @return string[]
*/
public function getOperationalAreas()
{
return $this->operationalAreas;
}
/**
* Required. A concise, machine-generated (e.g., LLM) or human-curated summary
* of the entity. Purpose: Captures the semantic essence for embedding
* generation and similarity matching. Should synthesize key aspects like core
* business, scale, and market. Example: "Acme Corporation is a large, US-
* based multinational conglomerate operating..."
*
* @param string $profileSummary
*/
public function setProfileSummary($profileSummary)
{
$this->profileSummary = $profileSummary;
}
/**
* @return string
*/
public function getProfileSummary()
{
return $this->profileSummary;
}
/**
* Optional. List of primary geopolitical regions where the entity has
* significant operations. Purpose: Filters geographically relevant threats.
* Use standardized names or codes where possible (e.g., "North America",
* "EMEA", "APAC", UN M49 codes).
*
* @param string[] $regions
*/
public function setRegions($regions)
{
$this->regions = $regions;
}
/**
* @return string[]
*/
public function getRegions()
{
return $this->regions;
}
/**
* Optional. List of more granular sub-industries, if applicable and known.
* Purpose: Provides finer-grained context for more specific threat matching.
* Should align with GTI classifications if possible. Example:
* ["Semiconductors", "Cloud Computing Services", "Investment Banking"]
*
* @param string[] $subIndustries
*/
public function setSubIndustries($subIndustries)
{
$this->subIndustries = $subIndustries;
}
/**
* @return string[]
*/
public function getSubIndustries()
{
return $this->subIndustries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EntityProfile::class, 'Google_Service_ThreatIntelligenceService_EntityProfile');
@@ -0,0 +1,45 @@
<?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\ThreatIntelligenceService;
class EnumerateAlertFacetsResponse extends \Google\Collection
{
protected $collection_key = 'facets';
protected $facetsType = Facet::class;
protected $facetsDataType = 'array';
/**
* List of facets and the counts.
*
* @param Facet[] $facets
*/
public function setFacets($facets)
{
$this->facets = $facets;
}
/**
* @return Facet[]
*/
public function getFacets()
{
return $this->facets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnumerateAlertFacetsResponse::class, 'Google_Service_ThreatIntelligenceService_EnumerateAlertFacetsResponse');
@@ -0,0 +1,75 @@
<?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\ThreatIntelligenceService;
class Evidence extends \Google\Collection
{
protected $collection_key = 'distinctThemes';
/**
* A list of semantic themes or concepts found to be common, related, or
* aligned between the sources, supporting the verdict.
*
* @var string[]
*/
public $commonThemes;
/**
* A list of semantic themes or descriptions unique to one source or
* semantically distant.
*
* @var string[]
*/
public $distinctThemes;
/**
* A list of semantic themes or concepts found to be common, related, or
* aligned between the sources, supporting the verdict.
*
* @param string[] $commonThemes
*/
public function setCommonThemes($commonThemes)
{
$this->commonThemes = $commonThemes;
}
/**
* @return string[]
*/
public function getCommonThemes()
{
return $this->commonThemes;
}
/**
* A list of semantic themes or descriptions unique to one source or
* semantically distant.
*
* @param string[] $distinctThemes
*/
public function setDistinctThemes($distinctThemes)
{
$this->distinctThemes = $distinctThemes;
}
/**
* @return string[]
*/
public function getDistinctThemes()
{
return $this->distinctThemes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Evidence::class, 'Google_Service_ThreatIntelligenceService_Evidence');
@@ -0,0 +1,167 @@
<?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\ThreatIntelligenceService;
class Facet extends \Google\Collection
{
protected $collection_key = 'facetCounts';
/**
* Name of the facet. This is also the string that needs to be used in the
* filtering expression.
*
* @var string
*/
public $facet;
protected $facetCountsType = FacetCount::class;
protected $facetCountsDataType = 'array';
/**
* The type of the facet. Options include "string", "int", "float", "bool",
* "enum", "timestamp", "user" and are useful to show the right sort of UI
* controls when building a AIP-160 style filtering string.
*
* @var string
*/
public $facetType;
/**
* Max value of the facet stringified based on type. Will be populated and
* formatted the same as min_value.
*
* @var string
*/
public $maxValue;
/**
* Min value of the facet stringified based on type. This is only populated
* for facets that have a clear ordering, for types like enum it will be left
* empty. Timestamps will be formatted using RFC3339.
*
* @var string
*/
public $minValue;
/**
* Total number of records that contain this facet with ANY value.
*
* @var string
*/
public $totalCount;
/**
* Name of the facet. This is also the string that needs to be used in the
* filtering expression.
*
* @param string $facet
*/
public function setFacet($facet)
{
$this->facet = $facet;
}
/**
* @return string
*/
public function getFacet()
{
return $this->facet;
}
/**
* List of counts for the facet (if categorical).
*
* @param FacetCount[] $facetCounts
*/
public function setFacetCounts($facetCounts)
{
$this->facetCounts = $facetCounts;
}
/**
* @return FacetCount[]
*/
public function getFacetCounts()
{
return $this->facetCounts;
}
/**
* The type of the facet. Options include "string", "int", "float", "bool",
* "enum", "timestamp", "user" and are useful to show the right sort of UI
* controls when building a AIP-160 style filtering string.
*
* @param string $facetType
*/
public function setFacetType($facetType)
{
$this->facetType = $facetType;
}
/**
* @return string
*/
public function getFacetType()
{
return $this->facetType;
}
/**
* Max value of the facet stringified based on type. Will be populated and
* formatted the same as min_value.
*
* @param string $maxValue
*/
public function setMaxValue($maxValue)
{
$this->maxValue = $maxValue;
}
/**
* @return string
*/
public function getMaxValue()
{
return $this->maxValue;
}
/**
* Min value of the facet stringified based on type. This is only populated
* for facets that have a clear ordering, for types like enum it will be left
* empty. Timestamps will be formatted using RFC3339.
*
* @param string $minValue
*/
public function setMinValue($minValue)
{
$this->minValue = $minValue;
}
/**
* @return string
*/
public function getMinValue()
{
return $this->minValue;
}
/**
* Total number of records that contain this facet with ANY value.
*
* @param string $totalCount
*/
public function setTotalCount($totalCount)
{
$this->totalCount = $totalCount;
}
/**
* @return string
*/
public function getTotalCount()
{
return $this->totalCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Facet::class, 'Google_Service_ThreatIntelligenceService_Facet');
@@ -0,0 +1,70 @@
<?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\ThreatIntelligenceService;
class FacetCount extends \Google\Model
{
/**
* Count of records with the value.
*
* @var int
*/
public $count;
/**
* Value of the facet stringified. Timestamps will be formatted using RFC3339.
*
* @var string
*/
public $value;
/**
* Count of records with the value.
*
* @param int $count
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return int
*/
public function getCount()
{
return $this->count;
}
/**
* Value of the facet stringified. Timestamps will be formatted using RFC3339.
*
* @param string $value
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FacetCount::class, 'Google_Service_ThreatIntelligenceService_FacetCount');
@@ -0,0 +1,286 @@
<?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\ThreatIntelligenceService;
class Finding extends \Google\Collection
{
protected $collection_key = 'reoccurrenceTimes';
/**
* Optional. AI summary of the finding.
*
* @var string
*/
public $aiSummary;
/**
* Optional. Name of the alert that this finding is bound to.
*
* @var string
*/
public $alert;
protected $auditType = Audit::class;
protected $auditDataType = '';
/**
* Optional. Configuration names that are bound to this finding.
*
* @var string[]
*/
public $configurations;
protected $detailType = FindingDetail::class;
protected $detailDataType = '';
/**
* Required. A short descriptive title for the finding <= 250 chars. EX:
* "Actor 'baddy' offering $1000 for credentials of 'goodguy'".
*
* @var string
*/
public $displayName;
/**
* Identifier. Server generated name for the finding (leave clear during
* creation). Format: projects/{project}/findings/{finding}
*
* @var string
*/
public $name;
/**
* Required. Logical source of this finding (name of the sub-engine).
*
* @var string
*/
public $provider;
protected $relevanceAnalysisType = RelevanceAnalysis::class;
protected $relevanceAnalysisDataType = '';
/**
* Output only. When identical finding (same labels and same details) has re-
* occurred.
*
* @var string[]
*/
public $reoccurrenceTimes;
/**
* Optional. Deprecated: Use the `severity_analysis` field instead. Base
* severity score from the finding source.
*
* @deprecated
* @var float
*/
public $severity;
protected $severityAnalysisType = SeverityAnalysis::class;
protected $severityAnalysisDataType = '';
/**
* Optional. AI summary of the finding.
*
* @param string $aiSummary
*/
public function setAiSummary($aiSummary)
{
$this->aiSummary = $aiSummary;
}
/**
* @return string
*/
public function getAiSummary()
{
return $this->aiSummary;
}
/**
* Optional. Name of the alert that this finding is bound to.
*
* @param string $alert
*/
public function setAlert($alert)
{
$this->alert = $alert;
}
/**
* @return string
*/
public function getAlert()
{
return $this->alert;
}
/**
* Output only. Audit data about the finding.
*
* @param Audit $audit
*/
public function setAudit(Audit $audit)
{
$this->audit = $audit;
}
/**
* @return Audit
*/
public function getAudit()
{
return $this->audit;
}
/**
* Optional. Configuration names that are bound to this finding.
*
* @param string[] $configurations
*/
public function setConfigurations($configurations)
{
$this->configurations = $configurations;
}
/**
* @return string[]
*/
public function getConfigurations()
{
return $this->configurations;
}
/**
* Required. Holder of the domain specific details of the finding.
*
* @param FindingDetail $detail
*/
public function setDetail(FindingDetail $detail)
{
$this->detail = $detail;
}
/**
* @return FindingDetail
*/
public function getDetail()
{
return $this->detail;
}
/**
* Required. A short descriptive title for the finding <= 250 chars. EX:
* "Actor 'baddy' offering $1000 for credentials of 'goodguy'".
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Identifier. Server generated name for the finding (leave clear during
* creation). Format: projects/{project}/findings/{finding}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. Logical source of this finding (name of the sub-engine).
*
* @param string $provider
*/
public function setProvider($provider)
{
$this->provider = $provider;
}
/**
* @return string
*/
public function getProvider()
{
return $this->provider;
}
/**
* Output only. High-Precision Relevance Analysis verdict for the finding.
*
* @param RelevanceAnalysis $relevanceAnalysis
*/
public function setRelevanceAnalysis(RelevanceAnalysis $relevanceAnalysis)
{
$this->relevanceAnalysis = $relevanceAnalysis;
}
/**
* @return RelevanceAnalysis
*/
public function getRelevanceAnalysis()
{
return $this->relevanceAnalysis;
}
/**
* Output only. When identical finding (same labels and same details) has re-
* occurred.
*
* @param string[] $reoccurrenceTimes
*/
public function setReoccurrenceTimes($reoccurrenceTimes)
{
$this->reoccurrenceTimes = $reoccurrenceTimes;
}
/**
* @return string[]
*/
public function getReoccurrenceTimes()
{
return $this->reoccurrenceTimes;
}
/**
* Optional. Deprecated: Use the `severity_analysis` field instead. Base
* severity score from the finding source.
*
* @deprecated
* @param float $severity
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @deprecated
* @return float
*/
public function getSeverity()
{
return $this->severity;
}
/**
* Output only. High-Precision Severity Analysis verdict for the finding.
*
* @param SeverityAnalysis $severityAnalysis
*/
public function setSeverityAnalysis(SeverityAnalysis $severityAnalysis)
{
$this->severityAnalysis = $severityAnalysis;
}
/**
* @return SeverityAnalysis
*/
public function getSeverityAnalysis()
{
return $this->severityAnalysis;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Finding::class, 'Google_Service_ThreatIntelligenceService_Finding');
@@ -0,0 +1,104 @@
<?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\ThreatIntelligenceService;
class FindingDetail extends \Google\Model
{
protected $dataLeakType = DataLeakFindingDetail::class;
protected $dataLeakDataType = '';
/**
* Output only. Name of the detail type. Will be set by the server during
* creation to the name of the field that is set in the detail union.
*
* @var string
*/
public $detailType;
protected $initialAccessBrokerType = InitialAccessBrokerFindingDetail::class;
protected $initialAccessBrokerDataType = '';
protected $insiderThreatType = InsiderThreatFindingDetail::class;
protected $insiderThreatDataType = '';
/**
* Data Leak finding detail type.
*
* @param DataLeakFindingDetail $dataLeak
*/
public function setDataLeak(DataLeakFindingDetail $dataLeak)
{
$this->dataLeak = $dataLeak;
}
/**
* @return DataLeakFindingDetail
*/
public function getDataLeak()
{
return $this->dataLeak;
}
/**
* Output only. Name of the detail type. Will be set by the server during
* creation to the name of the field that is set in the detail union.
*
* @param string $detailType
*/
public function setDetailType($detailType)
{
$this->detailType = $detailType;
}
/**
* @return string
*/
public function getDetailType()
{
return $this->detailType;
}
/**
* Initial Access Broker finding detail type.
*
* @param InitialAccessBrokerFindingDetail $initialAccessBroker
*/
public function setInitialAccessBroker(InitialAccessBrokerFindingDetail $initialAccessBroker)
{
$this->initialAccessBroker = $initialAccessBroker;
}
/**
* @return InitialAccessBrokerFindingDetail
*/
public function getInitialAccessBroker()
{
return $this->initialAccessBroker;
}
/**
* Insider Threat finding detail type.
*
* @param InsiderThreatFindingDetail $insiderThreat
*/
public function setInsiderThreat(InsiderThreatFindingDetail $insiderThreat)
{
$this->insiderThreat = $insiderThreat;
}
/**
* @return InsiderThreatFindingDetail
*/
public function getInsiderThreat()
{
return $this->insiderThreat;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FindingDetail::class, 'Google_Service_ThreatIntelligenceService_FindingDetail');
@@ -0,0 +1,70 @@
<?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\ThreatIntelligenceService;
class GenerateOrgProfileConfigurationRequest extends \Google\Model
{
/**
* Required. The display name of the organization to generate the profile for.
*
* @var string
*/
public $displayName;
/**
* Required. The domain of the organization to generate the profile for.
*
* @var string
*/
public $domain;
/**
* Required. The display name of the organization to generate the profile for.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Required. The domain of the organization to generate the profile for.
*
* @param string $domain
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateOrgProfileConfigurationRequest::class, 'Google_Service_ThreatIntelligenceService_GenerateOrgProfileConfigurationRequest');
@@ -0,0 +1,335 @@
<?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\ThreatIntelligenceService;
class InbandVulnerability extends \Google\Collection
{
protected $collection_key = 'referenceUrls';
protected $affectedSoftwareType = AffectedSoftware::class;
protected $affectedSoftwareDataType = 'array';
/**
* Optional. The authors of the vulnerability detection.
*
* @var string[]
*/
public $authors;
/**
* Required. The CVE ID of the vulnerability.
*
* @var string
*/
public $cveId;
/**
* Required. The CVSS V3.1 score (Base score)for the vulnerability. ( )
*
* @var float
*/
public $cvssV31Score;
/**
* Optional. Temporal CVSS V3.1 score for the vulnerability.
*
* @var float
*/
public $cvssV31ScoreTemporal;
/**
* Optional. The human readable description. This can be basic HTML formatted
* text.
*
* @var string
*/
public $description;
/**
* Optional. The date the vulnerability was first disclosed.
*
* @var string
*/
public $disclosureTime;
/**
* Optional. Exploitation state of the vulnerability, for example "Available".
*
* @var string
*/
public $exploitationState;
/**
* Required. The external ID of the vulnerability.
*
* @var string
*/
public $externalVulnerabilityId;
/**
* Optional. Whether this is exploited in the wild.
*
* @var bool
*/
public $isExploitedWild;
/**
* Optional. Reference URLs to the vulnerability.
*
* @var string[]
*/
public $referenceUrls;
/**
* Optional. The human readable remediation recommendation. This can be basic
* HTML formatted text.
*
* @var string
*/
public $remediation;
/**
* Optional. Risk rating for the vulnerability, for example "High".
*
* @var string
*/
public $riskRating;
/**
* Optional. Human readable name for the vulnerability.
*
* @var string
*/
public $title;
/**
* Optional. The software that is affected by the vulnerability.
*
* @param AffectedSoftware[] $affectedSoftware
*/
public function setAffectedSoftware($affectedSoftware)
{
$this->affectedSoftware = $affectedSoftware;
}
/**
* @return AffectedSoftware[]
*/
public function getAffectedSoftware()
{
return $this->affectedSoftware;
}
/**
* Optional. The authors of the vulnerability detection.
*
* @param string[] $authors
*/
public function setAuthors($authors)
{
$this->authors = $authors;
}
/**
* @return string[]
*/
public function getAuthors()
{
return $this->authors;
}
/**
* Required. The CVE ID of the vulnerability.
*
* @param string $cveId
*/
public function setCveId($cveId)
{
$this->cveId = $cveId;
}
/**
* @return string
*/
public function getCveId()
{
return $this->cveId;
}
/**
* Required. The CVSS V3.1 score (Base score)for the vulnerability. ( )
*
* @param float $cvssV31Score
*/
public function setCvssV31Score($cvssV31Score)
{
$this->cvssV31Score = $cvssV31Score;
}
/**
* @return float
*/
public function getCvssV31Score()
{
return $this->cvssV31Score;
}
/**
* Optional. Temporal CVSS V3.1 score for the vulnerability.
*
* @param float $cvssV31ScoreTemporal
*/
public function setCvssV31ScoreTemporal($cvssV31ScoreTemporal)
{
$this->cvssV31ScoreTemporal = $cvssV31ScoreTemporal;
}
/**
* @return float
*/
public function getCvssV31ScoreTemporal()
{
return $this->cvssV31ScoreTemporal;
}
/**
* Optional. The human readable description. This can be basic HTML formatted
* text.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Optional. The date the vulnerability was first disclosed.
*
* @param string $disclosureTime
*/
public function setDisclosureTime($disclosureTime)
{
$this->disclosureTime = $disclosureTime;
}
/**
* @return string
*/
public function getDisclosureTime()
{
return $this->disclosureTime;
}
/**
* Optional. Exploitation state of the vulnerability, for example "Available".
*
* @param string $exploitationState
*/
public function setExploitationState($exploitationState)
{
$this->exploitationState = $exploitationState;
}
/**
* @return string
*/
public function getExploitationState()
{
return $this->exploitationState;
}
/**
* Required. The external ID of the vulnerability.
*
* @param string $externalVulnerabilityId
*/
public function setExternalVulnerabilityId($externalVulnerabilityId)
{
$this->externalVulnerabilityId = $externalVulnerabilityId;
}
/**
* @return string
*/
public function getExternalVulnerabilityId()
{
return $this->externalVulnerabilityId;
}
/**
* Optional. Whether this is exploited in the wild.
*
* @param bool $isExploitedWild
*/
public function setIsExploitedWild($isExploitedWild)
{
$this->isExploitedWild = $isExploitedWild;
}
/**
* @return bool
*/
public function getIsExploitedWild()
{
return $this->isExploitedWild;
}
/**
* Optional. Reference URLs to the vulnerability.
*
* @param string[] $referenceUrls
*/
public function setReferenceUrls($referenceUrls)
{
$this->referenceUrls = $referenceUrls;
}
/**
* @return string[]
*/
public function getReferenceUrls()
{
return $this->referenceUrls;
}
/**
* Optional. The human readable remediation recommendation. This can be basic
* HTML formatted text.
*
* @param string $remediation
*/
public function setRemediation($remediation)
{
$this->remediation = $remediation;
}
/**
* @return string
*/
public function getRemediation()
{
return $this->remediation;
}
/**
* Optional. Risk rating for the vulnerability, for example "High".
*
* @param string $riskRating
*/
public function setRiskRating($riskRating)
{
$this->riskRating = $riskRating;
}
/**
* @return string
*/
public function getRiskRating()
{
return $this->riskRating;
}
/**
* Optional. Human readable name for the vulnerability.
*
* @param string $title
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InbandVulnerability::class, 'Google_Service_ThreatIntelligenceService_InbandVulnerability');
@@ -0,0 +1,88 @@
<?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\ThreatIntelligenceService;
class InbandVulnerabilityFindingDetail extends \Google\Model
{
/**
* Optional. A short description of the proof of the vulnerability.
*
* @var string
*/
public $formattedProofDetails;
/**
* Optional. The URI that lead to this detection, if appropriate.
*
* @var string
*/
public $requestUri;
protected $vulnerabilityType = InbandVulnerability::class;
protected $vulnerabilityDataType = '';
/**
* Optional. A short description of the proof of the vulnerability.
*
* @param string $formattedProofDetails
*/
public function setFormattedProofDetails($formattedProofDetails)
{
$this->formattedProofDetails = $formattedProofDetails;
}
/**
* @return string
*/
public function getFormattedProofDetails()
{
return $this->formattedProofDetails;
}
/**
* Optional. The URI that lead to this detection, if appropriate.
*
* @param string $requestUri
*/
public function setRequestUri($requestUri)
{
$this->requestUri = $requestUri;
}
/**
* @return string
*/
public function getRequestUri()
{
return $this->requestUri;
}
/**
* Required. Vulnerability metadata.
*
* @param InbandVulnerability $vulnerability
*/
public function setVulnerability(InbandVulnerability $vulnerability)
{
$this->vulnerability = $vulnerability;
}
/**
* @return InbandVulnerability
*/
public function getVulnerability()
{
return $this->vulnerability;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InbandVulnerabilityFindingDetail::class, 'Google_Service_ThreatIntelligenceService_InbandVulnerabilityFindingDetail');
@@ -0,0 +1,73 @@
<?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\ThreatIntelligenceService;
class InitialAccessBrokerAlertDetail extends \Google\Collection
{
protected $collection_key = 'discoveryDocumentIds';
/**
* Required. Array of ids to accommodate multiple discovery documents
*
* @var string[]
*/
public $discoveryDocumentIds;
/**
* Required. The severity of the Initial Access Broker (IAB) alert. Allowed
* values are: * `LOW` * `MEDIUM` * `HIGH` * `CRITICAL`
*
* @var string
*/
public $severity;
/**
* Required. Array of ids to accommodate multiple discovery documents
*
* @param string[] $discoveryDocumentIds
*/
public function setDiscoveryDocumentIds($discoveryDocumentIds)
{
$this->discoveryDocumentIds = $discoveryDocumentIds;
}
/**
* @return string[]
*/
public function getDiscoveryDocumentIds()
{
return $this->discoveryDocumentIds;
}
/**
* Required. The severity of the Initial Access Broker (IAB) alert. Allowed
* values are: * `LOW` * `MEDIUM` * `HIGH` * `CRITICAL`
*
* @param string $severity
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InitialAccessBrokerAlertDetail::class, 'Google_Service_ThreatIntelligenceService_InitialAccessBrokerAlertDetail');
@@ -0,0 +1,45 @@
<?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\ThreatIntelligenceService;
class InitialAccessBrokerConfig extends \Google\Model
{
protected $entityProfileType = EntityProfile::class;
protected $entityProfileDataType = '';
/**
* Represents the comprehensive profile of the customer entity used for
* matching.
*
* @param EntityProfile $entityProfile
*/
public function setEntityProfile(EntityProfile $entityProfile)
{
$this->entityProfile = $entityProfile;
}
/**
* @return EntityProfile
*/
public function getEntityProfile()
{
return $this->entityProfile;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InitialAccessBrokerConfig::class, 'Google_Service_ThreatIntelligenceService_InitialAccessBrokerConfig');
@@ -0,0 +1,109 @@
<?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\ThreatIntelligenceService;
class InitialAccessBrokerFindingDetail extends \Google\Model
{
public const SEVERITY_SEVERITY_UNSPECIFIED = 'SEVERITY_UNSPECIFIED';
public const SEVERITY_LOW = 'LOW';
public const SEVERITY_MEDIUM = 'MEDIUM';
public const SEVERITY_HIGH = 'HIGH';
public const SEVERITY_CRITICAL = 'CRITICAL';
/**
* Required. The unique identifier of the document that triggered the IAB
* finding. This ID can be used to retrieve the content of the document for
* further analysis.
*
* @var string
*/
public $documentId;
/**
* Required. Reference to the match score of the IAB finding. This is a float
* value between 0 and 1 calculated by the matching engine based on the
* similarity of the document and the user provided configurations.
*
* @var float
*/
public $matchScore;
/**
* Required. The severity of the IAB finding. This indicates the potential
* impact of the threat.
*
* @var string
*/
public $severity;
/**
* Required. The unique identifier of the document that triggered the IAB
* finding. This ID can be used to retrieve the content of the document for
* further analysis.
*
* @param string $documentId
*/
public function setDocumentId($documentId)
{
$this->documentId = $documentId;
}
/**
* @return string
*/
public function getDocumentId()
{
return $this->documentId;
}
/**
* Required. Reference to the match score of the IAB finding. This is a float
* value between 0 and 1 calculated by the matching engine based on the
* similarity of the document and the user provided configurations.
*
* @param float $matchScore
*/
public function setMatchScore($matchScore)
{
$this->matchScore = $matchScore;
}
/**
* @return float
*/
public function getMatchScore()
{
return $this->matchScore;
}
/**
* Required. The severity of the IAB finding. This indicates the potential
* impact of the threat.
*
* Accepted values: SEVERITY_UNSPECIFIED, LOW, MEDIUM, HIGH, CRITICAL
*
* @param self::SEVERITY_* $severity
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return self::SEVERITY_*
*/
public function getSeverity()
{
return $this->severity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InitialAccessBrokerFindingDetail::class, 'Google_Service_ThreatIntelligenceService_InitialAccessBrokerFindingDetail');
@@ -0,0 +1,73 @@
<?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\ThreatIntelligenceService;
class InsiderThreatAlertDetail extends \Google\Collection
{
protected $collection_key = 'discoveryDocumentIds';
/**
* Required. Array of ids to accommodate multiple discovery documents
*
* @var string[]
*/
public $discoveryDocumentIds;
/**
* Required. The severity of the Insider Threat alert. Allowed values are: *
* `LOW` * `MEDIUM` * `HIGH` * `CRITICAL`
*
* @var string
*/
public $severity;
/**
* Required. Array of ids to accommodate multiple discovery documents
*
* @param string[] $discoveryDocumentIds
*/
public function setDiscoveryDocumentIds($discoveryDocumentIds)
{
$this->discoveryDocumentIds = $discoveryDocumentIds;
}
/**
* @return string[]
*/
public function getDiscoveryDocumentIds()
{
return $this->discoveryDocumentIds;
}
/**
* Required. The severity of the Insider Threat alert. Allowed values are: *
* `LOW` * `MEDIUM` * `HIGH` * `CRITICAL`
*
* @param string $severity
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InsiderThreatAlertDetail::class, 'Google_Service_ThreatIntelligenceService_InsiderThreatAlertDetail');
@@ -0,0 +1,126 @@
<?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\ThreatIntelligenceService;
class InsiderThreatFindingDetail extends \Google\Model
{
/**
* Default value, should never be set.
*/
public const SEVERITY_SEVERITY_UNSPECIFIED = 'SEVERITY_UNSPECIFIED';
/**
* Low severity.
*/
public const SEVERITY_LOW = 'LOW';
/**
* Medium severity.
*/
public const SEVERITY_MEDIUM = 'MEDIUM';
/**
* High severity.
*/
public const SEVERITY_HIGH = 'HIGH';
/**
* Critical severity.
*/
public const SEVERITY_CRITICAL = 'CRITICAL';
/**
* Required. The unique identifier of the document that triggered the
* InsiderThreat finding. This ID can be used to retrieve the content of the
* document for further analysis.
*
* @var string
*/
public $documentId;
/**
* Required. Reference to the match score of the InsiderThreat finding. This
* is a float value greater than 0 and less than or equal to 1 calculated by
* the matching engine based on the similarity of the document and the user
* provided configurations.
*
* @var float
*/
public $matchScore;
/**
* Required. The severity of the InsiderThreat finding. This indicates the
* potential impact of the threat.
*
* @var string
*/
public $severity;
/**
* Required. The unique identifier of the document that triggered the
* InsiderThreat finding. This ID can be used to retrieve the content of the
* document for further analysis.
*
* @param string $documentId
*/
public function setDocumentId($documentId)
{
$this->documentId = $documentId;
}
/**
* @return string
*/
public function getDocumentId()
{
return $this->documentId;
}
/**
* Required. Reference to the match score of the InsiderThreat finding. This
* is a float value greater than 0 and less than or equal to 1 calculated by
* the matching engine based on the similarity of the document and the user
* provided configurations.
*
* @param float $matchScore
*/
public function setMatchScore($matchScore)
{
$this->matchScore = $matchScore;
}
/**
* @return float
*/
public function getMatchScore()
{
return $this->matchScore;
}
/**
* Required. The severity of the InsiderThreat finding. This indicates the
* potential impact of the threat.
*
* Accepted values: SEVERITY_UNSPECIFIED, LOW, MEDIUM, HIGH, CRITICAL
*
* @param self::SEVERITY_* $severity
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return self::SEVERITY_*
*/
public function getSeverity()
{
return $this->severity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InsiderThreatFindingDetail::class, 'Google_Service_ThreatIntelligenceService_InsiderThreatFindingDetail');
@@ -0,0 +1,67 @@
<?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\ThreatIntelligenceService;
class ListAlertsResponse extends \Google\Collection
{
protected $collection_key = 'alerts';
protected $alertsType = Alert::class;
protected $alertsDataType = 'array';
/**
* Page token.
*
* @var string
*/
public $nextPageToken;
/**
* List of alerts.
*
* @param Alert[] $alerts
*/
public function setAlerts($alerts)
{
$this->alerts = $alerts;
}
/**
* @return Alert[]
*/
public function getAlerts()
{
return $this->alerts;
}
/**
* Page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAlertsResponse::class, 'Google_Service_ThreatIntelligenceService_ListAlertsResponse');
@@ -0,0 +1,69 @@
<?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\ThreatIntelligenceService;
class ListConfigurationRevisionsResponse extends \Google\Collection
{
protected $collection_key = 'revisions';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
protected $revisionsType = ConfigurationRevision::class;
protected $revisionsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The Configuration Revisions associated with the specified Configuration
*
* @param ConfigurationRevision[] $revisions
*/
public function setRevisions($revisions)
{
$this->revisions = $revisions;
}
/**
* @return ConfigurationRevision[]
*/
public function getRevisions()
{
return $this->revisions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListConfigurationRevisionsResponse::class, 'Google_Service_ThreatIntelligenceService_ListConfigurationRevisionsResponse');
@@ -0,0 +1,67 @@
<?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\ThreatIntelligenceService;
class ListConfigurationsResponse extends \Google\Collection
{
protected $collection_key = 'configurations';
protected $configurationsType = Configuration::class;
protected $configurationsDataType = 'array';
/**
* Page token.
*
* @var string
*/
public $nextPageToken;
/**
* List of configurations.
*
* @param Configuration[] $configurations
*/
public function setConfigurations($configurations)
{
$this->configurations = $configurations;
}
/**
* @return Configuration[]
*/
public function getConfigurations()
{
return $this->configurations;
}
/**
* Page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListConfigurationsResponse::class, 'Google_Service_ThreatIntelligenceService_ListConfigurationsResponse');
@@ -0,0 +1,67 @@
<?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\ThreatIntelligenceService;
class ListFindingsResponse extends \Google\Collection
{
protected $collection_key = 'findings';
protected $findingsType = Finding::class;
protected $findingsDataType = 'array';
/**
* Page token.
*
* @var string
*/
public $nextPageToken;
/**
* List of findings.
*
* @param Finding[] $findings
*/
public function setFindings($findings)
{
$this->findings = $findings;
}
/**
* @return Finding[]
*/
public function getFindings()
{
return $this->findings;
}
/**
* Page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListFindingsResponse::class, 'Google_Service_ThreatIntelligenceService_ListFindingsResponse');
@@ -0,0 +1,25 @@
<?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\ThreatIntelligenceService;
class MarkAlertAsBenignRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MarkAlertAsBenignRequest::class, 'Google_Service_ThreatIntelligenceService_MarkAlertAsBenignRequest');
@@ -0,0 +1,50 @@
<?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\ThreatIntelligenceService;
class MarkAlertAsDuplicateRequest extends \Google\Model
{
/**
* Optional. Name of the alert to mark as a duplicate of. Format:
* projects/{project}/alerts/{alert}
*
* @var string
*/
public $duplicateOf;
/**
* Optional. Name of the alert to mark as a duplicate of. Format:
* projects/{project}/alerts/{alert}
*
* @param string $duplicateOf
*/
public function setDuplicateOf($duplicateOf)
{
$this->duplicateOf = $duplicateOf;
}
/**
* @return string
*/
public function getDuplicateOf()
{
return $this->duplicateOf;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MarkAlertAsDuplicateRequest::class, 'Google_Service_ThreatIntelligenceService_MarkAlertAsDuplicateRequest');
@@ -0,0 +1,25 @@
<?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\ThreatIntelligenceService;
class MarkAlertAsEscalatedRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MarkAlertAsEscalatedRequest::class, 'Google_Service_ThreatIntelligenceService_MarkAlertAsEscalatedRequest');
@@ -0,0 +1,25 @@
<?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\ThreatIntelligenceService;
class MarkAlertAsFalsePositiveRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MarkAlertAsFalsePositiveRequest::class, 'Google_Service_ThreatIntelligenceService_MarkAlertAsFalsePositiveRequest');
@@ -0,0 +1,25 @@
<?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\ThreatIntelligenceService;
class MarkAlertAsNotActionableRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MarkAlertAsNotActionableRequest::class, 'Google_Service_ThreatIntelligenceService_MarkAlertAsNotActionableRequest');
@@ -0,0 +1,25 @@
<?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\ThreatIntelligenceService;
class MarkAlertAsReadRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MarkAlertAsReadRequest::class, 'Google_Service_ThreatIntelligenceService_MarkAlertAsReadRequest');
@@ -0,0 +1,25 @@
<?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\ThreatIntelligenceService;
class MarkAlertAsResolvedRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MarkAlertAsResolvedRequest::class, 'Google_Service_ThreatIntelligenceService_MarkAlertAsResolvedRequest');
@@ -0,0 +1,25 @@
<?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\ThreatIntelligenceService;
class MarkAlertAsTrackedExternallyRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MarkAlertAsTrackedExternallyRequest::class, 'Google_Service_ThreatIntelligenceService_MarkAlertAsTrackedExternallyRequest');
@@ -0,0 +1,25 @@
<?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\ThreatIntelligenceService;
class MarkAlertAsTriagedRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MarkAlertAsTriagedRequest::class, 'Google_Service_ThreatIntelligenceService_MarkAlertAsTriagedRequest');
@@ -0,0 +1,44 @@
<?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\ThreatIntelligenceService;
class MisconfigurationFindingDetail extends \Google\Model
{
protected $misconfigurationMetadataType = MisconfigurationMetadata::class;
protected $misconfigurationMetadataDataType = '';
/**
* Required. The misconfiguration metadata.
*
* @param MisconfigurationMetadata $misconfigurationMetadata
*/
public function setMisconfigurationMetadata(MisconfigurationMetadata $misconfigurationMetadata)
{
$this->misconfigurationMetadata = $misconfigurationMetadata;
}
/**
* @return MisconfigurationMetadata
*/
public function getMisconfigurationMetadata()
{
return $this->misconfigurationMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MisconfigurationFindingDetail::class, 'Google_Service_ThreatIntelligenceService_MisconfigurationFindingDetail');
@@ -0,0 +1,158 @@
<?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\ThreatIntelligenceService;
class MisconfigurationMetadata extends \Google\Collection
{
protected $collection_key = 'references';
/**
* Optional. Description of the misconfiguration.
*
* @var string
*/
public $description;
/**
* Optional. A user-friendly name for the misconfiguration.
*
* @var string
*/
public $displayName;
/**
* Required. The identifier for the misconfiguration. This is an internal name
* generated by the finding provider.
*
* @var string
*/
public $misconfigurationId;
protected $referencesType = MisconfigurationReference::class;
protected $referencesDataType = 'array';
/**
* Optional. Recommended remediation steps for the misconfiguration.
*
* @var string
*/
public $remediation;
/**
* Optional. The endpoint which was found to have the vulnerability.
*
* @var string
*/
public $vulnerableUri;
/**
* Optional. Description of the misconfiguration.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Optional. A user-friendly name for the misconfiguration.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Required. The identifier for the misconfiguration. This is an internal name
* generated by the finding provider.
*
* @param string $misconfigurationId
*/
public function setMisconfigurationId($misconfigurationId)
{
$this->misconfigurationId = $misconfigurationId;
}
/**
* @return string
*/
public function getMisconfigurationId()
{
return $this->misconfigurationId;
}
/**
* Optional. References to external resources that provide more information
* about the misconfiguration.
*
* @param MisconfigurationReference[] $references
*/
public function setReferences($references)
{
$this->references = $references;
}
/**
* @return MisconfigurationReference[]
*/
public function getReferences()
{
return $this->references;
}
/**
* Optional. Recommended remediation steps for the misconfiguration.
*
* @param string $remediation
*/
public function setRemediation($remediation)
{
$this->remediation = $remediation;
}
/**
* @return string
*/
public function getRemediation()
{
return $this->remediation;
}
/**
* Optional. The endpoint which was found to have the vulnerability.
*
* @param string $vulnerableUri
*/
public function setVulnerableUri($vulnerableUri)
{
$this->vulnerableUri = $vulnerableUri;
}
/**
* @return string
*/
public function getVulnerableUri()
{
return $this->vulnerableUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MisconfigurationMetadata::class, 'Google_Service_ThreatIntelligenceService_MisconfigurationMetadata');
@@ -0,0 +1,70 @@
<?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\ThreatIntelligenceService;
class MisconfigurationReference extends \Google\Model
{
/**
* Required. The type of the reference (e.g., "description", "remediation").
*
* @var string
*/
public $type;
/**
* Required. The URI of the reference.
*
* @var string
*/
public $uri;
/**
* Required. The type of the reference (e.g., "description", "remediation").
*
* @param string $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* Required. The URI of the reference.
*
* @param string $uri
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MisconfigurationReference::class, 'Google_Service_ThreatIntelligenceService_MisconfigurationReference');
@@ -0,0 +1,158 @@
<?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\ThreatIntelligenceService;
class Operation extends \Google\Model
{
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @var array[]
*/
public $metadata;
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @var string
*/
public $name;
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @var array[]
*/
public $response;
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @param bool $done
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* The error result of the operation in case of failure or cancellation.
*
* @param Status $error
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @param array[] $response
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_ThreatIntelligenceService_Operation');
@@ -0,0 +1,136 @@
<?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\ThreatIntelligenceService;
class PriorityAnalysis extends \Google\Model
{
/**
* Default value. Confidence level is not specified.
*/
public const CONFIDENCE_CONFIDENCE_LEVEL_UNSPECIFIED = 'CONFIDENCE_LEVEL_UNSPECIFIED';
/**
* Low confidence in the verdict.
*/
public const CONFIDENCE_CONFIDENCE_LEVEL_LOW = 'CONFIDENCE_LEVEL_LOW';
/**
* Medium confidence in the verdict.
*/
public const CONFIDENCE_CONFIDENCE_LEVEL_MEDIUM = 'CONFIDENCE_LEVEL_MEDIUM';
/**
* High confidence in the verdict.
*/
public const CONFIDENCE_CONFIDENCE_LEVEL_HIGH = 'CONFIDENCE_LEVEL_HIGH';
/**
* Default value, should never be set.
*/
public const PRIORITY_LEVEL_PRIORITY_LEVEL_UNSPECIFIED = 'PRIORITY_LEVEL_UNSPECIFIED';
/**
* Low Priority.
*/
public const PRIORITY_LEVEL_PRIORITY_LEVEL_LOW = 'PRIORITY_LEVEL_LOW';
/**
* Medium Priority.
*/
public const PRIORITY_LEVEL_PRIORITY_LEVEL_MEDIUM = 'PRIORITY_LEVEL_MEDIUM';
/**
* High Priority.
*/
public const PRIORITY_LEVEL_PRIORITY_LEVEL_HIGH = 'PRIORITY_LEVEL_HIGH';
/**
* Critical Priority.
*/
public const PRIORITY_LEVEL_PRIORITY_LEVEL_CRITICAL = 'PRIORITY_LEVEL_CRITICAL';
/**
* The level of confidence in the given verdict.
*
* @var string
*/
public $confidence;
/**
* The level of Priority.
*
* @var string
*/
public $priorityLevel;
/**
* Human-readable explanation from the model, detailing why a particular
* result is considered to have a certain priority.
*
* @var string
*/
public $reasoning;
/**
* The level of confidence in the given verdict.
*
* Accepted values: CONFIDENCE_LEVEL_UNSPECIFIED, CONFIDENCE_LEVEL_LOW,
* CONFIDENCE_LEVEL_MEDIUM, CONFIDENCE_LEVEL_HIGH
*
* @param self::CONFIDENCE_* $confidence
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return self::CONFIDENCE_*
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* The level of Priority.
*
* Accepted values: PRIORITY_LEVEL_UNSPECIFIED, PRIORITY_LEVEL_LOW,
* PRIORITY_LEVEL_MEDIUM, PRIORITY_LEVEL_HIGH, PRIORITY_LEVEL_CRITICAL
*
* @param self::PRIORITY_LEVEL_* $priorityLevel
*/
public function setPriorityLevel($priorityLevel)
{
$this->priorityLevel = $priorityLevel;
}
/**
* @return self::PRIORITY_LEVEL_*
*/
public function getPriorityLevel()
{
return $this->priorityLevel;
}
/**
* Human-readable explanation from the model, detailing why a particular
* result is considered to have a certain priority.
*
* @param string $reasoning
*/
public function setReasoning($reasoning)
{
$this->reasoning = $reasoning;
}
/**
* @return string
*/
public function getReasoning()
{
return $this->reasoning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PriorityAnalysis::class, 'Google_Service_ThreatIntelligenceService_PriorityAnalysis');
@@ -0,0 +1,25 @@
<?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\ThreatIntelligenceService;
class RefreshAlertUriStatusRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RefreshAlertUriStatusRequest::class, 'Google_Service_ThreatIntelligenceService_RefreshAlertUriStatusRequest');
@@ -0,0 +1,80 @@
<?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\ThreatIntelligenceService;
class RefreshAlertUriStatusResponse extends \Google\Model
{
/**
* Unspecified status.
*/
public const STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_UNSPECIFIED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_UNSPECIFIED';
/**
* Issue has not been submitted to WebRisk.
*/
public const STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_NOT_SUBMITTED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_NOT_SUBMITTED';
/**
* Issue has been submitted to WebRisk.
*/
public const STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_SUBMITTED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_SUBMITTED';
/**
* Issue has been submitted to WebRisk and is being processed.
*/
public const STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_PROCESSING = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_PROCESSING';
/**
* Issue has been processed by WebRisk and the domain was added to the
* blocklist.
*/
public const STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_ADDED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_ADDED';
/**
* Issue has been processed by WebRisk and was rejected.
*/
public const STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_REJECTED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_REJECTED';
/**
* Output only. Status of the alert in WebRisk.
*
* @var string
*/
public $state;
/**
* Output only. Status of the alert in WebRisk.
*
* Accepted values: SUSPICIOUS_DOMAIN_WEB_RISK_STATE_UNSPECIFIED,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_NOT_SUBMITTED,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_SUBMITTED,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_PROCESSING,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_ADDED,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_REJECTED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RefreshAlertUriStatusResponse::class, 'Google_Service_ThreatIntelligenceService_RefreshAlertUriStatusResponse');
@@ -0,0 +1,172 @@
<?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\ThreatIntelligenceService;
class RelevanceAnalysis extends \Google\Model
{
/**
* Default value. Confidence level is not specified.
*/
public const CONFIDENCE_CONFIDENCE_LEVEL_UNSPECIFIED = 'CONFIDENCE_LEVEL_UNSPECIFIED';
/**
* Low confidence in the verdict.
*/
public const CONFIDENCE_CONFIDENCE_LEVEL_LOW = 'CONFIDENCE_LEVEL_LOW';
/**
* Medium confidence in the verdict.
*/
public const CONFIDENCE_CONFIDENCE_LEVEL_MEDIUM = 'CONFIDENCE_LEVEL_MEDIUM';
/**
* High confidence in the verdict.
*/
public const CONFIDENCE_CONFIDENCE_LEVEL_HIGH = 'CONFIDENCE_LEVEL_HIGH';
/**
* Default value, should never be set.
*/
public const RELEVANCE_LEVEL_RELEVANCE_LEVEL_UNSPECIFIED = 'RELEVANCE_LEVEL_UNSPECIFIED';
/**
* Low Relevance.
*/
public const RELEVANCE_LEVEL_RELEVANCE_LEVEL_LOW = 'RELEVANCE_LEVEL_LOW';
/**
* Medium Relevance.
*/
public const RELEVANCE_LEVEL_RELEVANCE_LEVEL_MEDIUM = 'RELEVANCE_LEVEL_MEDIUM';
/**
* High Relevance.
*/
public const RELEVANCE_LEVEL_RELEVANCE_LEVEL_HIGH = 'RELEVANCE_LEVEL_HIGH';
/**
* The level of confidence in the given verdict.
*
* @var string
*/
public $confidence;
protected $evidenceType = Evidence::class;
protected $evidenceDataType = '';
/**
* Human-readable explanation from the matcher, detailing why a particular
* result is considered relevant or not relevant.
*
* @var string
*/
public $reasoning;
/**
* The level of relevance.
*
* @var string
*/
public $relevanceLevel;
/**
* Indicates whether the threat is considered relevant.
*
* @var bool
*/
public $relevant;
/**
* The level of confidence in the given verdict.
*
* Accepted values: CONFIDENCE_LEVEL_UNSPECIFIED, CONFIDENCE_LEVEL_LOW,
* CONFIDENCE_LEVEL_MEDIUM, CONFIDENCE_LEVEL_HIGH
*
* @param self::CONFIDENCE_* $confidence
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return self::CONFIDENCE_*
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* Evidence supporting the verdict, including matched and unmatched items.
*
* @param Evidence $evidence
*/
public function setEvidence(Evidence $evidence)
{
$this->evidence = $evidence;
}
/**
* @return Evidence
*/
public function getEvidence()
{
return $this->evidence;
}
/**
* Human-readable explanation from the matcher, detailing why a particular
* result is considered relevant or not relevant.
*
* @param string $reasoning
*/
public function setReasoning($reasoning)
{
$this->reasoning = $reasoning;
}
/**
* @return string
*/
public function getReasoning()
{
return $this->reasoning;
}
/**
* The level of relevance.
*
* Accepted values: RELEVANCE_LEVEL_UNSPECIFIED, RELEVANCE_LEVEL_LOW,
* RELEVANCE_LEVEL_MEDIUM, RELEVANCE_LEVEL_HIGH
*
* @param self::RELEVANCE_LEVEL_* $relevanceLevel
*/
public function setRelevanceLevel($relevanceLevel)
{
$this->relevanceLevel = $relevanceLevel;
}
/**
* @return self::RELEVANCE_LEVEL_*
*/
public function getRelevanceLevel()
{
return $this->relevanceLevel;
}
/**
* Indicates whether the threat is considered relevant.
*
* @param bool $relevant
*/
public function setRelevant($relevant)
{
$this->relevant = $relevant;
}
/**
* @return bool
*/
public function getRelevant()
{
return $this->relevant;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RelevanceAnalysis::class, 'Google_Service_ThreatIntelligenceService_RelevanceAnalysis');
@@ -0,0 +1,25 @@
<?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\ThreatIntelligenceService;
class ReportAlertUriRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReportAlertUriRequest::class, 'Google_Service_ThreatIntelligenceService_ReportAlertUriRequest');
@@ -0,0 +1,80 @@
<?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\ThreatIntelligenceService;
class ReportAlertUriResponse extends \Google\Model
{
/**
* Unspecified status.
*/
public const STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_UNSPECIFIED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_UNSPECIFIED';
/**
* Issue has not been submitted to WebRisk.
*/
public const STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_NOT_SUBMITTED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_NOT_SUBMITTED';
/**
* Issue has been submitted to WebRisk.
*/
public const STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_SUBMITTED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_SUBMITTED';
/**
* Issue has been submitted to WebRisk and is being processed.
*/
public const STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_PROCESSING = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_PROCESSING';
/**
* Issue has been processed by WebRisk and the domain was added to the
* blocklist.
*/
public const STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_ADDED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_ADDED';
/**
* Issue has been processed by WebRisk and was rejected.
*/
public const STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_REJECTED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_REJECTED';
/**
* Output only. Status of the alert in WebRisk.
*
* @var string
*/
public $state;
/**
* Output only. Status of the alert in WebRisk.
*
* Accepted values: SUSPICIOUS_DOMAIN_WEB_RISK_STATE_UNSPECIFIED,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_NOT_SUBMITTED,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_SUBMITTED,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_PROCESSING,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_ADDED,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_REJECTED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReportAlertUriResponse::class, 'Google_Service_ThreatIntelligenceService_ReportAlertUriResponse');
@@ -0,0 +1,53 @@
<?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\ThreatIntelligenceService\Resource;
use Google\Service\ThreatIntelligenceService\GenerateOrgProfileConfigurationRequest;
use Google\Service\ThreatIntelligenceService\Operation;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $threatintelligenceService = new Google\Service\ThreatIntelligenceService(...);
* $projects = $threatintelligenceService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
/**
* Triggers the generation of a Customer Profile for a project.
* (projects.generateOrgProfile)
*
* @param string $name Required. The name of the project to generate the profile
* for. Format: projects/{project}
* @param GenerateOrgProfileConfigurationRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function generateOrgProfile($name, GenerateOrgProfileConfigurationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('generateOrgProfile', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_ThreatIntelligenceService_Resource_Projects');
@@ -0,0 +1,268 @@
<?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\ThreatIntelligenceService\Resource;
use Google\Service\ThreatIntelligenceService\Alert;
use Google\Service\ThreatIntelligenceService\EnumerateAlertFacetsResponse;
use Google\Service\ThreatIntelligenceService\ListAlertsResponse;
use Google\Service\ThreatIntelligenceService\MarkAlertAsBenignRequest;
use Google\Service\ThreatIntelligenceService\MarkAlertAsDuplicateRequest;
use Google\Service\ThreatIntelligenceService\MarkAlertAsEscalatedRequest;
use Google\Service\ThreatIntelligenceService\MarkAlertAsFalsePositiveRequest;
use Google\Service\ThreatIntelligenceService\MarkAlertAsNotActionableRequest;
use Google\Service\ThreatIntelligenceService\MarkAlertAsReadRequest;
use Google\Service\ThreatIntelligenceService\MarkAlertAsResolvedRequest;
use Google\Service\ThreatIntelligenceService\MarkAlertAsTrackedExternallyRequest;
use Google\Service\ThreatIntelligenceService\MarkAlertAsTriagedRequest;
/**
* The "alerts" collection of methods.
* Typical usage is:
* <code>
* $threatintelligenceService = new Google\Service\ThreatIntelligenceService(...);
* $alerts = $threatintelligenceService->projects_alerts;
* </code>
*/
class ProjectsAlerts extends \Google\Service\Resource
{
/**
* Marks an alert as benign - BENIGN. (alerts.benign)
*
* @param string $name Required. Name of the alert to mark as a benign. Format:
* projects/{project}/alerts/{alert}
* @param MarkAlertAsBenignRequest $postBody
* @param array $optParams Optional parameters.
* @return Alert
* @throws \Google\Service\Exception
*/
public function benign($name, MarkAlertAsBenignRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('benign', [$params], Alert::class);
}
/**
* Marks an alert as a duplicate of another alert. - DUPLICATE.
* (alerts.duplicate)
*
* @param string $name Required. Name of the alert to mark as a duplicate.
* Format: projects/{project}/alerts/{alert}
* @param MarkAlertAsDuplicateRequest $postBody
* @param array $optParams Optional parameters.
* @return Alert
* @throws \Google\Service\Exception
*/
public function duplicate($name, MarkAlertAsDuplicateRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('duplicate', [$params], Alert::class);
}
/**
* EnumerateAlertFacets returns the facets and the number of alerts that meet
* the filter criteria and have that value for each facet.
* (alerts.enumerateFacets)
*
* @param string $parent Required. Parent of the alerts.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter on what alerts will be enumerated.
* @return EnumerateAlertFacetsResponse
* @throws \Google\Service\Exception
*/
public function enumerateFacets($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('enumerateFacets', [$params], EnumerateAlertFacetsResponse::class);
}
/**
* Marks an alert as escalated - ESCALATED. (alerts.escalate)
*
* @param string $name Required. Name of the alert to mark as escalated. Format:
* projects/{project}/alerts/{alert}
* @param MarkAlertAsEscalatedRequest $postBody
* @param array $optParams Optional parameters.
* @return Alert
* @throws \Google\Service\Exception
*/
public function escalate($name, MarkAlertAsEscalatedRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('escalate', [$params], Alert::class);
}
/**
* Marks an alert as a false positive - FALSE_POSITIVE. (alerts.falsePositive)
*
* @param string $name Required. Name of the alert to mark as a false positive.
* Format: projects/{project}/alerts/{alert}
* @param MarkAlertAsFalsePositiveRequest $postBody
* @param array $optParams Optional parameters.
* @return Alert
* @throws \Google\Service\Exception
*/
public function falsePositive($name, MarkAlertAsFalsePositiveRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('falsePositive', [$params], Alert::class);
}
/**
* Get an alert by name. (alerts.get)
*
* @param string $name Required. Name of the alert to get. Format:
* projects/{project}/alerts/{alert}
* @param array $optParams Optional parameters.
* @return Alert
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Alert::class);
}
/**
* Get a list of alerts that meet the filter criteria.
* (alerts.listProjectsAlerts)
*
* @param string $parent Required. Parent of the alerts. Format:
* projects/{project}
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter criteria. Supported fields for
* filtering include: * `audit.create_time` * `audit.creator` *
* `audit.update_time` * `audit.updater` *
* `detail.data_leak.discovery_document_ids` * `detail.data_leak.severity` *
* `detail.detail_type` * `detail.initial_access_broker.discovery_document_ids`
* * `detail.initial_access_broker.severity` *
* `detail.insider_threat.discovery_document_ids` *
* `detail.insider_threat.severity` * `finding_count` *
* `priority_analysis.priority_level` * `relevance_analysis.confidence` *
* `relevance_analysis.relevance_level` * `relevance_analysis.relevant` *
* `severity_analysis.severity_level` * `state` Examples: * `detail.detail_type
* = "initial_access_broker"` * `detail.detail_type != "data_leak"` *
* `detail.insider_threat.severity = "HIGH"` * `audit.create_time >=
* "2026-04-03T00:00:00Z" AND audit.create_time < "2026-04-06T00:00:00Z"` *
* `state = "NEW" OR state = "TRIAGED"` * `severity_analysis.severity_level =
* "SEVERITY_LEVEL_CRITICAL"`
* @opt_param string orderBy Optional. Order by criteria in the csv format:
* "field1, field2 desc" or "field1, field2" or "field1 asc, field2". If a field
* is specified without `asc` or `desc`, ascending order is used by default.
* Supported fields for ordering are identical to those supported for filtering.
* Examples: * `audit.create_time desc` * `audit.update_time asc` *
* `audit.create_time desc, severity_analysis.severity_level desc`
* @opt_param int pageSize Optional. Page size. Default to 100 alerts per page.
* Maximum is 1000 alerts per page.
* @opt_param string pageToken Optional. Page token to retrieve the next page of
* results.
* @return ListAlertsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsAlerts($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAlertsResponse::class);
}
/**
* Marks an alert as not actionable - NOT_ACTIONABLE. (alerts.notActionable)
*
* @param string $name Required. Name of the alert to mark as a not actionable.
* Format: projects/{project}/alerts/{alert}
* @param MarkAlertAsNotActionableRequest $postBody
* @param array $optParams Optional parameters.
* @return Alert
* @throws \Google\Service\Exception
*/
public function notActionable($name, MarkAlertAsNotActionableRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('notActionable', [$params], Alert::class);
}
/**
* Marks an alert as read - READ. (alerts.read)
*
* @param string $name Required. Name of the alert to mark as read. Format:
* projects/{project}/alerts/{alert}
* @param MarkAlertAsReadRequest $postBody
* @param array $optParams Optional parameters.
* @return Alert
* @throws \Google\Service\Exception
*/
public function read($name, MarkAlertAsReadRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('read', [$params], Alert::class);
}
/**
* Marks an alert to closed state - RESOLVED. (alerts.resolve)
*
* @param string $name Required. Name of the alert to mark as resolved. Format:
* projects/{project}/alerts/{alert}
* @param MarkAlertAsResolvedRequest $postBody
* @param array $optParams Optional parameters.
* @return Alert
* @throws \Google\Service\Exception
*/
public function resolve($name, MarkAlertAsResolvedRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('resolve', [$params], Alert::class);
}
/**
* Marks an alert as tracked externally - TRACKED_EXTERNALLY.
* (alerts.trackExternally)
*
* @param string $name Required. Name of the alert to mark as tracked
* externally. Format: projects/{project}/alerts/{alert}
* @param MarkAlertAsTrackedExternallyRequest $postBody
* @param array $optParams Optional parameters.
* @return Alert
* @throws \Google\Service\Exception
*/
public function trackExternally($name, MarkAlertAsTrackedExternallyRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('trackExternally', [$params], Alert::class);
}
/**
* Marks an alert as triaged - TRIAGED. (alerts.triage)
*
* @param string $name Required. Name of the alert to mark as a triaged. Format:
* projects/{project}/alerts/{alert}
* @param MarkAlertAsTriagedRequest $postBody
* @param array $optParams Optional parameters.
* @return Alert
* @throws \Google\Service\Exception
*/
public function triage($name, MarkAlertAsTriagedRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('triage', [$params], Alert::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAlerts::class, 'Google_Service_ThreatIntelligenceService_Resource_ProjectsAlerts');
@@ -0,0 +1,50 @@
<?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\ThreatIntelligenceService\Resource;
use Google\Service\ThreatIntelligenceService\AlertDocument;
/**
* The "documents" collection of methods.
* Typical usage is:
* <code>
* $threatintelligenceService = new Google\Service\ThreatIntelligenceService(...);
* $documents = $threatintelligenceService->projects_alerts_documents;
* </code>
*/
class ProjectsAlertsDocuments extends \Google\Service\Resource
{
/**
* Gets a specific document associated with an alert. (documents.get)
*
* @param string $name Required. Name of the alert document to get. Format:
* projects/{project}/alerts/{alert}/documents/{document}
* @param array $optParams Optional parameters.
* @return AlertDocument
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], AlertDocument::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAlertsDocuments::class, 'Google_Service_ThreatIntelligenceService_Resource_ProjectsAlertsDocuments');
@@ -0,0 +1,94 @@
<?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\ThreatIntelligenceService\Resource;
use Google\Service\ThreatIntelligenceService\Configuration;
use Google\Service\ThreatIntelligenceService\ListConfigurationsResponse;
use Google\Service\ThreatIntelligenceService\UpsertConfigurationResponse;
/**
* The "configurations" collection of methods.
* Typical usage is:
* <code>
* $threatintelligenceService = new Google\Service\ThreatIntelligenceService(...);
* $configurations = $threatintelligenceService->projects_configurations;
* </code>
*/
class ProjectsConfigurations extends \Google\Service\Resource
{
/**
* Get a configuration by name. (configurations.get)
*
* @param string $name Required. Name of the configuration to get. Format:
* vaults/{vault}/configurations/{configuration}
* @param array $optParams Optional parameters.
* @return Configuration
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Configuration::class);
}
/**
* Get a list of configurations that meet the filter criteria.
* (configurations.listProjectsConfigurations)
*
* @param string $parent Required. Parent of the configuration. Format:
* vaults/{vault}
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter criteria.
* @opt_param string orderBy Optional. Order by criteria in the csv format:
* "field1,field2 desc" or "field1,field2" or "field1 asc, field2".
* @opt_param int pageSize Optional. Page size.
* @opt_param string pageToken Optional. Page token.
* @return ListConfigurationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsConfigurations($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListConfigurationsResponse::class);
}
/**
* Creates or updates a configuration. (configurations.upsert)
*
* @param string $parent Required. Parent of the configuration.
* @param Configuration $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string publishTime Optional. Time that the configuration should be
* considered to have been published. This is an advanced feature used when
* onboarding and bulk loading data from other systems. Do not set this field
* without consulting with the API team.
* @return UpsertConfigurationResponse
* @throws \Google\Service\Exception
*/
public function upsert($parent, Configuration $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('upsert', [$params], UpsertConfigurationResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsConfigurations::class, 'Google_Service_ThreatIntelligenceService_Resource_ProjectsConfigurations');
@@ -0,0 +1,56 @@
<?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\ThreatIntelligenceService\Resource;
use Google\Service\ThreatIntelligenceService\ListConfigurationRevisionsResponse;
/**
* The "revisions" collection of methods.
* Typical usage is:
* <code>
* $threatintelligenceService = new Google\Service\ThreatIntelligenceService(...);
* $revisions = $threatintelligenceService->projects_configurations_revisions;
* </code>
*/
class ProjectsConfigurationsRevisions extends \Google\Service\Resource
{
/**
* List configuration revisions that meet the filter criteria.
* (revisions.listProjectsConfigurationsRevisions)
*
* @param string $parent Required. The name of the Configuration to retrieve
* Revisions for
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. An AIP-160 filter string
* @opt_param string orderBy Optional. Specify ordering of response
* @opt_param int pageSize Optional. Page Size
* @opt_param string pageToken Optional. A page token provided by the API
* @return ListConfigurationRevisionsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsConfigurationsRevisions($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListConfigurationRevisionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsConfigurationsRevisions::class, 'Google_Service_ThreatIntelligenceService_Resource_ProjectsConfigurationsRevisions');
@@ -0,0 +1,104 @@
<?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\ThreatIntelligenceService\Resource;
use Google\Service\ThreatIntelligenceService\Finding;
use Google\Service\ThreatIntelligenceService\ListFindingsResponse;
use Google\Service\ThreatIntelligenceService\SearchFindingsResponse;
/**
* The "findings" collection of methods.
* Typical usage is:
* <code>
* $threatintelligenceService = new Google\Service\ThreatIntelligenceService(...);
* $findings = $threatintelligenceService->projects_findings;
* </code>
*/
class ProjectsFindings extends \Google\Service\Resource
{
/**
* Get a finding by name. The `name` field should have the format:
* `projects/{project}/findings/{finding}` (findings.get)
*
* @param string $name Required. Name of the finding to get.
* @param array $optParams Optional parameters.
* @return Finding
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Finding::class);
}
/**
* Get a list of findings that meet the filter criteria. The `parent` field in
* ListFindingsRequest should have the format: projects/{project}
* (findings.listProjectsFindings)
*
* @param string $parent Required. Parent of the findings.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter criteria.
* @opt_param string orderBy Optional. Order by criteria in the csv format:
* "field1,field2 desc" or "field1,field2" or "field1 asc, field2".
* @opt_param int pageSize Optional. Page size.
* @opt_param string pageToken Optional. Page token.
* @return ListFindingsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsFindings($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListFindingsResponse::class);
}
/**
* SearchFindings is a more powerful version of ListFindings that supports
* complex queries like "findings for alerts" using functions such as
* `has_alert` in the query string. The `parent` field in SearchFindingsRequest
* should have the format: projects/{project} Example to search for findings for
* a specific issue:
* `has_alert("name=\"projects/gti-12345/alerts/alert-12345\"")`
* (findings.search)
*
* @param string $parent Required. Parent of the findings. Format:
* vaults/{vault}
* @param array $optParams Optional parameters.
*
* @opt_param string orderBy Optional. Order by criteria in the csv format:
* "field1,field2 desc" or "field1,field2" or "field1 asc, field2".
* @opt_param int pageSize Optional. Page size.
* @opt_param string pageToken Optional. Page token.
* @opt_param string query Optional. Query on what findings will be returned.
* This supports the same filter criteria as FindingService.ListFindings as well
* as the following relationship query `has_alert`. Example: -
* `has_alert("name=\"projects/gti-12345/alerts/alert-12345\"")`
* @return SearchFindingsResponse
* @throws \Google\Service\Exception
*/
public function search($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], SearchFindingsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsFindings::class, 'Google_Service_ThreatIntelligenceService_Resource_ProjectsFindings');
@@ -0,0 +1,67 @@
<?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\ThreatIntelligenceService;
class SearchFindingsResponse extends \Google\Collection
{
protected $collection_key = 'findings';
protected $findingsType = Finding::class;
protected $findingsDataType = 'array';
/**
* Page token.
*
* @var string
*/
public $nextPageToken;
/**
* List of findings.
*
* @param Finding[] $findings
*/
public function setFindings($findings)
{
$this->findings = $findings;
}
/**
* @return Finding[]
*/
public function getFindings()
{
return $this->findings;
}
/**
* Page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SearchFindingsResponse::class, 'Google_Service_ThreatIntelligenceService_SearchFindingsResponse');
@@ -0,0 +1,132 @@
<?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\ThreatIntelligenceService;
class SeverityAnalysis extends \Google\Model
{
/**
* Default value. Confidence level is not specified.
*/
public const CONFIDENCE_CONFIDENCE_LEVEL_UNSPECIFIED = 'CONFIDENCE_LEVEL_UNSPECIFIED';
/**
* Low confidence in the verdict.
*/
public const CONFIDENCE_CONFIDENCE_LEVEL_LOW = 'CONFIDENCE_LEVEL_LOW';
/**
* Medium confidence in the verdict.
*/
public const CONFIDENCE_CONFIDENCE_LEVEL_MEDIUM = 'CONFIDENCE_LEVEL_MEDIUM';
/**
* High confidence in the verdict.
*/
public const CONFIDENCE_CONFIDENCE_LEVEL_HIGH = 'CONFIDENCE_LEVEL_HIGH';
/**
* Default value, should never be set.
*/
public const SEVERITY_LEVEL_SEVERITY_LEVEL_UNSPECIFIED = 'SEVERITY_LEVEL_UNSPECIFIED';
/**
* Low Severity.
*/
public const SEVERITY_LEVEL_SEVERITY_LEVEL_LOW = 'SEVERITY_LEVEL_LOW';
/**
* Medium Severity.
*/
public const SEVERITY_LEVEL_SEVERITY_LEVEL_MEDIUM = 'SEVERITY_LEVEL_MEDIUM';
/**
* High Severity.
*/
public const SEVERITY_LEVEL_SEVERITY_LEVEL_HIGH = 'SEVERITY_LEVEL_HIGH';
/**
* The level of confidence in the given verdict.
*
* @var string
*/
public $confidence;
/**
* Human-readable explanation from the model, detailing why a particular
* result is considered to have a certain severity.
*
* @var string
*/
public $reasoning;
/**
* The level of severity.
*
* @var string
*/
public $severityLevel;
/**
* The level of confidence in the given verdict.
*
* Accepted values: CONFIDENCE_LEVEL_UNSPECIFIED, CONFIDENCE_LEVEL_LOW,
* CONFIDENCE_LEVEL_MEDIUM, CONFIDENCE_LEVEL_HIGH
*
* @param self::CONFIDENCE_* $confidence
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return self::CONFIDENCE_*
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* Human-readable explanation from the model, detailing why a particular
* result is considered to have a certain severity.
*
* @param string $reasoning
*/
public function setReasoning($reasoning)
{
$this->reasoning = $reasoning;
}
/**
* @return string
*/
public function getReasoning()
{
return $this->reasoning;
}
/**
* The level of severity.
*
* Accepted values: SEVERITY_LEVEL_UNSPECIFIED, SEVERITY_LEVEL_LOW,
* SEVERITY_LEVEL_MEDIUM, SEVERITY_LEVEL_HIGH
*
* @param self::SEVERITY_LEVEL_* $severityLevel
*/
public function setSeverityLevel($severityLevel)
{
$this->severityLevel = $severityLevel;
}
/**
* @return self::SEVERITY_LEVEL_*
*/
public function getSeverityLevel()
{
return $this->severityLevel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SeverityAnalysis::class, 'Google_Service_ThreatIntelligenceService_SeverityAnalysis');
@@ -0,0 +1,99 @@
<?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\ThreatIntelligenceService;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* The status code, which should be an enum value of google.rpc.Code.
*
* @var int
*/
public $code;
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* @var array[]
*/
public $details;
/**
* A developer-facing error message, which should be in English. Any user-
* facing error message should be localized and sent in the
* google.rpc.Status.details field, or localized by the client.
*
* @var string
*/
public $message;
/**
* The status code, which should be an enum value of google.rpc.Code.
*
* @param int $code
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* @param array[] $details
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* A developer-facing error message, which should be in English. Any user-
* facing error message should be localized and sent in the
* google.rpc.Status.details field, or localized by the client.
*
* @param string $message
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_ThreatIntelligenceService_Status');
@@ -0,0 +1,178 @@
<?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\ThreatIntelligenceService;
class SuspiciousDomainAlertDetail extends \Google\Model
{
/**
* Unspecified status.
*/
public const WEB_RISK_STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_UNSPECIFIED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_UNSPECIFIED';
/**
* Issue has not been submitted to WebRisk.
*/
public const WEB_RISK_STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_NOT_SUBMITTED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_NOT_SUBMITTED';
/**
* Issue has been submitted to WebRisk.
*/
public const WEB_RISK_STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_SUBMITTED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_SUBMITTED';
/**
* Issue has been submitted to WebRisk and is being processed.
*/
public const WEB_RISK_STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_PROCESSING = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_PROCESSING';
/**
* Issue has been processed by WebRisk and the domain was added to the
* blocklist.
*/
public const WEB_RISK_STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_ADDED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_ADDED';
/**
* Issue has been processed by WebRisk and was rejected.
*/
public const WEB_RISK_STATE_SUSPICIOUS_DOMAIN_WEB_RISK_STATE_REJECTED = 'SUSPICIOUS_DOMAIN_WEB_RISK_STATE_REJECTED';
protected $dnsType = SuspiciousDomainDnsDetails::class;
protected $dnsDataType = '';
/**
* Required. The suspicious domain name.
*
* @var string
*/
public $domain;
protected $gtiDetailsType = SuspiciousDomainGtiDetails::class;
protected $gtiDetailsDataType = '';
/**
* Output only. Name of Web Risk submission operation.
*
* @var string
*/
public $webRiskOperation;
/**
* Output only. Status of the Web Risk submission.
*
* @var string
*/
public $webRiskState;
protected $whoisType = SuspiciousDomainWhoIsDetails::class;
protected $whoisDataType = '';
/**
* The DNS details of the suspicious domain.
*
* @param SuspiciousDomainDnsDetails $dns
*/
public function setDns(SuspiciousDomainDnsDetails $dns)
{
$this->dns = $dns;
}
/**
* @return SuspiciousDomainDnsDetails
*/
public function getDns()
{
return $this->dns;
}
/**
* Required. The suspicious domain name.
*
* @param string $domain
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* The GTI details of the suspicious domain.
*
* @param SuspiciousDomainGtiDetails $gtiDetails
*/
public function setGtiDetails(SuspiciousDomainGtiDetails $gtiDetails)
{
$this->gtiDetails = $gtiDetails;
}
/**
* @return SuspiciousDomainGtiDetails
*/
public function getGtiDetails()
{
return $this->gtiDetails;
}
/**
* Output only. Name of Web Risk submission operation.
*
* @param string $webRiskOperation
*/
public function setWebRiskOperation($webRiskOperation)
{
$this->webRiskOperation = $webRiskOperation;
}
/**
* @return string
*/
public function getWebRiskOperation()
{
return $this->webRiskOperation;
}
/**
* Output only. Status of the Web Risk submission.
*
* Accepted values: SUSPICIOUS_DOMAIN_WEB_RISK_STATE_UNSPECIFIED,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_NOT_SUBMITTED,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_SUBMITTED,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_PROCESSING,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_ADDED,
* SUSPICIOUS_DOMAIN_WEB_RISK_STATE_REJECTED
*
* @param self::WEB_RISK_STATE_* $webRiskState
*/
public function setWebRiskState($webRiskState)
{
$this->webRiskState = $webRiskState;
}
/**
* @return self::WEB_RISK_STATE_*
*/
public function getWebRiskState()
{
return $this->webRiskState;
}
/**
* The whois details of the suspicious domain.
*
* @param SuspiciousDomainWhoIsDetails $whois
*/
public function setWhois(SuspiciousDomainWhoIsDetails $whois)
{
$this->whois = $whois;
}
/**
* @return SuspiciousDomainWhoIsDetails
*/
public function getWhois()
{
return $this->whois;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SuspiciousDomainAlertDetail::class, 'Google_Service_ThreatIntelligenceService_SuspiciousDomainAlertDetail');
@@ -0,0 +1,67 @@
<?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\ThreatIntelligenceService;
class SuspiciousDomainDnsDetails extends \Google\Collection
{
protected $collection_key = 'dnsRecords';
protected $dnsRecordsType = SuspiciousDomainDnsRecord::class;
protected $dnsRecordsDataType = 'array';
/**
* The time the DNS details were retrieved.
*
* @var string
*/
public $retrievalTime;
/**
* The DNS records of the suspicious domain.
*
* @param SuspiciousDomainDnsRecord[] $dnsRecords
*/
public function setDnsRecords($dnsRecords)
{
$this->dnsRecords = $dnsRecords;
}
/**
* @return SuspiciousDomainDnsRecord[]
*/
public function getDnsRecords()
{
return $this->dnsRecords;
}
/**
* The time the DNS details were retrieved.
*
* @param string $retrievalTime
*/
public function setRetrievalTime($retrievalTime)
{
$this->retrievalTime = $retrievalTime;
}
/**
* @return string
*/
public function getRetrievalTime()
{
return $this->retrievalTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SuspiciousDomainDnsDetails::class, 'Google_Service_ThreatIntelligenceService_SuspiciousDomainDnsDetails');
@@ -0,0 +1,114 @@
<?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\ThreatIntelligenceService;
class SuspiciousDomainDnsRecord extends \Google\Model
{
/**
* The name of the DNS record.
*
* @var string
*/
public $record;
/**
* The TTL of the DNS record.
*
* @var int
*/
public $ttl;
/**
* The type of the DNS record.
*
* @var string
*/
public $type;
/**
* The value of the DNS record.
*
* @var string
*/
public $value;
/**
* The name of the DNS record.
*
* @param string $record
*/
public function setRecord($record)
{
$this->record = $record;
}
/**
* @return string
*/
public function getRecord()
{
return $this->record;
}
/**
* The TTL of the DNS record.
*
* @param int $ttl
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return int
*/
public function getTtl()
{
return $this->ttl;
}
/**
* The type of the DNS record.
*
* @param string $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* The value of the DNS record.
*
* @param string $value
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SuspiciousDomainDnsRecord::class, 'Google_Service_ThreatIntelligenceService_SuspiciousDomainDnsRecord');
@@ -0,0 +1,172 @@
<?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\ThreatIntelligenceService;
class SuspiciousDomainFindingDetail extends \Google\Model
{
/**
* Default value, should never be set.
*/
public const SEVERITY_SEVERITY_UNSPECIFIED = 'SEVERITY_UNSPECIFIED';
/**
* Low severity.
*/
public const SEVERITY_LOW = 'LOW';
/**
* Medium severity.
*/
public const SEVERITY_MEDIUM = 'MEDIUM';
/**
* High severity.
*/
public const SEVERITY_HIGH = 'HIGH';
/**
* Critical severity.
*/
public const SEVERITY_CRITICAL = 'CRITICAL';
protected $dnsType = SuspiciousDomainDnsDetails::class;
protected $dnsDataType = '';
/**
* Required. The suspicious domain name.
*
* @var string
*/
public $domain;
protected $gtiDetailsType = SuspiciousDomainGtiDetails::class;
protected $gtiDetailsDataType = '';
/**
* Required. Reference to the match score of the finding. This is a float
* value between 0 and 1 calculated by the matching engine.
*
* @var float
*/
public $matchScore;
/**
* Required. The severity of the finding. This indicates the potential impact
* of the threat.
*
* @var string
*/
public $severity;
protected $whoisType = SuspiciousDomainWhoIsDetails::class;
protected $whoisDataType = '';
/**
* The DNS details of the suspicious domain.
*
* @param SuspiciousDomainDnsDetails $dns
*/
public function setDns(SuspiciousDomainDnsDetails $dns)
{
$this->dns = $dns;
}
/**
* @return SuspiciousDomainDnsDetails
*/
public function getDns()
{
return $this->dns;
}
/**
* Required. The suspicious domain name.
*
* @param string $domain
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* The GTI details of the suspicious domain.
*
* @param SuspiciousDomainGtiDetails $gtiDetails
*/
public function setGtiDetails(SuspiciousDomainGtiDetails $gtiDetails)
{
$this->gtiDetails = $gtiDetails;
}
/**
* @return SuspiciousDomainGtiDetails
*/
public function getGtiDetails()
{
return $this->gtiDetails;
}
/**
* Required. Reference to the match score of the finding. This is a float
* value between 0 and 1 calculated by the matching engine.
*
* @param float $matchScore
*/
public function setMatchScore($matchScore)
{
$this->matchScore = $matchScore;
}
/**
* @return float
*/
public function getMatchScore()
{
return $this->matchScore;
}
/**
* Required. The severity of the finding. This indicates the potential impact
* of the threat.
*
* Accepted values: SEVERITY_UNSPECIFIED, LOW, MEDIUM, HIGH, CRITICAL
*
* @param self::SEVERITY_* $severity
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return self::SEVERITY_*
*/
public function getSeverity()
{
return $this->severity;
}
/**
* The whois details of the suspicious domain.
*
* @param SuspiciousDomainWhoIsDetails $whois
*/
public function setWhois(SuspiciousDomainWhoIsDetails $whois)
{
$this->whois = $whois;
}
/**
* @return SuspiciousDomainWhoIsDetails
*/
public function getWhois()
{
return $this->whois;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SuspiciousDomainFindingDetail::class, 'Google_Service_ThreatIntelligenceService_SuspiciousDomainFindingDetail');
@@ -0,0 +1,125 @@
<?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\ThreatIntelligenceService;
class SuspiciousDomainGtiDetails extends \Google\Model
{
/**
* Unspecified verdict.
*/
public const VERDICT_SUSPICIOUS_DOMAIN_GTI_VERDICT_UNSPECIFIED = 'SUSPICIOUS_DOMAIN_GTI_VERDICT_UNSPECIFIED';
/**
* Verdict is clean; the entity is considered harmless.
*/
public const VERDICT_SUSPICIOUS_DOMAIN_GTI_VERDICT_BENIGN = 'SUSPICIOUS_DOMAIN_GTI_VERDICT_BENIGN';
/**
* Verdict is undetected; no immediate evidence of malicious intent.
*/
public const VERDICT_SUSPICIOUS_DOMAIN_GTI_VERDICT_UNDETECTED = 'SUSPICIOUS_DOMAIN_GTI_VERDICT_UNDETECTED';
/**
* Verdict is suspicious; possible malicious activity detected.
*/
public const VERDICT_SUSPICIOUS_DOMAIN_GTI_VERDICT_SUSPICIOUS = 'SUSPICIOUS_DOMAIN_GTI_VERDICT_SUSPICIOUS';
/**
* Verdict is malicious; high confidence that the entity poses a threat.
*/
public const VERDICT_SUSPICIOUS_DOMAIN_GTI_VERDICT_MALICIOUS = 'SUSPICIOUS_DOMAIN_GTI_VERDICT_MALICIOUS';
/**
* Verdict is not applicable; not able to generate a verdict for this entity.
*/
public const VERDICT_SUSPICIOUS_DOMAIN_GTI_VERDICT_UNKNOWN = 'SUSPICIOUS_DOMAIN_GTI_VERDICT_UNKNOWN';
/**
* The threat score of the suspicious domain. The threat score is a number
* between 0 and 100.
*
* @var int
*/
public $threatScore;
/**
* Output only. The verdict of the suspicious domain.
*
* @var string
*/
public $verdict;
/**
* VirusTotal link for the domain
*
* @var string
*/
public $virustotalUri;
/**
* The threat score of the suspicious domain. The threat score is a number
* between 0 and 100.
*
* @param int $threatScore
*/
public function setThreatScore($threatScore)
{
$this->threatScore = $threatScore;
}
/**
* @return int
*/
public function getThreatScore()
{
return $this->threatScore;
}
/**
* Output only. The verdict of the suspicious domain.
*
* Accepted values: SUSPICIOUS_DOMAIN_GTI_VERDICT_UNSPECIFIED,
* SUSPICIOUS_DOMAIN_GTI_VERDICT_BENIGN,
* SUSPICIOUS_DOMAIN_GTI_VERDICT_UNDETECTED,
* SUSPICIOUS_DOMAIN_GTI_VERDICT_SUSPICIOUS,
* SUSPICIOUS_DOMAIN_GTI_VERDICT_MALICIOUS,
* SUSPICIOUS_DOMAIN_GTI_VERDICT_UNKNOWN
*
* @param self::VERDICT_* $verdict
*/
public function setVerdict($verdict)
{
$this->verdict = $verdict;
}
/**
* @return self::VERDICT_*
*/
public function getVerdict()
{
return $this->verdict;
}
/**
* VirusTotal link for the domain
*
* @param string $virustotalUri
*/
public function setVirustotalUri($virustotalUri)
{
$this->virustotalUri = $virustotalUri;
}
/**
* @return string
*/
public function getVirustotalUri()
{
return $this->virustotalUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SuspiciousDomainGtiDetails::class, 'Google_Service_ThreatIntelligenceService_SuspiciousDomainGtiDetails');
@@ -0,0 +1,70 @@
<?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\ThreatIntelligenceService;
class SuspiciousDomainWhoIsDetails extends \Google\Model
{
/**
* The time the whois details were retrieved.
*
* @var string
*/
public $retrievalTime;
/**
* The whois details of the suspicious domain.
*
* @var string
*/
public $whois;
/**
* The time the whois details were retrieved.
*
* @param string $retrievalTime
*/
public function setRetrievalTime($retrievalTime)
{
$this->retrievalTime = $retrievalTime;
}
/**
* @return string
*/
public function getRetrievalTime()
{
return $this->retrievalTime;
}
/**
* The whois details of the suspicious domain.
*
* @param string $whois
*/
public function setWhois($whois)
{
$this->whois = $whois;
}
/**
* @return string
*/
public function getWhois()
{
return $this->whois;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SuspiciousDomainWhoIsDetails::class, 'Google_Service_ThreatIntelligenceService_SuspiciousDomainWhoIsDetails');
@@ -0,0 +1,44 @@
<?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\ThreatIntelligenceService;
class TargetTechnologyAlertDetail extends \Google\Model
{
protected $vulnerabilityMatchType = VulnerabilityMatch::class;
protected $vulnerabilityMatchDataType = '';
/**
* Optional. The vulnerability match details.
*
* @param VulnerabilityMatch $vulnerabilityMatch
*/
public function setVulnerabilityMatch(VulnerabilityMatch $vulnerabilityMatch)
{
$this->vulnerabilityMatch = $vulnerabilityMatch;
}
/**
* @return VulnerabilityMatch
*/
public function getVulnerabilityMatch()
{
return $this->vulnerabilityMatch;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetTechnologyAlertDetail::class, 'Google_Service_ThreatIntelligenceService_TargetTechnologyAlertDetail');
@@ -0,0 +1,44 @@
<?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\ThreatIntelligenceService;
class TargetTechnologyFindingDetail extends \Google\Model
{
protected $vulnerabilityMatchType = VulnerabilityMatch::class;
protected $vulnerabilityMatchDataType = '';
/**
* Optional. The vulnerability match details.
*
* @param VulnerabilityMatch $vulnerabilityMatch
*/
public function setVulnerabilityMatch(VulnerabilityMatch $vulnerabilityMatch)
{
$this->vulnerabilityMatch = $vulnerabilityMatch;
}
/**
* @return VulnerabilityMatch
*/
public function getVulnerabilityMatch()
{
return $this->vulnerabilityMatch;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetTechnologyFindingDetail::class, 'Google_Service_ThreatIntelligenceService_TargetTechnologyFindingDetail');
@@ -0,0 +1,145 @@
<?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\ThreatIntelligenceService;
class TechnologyWatchListAlertThreshold extends \Google\Collection
{
/**
* Unspecified priority.
*/
public const PRIORITY_MINIMUM_PRIORITY_UNSPECIFIED = 'PRIORITY_UNSPECIFIED';
/**
* Priority level 0.
*/
public const PRIORITY_MINIMUM_P0 = 'P0';
/**
* Priority level 1.
*/
public const PRIORITY_MINIMUM_P1 = 'P1';
/**
* Priority level 2.
*/
public const PRIORITY_MINIMUM_P2 = 'P2';
/**
* Priority level 3.
*/
public const PRIORITY_MINIMUM_P3 = 'P3';
/**
* Priority level 4.
*/
public const PRIORITY_MINIMUM_P4 = 'P4';
protected $collection_key = 'exploitationStates';
/**
* Optional. The minimum cvss V3 score for the alert. Ex: 7.0. Valid range is
* [0.0, 10.0].
*
* @var float
*/
public $cvssScoreMinimum;
/**
* Optional. The minimum epss score for the alert. Ex: 0.8. Valid range is
* [0.0, 1.0].
*
* @var float
*/
public $epssScoreMinimum;
/**
* Optional. The exploitation states of the alert.
*
* @var string[]
*/
public $exploitationStates;
/**
* Optional. The minimum priority for the alert.
*
* @var string
*/
public $priorityMinimum;
/**
* Optional. The minimum cvss V3 score for the alert. Ex: 7.0. Valid range is
* [0.0, 10.0].
*
* @param float $cvssScoreMinimum
*/
public function setCvssScoreMinimum($cvssScoreMinimum)
{
$this->cvssScoreMinimum = $cvssScoreMinimum;
}
/**
* @return float
*/
public function getCvssScoreMinimum()
{
return $this->cvssScoreMinimum;
}
/**
* Optional. The minimum epss score for the alert. Ex: 0.8. Valid range is
* [0.0, 1.0].
*
* @param float $epssScoreMinimum
*/
public function setEpssScoreMinimum($epssScoreMinimum)
{
$this->epssScoreMinimum = $epssScoreMinimum;
}
/**
* @return float
*/
public function getEpssScoreMinimum()
{
return $this->epssScoreMinimum;
}
/**
* Optional. The exploitation states of the alert.
*
* @param string[] $exploitationStates
*/
public function setExploitationStates($exploitationStates)
{
$this->exploitationStates = $exploitationStates;
}
/**
* @return string[]
*/
public function getExploitationStates()
{
return $this->exploitationStates;
}
/**
* Optional. The minimum priority for the alert.
*
* Accepted values: PRIORITY_UNSPECIFIED, P0, P1, P2, P3, P4
*
* @param self::PRIORITY_MINIMUM_* $priorityMinimum
*/
public function setPriorityMinimum($priorityMinimum)
{
$this->priorityMinimum = $priorityMinimum;
}
/**
* @return self::PRIORITY_MINIMUM_*
*/
public function getPriorityMinimum()
{
return $this->priorityMinimum;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TechnologyWatchListAlertThreshold::class, 'Google_Service_ThreatIntelligenceService_TechnologyWatchListAlertThreshold');
@@ -0,0 +1,69 @@
<?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\ThreatIntelligenceService;
class TechnologyWatchListConfig extends \Google\Collection
{
protected $collection_key = 'technologies';
protected $alertThresholdType = TechnologyWatchListAlertThreshold::class;
protected $alertThresholdDataType = '';
/**
* Optional. List of vendor, technology or cpe fingerprint. example: Microsoft
* office 360 Apache Server 3.5 cpe:2.3:a:microsoft:outlook:*:*:*:*:*:*:*:*
*
* @var string[]
*/
public $technologies;
/**
* Optional. Alert thresholds to effectively reduce noise.
*
* @param TechnologyWatchListAlertThreshold $alertThreshold
*/
public function setAlertThreshold(TechnologyWatchListAlertThreshold $alertThreshold)
{
$this->alertThreshold = $alertThreshold;
}
/**
* @return TechnologyWatchListAlertThreshold
*/
public function getAlertThreshold()
{
return $this->alertThreshold;
}
/**
* Optional. List of vendor, technology or cpe fingerprint. example: Microsoft
* office 360 Apache Server 3.5 cpe:2.3:a:microsoft:outlook:*:*:*:*:*:*:*:*
*
* @param string[] $technologies
*/
public function setTechnologies($technologies)
{
$this->technologies = $technologies;
}
/**
* @return string[]
*/
public function getTechnologies()
{
return $this->technologies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TechnologyWatchListConfig::class, 'Google_Service_ThreatIntelligenceService_TechnologyWatchListConfig');
@@ -0,0 +1,48 @@
<?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\ThreatIntelligenceService;
class UpsertConfigurationResponse extends \Google\Model
{
/**
* Output only. Created configuration ID with server assigned id.
*
* @var string
*/
public $configuration;
/**
* Output only. Created configuration ID with server assigned id.
*
* @param string $configuration
*/
public function setConfiguration($configuration)
{
$this->configuration = $configuration;
}
/**
* @return string
*/
public function getConfiguration()
{
return $this->configuration;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UpsertConfigurationResponse::class, 'Google_Service_ThreatIntelligenceService_UpsertConfigurationResponse');
@@ -0,0 +1,263 @@
<?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\ThreatIntelligenceService;
class VulnerabilityMatch extends \Google\Collection
{
/**
* Unspecified exploitation state.
*/
public const EXPLOITATION_STATE_EXPLOITATION_STATE_UNSPECIFIED = 'EXPLOITATION_STATE_UNSPECIFIED';
/**
* No known exploitation.
*/
public const EXPLOITATION_STATE_EXPLOITATION_STATE_NO_KNOWN = 'EXPLOITATION_STATE_NO_KNOWN';
/**
* Exploitation has been reported.
*/
public const EXPLOITATION_STATE_EXPLOITATION_STATE_REPORTED = 'EXPLOITATION_STATE_REPORTED';
/**
* Exploitation is suspected.
*/
public const EXPLOITATION_STATE_EXPLOITATION_STATE_SUSPECTED = 'EXPLOITATION_STATE_SUSPECTED';
/**
* Exploitation is confirmed.
*/
public const EXPLOITATION_STATE_EXPLOITATION_STATE_CONFIRMED = 'EXPLOITATION_STATE_CONFIRMED';
/**
* Widespread exploitation.
*/
public const EXPLOITATION_STATE_EXPLOITATION_STATE_WIDESPREAD = 'EXPLOITATION_STATE_WIDESPREAD';
/**
* Unspecified risk rating. This is the default value when the risk rating is
* not set.
*/
public const RISK_RATING_RISK_RATING_UNSPECIFIED = 'RISK_RATING_UNSPECIFIED';
/**
* Low risk rating.
*/
public const RISK_RATING_LOW = 'LOW';
/**
* Medium risk rating.
*/
public const RISK_RATING_MEDIUM = 'MEDIUM';
/**
* High risk rating.
*/
public const RISK_RATING_HIGH = 'HIGH';
/**
* Critical risk rating.
*/
public const RISK_RATING_CRITICAL = 'CRITICAL';
/**
* The vulnerability has been assessed, but a specific risk rating could not
* be determined or assigned.
*/
public const RISK_RATING_UNRATED = 'UNRATED';
protected $collection_key = 'technologies';
protected $associationsType = Association::class;
protected $associationsDataType = 'array';
/**
* Required. The collection ID of the vulnerability. Ex: "vulnerability--
* cve-2025-9876".
*
* @var string
*/
public $collectionId;
/**
* Required. The CVE ID of the vulnerability. Ex: "CVE-2025-9876". See
* https://www.cve.org/ for more information.
*
* @var string
*/
public $cveId;
/**
* Required. The CVSS v3 score of the vulnerability. Example: 6.4.
*
* @var float
*/
public $cvss3Score;
/**
* Required. A description of the vulnerability.
*
* @var string
*/
public $description;
/**
* Required. The exploitation state of the vulnerability.
*
* @var string
*/
public $exploitationState;
/**
* Required. The risk rating of the vulnerability.
*
* @var string
*/
public $riskRating;
/**
* Required. The affected technologies. Ex: "Apache Struts".
*
* @var string[]
*/
public $technologies;
/**
* Optional. Associated threat actors, malware, etc. This is embedded as a
* snapshot because the details of the association at the time of the
* vulnerability match are important for context and reporting.
*
* @param Association[] $associations
*/
public function setAssociations($associations)
{
$this->associations = $associations;
}
/**
* @return Association[]
*/
public function getAssociations()
{
return $this->associations;
}
/**
* Required. The collection ID of the vulnerability. Ex: "vulnerability--
* cve-2025-9876".
*
* @param string $collectionId
*/
public function setCollectionId($collectionId)
{
$this->collectionId = $collectionId;
}
/**
* @return string
*/
public function getCollectionId()
{
return $this->collectionId;
}
/**
* Required. The CVE ID of the vulnerability. Ex: "CVE-2025-9876". See
* https://www.cve.org/ for more information.
*
* @param string $cveId
*/
public function setCveId($cveId)
{
$this->cveId = $cveId;
}
/**
* @return string
*/
public function getCveId()
{
return $this->cveId;
}
/**
* Required. The CVSS v3 score of the vulnerability. Example: 6.4.
*
* @param float $cvss3Score
*/
public function setCvss3Score($cvss3Score)
{
$this->cvss3Score = $cvss3Score;
}
/**
* @return float
*/
public function getCvss3Score()
{
return $this->cvss3Score;
}
/**
* Required. A description of the vulnerability.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. The exploitation state of the vulnerability.
*
* Accepted values: EXPLOITATION_STATE_UNSPECIFIED,
* EXPLOITATION_STATE_NO_KNOWN, EXPLOITATION_STATE_REPORTED,
* EXPLOITATION_STATE_SUSPECTED, EXPLOITATION_STATE_CONFIRMED,
* EXPLOITATION_STATE_WIDESPREAD
*
* @param self::EXPLOITATION_STATE_* $exploitationState
*/
public function setExploitationState($exploitationState)
{
$this->exploitationState = $exploitationState;
}
/**
* @return self::EXPLOITATION_STATE_*
*/
public function getExploitationState()
{
return $this->exploitationState;
}
/**
* Required. The risk rating of the vulnerability.
*
* Accepted values: RISK_RATING_UNSPECIFIED, LOW, MEDIUM, HIGH, CRITICAL,
* UNRATED
*
* @param self::RISK_RATING_* $riskRating
*/
public function setRiskRating($riskRating)
{
$this->riskRating = $riskRating;
}
/**
* @return self::RISK_RATING_*
*/
public function getRiskRating()
{
return $this->riskRating;
}
/**
* Required. The affected technologies. Ex: "Apache Struts".
*
* @param string[] $technologies
*/
public function setTechnologies($technologies)
{
$this->technologies = $technologies;
}
/**
* @return string[]
*/
public function getTechnologies()
{
return $this->technologies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VulnerabilityMatch::class, 'Google_Service_ThreatIntelligenceService_VulnerabilityMatch');