📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 GoogleFirebaseAppcheckV1AppAttestConfig.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1AppCheckToken.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1BatchUpdateServicesRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1BatchUpdateServicesResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1DebugToken.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1DeviceCheckConfig.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1ListDebugTokensResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1ListResourcePoliciesResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1ListServicesResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1PlayIntegrityConfig.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1PlayIntegrityConfigAccountDetails.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1PlayIntegrityConfigAppIntegrity.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1PublicJwk.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1PublicJwkSet.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfigRiskAnalysis.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1RecaptchaV3Config.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1ResourcePolicy.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1SafetyNetConfig.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1Service.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1UpdateServiceRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaAppAttestConfig.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaAppCheckToken.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaAttestationTokenResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaDebugToken.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaDeviceCheckConfig.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaListDebugTokensResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaListServicesResponse.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaPlayIntegrityConfig.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaPublicJwk.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaPublicJwkSet.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaRecaptchaConfig.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaRecaptchaV3Config.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaSafetyNetConfig.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaService.php
▶ Open 📄 View Source
🐘 GoogleFirebaseAppcheckV1betaUpdateServiceRequest.php
▶ Open 📄 View Source
🐘 GoogleProtobufEmpty.php
▶ Open 📄 View Source

📄 Source: GoogleFirebaseAppcheckV1ResourcePolicy.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\Firebaseappcheck;

class GoogleFirebaseAppcheckV1ResourcePolicy extends \Google\Model
{
  /**
   * The relevant App Check protection is not enforced for the service or
   * resource, nor are App Check metrics collected. Though the relevant App
   * Check protection is not applied, other applicable protections, such as user
   * authorization, are still enforced. An unconfigured protection is in this
   * mode by default.
   */
  public const ENFORCEMENT_MODE_OFF = 'OFF';
  /**
   * The relevant App Check protection is not enforced for the service or
   * resource. App Check metrics are collected to help you decide when to turn
   * on enforcement. These metrics will show the portion of traffic that is
   * deemed invalid by the relevant App Check protection, but that traffic will
   * not be rejected until you turn on enforcement. Though the relevant App
   * Check protection is not enforced, other applicable protections, such as
   * user authorization, are still enforced. Some services require certain
   * conditions to be met before they will work with App Check, such as
   * requiring you to upgrade to a specific service tier. Until those
   * requirements are met for a service, this `UNENFORCED` setting will have no
   * effect and App Check will not work with that service.
   */
  public const ENFORCEMENT_MODE_UNENFORCED = 'UNENFORCED';
  /**
   * The relevant App Check protection is enforced for the service or resource.
   * The service or resource will reject any traffic not accompanied by an App
   * Check token that is deemded valid by the relevant protection. There are
   * some exceptions depending on the service; for example, some services will
   * still allow requests bearing the developer's privileged service account
   * credentials without an App Check token. App Check metrics continue to be
   * collected to help you detect issues with your App Check integration and
   * monitor the composition of your callers. While the service is protected by
   * App Check, other applicable protections, such as user authorization,
   * continue to be enforced at the same time. Use caution when choosing to
   * enforce App Check protections. If your users have not updated to a version
   * of your app that meets the requirements of the relevant App Check
   * protection, their app may stop working. App Check metrics can help you
   * decide whether to enforce App Check on your services and resources. If your
   * app has not launched yet, you should enable enforcement as soon as you
   * verify that your App Check implementation is correct, since there are no
   * outdated clients in use. Some services require certain conditions to be met
   * before they will work with App Check, such as requiring you to upgrade to a
   * specific service tier. Until those requirements are met for a service, this
   * `ENFORCED` setting will have no effect and App Check will not work with
   * that service.
   */
  public const ENFORCEMENT_MODE_ENFORCED = 'ENFORCED';
  /**
   * Required. The App Check enforcement mode for this resource. This will
   * override the App Check overall EnforcementMode setting on the service.
   *
   * @var string
   */
  public $enforcementMode;
  /**
   * This checksum is computed by the server based on the value of other fields,
   * and may be sent on update and delete requests to ensure the client has an
   * up-to-date value before proceeding. This etag is strongly validated as
   * defined by RFC 7232.
   *
   * @var string
   */
  public $etag;
  /**
   * Required. Identifier. The relative name of the resource policy object, in
   * the format: ``` projects/{project_number}/services/{service_id}/resourcePol
   * icies/{resource_policy_id} ``` Note that the `service_id` element must be a
   * supported service ID. Currently, the following service IDs are supported: *
   * `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is a
   * system-generated UID.
   *
   * @var string
   */
  public $name;
  /**
   * Required. Service specific name of the resource object to which this policy
   * applies, in the format: * **iOS OAuth clients** (Google Identity for iOS):
   * `//oauth2.googleapis.com/projects/{project_number}/oauthClients/{oauth_clie
   * nt_id}` Note that the resource must belong to the service specified in the
   * `name` and be from the same project as this policy, but the resource is
   * allowed to be missing at the time of creation of this policy; in that case,
   * we make a best-effort attempt at respecting this policy, but it may not
   * have any effect until the resource is fully created.
   *
   * @var string
   */
  public $targetResource;
  /**
   * Output only. Timestamp when this resource policy configuration object was
   * most recently updated.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Required. The App Check enforcement mode for this resource. This will
   * override the App Check overall EnforcementMode setting on the service.
   *
   * Accepted values: OFF, UNENFORCED, ENFORCED
   *
   * @param self::ENFORCEMENT_MODE_* $enforcementMode
   */
  public function setEnforcementMode($enforcementMode)
  {
    $this->enforcementMode = $enforcementMode;
  }
  /**
   * @return self::ENFORCEMENT_MODE_*
   */
  public function getEnforcementMode()
  {
    return $this->enforcementMode;
  }
  /**
   * This checksum is computed by the server based on the value of other fields,
   * and may be sent on update and delete requests to ensure the client has an
   * up-to-date value before proceeding. This etag is strongly validated as
   * defined by RFC 7232.
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * Required. Identifier. The relative name of the resource policy object, in
   * the format: ``` projects/{project_number}/services/{service_id}/resourcePol
   * icies/{resource_policy_id} ``` Note that the `service_id` element must be a
   * supported service ID. Currently, the following service IDs are supported: *
   * `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is a
   * system-generated UID.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Required. Service specific name of the resource object to which this policy
   * applies, in the format: * **iOS OAuth clients** (Google Identity for iOS):
   * `//oauth2.googleapis.com/projects/{project_number}/oauthClients/{oauth_clie
   * nt_id}` Note that the resource must belong to the service specified in the
   * `name` and be from the same project as this policy, but the resource is
   * allowed to be missing at the time of creation of this policy; in that case,
   * we make a best-effort attempt at respecting this policy, but it may not
   * have any effect until the resource is fully created.
   *
   * @param string $targetResource
   */
  public function setTargetResource($targetResource)
  {
    $this->targetResource = $targetResource;
  }
  /**
   * @return string
   */
  public function getTargetResource()
  {
    return $this->targetResource;
  }
  /**
   * Output only. Timestamp when this resource policy configuration object was
   * most recently updated.
   *
   * @param string $updateTime
   */
  public function setUpdateTime($updateTime)
  {
    $this->updateTime = $updateTime;
  }
  /**
   * @return string
   */
  public function getUpdateTime()
  {
    return $this->updateTime;
  }
}

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