📂 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: GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest.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 GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest extends \Google\Collection
{
  /**
   * Default unspecified type.
   */
  public const ANNOTATION_ANNOTATION_UNSPECIFIED = 'ANNOTATION_UNSPECIFIED';
  /**
   * Provides information that the event turned out to be legitimate.
   */
  public const ANNOTATION_LEGITIMATE = 'LEGITIMATE';
  /**
   * Provides information that the event turned out to be fraudulent.
   */
  public const ANNOTATION_FRAUDULENT = 'FRAUDULENT';
  /**
   * Provides information that the event was related to a login event in which
   * the user typed the correct password. Deprecated, prefer indicating
   * CORRECT_PASSWORD through the reasons field instead.
   *
   * @deprecated
   */
  public const ANNOTATION_PASSWORD_CORRECT = 'PASSWORD_CORRECT';
  /**
   * Provides information that the event was related to a login event in which
   * the user typed the incorrect password. Deprecated, prefer indicating
   * INCORRECT_PASSWORD through the reasons field instead.
   *
   * @deprecated
   */
  public const ANNOTATION_PASSWORD_INCORRECT = 'PASSWORD_INCORRECT';
  protected $collection_key = 'reasons';
  /**
   * Optional. A stable account identifier to apply to the assessment. This is
   * an alternative to setting `account_id` in `CreateAssessment`, for example
   * when a stable account identifier is not yet known in the initial request.
   *
   * @var string
   */
  public $accountId;
  /**
   * Optional. The annotation that is assigned to the Event. This field can be
   * left empty to provide reasons that apply to an event without concluding
   * whether the event is legitimate or fraudulent.
   *
   * @var string
   */
  public $annotation;
  /**
   * Optional. A stable hashed account identifier to apply to the assessment.
   * This is an alternative to setting `hashed_account_id` in
   * `CreateAssessment`, for example when a stable account identifier is not yet
   * known in the initial request.
   *
   * @var string
   */
  public $hashedAccountId;
  protected $phoneAuthenticationEventType = GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent::class;
  protected $phoneAuthenticationEventDataType = '';
  /**
   * Optional. Reasons for the annotation that are assigned to the event.
   *
   * @var string[]
   */
  public $reasons;
  protected $transactionEventType = GoogleCloudRecaptchaenterpriseV1TransactionEvent::class;
  protected $transactionEventDataType = '';

  /**
   * Optional. A stable account identifier to apply to the assessment. This is
   * an alternative to setting `account_id` in `CreateAssessment`, for example
   * when a stable account identifier is not yet known in the initial request.
   *
   * @param string $accountId
   */
  public function setAccountId($accountId)
  {
    $this->accountId = $accountId;
  }
  /**
   * @return string
   */
  public function getAccountId()
  {
    return $this->accountId;
  }
  /**
   * Optional. The annotation that is assigned to the Event. This field can be
   * left empty to provide reasons that apply to an event without concluding
   * whether the event is legitimate or fraudulent.
   *
   * Accepted values: ANNOTATION_UNSPECIFIED, LEGITIMATE, FRAUDULENT,
   * PASSWORD_CORRECT, PASSWORD_INCORRECT
   *
   * @param self::ANNOTATION_* $annotation
   */
  public function setAnnotation($annotation)
  {
    $this->annotation = $annotation;
  }
  /**
   * @return self::ANNOTATION_*
   */
  public function getAnnotation()
  {
    return $this->annotation;
  }
  /**
   * Optional. A stable hashed account identifier to apply to the assessment.
   * This is an alternative to setting `hashed_account_id` in
   * `CreateAssessment`, for example when a stable account identifier is not yet
   * known in the initial request.
   *
   * @param string $hashedAccountId
   */
  public function setHashedAccountId($hashedAccountId)
  {
    $this->hashedAccountId = $hashedAccountId;
  }
  /**
   * @return string
   */
  public function getHashedAccountId()
  {
    return $this->hashedAccountId;
  }
  /**
   * Optional. If using an external multi-factor authentication provider,
   * provide phone authentication details for fraud detection purposes.
   *
   * @param GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent $phoneAuthenticationEvent
   */
  public function setPhoneAuthenticationEvent(GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent $phoneAuthenticationEvent)
  {
    $this->phoneAuthenticationEvent = $phoneAuthenticationEvent;
  }
  /**
   * @return GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent
   */
  public function getPhoneAuthenticationEvent()
  {
    return $this->phoneAuthenticationEvent;
  }
  /**
   * Optional. Reasons for the annotation that are assigned to the event.
   *
   * @param string[] $reasons
   */
  public function setReasons($reasons)
  {
    $this->reasons = $reasons;
  }
  /**
   * @return string[]
   */
  public function getReasons()
  {
    return $this->reasons;
  }
  /**
   * Optional. If the assessment is part of a payment transaction, provide
   * details on payment lifecycle events that occur in the transaction.
   *
   * @param GoogleCloudRecaptchaenterpriseV1TransactionEvent $transactionEvent
   */
  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');
← Back