📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 ClientCache.php
▶ Open 📄 View Source
🐘 CloudSqlInstance.php
▶ Open 📄 View Source
🐘 Connector.php
▶ Open 📄 View Source
🐘 DataConnectProperties.php
▶ Open 📄 View Source
🐘 Datasource.php
▶ Open 📄 View Source
🐘 ExecuteMutationRequest.php
▶ Open 📄 View Source
🐘 ExecuteMutationResponse.php
▶ Open 📄 View Source
🐘 ExecuteQueryRequest.php
▶ Open 📄 View Source
🐘 ExecuteQueryResponse.php
▶ Open 📄 View Source
🐘 FirebasedataconnectEmpty.php
▶ Open 📄 View Source
🐘 FirebasedataconnectFile.php
▶ Open 📄 View Source
🐘 GraphqlError.php
▶ Open 📄 View Source
🐘 GraphqlErrorExtensions.php
▶ Open 📄 View Source
🐘 GraphqlRequest.php
▶ Open 📄 View Source
🐘 GraphqlRequestExtensions.php
▶ Open 📄 View Source
🐘 GraphqlResponse.php
▶ Open 📄 View Source
🐘 GraphqlResponseExtensions.php
▶ Open 📄 View Source
🐘 HttpGraphql.php
▶ Open 📄 View Source
🐘 ImpersonateRequest.php
▶ Open 📄 View Source
🐘 Impersonation.php
▶ Open 📄 View Source
🐘 ListConnectorsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListSchemasResponse.php
▶ Open 📄 View Source
🐘 ListServicesResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 PostgreSql.php
▶ Open 📄 View Source
🐘 Schema.php
▶ Open 📄 View Source
🐘 Service.php
▶ Open 📄 View Source
🐘 Source.php
▶ Open 📄 View Source
🐘 SourceLocation.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Workaround.php
▶ Open 📄 View Source

📄 Source: Impersonation.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\FirebaseDataConnect;

class Impersonation extends \Google\Model
{
  /**
   * Evaluate the auth policy with a customized JWT auth token. Should follow
   * the Firebase Auth token format.
   * https://firebase.google.com/docs/rules/rules-and-auth For example: a
   * verified user may have auth_claims of {"sub": , "email_verified": true}
   *
   * @var array[]
   */
  public $authClaims;
  /**
   * Optional. If set, include debug details in GraphQL error extensions.
   *
   * @var bool
   */
  public $includeDebugDetails;
  /**
   * Evaluate the auth policy as an unauthenticated request. Can only be set to
   * true.
   *
   * @var bool
   */
  public $unauthenticated;

  /**
   * Evaluate the auth policy with a customized JWT auth token. Should follow
   * the Firebase Auth token format.
   * https://firebase.google.com/docs/rules/rules-and-auth For example: a
   * verified user may have auth_claims of {"sub": , "email_verified": true}
   *
   * @param array[] $authClaims
   */
  public function setAuthClaims($authClaims)
  {
    $this->authClaims = $authClaims;
  }
  /**
   * @return array[]
   */
  public function getAuthClaims()
  {
    return $this->authClaims;
  }
  /**
   * Optional. If set, include debug details in GraphQL error extensions.
   *
   * @param bool $includeDebugDetails
   */
  public function setIncludeDebugDetails($includeDebugDetails)
  {
    $this->includeDebugDetails = $includeDebugDetails;
  }
  /**
   * @return bool
   */
  public function getIncludeDebugDetails()
  {
    return $this->includeDebugDetails;
  }
  /**
   * Evaluate the auth policy as an unauthenticated request. Can only be set to
   * true.
   *
   * @param bool $unauthenticated
   */
  public function setUnauthenticated($unauthenticated)
  {
    $this->unauthenticated = $unauthenticated;
  }
  /**
   * @return bool
   */
  public function getUnauthenticated()
  {
    return $this->unauthenticated;
  }
}

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