Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment extends \Google\Collection
{
protected $collection_key = 'labels';
/**
* @var string[]
*/
public $labels;
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment');

View File

@@ -0,0 +1,97 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo extends \Google\Collection
{
protected $collection_key = 'endpoints';
protected $endpointsType = GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo::class;
protected $endpointsDataType = 'array';
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $latestVerificationResult;
/**
* @var string
*/
public $username;
/**
* @param GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo[]
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo[]
*/
public function getEndpoints()
{
return $this->endpoints;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setLatestVerificationResult($latestVerificationResult)
{
$this->latestVerificationResult = $latestVerificationResult;
}
/**
* @return string
*/
public function getLatestVerificationResult()
{
return $this->latestVerificationResult;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo');

View File

@@ -0,0 +1,42 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest extends \Google\Model
{
protected $ipOverrideDataType = GoogleCloudRecaptchaenterpriseV1IpOverrideData::class;
protected $ipOverrideDataDataType = '';
/**
* @param GoogleCloudRecaptchaenterpriseV1IpOverrideData
*/
public function setIpOverrideData(GoogleCloudRecaptchaenterpriseV1IpOverrideData $ipOverrideData)
{
$this->ipOverrideData = $ipOverrideData;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1IpOverrideData
*/
public function getIpOverrideData()
{
return $this->ipOverrideData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1AddIpOverrideResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1AddIpOverrideResponse::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1AddIpOverrideResponse');

View File

@@ -0,0 +1,81 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings extends \Google\Collection
{
protected $collection_key = 'allowedPackageNames';
/**
* @var bool
*/
public $allowAllPackageNames;
/**
* @var string[]
*/
public $allowedPackageNames;
/**
* @var bool
*/
public $supportNonGoogleAppStoreDistribution;
/**
* @param bool
*/
public function setAllowAllPackageNames($allowAllPackageNames)
{
$this->allowAllPackageNames = $allowAllPackageNames;
}
/**
* @return bool
*/
public function getAllowAllPackageNames()
{
return $this->allowAllPackageNames;
}
/**
* @param string[]
*/
public function setAllowedPackageNames($allowedPackageNames)
{
$this->allowedPackageNames = $allowedPackageNames;
}
/**
* @return string[]
*/
public function getAllowedPackageNames()
{
return $this->allowedPackageNames;
}
/**
* @param bool
*/
public function setSupportNonGoogleAppStoreDistribution($supportNonGoogleAppStoreDistribution)
{
$this->supportNonGoogleAppStoreDistribution = $supportNonGoogleAppStoreDistribution;
}
/**
* @return bool
*/
public function getSupportNonGoogleAppStoreDistribution()
{
return $this->supportNonGoogleAppStoreDistribution;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1AndroidKeySettings::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1AndroidKeySettings');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest extends \Google\Collection
{
protected $collection_key = 'reasons';
/**
* @var string
*/
public $accountId;
/**
* @var string
*/
public $annotation;
/**
* @var string
*/
public $hashedAccountId;
/**
* @var string[]
*/
public $reasons;
protected $transactionEventType = GoogleCloudRecaptchaenterpriseV1TransactionEvent::class;
protected $transactionEventDataType = '';
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param string
*/
public function setAnnotation($annotation)
{
$this->annotation = $annotation;
}
/**
* @return string
*/
public function getAnnotation()
{
return $this->annotation;
}
/**
* @param string
*/
public function setHashedAccountId($hashedAccountId)
{
$this->hashedAccountId = $hashedAccountId;
}
/**
* @return string
*/
public function getHashedAccountId()
{
return $this->hashedAccountId;
}
/**
* @param string[]
*/
public function setReasons($reasons)
{
$this->reasons = $reasons;
}
/**
* @return string[]
*/
public function getReasons()
{
return $this->reasons;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1TransactionEvent
*/
public function setTransactionEvent(GoogleCloudRecaptchaenterpriseV1TransactionEvent $transactionEvent)
{
$this->transactionEvent = $transactionEvent;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1TransactionEvent
*/
public function getTransactionEvent()
{
return $this->transactionEvent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentResponse::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentResponse');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1AppleDeveloperId extends \Google\Model
{
/**
* @var string
*/
public $keyId;
/**
* @var string
*/
public $privateKey;
/**
* @var string
*/
public $teamId;
/**
* @param string
*/
public function setKeyId($keyId)
{
$this->keyId = $keyId;
}
/**
* @return string
*/
public function getKeyId()
{
return $this->keyId;
}
/**
* @param string
*/
public function setPrivateKey($privateKey)
{
$this->privateKey = $privateKey;
}
/**
* @return string
*/
public function getPrivateKey()
{
return $this->privateKey;
}
/**
* @param string
*/
public function setTeamId($teamId)
{
$this->teamId = $teamId;
}
/**
* @return string
*/
public function getTeamId()
{
return $this->teamId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1AppleDeveloperId::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1AppleDeveloperId');

View File

@@ -0,0 +1,220 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1Assessment extends \Google\Model
{
protected $accountDefenderAssessmentType = GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment::class;
protected $accountDefenderAssessmentDataType = '';
protected $accountVerificationType = GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo::class;
protected $accountVerificationDataType = '';
protected $assessmentEnvironmentType = GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment::class;
protected $assessmentEnvironmentDataType = '';
protected $eventType = GoogleCloudRecaptchaenterpriseV1Event::class;
protected $eventDataType = '';
protected $firewallPolicyAssessmentType = GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment::class;
protected $firewallPolicyAssessmentDataType = '';
protected $fraudPreventionAssessmentType = GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment::class;
protected $fraudPreventionAssessmentDataType = '';
protected $fraudSignalsType = GoogleCloudRecaptchaenterpriseV1FraudSignals::class;
protected $fraudSignalsDataType = '';
/**
* @var string
*/
public $name;
protected $phoneFraudAssessmentType = GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment::class;
protected $phoneFraudAssessmentDataType = '';
protected $privatePasswordLeakVerificationType = GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification::class;
protected $privatePasswordLeakVerificationDataType = '';
protected $riskAnalysisType = GoogleCloudRecaptchaenterpriseV1RiskAnalysis::class;
protected $riskAnalysisDataType = '';
protected $tokenPropertiesType = GoogleCloudRecaptchaenterpriseV1TokenProperties::class;
protected $tokenPropertiesDataType = '';
/**
* @param GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
*/
public function setAccountDefenderAssessment(GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment $accountDefenderAssessment)
{
$this->accountDefenderAssessment = $accountDefenderAssessment;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
*/
public function getAccountDefenderAssessment()
{
return $this->accountDefenderAssessment;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
*/
public function setAccountVerification(GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo $accountVerification)
{
$this->accountVerification = $accountVerification;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
*/
public function getAccountVerification()
{
return $this->accountVerification;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment
*/
public function setAssessmentEnvironment(GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment $assessmentEnvironment)
{
$this->assessmentEnvironment = $assessmentEnvironment;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment
*/
public function getAssessmentEnvironment()
{
return $this->assessmentEnvironment;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1Event
*/
public function setEvent(GoogleCloudRecaptchaenterpriseV1Event $event)
{
$this->event = $event;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1Event
*/
public function getEvent()
{
return $this->event;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment
*/
public function setFirewallPolicyAssessment(GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment $firewallPolicyAssessment)
{
$this->firewallPolicyAssessment = $firewallPolicyAssessment;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment
*/
public function getFirewallPolicyAssessment()
{
return $this->firewallPolicyAssessment;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment
*/
public function setFraudPreventionAssessment(GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment $fraudPreventionAssessment)
{
$this->fraudPreventionAssessment = $fraudPreventionAssessment;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment
*/
public function getFraudPreventionAssessment()
{
return $this->fraudPreventionAssessment;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1FraudSignals
*/
public function setFraudSignals(GoogleCloudRecaptchaenterpriseV1FraudSignals $fraudSignals)
{
$this->fraudSignals = $fraudSignals;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FraudSignals
*/
public function getFraudSignals()
{
return $this->fraudSignals;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment
*/
public function setPhoneFraudAssessment(GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment $phoneFraudAssessment)
{
$this->phoneFraudAssessment = $phoneFraudAssessment;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment
*/
public function getPhoneFraudAssessment()
{
return $this->phoneFraudAssessment;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
*/
public function setPrivatePasswordLeakVerification(GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification $privatePasswordLeakVerification)
{
$this->privatePasswordLeakVerification = $privatePasswordLeakVerification;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
*/
public function getPrivatePasswordLeakVerification()
{
return $this->privatePasswordLeakVerification;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1RiskAnalysis
*/
public function setRiskAnalysis(GoogleCloudRecaptchaenterpriseV1RiskAnalysis $riskAnalysis)
{
$this->riskAnalysis = $riskAnalysis;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1RiskAnalysis
*/
public function getRiskAnalysis()
{
return $this->riskAnalysis;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1TokenProperties
*/
public function setTokenProperties(GoogleCloudRecaptchaenterpriseV1TokenProperties $tokenProperties)
{
$this->tokenProperties = $tokenProperties;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1TokenProperties
*/
public function getTokenProperties()
{
return $this->tokenProperties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1Assessment::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Assessment');

View File

@@ -0,0 +1,62 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment extends \Google\Model
{
/**
* @var string
*/
public $client;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setClient($client)
{
$this->client = $client;
}
/**
* @return string
*/
public function getClient()
{
return $this->client;
}
/**
* @param string
*/
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(GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment');

View File

@@ -0,0 +1,98 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1ChallengeMetrics extends \Google\Model
{
/**
* @var string
*/
public $failedCount;
/**
* @var string
*/
public $nocaptchaCount;
/**
* @var string
*/
public $pageloadCount;
/**
* @var string
*/
public $passedCount;
/**
* @param string
*/
public function setFailedCount($failedCount)
{
$this->failedCount = $failedCount;
}
/**
* @return string
*/
public function getFailedCount()
{
return $this->failedCount;
}
/**
* @param string
*/
public function setNocaptchaCount($nocaptchaCount)
{
$this->nocaptchaCount = $nocaptchaCount;
}
/**
* @return string
*/
public function getNocaptchaCount()
{
return $this->nocaptchaCount;
}
/**
* @param string
*/
public function setPageloadCount($pageloadCount)
{
$this->pageloadCount = $pageloadCount;
}
/**
* @return string
*/
public function getPageloadCount()
{
return $this->pageloadCount;
}
/**
* @param string
*/
public function setPassedCount($passedCount)
{
$this->passedCount = $passedCount;
}
/**
* @return string
*/
public function getPassedCount()
{
return $this->passedCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1ChallengeMetrics::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1ChallengeMetrics');

View File

@@ -0,0 +1,98 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo extends \Google\Model
{
/**
* @var string
*/
public $emailAddress;
/**
* @var string
*/
public $lastVerificationTime;
/**
* @var string
*/
public $phoneNumber;
/**
* @var string
*/
public $requestToken;
/**
* @param string
*/
public function setEmailAddress($emailAddress)
{
$this->emailAddress = $emailAddress;
}
/**
* @return string
*/
public function getEmailAddress()
{
return $this->emailAddress;
}
/**
* @param string
*/
public function setLastVerificationTime($lastVerificationTime)
{
$this->lastVerificationTime = $lastVerificationTime;
}
/**
* @return string
*/
public function getLastVerificationTime()
{
return $this->lastVerificationTime;
}
/**
* @param string
*/
public function setPhoneNumber($phoneNumber)
{
$this->phoneNumber = $phoneNumber;
}
/**
* @return string
*/
public function getPhoneNumber()
{
return $this->phoneNumber;
}
/**
* @param string
*/
public function setRequestToken($requestToken)
{
$this->requestToken = $requestToken;
}
/**
* @return string
*/
public function getRequestToken()
{
return $this->requestToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo');

View File

@@ -0,0 +1,293 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1Event extends \Google\Collection
{
protected $collection_key = 'headers';
/**
* @var string
*/
public $expectedAction;
/**
* @var bool
*/
public $express;
/**
* @var bool
*/
public $firewallPolicyEvaluation;
/**
* @var string
*/
public $fraudPrevention;
/**
* @var string
*/
public $hashedAccountId;
/**
* @var string[]
*/
public $headers;
/**
* @var string
*/
public $ja3;
/**
* @var string
*/
public $requestedUri;
/**
* @var string
*/
public $siteKey;
/**
* @var string
*/
public $token;
protected $transactionDataType = GoogleCloudRecaptchaenterpriseV1TransactionData::class;
protected $transactionDataDataType = '';
/**
* @var string
*/
public $userAgent;
protected $userInfoType = GoogleCloudRecaptchaenterpriseV1UserInfo::class;
protected $userInfoDataType = '';
/**
* @var string
*/
public $userIpAddress;
/**
* @var bool
*/
public $wafTokenAssessment;
/**
* @param string
*/
public function setExpectedAction($expectedAction)
{
$this->expectedAction = $expectedAction;
}
/**
* @return string
*/
public function getExpectedAction()
{
return $this->expectedAction;
}
/**
* @param bool
*/
public function setExpress($express)
{
$this->express = $express;
}
/**
* @return bool
*/
public function getExpress()
{
return $this->express;
}
/**
* @param bool
*/
public function setFirewallPolicyEvaluation($firewallPolicyEvaluation)
{
$this->firewallPolicyEvaluation = $firewallPolicyEvaluation;
}
/**
* @return bool
*/
public function getFirewallPolicyEvaluation()
{
return $this->firewallPolicyEvaluation;
}
/**
* @param string
*/
public function setFraudPrevention($fraudPrevention)
{
$this->fraudPrevention = $fraudPrevention;
}
/**
* @return string
*/
public function getFraudPrevention()
{
return $this->fraudPrevention;
}
/**
* @param string
*/
public function setHashedAccountId($hashedAccountId)
{
$this->hashedAccountId = $hashedAccountId;
}
/**
* @return string
*/
public function getHashedAccountId()
{
return $this->hashedAccountId;
}
/**
* @param string[]
*/
public function setHeaders($headers)
{
$this->headers = $headers;
}
/**
* @return string[]
*/
public function getHeaders()
{
return $this->headers;
}
/**
* @param string
*/
public function setJa3($ja3)
{
$this->ja3 = $ja3;
}
/**
* @return string
*/
public function getJa3()
{
return $this->ja3;
}
/**
* @param string
*/
public function setRequestedUri($requestedUri)
{
$this->requestedUri = $requestedUri;
}
/**
* @return string
*/
public function getRequestedUri()
{
return $this->requestedUri;
}
/**
* @param string
*/
public function setSiteKey($siteKey)
{
$this->siteKey = $siteKey;
}
/**
* @return string
*/
public function getSiteKey()
{
return $this->siteKey;
}
/**
* @param string
*/
public function setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1TransactionData
*/
public function setTransactionData(GoogleCloudRecaptchaenterpriseV1TransactionData $transactionData)
{
$this->transactionData = $transactionData;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1TransactionData
*/
public function getTransactionData()
{
return $this->transactionData;
}
/**
* @param string
*/
public function setUserAgent($userAgent)
{
$this->userAgent = $userAgent;
}
/**
* @return string
*/
public function getUserAgent()
{
return $this->userAgent;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1UserInfo
*/
public function setUserInfo(GoogleCloudRecaptchaenterpriseV1UserInfo $userInfo)
{
$this->userInfo = $userInfo;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1UserInfo
*/
public function getUserInfo()
{
return $this->userInfo;
}
/**
* @param string
*/
public function setUserIpAddress($userIpAddress)
{
$this->userIpAddress = $userIpAddress;
}
/**
* @return string
*/
public function getUserIpAddress()
{
return $this->userIpAddress;
}
/**
* @param bool
*/
public function setWafTokenAssessment($wafTokenAssessment)
{
$this->wafTokenAssessment = $wafTokenAssessment;
}
/**
* @return bool
*/
public function getWafTokenAssessment()
{
return $this->wafTokenAssessment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1Event::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Event');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1ExpressKeySettings extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1ExpressKeySettings::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1ExpressKeySettings');

View File

@@ -0,0 +1,122 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FirewallAction extends \Google\Model
{
protected $allowType = GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction::class;
protected $allowDataType = '';
protected $blockType = GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction::class;
protected $blockDataType = '';
protected $includeRecaptchaScriptType = GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction::class;
protected $includeRecaptchaScriptDataType = '';
protected $redirectType = GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction::class;
protected $redirectDataType = '';
protected $setHeaderType = GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction::class;
protected $setHeaderDataType = '';
protected $substituteType = GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction::class;
protected $substituteDataType = '';
/**
* @param GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction
*/
public function setAllow(GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction $allow)
{
$this->allow = $allow;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction
*/
public function getAllow()
{
return $this->allow;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction
*/
public function setBlock(GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction $block)
{
$this->block = $block;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction
*/
public function getBlock()
{
return $this->block;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction
*/
public function setIncludeRecaptchaScript(GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction $includeRecaptchaScript)
{
$this->includeRecaptchaScript = $includeRecaptchaScript;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction
*/
public function getIncludeRecaptchaScript()
{
return $this->includeRecaptchaScript;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction
*/
public function setRedirect(GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction $redirect)
{
$this->redirect = $redirect;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction
*/
public function getRedirect()
{
return $this->redirect;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction
*/
public function setSetHeader(GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction $setHeader)
{
$this->setHeader = $setHeader;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction
*/
public function getSetHeader()
{
return $this->setHeader;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction
*/
public function setSubstitute(GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction $substitute)
{
$this->substitute = $substitute;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction
*/
public function getSubstitute()
{
return $this->substitute;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FirewallAction::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallAction');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction');

View File

@@ -0,0 +1,62 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
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(GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction extends \Google\Model
{
/**
* @var string
*/
public $path;
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FirewallPolicy extends \Google\Collection
{
protected $collection_key = 'actions';
protected $actionsType = GoogleCloudRecaptchaenterpriseV1FirewallAction::class;
protected $actionsDataType = 'array';
/**
* @var string
*/
public $condition;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $path;
/**
* @param GoogleCloudRecaptchaenterpriseV1FirewallAction[]
*/
public function setActions($actions)
{
$this->actions = $actions;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FirewallAction[]
*/
public function getActions()
{
return $this->actions;
}
/**
* @param string
*/
public function setCondition($condition)
{
$this->condition = $condition;
}
/**
* @return string
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FirewallPolicy::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallPolicy');

View File

@@ -0,0 +1,58 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment extends \Google\Model
{
protected $errorType = GoogleRpcStatus::class;
protected $errorDataType = '';
protected $firewallPolicyType = GoogleCloudRecaptchaenterpriseV1FirewallPolicy::class;
protected $firewallPolicyDataType = '';
/**
* @param GoogleRpcStatus
*/
public function setError(GoogleRpcStatus $error)
{
$this->error = $error;
}
/**
* @return GoogleRpcStatus
*/
public function getError()
{
return $this->error;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1FirewallPolicy
*/
public function setFirewallPolicy(GoogleCloudRecaptchaenterpriseV1FirewallPolicy $firewallPolicy)
{
$this->firewallPolicy = $firewallPolicy;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FirewallPolicy
*/
public function getFirewallPolicy()
{
return $this->firewallPolicy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment');

View File

@@ -0,0 +1,92 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment extends \Google\Model
{
protected $behavioralTrustVerdictType = GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict::class;
protected $behavioralTrustVerdictDataType = '';
protected $cardTestingVerdictType = GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict::class;
protected $cardTestingVerdictDataType = '';
protected $stolenInstrumentVerdictType = GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict::class;
protected $stolenInstrumentVerdictDataType = '';
/**
* @var float
*/
public $transactionRisk;
/**
* @param GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict
*/
public function setBehavioralTrustVerdict(GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict $behavioralTrustVerdict)
{
$this->behavioralTrustVerdict = $behavioralTrustVerdict;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict
*/
public function getBehavioralTrustVerdict()
{
return $this->behavioralTrustVerdict;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict
*/
public function setCardTestingVerdict(GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict $cardTestingVerdict)
{
$this->cardTestingVerdict = $cardTestingVerdict;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict
*/
public function getCardTestingVerdict()
{
return $this->cardTestingVerdict;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
*/
public function setStolenInstrumentVerdict(GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict $stolenInstrumentVerdict)
{
$this->stolenInstrumentVerdict = $stolenInstrumentVerdict;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
*/
public function getStolenInstrumentVerdict()
{
return $this->stolenInstrumentVerdict;
}
/**
* @param float
*/
public function setTransactionRisk($transactionRisk)
{
$this->transactionRisk = $transactionRisk;
}
/**
* @return float
*/
public function getTransactionRisk()
{
return $this->transactionRisk;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict extends \Google\Model
{
/**
* @var float
*/
public $trust;
/**
* @param float
*/
public function setTrust($trust)
{
$this->trust = $trust;
}
/**
* @return float
*/
public function getTrust()
{
return $this->trust;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict extends \Google\Model
{
/**
* @var float
*/
public $risk;
/**
* @param float
*/
public function setRisk($risk)
{
$this->risk = $risk;
}
/**
* @return float
*/
public function getRisk()
{
return $this->risk;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict extends \Google\Model
{
/**
* @var float
*/
public $risk;
/**
* @param float
*/
public function setRisk($risk)
{
$this->risk = $risk;
}
/**
* @return float
*/
public function getRisk()
{
return $this->risk;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict');

View File

@@ -0,0 +1,58 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FraudSignals extends \Google\Model
{
protected $cardSignalsType = GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals::class;
protected $cardSignalsDataType = '';
protected $userSignalsType = GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals::class;
protected $userSignalsDataType = '';
/**
* @param GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals
*/
public function setCardSignals(GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals $cardSignals)
{
$this->cardSignals = $cardSignals;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals
*/
public function getCardSignals()
{
return $this->cardSignals;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals
*/
public function setUserSignals(GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals $userSignals)
{
$this->userSignals = $userSignals;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals
*/
public function getUserSignals()
{
return $this->userSignals;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FraudSignals::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudSignals');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals extends \Google\Collection
{
protected $collection_key = 'cardLabels';
/**
* @var string[]
*/
public $cardLabels;
/**
* @param string[]
*/
public function setCardLabels($cardLabels)
{
$this->cardLabels = $cardLabels;
}
/**
* @return string[]
*/
public function getCardLabels()
{
return $this->cardLabels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals');

View File

@@ -0,0 +1,62 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals extends \Google\Model
{
/**
* @var int
*/
public $activeDaysLowerBound;
/**
* @var float
*/
public $syntheticRisk;
/**
* @param int
*/
public function setActiveDaysLowerBound($activeDaysLowerBound)
{
$this->activeDaysLowerBound = $activeDaysLowerBound;
}
/**
* @return int
*/
public function getActiveDaysLowerBound()
{
return $this->activeDaysLowerBound;
}
/**
* @param float
*/
public function setSyntheticRisk($syntheticRisk)
{
$this->syntheticRisk = $syntheticRisk;
}
/**
* @return float
*/
public function getSyntheticRisk()
{
return $this->syntheticRisk;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals');

View File

@@ -0,0 +1,79 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1IOSKeySettings extends \Google\Collection
{
protected $collection_key = 'allowedBundleIds';
/**
* @var bool
*/
public $allowAllBundleIds;
/**
* @var string[]
*/
public $allowedBundleIds;
protected $appleDeveloperIdType = GoogleCloudRecaptchaenterpriseV1AppleDeveloperId::class;
protected $appleDeveloperIdDataType = '';
/**
* @param bool
*/
public function setAllowAllBundleIds($allowAllBundleIds)
{
$this->allowAllBundleIds = $allowAllBundleIds;
}
/**
* @return bool
*/
public function getAllowAllBundleIds()
{
return $this->allowAllBundleIds;
}
/**
* @param string[]
*/
public function setAllowedBundleIds($allowedBundleIds)
{
$this->allowedBundleIds = $allowedBundleIds;
}
/**
* @return string[]
*/
public function getAllowedBundleIds()
{
return $this->allowedBundleIds;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1AppleDeveloperId
*/
public function setAppleDeveloperId(GoogleCloudRecaptchaenterpriseV1AppleDeveloperId $appleDeveloperId)
{
$this->appleDeveloperId = $appleDeveloperId;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1AppleDeveloperId
*/
public function getAppleDeveloperId()
{
return $this->appleDeveloperId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1IOSKeySettings::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1IOSKeySettings');

View File

@@ -0,0 +1,62 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1IpOverrideData extends \Google\Model
{
/**
* @var string
*/
public $ip;
/**
* @var string
*/
public $overrideType;
/**
* @param string
*/
public function setIp($ip)
{
$this->ip = $ip;
}
/**
* @return string
*/
public function getIp()
{
return $this->ip;
}
/**
* @param string
*/
public function setOverrideType($overrideType)
{
$this->overrideType = $overrideType;
}
/**
* @return string
*/
public function getOverrideType()
{
return $this->overrideType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1IpOverrideData::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1IpOverrideData');

View File

@@ -0,0 +1,194 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1Key extends \Google\Model
{
protected $androidSettingsType = GoogleCloudRecaptchaenterpriseV1AndroidKeySettings::class;
protected $androidSettingsDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
protected $expressSettingsType = GoogleCloudRecaptchaenterpriseV1ExpressKeySettings::class;
protected $expressSettingsDataType = '';
protected $iosSettingsType = GoogleCloudRecaptchaenterpriseV1IOSKeySettings::class;
protected $iosSettingsDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $testingOptionsType = GoogleCloudRecaptchaenterpriseV1TestingOptions::class;
protected $testingOptionsDataType = '';
protected $wafSettingsType = GoogleCloudRecaptchaenterpriseV1WafSettings::class;
protected $wafSettingsDataType = '';
protected $webSettingsType = GoogleCloudRecaptchaenterpriseV1WebKeySettings::class;
protected $webSettingsDataType = '';
/**
* @param GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
*/
public function setAndroidSettings(GoogleCloudRecaptchaenterpriseV1AndroidKeySettings $androidSettings)
{
$this->androidSettings = $androidSettings;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
*/
public function getAndroidSettings()
{
return $this->androidSettings;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1ExpressKeySettings
*/
public function setExpressSettings(GoogleCloudRecaptchaenterpriseV1ExpressKeySettings $expressSettings)
{
$this->expressSettings = $expressSettings;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1ExpressKeySettings
*/
public function getExpressSettings()
{
return $this->expressSettings;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1IOSKeySettings
*/
public function setIosSettings(GoogleCloudRecaptchaenterpriseV1IOSKeySettings $iosSettings)
{
$this->iosSettings = $iosSettings;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1IOSKeySettings
*/
public function getIosSettings()
{
return $this->iosSettings;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1TestingOptions
*/
public function setTestingOptions(GoogleCloudRecaptchaenterpriseV1TestingOptions $testingOptions)
{
$this->testingOptions = $testingOptions;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1TestingOptions
*/
public function getTestingOptions()
{
return $this->testingOptions;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1WafSettings
*/
public function setWafSettings(GoogleCloudRecaptchaenterpriseV1WafSettings $wafSettings)
{
$this->wafSettings = $wafSettings;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1WafSettings
*/
public function getWafSettings()
{
return $this->wafSettings;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1WebKeySettings
*/
public function setWebSettings(GoogleCloudRecaptchaenterpriseV1WebKeySettings $webSettings)
{
$this->webSettings = $webSettings;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1WebKeySettings
*/
public function getWebSettings()
{
return $this->webSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1Key::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Key');

View File

@@ -0,0 +1,61 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse extends \Google\Collection
{
protected $collection_key = 'firewallPolicies';
protected $firewallPoliciesType = GoogleCloudRecaptchaenterpriseV1FirewallPolicy::class;
protected $firewallPoliciesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudRecaptchaenterpriseV1FirewallPolicy[]
*/
public function setFirewallPolicies($firewallPolicies)
{
$this->firewallPolicies = $firewallPolicies;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1FirewallPolicy[]
*/
public function getFirewallPolicies()
{
return $this->firewallPolicies;
}
/**
* @param string
*/
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(GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse');

View File

@@ -0,0 +1,61 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponse extends \Google\Collection
{
protected $collection_key = 'ipOverrides';
protected $ipOverridesType = GoogleCloudRecaptchaenterpriseV1IpOverrideData::class;
protected $ipOverridesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudRecaptchaenterpriseV1IpOverrideData[]
*/
public function setIpOverrides($ipOverrides)
{
$this->ipOverrides = $ipOverrides;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1IpOverrideData[]
*/
public function getIpOverrides()
{
return $this->ipOverrides;
}
/**
* @param string
*/
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(GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponse::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponse');

View File

@@ -0,0 +1,61 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1ListKeysResponse extends \Google\Collection
{
protected $collection_key = 'keys';
protected $keysType = GoogleCloudRecaptchaenterpriseV1Key::class;
protected $keysDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudRecaptchaenterpriseV1Key[]
*/
public function setKeys($keys)
{
$this->keys = $keys;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1Key[]
*/
public function getKeys()
{
return $this->keys;
}
/**
* @param string
*/
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(GoogleCloudRecaptchaenterpriseV1ListKeysResponse::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1ListKeysResponse');

View File

@@ -0,0 +1,61 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse extends \Google\Collection
{
protected $collection_key = 'relatedAccountGroupMemberships';
/**
* @var string
*/
public $nextPageToken;
protected $relatedAccountGroupMembershipsType = GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership::class;
protected $relatedAccountGroupMembershipsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership[]
*/
public function setRelatedAccountGroupMemberships($relatedAccountGroupMemberships)
{
$this->relatedAccountGroupMemberships = $relatedAccountGroupMemberships;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership[]
*/
public function getRelatedAccountGroupMemberships()
{
return $this->relatedAccountGroupMemberships;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse');

View File

@@ -0,0 +1,61 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse extends \Google\Collection
{
protected $collection_key = 'relatedAccountGroups';
/**
* @var string
*/
public $nextPageToken;
protected $relatedAccountGroupsType = GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup::class;
protected $relatedAccountGroupsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup[]
*/
public function setRelatedAccountGroups($relatedAccountGroups)
{
$this->relatedAccountGroups = $relatedAccountGroups;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup[]
*/
public function getRelatedAccountGroups()
{
return $this->relatedAccountGroups;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse');

View File

@@ -0,0 +1,95 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1Metrics extends \Google\Collection
{
protected $collection_key = 'scoreMetrics';
protected $challengeMetricsType = GoogleCloudRecaptchaenterpriseV1ChallengeMetrics::class;
protected $challengeMetricsDataType = 'array';
/**
* @var string
*/
public $name;
protected $scoreMetricsType = GoogleCloudRecaptchaenterpriseV1ScoreMetrics::class;
protected $scoreMetricsDataType = 'array';
/**
* @var string
*/
public $startTime;
/**
* @param GoogleCloudRecaptchaenterpriseV1ChallengeMetrics[]
*/
public function setChallengeMetrics($challengeMetrics)
{
$this->challengeMetrics = $challengeMetrics;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1ChallengeMetrics[]
*/
public function getChallengeMetrics()
{
return $this->challengeMetrics;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1ScoreMetrics[]
*/
public function setScoreMetrics($scoreMetrics)
{
$this->scoreMetrics = $scoreMetrics;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1ScoreMetrics[]
*/
public function getScoreMetrics()
{
return $this->scoreMetrics;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1Metrics::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Metrics');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest extends \Google\Model
{
/**
* @var bool
*/
public $skipBillingCheck;
/**
* @param bool
*/
public function setSkipBillingCheck($skipBillingCheck)
{
$this->skipBillingCheck = $skipBillingCheck;
}
/**
* @return bool
*/
public function getSkipBillingCheck()
{
return $this->skipBillingCheck;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest');

View File

@@ -0,0 +1,42 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment extends \Google\Model
{
protected $smsTollFraudVerdictType = GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict::class;
protected $smsTollFraudVerdictDataType = '';
/**
* @param GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict
*/
public function setSmsTollFraudVerdict(GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict $smsTollFraudVerdict)
{
$this->smsTollFraudVerdict = $smsTollFraudVerdict;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict
*/
public function getSmsTollFraudVerdict()
{
return $this->smsTollFraudVerdict;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification extends \Google\Collection
{
protected $collection_key = 'encryptedLeakMatchPrefixes';
/**
* @var string[]
*/
public $encryptedLeakMatchPrefixes;
/**
* @var string
*/
public $encryptedUserCredentialsHash;
/**
* @var string
*/
public $lookupHashPrefix;
/**
* @var string
*/
public $reencryptedUserCredentialsHash;
/**
* @param string[]
*/
public function setEncryptedLeakMatchPrefixes($encryptedLeakMatchPrefixes)
{
$this->encryptedLeakMatchPrefixes = $encryptedLeakMatchPrefixes;
}
/**
* @return string[]
*/
public function getEncryptedLeakMatchPrefixes()
{
return $this->encryptedLeakMatchPrefixes;
}
/**
* @param string
*/
public function setEncryptedUserCredentialsHash($encryptedUserCredentialsHash)
{
$this->encryptedUserCredentialsHash = $encryptedUserCredentialsHash;
}
/**
* @return string
*/
public function getEncryptedUserCredentialsHash()
{
return $this->encryptedUserCredentialsHash;
}
/**
* @param string
*/
public function setLookupHashPrefix($lookupHashPrefix)
{
$this->lookupHashPrefix = $lookupHashPrefix;
}
/**
* @return string
*/
public function getLookupHashPrefix()
{
return $this->lookupHashPrefix;
}
/**
* @param string
*/
public function setReencryptedUserCredentialsHash($reencryptedUserCredentialsHash)
{
$this->reencryptedUserCredentialsHash = $reencryptedUserCredentialsHash;
}
/**
* @return string
*/
public function getReencryptedUserCredentialsHash()
{
return $this->reencryptedUserCredentialsHash;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership extends \Google\Model
{
/**
* @var string
*/
public $accountId;
/**
* @var string
*/
public $hashedAccountId;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param string
*/
public function setHashedAccountId($hashedAccountId)
{
$this->hashedAccountId = $hashedAccountId;
}
/**
* @return string
*/
public function getHashedAccountId()
{
return $this->hashedAccountId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership');

View File

@@ -0,0 +1,42 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest extends \Google\Model
{
protected $ipOverrideDataType = GoogleCloudRecaptchaenterpriseV1IpOverrideData::class;
protected $ipOverrideDataDataType = '';
/**
* @param GoogleCloudRecaptchaenterpriseV1IpOverrideData
*/
public function setIpOverrideData(GoogleCloudRecaptchaenterpriseV1IpOverrideData $ipOverrideData)
{
$this->ipOverrideData = $ipOverrideData;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1IpOverrideData
*/
public function getIpOverrideData()
{
return $this->ipOverrideData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest extends \Google\Collection
{
protected $collection_key = 'names';
/**
* @var string[]
*/
public $names;
/**
* @param string[]
*/
public function setNames($names)
{
$this->names = $names;
}
/**
* @return string[]
*/
public function getNames()
{
return $this->names;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse extends \Google\Model
{
/**
* @var string
*/
public $legacySecretKey;
/**
* @param string
*/
public function setLegacySecretKey($legacySecretKey)
{
$this->legacySecretKey = $legacySecretKey;
}
/**
* @return string
*/
public function getLegacySecretKey()
{
return $this->legacySecretKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis extends \Google\Collection
{
protected $collection_key = 'reasons';
/**
* @var string
*/
public $challenge;
/**
* @var string[]
*/
public $extendedVerdictReasons;
/**
* @var string[]
*/
public $reasons;
/**
* @var float
*/
public $score;
/**
* @param string
*/
public function setChallenge($challenge)
{
$this->challenge = $challenge;
}
/**
* @return string
*/
public function getChallenge()
{
return $this->challenge;
}
/**
* @param string[]
*/
public function setExtendedVerdictReasons($extendedVerdictReasons)
{
$this->extendedVerdictReasons = $extendedVerdictReasons;
}
/**
* @return string[]
*/
public function getExtendedVerdictReasons()
{
return $this->extendedVerdictReasons;
}
/**
* @param string[]
*/
public function setReasons($reasons)
{
$this->reasons = $reasons;
}
/**
* @return string[]
*/
public function getReasons()
{
return $this->reasons;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1RiskAnalysis::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RiskAnalysis');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1ScoreDistribution extends \Google\Model
{
/**
* @var string[]
*/
public $scoreBuckets;
/**
* @param string[]
*/
public function setScoreBuckets($scoreBuckets)
{
$this->scoreBuckets = $scoreBuckets;
}
/**
* @return string[]
*/
public function getScoreBuckets()
{
return $this->scoreBuckets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1ScoreDistribution::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1ScoreDistribution');

View File

@@ -0,0 +1,58 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1ScoreMetrics extends \Google\Model
{
protected $actionMetricsType = GoogleCloudRecaptchaenterpriseV1ScoreDistribution::class;
protected $actionMetricsDataType = 'map';
protected $overallMetricsType = GoogleCloudRecaptchaenterpriseV1ScoreDistribution::class;
protected $overallMetricsDataType = '';
/**
* @param GoogleCloudRecaptchaenterpriseV1ScoreDistribution[]
*/
public function setActionMetrics($actionMetrics)
{
$this->actionMetrics = $actionMetrics;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1ScoreDistribution[]
*/
public function getActionMetrics()
{
return $this->actionMetrics;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1ScoreDistribution
*/
public function setOverallMetrics(GoogleCloudRecaptchaenterpriseV1ScoreDistribution $overallMetrics)
{
$this->overallMetrics = $overallMetrics;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1ScoreDistribution
*/
public function getOverallMetrics()
{
return $this->overallMetrics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1ScoreMetrics::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1ScoreMetrics');

View File

@@ -0,0 +1,98 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest extends \Google\Model
{
/**
* @var string
*/
public $accountId;
/**
* @var string
*/
public $hashedAccountId;
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param string
*/
public function setHashedAccountId($hashedAccountId)
{
$this->hashedAccountId = $hashedAccountId;
}
/**
* @return string
*/
public function getHashedAccountId()
{
return $this->hashedAccountId;
}
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest');

View File

@@ -0,0 +1,61 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse extends \Google\Collection
{
protected $collection_key = 'relatedAccountGroupMemberships';
/**
* @var string
*/
public $nextPageToken;
protected $relatedAccountGroupMembershipsType = GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership::class;
protected $relatedAccountGroupMembershipsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership[]
*/
public function setRelatedAccountGroupMemberships($relatedAccountGroupMemberships)
{
$this->relatedAccountGroupMemberships = $relatedAccountGroupMemberships;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership[]
*/
public function getRelatedAccountGroupMemberships()
{
return $this->relatedAccountGroupMemberships;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse');

View File

@@ -0,0 +1,63 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict extends \Google\Collection
{
protected $collection_key = 'reasons';
/**
* @var string[]
*/
public $reasons;
/**
* @var float
*/
public $risk;
/**
* @param string[]
*/
public function setReasons($reasons)
{
$this->reasons = $reasons;
}
/**
* @return string[]
*/
public function getReasons()
{
return $this->reasons;
}
/**
* @param float
*/
public function setRisk($risk)
{
$this->risk = $risk;
}
/**
* @return float
*/
public function getRisk()
{
return $this->risk;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict');

View File

@@ -0,0 +1,62 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1TestingOptions extends \Google\Model
{
/**
* @var string
*/
public $testingChallenge;
/**
* @var float
*/
public $testingScore;
/**
* @param string
*/
public function setTestingChallenge($testingChallenge)
{
$this->testingChallenge = $testingChallenge;
}
/**
* @return string
*/
public function getTestingChallenge()
{
return $this->testingChallenge;
}
/**
* @param float
*/
public function setTestingScore($testingScore)
{
$this->testingScore = $testingScore;
}
/**
* @return float
*/
public function getTestingScore()
{
return $this->testingScore;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1TestingOptions::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TestingOptions');

View File

@@ -0,0 +1,152 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1TokenProperties extends \Google\Model
{
/**
* @var string
*/
public $action;
/**
* @var string
*/
public $androidPackageName;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $hostname;
/**
* @var string
*/
public $invalidReason;
/**
* @var string
*/
public $iosBundleId;
/**
* @var bool
*/
public $valid;
/**
* @param string
*/
public function setAction($action)
{
$this->action = $action;
}
/**
* @return string
*/
public function getAction()
{
return $this->action;
}
/**
* @param string
*/
public function setAndroidPackageName($androidPackageName)
{
$this->androidPackageName = $androidPackageName;
}
/**
* @return string
*/
public function getAndroidPackageName()
{
return $this->androidPackageName;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @param string
*/
public function setInvalidReason($invalidReason)
{
$this->invalidReason = $invalidReason;
}
/**
* @return string
*/
public function getInvalidReason()
{
return $this->invalidReason;
}
/**
* @param string
*/
public function setIosBundleId($iosBundleId)
{
$this->iosBundleId = $iosBundleId;
}
/**
* @return string
*/
public function getIosBundleId()
{
return $this->iosBundleId;
}
/**
* @param bool
*/
public function setValid($valid)
{
$this->valid = $valid;
}
/**
* @return bool
*/
public function getValid()
{
return $this->valid;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1TokenProperties::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TokenProperties');

View File

@@ -0,0 +1,231 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1TransactionData extends \Google\Collection
{
protected $collection_key = 'merchants';
protected $billingAddressType = GoogleCloudRecaptchaenterpriseV1TransactionDataAddress::class;
protected $billingAddressDataType = '';
/**
* @var string
*/
public $cardBin;
/**
* @var string
*/
public $cardLastFour;
/**
* @var string
*/
public $currencyCode;
protected $gatewayInfoType = GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo::class;
protected $gatewayInfoDataType = '';
protected $itemsType = GoogleCloudRecaptchaenterpriseV1TransactionDataItem::class;
protected $itemsDataType = 'array';
protected $merchantsType = GoogleCloudRecaptchaenterpriseV1TransactionDataUser::class;
protected $merchantsDataType = 'array';
/**
* @var string
*/
public $paymentMethod;
protected $shippingAddressType = GoogleCloudRecaptchaenterpriseV1TransactionDataAddress::class;
protected $shippingAddressDataType = '';
public $shippingValue;
/**
* @var string
*/
public $transactionId;
protected $userType = GoogleCloudRecaptchaenterpriseV1TransactionDataUser::class;
protected $userDataType = '';
public $value;
/**
* @param GoogleCloudRecaptchaenterpriseV1TransactionDataAddress
*/
public function setBillingAddress(GoogleCloudRecaptchaenterpriseV1TransactionDataAddress $billingAddress)
{
$this->billingAddress = $billingAddress;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1TransactionDataAddress
*/
public function getBillingAddress()
{
return $this->billingAddress;
}
/**
* @param string
*/
public function setCardBin($cardBin)
{
$this->cardBin = $cardBin;
}
/**
* @return string
*/
public function getCardBin()
{
return $this->cardBin;
}
/**
* @param string
*/
public function setCardLastFour($cardLastFour)
{
$this->cardLastFour = $cardLastFour;
}
/**
* @return string
*/
public function getCardLastFour()
{
return $this->cardLastFour;
}
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo
*/
public function setGatewayInfo(GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo $gatewayInfo)
{
$this->gatewayInfo = $gatewayInfo;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo
*/
public function getGatewayInfo()
{
return $this->gatewayInfo;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1TransactionDataItem[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1TransactionDataItem[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1TransactionDataUser[]
*/
public function setMerchants($merchants)
{
$this->merchants = $merchants;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1TransactionDataUser[]
*/
public function getMerchants()
{
return $this->merchants;
}
/**
* @param string
*/
public function setPaymentMethod($paymentMethod)
{
$this->paymentMethod = $paymentMethod;
}
/**
* @return string
*/
public function getPaymentMethod()
{
return $this->paymentMethod;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1TransactionDataAddress
*/
public function setShippingAddress(GoogleCloudRecaptchaenterpriseV1TransactionDataAddress $shippingAddress)
{
$this->shippingAddress = $shippingAddress;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1TransactionDataAddress
*/
public function getShippingAddress()
{
return $this->shippingAddress;
}
public function setShippingValue($shippingValue)
{
$this->shippingValue = $shippingValue;
}
public function getShippingValue()
{
return $this->shippingValue;
}
/**
* @param string
*/
public function setTransactionId($transactionId)
{
$this->transactionId = $transactionId;
}
/**
* @return string
*/
public function getTransactionId()
{
return $this->transactionId;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1TransactionDataUser
*/
public function setUser(GoogleCloudRecaptchaenterpriseV1TransactionDataUser $user)
{
$this->user = $user;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1TransactionDataUser
*/
public function getUser()
{
return $this->user;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1TransactionData::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TransactionData');

View File

@@ -0,0 +1,135 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1TransactionDataAddress extends \Google\Collection
{
protected $collection_key = 'address';
/**
* @var string[]
*/
public $address;
/**
* @var string
*/
public $administrativeArea;
/**
* @var string
*/
public $locality;
/**
* @var string
*/
public $postalCode;
/**
* @var string
*/
public $recipient;
/**
* @var string
*/
public $regionCode;
/**
* @param string[]
*/
public function setAddress($address)
{
$this->address = $address;
}
/**
* @return string[]
*/
public function getAddress()
{
return $this->address;
}
/**
* @param string
*/
public function setAdministrativeArea($administrativeArea)
{
$this->administrativeArea = $administrativeArea;
}
/**
* @return string
*/
public function getAdministrativeArea()
{
return $this->administrativeArea;
}
/**
* @param string
*/
public function setLocality($locality)
{
$this->locality = $locality;
}
/**
* @return string
*/
public function getLocality()
{
return $this->locality;
}
/**
* @param string
*/
public function setPostalCode($postalCode)
{
$this->postalCode = $postalCode;
}
/**
* @return string
*/
public function getPostalCode()
{
return $this->postalCode;
}
/**
* @param string
*/
public function setRecipient($recipient)
{
$this->recipient = $recipient;
}
/**
* @return string
*/
public function getRecipient()
{
return $this->recipient;
}
/**
* @param string
*/
public function setRegionCode($regionCode)
{
$this->regionCode = $regionCode;
}
/**
* @return string
*/
public function getRegionCode()
{
return $this->regionCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1TransactionDataAddress::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TransactionDataAddress');

View File

@@ -0,0 +1,98 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo extends \Google\Model
{
/**
* @var string
*/
public $avsResponseCode;
/**
* @var string
*/
public $cvvResponseCode;
/**
* @var string
*/
public $gatewayResponseCode;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setAvsResponseCode($avsResponseCode)
{
$this->avsResponseCode = $avsResponseCode;
}
/**
* @return string
*/
public function getAvsResponseCode()
{
return $this->avsResponseCode;
}
/**
* @param string
*/
public function setCvvResponseCode($cvvResponseCode)
{
$this->cvvResponseCode = $cvvResponseCode;
}
/**
* @return string
*/
public function getCvvResponseCode()
{
return $this->cvvResponseCode;
}
/**
* @param string
*/
public function setGatewayResponseCode($gatewayResponseCode)
{
$this->gatewayResponseCode = $gatewayResponseCode;
}
/**
* @return string
*/
public function getGatewayResponseCode()
{
return $this->gatewayResponseCode;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo');

View File

@@ -0,0 +1,89 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1TransactionDataItem extends \Google\Model
{
/**
* @var string
*/
public $merchantAccountId;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $quantity;
public $value;
/**
* @param string
*/
public function setMerchantAccountId($merchantAccountId)
{
$this->merchantAccountId = $merchantAccountId;
}
/**
* @return string
*/
public function getMerchantAccountId()
{
return $this->merchantAccountId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setQuantity($quantity)
{
$this->quantity = $quantity;
}
/**
* @return string
*/
public function getQuantity()
{
return $this->quantity;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1TransactionDataItem::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TransactionDataItem');

View File

@@ -0,0 +1,134 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1TransactionDataUser extends \Google\Model
{
/**
* @var string
*/
public $accountId;
/**
* @var string
*/
public $creationMs;
/**
* @var string
*/
public $email;
/**
* @var bool
*/
public $emailVerified;
/**
* @var string
*/
public $phoneNumber;
/**
* @var bool
*/
public $phoneVerified;
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param string
*/
public function setCreationMs($creationMs)
{
$this->creationMs = $creationMs;
}
/**
* @return string
*/
public function getCreationMs()
{
return $this->creationMs;
}
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param bool
*/
public function setEmailVerified($emailVerified)
{
$this->emailVerified = $emailVerified;
}
/**
* @return bool
*/
public function getEmailVerified()
{
return $this->emailVerified;
}
/**
* @param string
*/
public function setPhoneNumber($phoneNumber)
{
$this->phoneNumber = $phoneNumber;
}
/**
* @return string
*/
public function getPhoneNumber()
{
return $this->phoneNumber;
}
/**
* @param bool
*/
public function setPhoneVerified($phoneVerified)
{
$this->phoneVerified = $phoneVerified;
}
/**
* @return bool
*/
public function getPhoneVerified()
{
return $this->phoneVerified;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1TransactionDataUser::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TransactionDataUser');

View File

@@ -0,0 +1,89 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1TransactionEvent extends \Google\Model
{
/**
* @var string
*/
public $eventTime;
/**
* @var string
*/
public $eventType;
/**
* @var string
*/
public $reason;
public $value;
/**
* @param string
*/
public function setEventTime($eventTime)
{
$this->eventTime = $eventTime;
}
/**
* @return string
*/
public function getEventTime()
{
return $this->eventTime;
}
/**
* @param string
*/
public function setEventType($eventType)
{
$this->eventType = $eventType;
}
/**
* @return string
*/
public function getEventType()
{
return $this->eventType;
}
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1TransactionEvent::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TransactionEvent');

View File

@@ -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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1UserId extends \Google\Model
{
/**
* @var string
*/
public $email;
/**
* @var string
*/
public $phoneNumber;
/**
* @var string
*/
public $username;
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string
*/
public function setPhoneNumber($phoneNumber)
{
$this->phoneNumber = $phoneNumber;
}
/**
* @return string
*/
public function getPhoneNumber()
{
return $this->phoneNumber;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1UserId::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1UserId');

View File

@@ -0,0 +1,79 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1UserInfo extends \Google\Collection
{
protected $collection_key = 'userIds';
/**
* @var string
*/
public $accountId;
/**
* @var string
*/
public $createAccountTime;
protected $userIdsType = GoogleCloudRecaptchaenterpriseV1UserId::class;
protected $userIdsDataType = 'array';
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param string
*/
public function setCreateAccountTime($createAccountTime)
{
$this->createAccountTime = $createAccountTime;
}
/**
* @return string
*/
public function getCreateAccountTime()
{
return $this->createAccountTime;
}
/**
* @param GoogleCloudRecaptchaenterpriseV1UserId[]
*/
public function setUserIds($userIds)
{
$this->userIds = $userIds;
}
/**
* @return GoogleCloudRecaptchaenterpriseV1UserId[]
*/
public function getUserIds()
{
return $this->userIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1UserInfo::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1UserInfo');

View File

@@ -0,0 +1,62 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1WafSettings extends \Google\Model
{
/**
* @var string
*/
public $wafFeature;
/**
* @var string
*/
public $wafService;
/**
* @param string
*/
public function setWafFeature($wafFeature)
{
$this->wafFeature = $wafFeature;
}
/**
* @return string
*/
public function getWafFeature()
{
return $this->wafFeature;
}
/**
* @param string
*/
public function setWafService($wafService)
{
$this->wafService = $wafService;
}
/**
* @return string
*/
public function getWafService()
{
return $this->wafService;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1WafSettings::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings');

View File

@@ -0,0 +1,117 @@
<?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\RecaptchaEnterprise;
class GoogleCloudRecaptchaenterpriseV1WebKeySettings extends \Google\Collection
{
protected $collection_key = 'allowedDomains';
/**
* @var bool
*/
public $allowAllDomains;
/**
* @var bool
*/
public $allowAmpTraffic;
/**
* @var string[]
*/
public $allowedDomains;
/**
* @var string
*/
public $challengeSecurityPreference;
/**
* @var string
*/
public $integrationType;
/**
* @param bool
*/
public function setAllowAllDomains($allowAllDomains)
{
$this->allowAllDomains = $allowAllDomains;
}
/**
* @return bool
*/
public function getAllowAllDomains()
{
return $this->allowAllDomains;
}
/**
* @param bool
*/
public function setAllowAmpTraffic($allowAmpTraffic)
{
$this->allowAmpTraffic = $allowAmpTraffic;
}
/**
* @return bool
*/
public function getAllowAmpTraffic()
{
return $this->allowAmpTraffic;
}
/**
* @param string[]
*/
public function setAllowedDomains($allowedDomains)
{
$this->allowedDomains = $allowedDomains;
}
/**
* @return string[]
*/
public function getAllowedDomains()
{
return $this->allowedDomains;
}
/**
* @param string
*/
public function setChallengeSecurityPreference($challengeSecurityPreference)
{
$this->challengeSecurityPreference = $challengeSecurityPreference;
}
/**
* @return string
*/
public function getChallengeSecurityPreference()
{
return $this->challengeSecurityPreference;
}
/**
* @param string
*/
public function setIntegrationType($integrationType)
{
$this->integrationType = $integrationType;
}
/**
* @return string
*/
public function getIntegrationType()
{
return $this->integrationType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRecaptchaenterpriseV1WebKeySettings::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings');

View File

@@ -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\RecaptchaEnterprise;
class GoogleProtobufEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleProtobufEmpty::class, 'Google_Service_RecaptchaEnterprise_GoogleProtobufEmpty');

View File

@@ -0,0 +1,81 @@
<?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\RecaptchaEnterprise;
class GoogleRpcStatus extends \Google\Collection
{
protected $collection_key = 'details';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
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(GoogleRpcStatus::class, 'Google_Service_RecaptchaEnterprise_GoogleRpcStatus');

View File

@@ -0,0 +1,33 @@
<?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\RecaptchaEnterprise\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $recaptchaenterpriseService = new Google\Service\RecaptchaEnterprise(...);
* $projects = $recaptchaenterpriseService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_RecaptchaEnterprise_Resource_Projects');

View File

@@ -0,0 +1,72 @@
<?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\RecaptchaEnterprise\Resource;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentResponse;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1Assessment;
/**
* The "assessments" collection of methods.
* Typical usage is:
* <code>
* $recaptchaenterpriseService = new Google\Service\RecaptchaEnterprise(...);
* $assessments = $recaptchaenterpriseService->projects_assessments;
* </code>
*/
class ProjectsAssessments extends \Google\Service\Resource
{
/**
* Annotates a previously created Assessment to provide additional information
* on whether the event turned out to be authentic or fraudulent.
* (assessments.annotate)
*
* @param string $name Required. The resource name of the Assessment, in the
* format `projects/{project}/assessments/{assessment}`.
* @param GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentResponse
* @throws \Google\Service\Exception
*/
public function annotate($name, GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('annotate', [$params], GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentResponse::class);
}
/**
* Creates an Assessment of the likelihood an event is legitimate.
* (assessments.create)
*
* @param string $parent Required. The name of the project in which the
* assessment is created, in the format `projects/{project}`.
* @param GoogleCloudRecaptchaenterpriseV1Assessment $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudRecaptchaenterpriseV1Assessment
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleCloudRecaptchaenterpriseV1Assessment $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleCloudRecaptchaenterpriseV1Assessment::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAssessments::class, 'Google_Service_RecaptchaEnterprise_Resource_ProjectsAssessments');

View File

@@ -0,0 +1,143 @@
<?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\RecaptchaEnterprise\Resource;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1FirewallPolicy;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse;
use Google\Service\RecaptchaEnterprise\GoogleProtobufEmpty;
/**
* The "firewallpolicies" collection of methods.
* Typical usage is:
* <code>
* $recaptchaenterpriseService = new Google\Service\RecaptchaEnterprise(...);
* $firewallpolicies = $recaptchaenterpriseService->projects_firewallpolicies;
* </code>
*/
class ProjectsFirewallpolicies extends \Google\Service\Resource
{
/**
* Creates a new FirewallPolicy, specifying conditions at which reCAPTCHA
* Enterprise actions can be executed. A project may have a maximum of 1000
* policies. (firewallpolicies.create)
*
* @param string $parent Required. The name of the project this policy applies
* to, in the format `projects/{project}`.
* @param GoogleCloudRecaptchaenterpriseV1FirewallPolicy $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudRecaptchaenterpriseV1FirewallPolicy
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleCloudRecaptchaenterpriseV1FirewallPolicy $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleCloudRecaptchaenterpriseV1FirewallPolicy::class);
}
/**
* Deletes the specified firewall policy. (firewallpolicies.delete)
*
* @param string $name Required. The name of the policy to be deleted, in the
* format `projects/{project}/firewallpolicies/{firewallpolicy}`.
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Returns the specified firewall policy. (firewallpolicies.get)
*
* @param string $name Required. The name of the requested policy, in the format
* `projects/{project}/firewallpolicies/{firewallpolicy}`.
* @param array $optParams Optional parameters.
* @return GoogleCloudRecaptchaenterpriseV1FirewallPolicy
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudRecaptchaenterpriseV1FirewallPolicy::class);
}
/**
* Returns the list of all firewall policies that belong to a project.
* (firewallpolicies.listProjectsFirewallpolicies)
*
* @param string $parent Required. The name of the project to list the policies
* for, in the format `projects/{project}`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of policies to return.
* Default is 10. Max limit is 1000.
* @opt_param string pageToken Optional. The next_page_token value returned from
* a previous. ListFirewallPoliciesRequest, if any.
* @return GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsFirewallpolicies($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse::class);
}
/**
* Updates the specified firewall policy. (firewallpolicies.patch)
*
* @param string $name Identifier. The resource name for the FirewallPolicy in
* the format `projects/{project}/firewallpolicies/{firewallpolicy}`.
* @param GoogleCloudRecaptchaenterpriseV1FirewallPolicy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Optional. The mask to control which fields of
* the policy get updated. If the mask is not present, all fields are updated.
* @return GoogleCloudRecaptchaenterpriseV1FirewallPolicy
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleCloudRecaptchaenterpriseV1FirewallPolicy $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleCloudRecaptchaenterpriseV1FirewallPolicy::class);
}
/**
* Reorders all firewall policies. (firewallpolicies.reorder)
*
* @param string $parent Required. The name of the project to list the policies
* for, in the format `projects/{project}`.
* @param GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse
* @throws \Google\Service\Exception
*/
public function reorder($parent, GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('reorder', [$params], GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsFirewallpolicies::class, 'Google_Service_RecaptchaEnterprise_Resource_ProjectsFirewallpolicies');

View File

@@ -0,0 +1,244 @@
<?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\RecaptchaEnterprise\Resource;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1AddIpOverrideResponse;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1Key;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponse;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1ListKeysResponse;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1Metrics;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse;
use Google\Service\RecaptchaEnterprise\GoogleProtobufEmpty;
/**
* The "keys" collection of methods.
* Typical usage is:
* <code>
* $recaptchaenterpriseService = new Google\Service\RecaptchaEnterprise(...);
* $keys = $recaptchaenterpriseService->projects_keys;
* </code>
*/
class ProjectsKeys extends \Google\Service\Resource
{
/**
* Adds an IP override to a key. The following restrictions hold: * The maximum
* number of IP overrides per key is 100. * For any conflict (such as IP already
* exists or IP part of an existing IP range), an error is returned.
* (keys.addIpOverride)
*
* @param string $name Required. The name of the key to which the IP override is
* added, in the format `projects/{project}/keys/{key}`.
* @param GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudRecaptchaenterpriseV1AddIpOverrideResponse
* @throws \Google\Service\Exception
*/
public function addIpOverride($name, GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('addIpOverride', [$params], GoogleCloudRecaptchaenterpriseV1AddIpOverrideResponse::class);
}
/**
* Creates a new reCAPTCHA Enterprise key. (keys.create)
*
* @param string $parent Required. The name of the project in which the key is
* created, in the format `projects/{project}`.
* @param GoogleCloudRecaptchaenterpriseV1Key $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudRecaptchaenterpriseV1Key
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleCloudRecaptchaenterpriseV1Key $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleCloudRecaptchaenterpriseV1Key::class);
}
/**
* Deletes the specified key. (keys.delete)
*
* @param string $name Required. The name of the key to be deleted, in the
* format `projects/{project}/keys/{key}`.
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Returns the specified key. (keys.get)
*
* @param string $name Required. The name of the requested key, in the format
* `projects/{project}/keys/{key}`.
* @param array $optParams Optional parameters.
* @return GoogleCloudRecaptchaenterpriseV1Key
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudRecaptchaenterpriseV1Key::class);
}
/**
* Get some aggregated metrics for a Key. This data can be used to build
* dashboards. (keys.getMetrics)
*
* @param string $name Required. The name of the requested metrics, in the
* format `projects/{project}/keys/{key}/metrics`.
* @param array $optParams Optional parameters.
* @return GoogleCloudRecaptchaenterpriseV1Metrics
* @throws \Google\Service\Exception
*/
public function getMetrics($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getMetrics', [$params], GoogleCloudRecaptchaenterpriseV1Metrics::class);
}
/**
* Returns the list of all keys that belong to a project.
* (keys.listProjectsKeys)
*
* @param string $parent Required. The name of the project that contains the
* keys that is listed, in the format `projects/{project}`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of keys to return.
* Default is 10. Max limit is 1000.
* @opt_param string pageToken Optional. The next_page_token value returned from
* a previous. ListKeysRequest, if any.
* @return GoogleCloudRecaptchaenterpriseV1ListKeysResponse
* @throws \Google\Service\Exception
*/
public function listProjectsKeys($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudRecaptchaenterpriseV1ListKeysResponse::class);
}
/**
* Lists all IP overrides for a key. (keys.listIpOverrides)
*
* @param string $parent Required. The parent key for which the IP overrides are
* listed, in the format `projects/{project}/keys/{key}`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of overrides to return.
* Default is 10. Max limit is 100. If the number of overrides is less than the
* page_size, all overrides are returned. If the page size is more than 100, it
* is coerced to 100.
* @opt_param string pageToken Optional. The next_page_token value returned from
* a previous ListIpOverridesRequest, if any.
* @return GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponse
* @throws \Google\Service\Exception
*/
public function listIpOverrides($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('listIpOverrides', [$params], GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponse::class);
}
/**
* Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise. Once a key
* is migrated, it can be used from either product. SiteVerify requests are
* billed as CreateAssessment calls. You must be authenticated as one of the
* current owners of the reCAPTCHA Key, and your user must have the reCAPTCHA
* Enterprise Admin IAM role in the destination project. (keys.migrate)
*
* @param string $name Required. The name of the key to be migrated, in the
* format `projects/{project}/keys/{key}`.
* @param GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudRecaptchaenterpriseV1Key
* @throws \Google\Service\Exception
*/
public function migrate($name, GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('migrate', [$params], GoogleCloudRecaptchaenterpriseV1Key::class);
}
/**
* Updates the specified key. (keys.patch)
*
* @param string $name Identifier. The resource name for the Key in the format
* `projects/{project}/keys/{key}`.
* @param GoogleCloudRecaptchaenterpriseV1Key $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Optional. The mask to control which fields of
* the key get updated. If the mask is not present, all fields are updated.
* @return GoogleCloudRecaptchaenterpriseV1Key
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleCloudRecaptchaenterpriseV1Key $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleCloudRecaptchaenterpriseV1Key::class);
}
/**
* Removes an IP override from a key. The following restrictions hold: * If the
* IP isn't found in an existing IP override, a `NOT_FOUND` error is returned. *
* If the IP is found in an existing IP override, but the override type does not
* match, a `NOT_FOUND` error is returned. (keys.removeIpOverride)
*
* @param string $name Required. The name of the key from which the IP override
* is removed, in the format `projects/{project}/keys/{key}`.
* @param GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse
* @throws \Google\Service\Exception
*/
public function removeIpOverride($name, GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('removeIpOverride', [$params], GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse::class);
}
/**
* Returns the secret key related to the specified public key. You must use the
* legacy secret key only in a 3rd party integration with legacy reCAPTCHA.
* (keys.retrieveLegacySecretKey)
*
* @param string $key Required. The public key name linked to the requested
* secret key in the format `projects/{project}/keys/{key}`.
* @param array $optParams Optional parameters.
* @return GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
* @throws \Google\Service\Exception
*/
public function retrieveLegacySecretKey($key, $optParams = [])
{
$params = ['key' => $key];
$params = array_merge($params, $optParams);
return $this->call('retrieveLegacySecretKey', [$params], GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsKeys::class, 'Google_Service_RecaptchaEnterprise_Resource_ProjectsKeys');

View File

@@ -0,0 +1,54 @@
<?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\RecaptchaEnterprise\Resource;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse;
/**
* The "relatedaccountgroupmemberships" collection of methods.
* Typical usage is:
* <code>
* $recaptchaenterpriseService = new Google\Service\RecaptchaEnterprise(...);
* $relatedaccountgroupmemberships = $recaptchaenterpriseService->projects_relatedaccountgroupmemberships;
* </code>
*/
class ProjectsRelatedaccountgroupmemberships extends \Google\Service\Resource
{
/**
* Search group memberships related to a given account.
* (relatedaccountgroupmemberships.search)
*
* @param string $project Required. The name of the project to search related
* account group memberships from. Specify the project name in the following
* format: `projects/{project}`.
* @param GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse
* @throws \Google\Service\Exception
*/
public function search($project, GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest $postBody, $optParams = [])
{
$params = ['project' => $project, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsRelatedaccountgroupmemberships::class, 'Google_Service_RecaptchaEnterprise_Resource_ProjectsRelatedaccountgroupmemberships');

View File

@@ -0,0 +1,60 @@
<?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\RecaptchaEnterprise\Resource;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse;
/**
* The "relatedaccountgroups" collection of methods.
* Typical usage is:
* <code>
* $recaptchaenterpriseService = new Google\Service\RecaptchaEnterprise(...);
* $relatedaccountgroups = $recaptchaenterpriseService->projects_relatedaccountgroups;
* </code>
*/
class ProjectsRelatedaccountgroups extends \Google\Service\Resource
{
/**
* List groups of related accounts.
* (relatedaccountgroups.listProjectsRelatedaccountgroups)
*
* @param string $parent Required. The name of the project to list related
* account groups from, in the format `projects/{project}`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of groups to return. The
* service might return fewer than this value. If unspecified, at most 50 groups
* are returned. The maximum value is 1000; values above 1000 are coerced to
* 1000.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListRelatedAccountGroups` call. Provide this to retrieve the subsequent
* page. When paginating, all other parameters provided to
* `ListRelatedAccountGroups` must match the call that provided the page token.
* @return GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsRelatedaccountgroups($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsRelatedaccountgroups::class, 'Google_Service_RecaptchaEnterprise_Resource_ProjectsRelatedaccountgroups');

View File

@@ -0,0 +1,61 @@
<?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\RecaptchaEnterprise\Resource;
use Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse;
/**
* The "memberships" collection of methods.
* Typical usage is:
* <code>
* $recaptchaenterpriseService = new Google\Service\RecaptchaEnterprise(...);
* $memberships = $recaptchaenterpriseService->projects_relatedaccountgroups_memberships;
* </code>
*/
class ProjectsRelatedaccountgroupsMemberships extends \Google\Service\Resource
{
/**
* Get memberships in a group of related accounts.
* (memberships.listProjectsRelatedaccountgroupsMemberships)
*
* @param string $parent Required. The resource name for the related account
* group in the format
* `projects/{project}/relatedaccountgroups/{relatedaccountgroup}`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of accounts to return.
* The service might return fewer than this value. If unspecified, at most 50
* accounts are returned. The maximum value is 1000; values above 1000 are
* coerced to 1000.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListRelatedAccountGroupMemberships` call. When paginating, all other
* parameters provided to `ListRelatedAccountGroupMemberships` must match the
* call that provided the page token.
* @return GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsRelatedaccountgroupsMemberships($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsRelatedaccountgroupsMemberships::class, 'Google_Service_RecaptchaEnterprise_Resource_ProjectsRelatedaccountgroupsMemberships');