📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountRiskReason.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountTakeoverVerdict.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountTrustReason.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1AddIpOverrideResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1AndroidKeySettings.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1AppleDeveloperId.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1Assessment.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1Bot.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1ChallengeMetrics.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1Event.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1ExpressKeySettings.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FirewallAction.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FirewallPolicy.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FraudSignals.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1IOSKeySettings.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1IpOverrideData.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1Key.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1ListKeysResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1Metrics.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1RiskAnalysis.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1ScoreDistribution.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1ScoreMetrics.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1TestingOptions.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1TokenProperties.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1TransactionData.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1TransactionDataAddress.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1TransactionDataItem.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1TransactionDataUser.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1TransactionEvent.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1UserId.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1UserInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1WafSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1WebKeySettings.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings.php
▶ Open 📄 View Source
🐘 GoogleProtobufEmpty.php
▶ Open 📄 View Source
🐘 GoogleRpcStatus.php
▶ Open 📄 View Source

📄 Source: GoogleCloudRecaptchaenterpriseV1WebKeySettings.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\RecaptchaEnterprise;

class GoogleCloudRecaptchaenterpriseV1WebKeySettings extends \Google\Collection
{
  /**
   * Default type that indicates this enum hasn't been specified.
   */
  public const CHALLENGE_SECURITY_PREFERENCE_CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED = 'CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED';
  /**
   * Key tends to show fewer and easier challenges.
   */
  public const CHALLENGE_SECURITY_PREFERENCE_USABILITY = 'USABILITY';
  /**
   * Key tends to show balanced (in amount and difficulty) challenges.
   */
  public const CHALLENGE_SECURITY_PREFERENCE_BALANCE = 'BALANCE';
  /**
   * Key tends to show more and harder challenges.
   */
  public const CHALLENGE_SECURITY_PREFERENCE_SECURITY = 'SECURITY';
  /**
   * Default type that indicates this enum hasn't been specified. This is not a
   * valid IntegrationType, one of the other types must be specified instead.
   */
  public const INTEGRATION_TYPE_INTEGRATION_TYPE_UNSPECIFIED = 'INTEGRATION_TYPE_UNSPECIFIED';
  /**
   * Only used to produce scores. It doesn't display the "I'm not a robot"
   * checkbox and never shows captcha challenges.
   */
  public const INTEGRATION_TYPE_SCORE = 'SCORE';
  /**
   * Displays the "I'm not a robot" checkbox and may show captcha challenges
   * after it is checked.
   */
  public const INTEGRATION_TYPE_CHECKBOX = 'CHECKBOX';
  /**
   * Doesn't display the "I'm not a robot" checkbox, but may show captcha
   * challenges after risk analysis.
   */
  public const INTEGRATION_TYPE_INVISIBLE = 'INVISIBLE';
  /**
   * Displays a visual challenge or not depending on the user risk analysis
   * score.
   */
  public const INTEGRATION_TYPE_POLICY_BASED_CHALLENGE = 'POLICY_BASED_CHALLENGE';
  protected $collection_key = 'allowedDomains';
  /**
   * Optional. If set to true, it means allowed_domains are not enforced.
   *
   * @var bool
   */
  public $allowAllDomains;
  /**
   * Optional. If set to true, the key can be used on AMP (Accelerated Mobile
   * Pages) websites. This is supported only for the SCORE integration type.
   *
   * @var bool
   */
  public $allowAmpTraffic;
  /**
   * Optional. Domains or subdomains of websites allowed to use the key. All
   * subdomains of an allowed domain are automatically allowed. A valid domain
   * requires a host and must not include any path, port, query or fragment.
   * Examples: 'example.com' or 'subdomain.example.com' Each key supports a
   * maximum of 250 domains. To use a key on more domains, set
   * `allow_all_domains` to true. When this is set, you are responsible for
   * validating the hostname by checking the `token_properties.hostname` field
   * in each assessment response against your list of allowed domains.
   *
   * @var string[]
   */
  public $allowedDomains;
  /**
   * Optional. Settings for the frequency and difficulty at which this key
   * triggers captcha challenges. This should only be specified for
   * `IntegrationType` CHECKBOX, INVISIBLE or POLICY_BASED_CHALLENGE.
   *
   * @var string
   */
  public $challengeSecurityPreference;
  protected $challengeSettingsType = GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings::class;
  protected $challengeSettingsDataType = '';
  /**
   * Required. Describes how this key is integrated with the website.
   *
   * @var string
   */
  public $integrationType;

  /**
   * Optional. If set to true, it means allowed_domains are not enforced.
   *
   * @param bool $allowAllDomains
   */
  public function setAllowAllDomains($allowAllDomains)
  {
    $this->allowAllDomains = $allowAllDomains;
  }
  /**
   * @return bool
   */
  public function getAllowAllDomains()
  {
    return $this->allowAllDomains;
  }
  /**
   * Optional. If set to true, the key can be used on AMP (Accelerated Mobile
   * Pages) websites. This is supported only for the SCORE integration type.
   *
   * @param bool $allowAmpTraffic
   */
  public function setAllowAmpTraffic($allowAmpTraffic)
  {
    $this->allowAmpTraffic = $allowAmpTraffic;
  }
  /**
   * @return bool
   */
  public function getAllowAmpTraffic()
  {
    return $this->allowAmpTraffic;
  }
  /**
   * Optional. Domains or subdomains of websites allowed to use the key. All
   * subdomains of an allowed domain are automatically allowed. A valid domain
   * requires a host and must not include any path, port, query or fragment.
   * Examples: 'example.com' or 'subdomain.example.com' Each key supports a
   * maximum of 250 domains. To use a key on more domains, set
   * `allow_all_domains` to true. When this is set, you are responsible for
   * validating the hostname by checking the `token_properties.hostname` field
   * in each assessment response against your list of allowed domains.
   *
   * @param string[] $allowedDomains
   */
  public function setAllowedDomains($allowedDomains)
  {
    $this->allowedDomains = $allowedDomains;
  }
  /**
   * @return string[]
   */
  public function getAllowedDomains()
  {
    return $this->allowedDomains;
  }
  /**
   * Optional. Settings for the frequency and difficulty at which this key
   * triggers captcha challenges. This should only be specified for
   * `IntegrationType` CHECKBOX, INVISIBLE or POLICY_BASED_CHALLENGE.
   *
   * Accepted values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED, USABILITY,
   * BALANCE, SECURITY
   *
   * @param self::CHALLENGE_SECURITY_PREFERENCE_* $challengeSecurityPreference
   */
  public function setChallengeSecurityPreference($challengeSecurityPreference)
  {
    $this->challengeSecurityPreference = $challengeSecurityPreference;
  }
  /**
   * @return self::CHALLENGE_SECURITY_PREFERENCE_*
   */
  public function getChallengeSecurityPreference()
  {
    return $this->challengeSecurityPreference;
  }
  /**
   * Optional. Challenge settings.
   *
   * @param GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings $challengeSettings
   */
  public function setChallengeSettings(GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings $challengeSettings)
  {
    $this->challengeSettings = $challengeSettings;
  }
  /**
   * @return GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings
   */
  public function getChallengeSettings()
  {
    return $this->challengeSettings;
  }
  /**
   * Required. Describes how this key is integrated with the website.
   *
   * Accepted values: INTEGRATION_TYPE_UNSPECIFIED, SCORE, CHECKBOX, INVISIBLE,
   * POLICY_BASED_CHALLENGE
   *
   * @param self::INTEGRATION_TYPE_* $integrationType
   */
  public function setIntegrationType($integrationType)
  {
    $this->integrationType = $integrationType;
  }
  /**
   * @return self::INTEGRATION_TYPE_*
   */
  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');
← Back