📂 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: ClientCache.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 ClientCache extends \Google\Model
{
  /**
   * Optional. A field that, if true, means that responses served by this
   * connector will include entityIds in GraphQL response extensions. This helps
   * the client SDK cache responses in an improved way, known as "normalized
   * caching", if caching is enabled on the client. Each entityId is a stable
   * key based on primary key values. Therefore, this field should only be set
   * to true if the primary keys of accessed tables do not contain sensitive
   * information.
   *
   * @var bool
   */
  public $entityIdIncluded;
  /**
   * Optional. A field that, if true, enables stricter validation on the
   * connector source code to make sure the operation response shapes are
   * suitable for client-side caching. This can include additional errors and
   * warnings. For example, using the same alias for different fields is
   * disallowed, as it may cause conflicts or confusion with normalized caching.
   * (This field is off by default for compatibility, but enabling it is highly
   * recommended to catch common caching pitfalls.)
   *
   * @var bool
   */
  public $strictValidationEnabled;

  /**
   * Optional. A field that, if true, means that responses served by this
   * connector will include entityIds in GraphQL response extensions. This helps
   * the client SDK cache responses in an improved way, known as "normalized
   * caching", if caching is enabled on the client. Each entityId is a stable
   * key based on primary key values. Therefore, this field should only be set
   * to true if the primary keys of accessed tables do not contain sensitive
   * information.
   *
   * @param bool $entityIdIncluded
   */
  public function setEntityIdIncluded($entityIdIncluded)
  {
    $this->entityIdIncluded = $entityIdIncluded;
  }
  /**
   * @return bool
   */
  public function getEntityIdIncluded()
  {
    return $this->entityIdIncluded;
  }
  /**
   * Optional. A field that, if true, enables stricter validation on the
   * connector source code to make sure the operation response shapes are
   * suitable for client-side caching. This can include additional errors and
   * warnings. For example, using the same alias for different fields is
   * disallowed, as it may cause conflicts or confusion with normalized caching.
   * (This field is off by default for compatibility, but enabling it is highly
   * recommended to catch common caching pitfalls.)
   *
   * @param bool $strictValidationEnabled
   */
  public function setStrictValidationEnabled($strictValidationEnabled)
  {
    $this->strictValidationEnabled = $strictValidationEnabled;
  }
  /**
   * @return bool
   */
  public function getStrictValidationEnabled()
  {
    return $this->strictValidationEnabled;
  }
}

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