šŸ“‚ File Browser

//AgentAI/vendor/google/apiclient-services/src/Firestore
šŸŒ™ Dark Mode
šŸŽÆ Quick Launch:

šŸ“ Directories

šŸ“ Resource/ šŸ”“ Open

šŸ“„ Files

🐘 Aggregation.php
ā–¶ Open šŸ“„ View Source
🐘 AggregationResult.php
ā–¶ Open šŸ“„ View Source
🐘 ArrayValue.php
ā–¶ Open šŸ“„ View Source
🐘 BatchGetDocumentsRequest.php
ā–¶ Open šŸ“„ View Source
🐘 BatchGetDocumentsResponse.php
ā–¶ Open šŸ“„ View Source
🐘 BatchWriteRequest.php
ā–¶ Open šŸ“„ View Source
🐘 BatchWriteResponse.php
ā–¶ Open šŸ“„ View Source
🐘 BeginTransactionRequest.php
ā–¶ Open šŸ“„ View Source
🐘 BeginTransactionResponse.php
ā–¶ Open šŸ“„ View Source
🐘 BitSequence.php
ā–¶ Open šŸ“„ View Source
🐘 BloomFilter.php
ā–¶ Open šŸ“„ View Source
🐘 CollectionSelector.php
ā–¶ Open šŸ“„ View Source
🐘 CommitRequest.php
ā–¶ Open šŸ“„ View Source
🐘 CommitResponse.php
ā–¶ Open šŸ“„ View Source
🐘 CompositeFilter.php
ā–¶ Open šŸ“„ View Source
🐘 Count.php
ā–¶ Open šŸ“„ View Source
🐘 Cursor.php
ā–¶ Open šŸ“„ View Source
🐘 Document.php
ā–¶ Open šŸ“„ View Source
🐘 DocumentChange.php
ā–¶ Open šŸ“„ View Source
🐘 DocumentDelete.php
ā–¶ Open šŸ“„ View Source
🐘 DocumentMask.php
ā–¶ Open šŸ“„ View Source
🐘 DocumentRemove.php
ā–¶ Open šŸ“„ View Source
🐘 DocumentTransform.php
ā–¶ Open šŸ“„ View Source
🐘 DocumentsTarget.php
ā–¶ Open šŸ“„ View Source
🐘 ExecutePipelineRequest.php
ā–¶ Open šŸ“„ View Source
🐘 ExecutePipelineResponse.php
ā–¶ Open šŸ“„ View Source
🐘 ExecutionStats.php
ā–¶ Open šŸ“„ View Source
🐘 ExistenceFilter.php
ā–¶ Open šŸ“„ View Source
🐘 ExplainMetrics.php
ā–¶ Open šŸ“„ View Source
🐘 ExplainOptions.php
ā–¶ Open šŸ“„ View Source
🐘 ExplainStats.php
ā–¶ Open šŸ“„ View Source
🐘 FieldFilter.php
ā–¶ Open šŸ“„ View Source
🐘 FieldReference.php
ā–¶ Open šŸ“„ View Source
🐘 FieldTransform.php
ā–¶ Open šŸ“„ View Source
🐘 Filter.php
ā–¶ Open šŸ“„ View Source
🐘 FindNearest.php
ā–¶ Open šŸ“„ View Source
🐘 FirestoreEmpty.php
ā–¶ Open šŸ“„ View Source
🐘 FirestoreFunction.php
ā–¶ Open šŸ“„ View Source
🐘 FirestoreReadOnly.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1Backup.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1BackupSchedule.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1BackupSource.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1BulkDeleteDocumentsRequest.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1CloneDatabaseMetadata.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1CloneDatabaseRequest.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1CmekConfig.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1CreateDatabaseMetadata.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1CustomerManagedEncryptionOptions.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1DailyRecurrence.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1Database.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1DatabaseSnapshot.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1DeleteDatabaseMetadata.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1DisableUserCredsRequest.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1EnableUserCredsRequest.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1EncryptionConfig.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1ExportDocumentsMetadata.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1ExportDocumentsRequest.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1ExportDocumentsResponse.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1Field.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1FieldOperationMetadata.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1FlatIndex.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1ImportDocumentsMetadata.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1ImportDocumentsRequest.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1Index.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1IndexConfig.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1IndexConfigDelta.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1IndexField.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1IndexOperationMetadata.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1ListBackupSchedulesResponse.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1ListBackupsResponse.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1ListDatabasesResponse.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1ListFieldsResponse.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1ListIndexesResponse.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1ListUserCredsResponse.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1LocationMetadata.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1PitrSnapshot.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1Progress.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1ResetUserPasswordRequest.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1ResourceIdentity.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1RestoreDatabaseMetadata.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1RestoreDatabaseRequest.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1SearchConfig.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1SearchGeoSpec.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1SearchIndexOptions.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1SearchNumberSpec.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1SearchTextIndexSpec.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1SearchTextSpec.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1SourceEncryptionOptions.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1SourceInfo.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1Stats.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1TtlConfig.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1TtlConfigDelta.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1UpdateDatabaseMetadata.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1UserCreds.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1VectorConfig.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleFirestoreAdminV1WeeklyRecurrence.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleLongrunningCancelOperationRequest.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleLongrunningListOperationsResponse.php
ā–¶ Open šŸ“„ View Source
🐘 GoogleLongrunningOperation.php
ā–¶ Open šŸ“„ View Source
🐘 LatLng.php
ā–¶ Open šŸ“„ View Source
🐘 ListCollectionIdsRequest.php
ā–¶ Open šŸ“„ View Source
🐘 ListCollectionIdsResponse.php
ā–¶ Open šŸ“„ View Source
🐘 ListDocumentsResponse.php
ā–¶ Open šŸ“„ View Source
🐘 ListLocationsResponse.php
ā–¶ Open šŸ“„ View Source
🐘 ListenRequest.php
ā–¶ Open šŸ“„ View Source
🐘 ListenResponse.php
ā–¶ Open šŸ“„ View Source
🐘 Location.php
ā–¶ Open šŸ“„ View Source
🐘 MapValue.php
ā–¶ Open šŸ“„ View Source
🐘 Order.php
ā–¶ Open šŸ“„ View Source
🐘 PartitionQueryRequest.php
ā–¶ Open šŸ“„ View Source
🐘 PartitionQueryResponse.php
ā–¶ Open šŸ“„ View Source
🐘 Pipeline.php
ā–¶ Open šŸ“„ View Source
🐘 PlanSummary.php
ā–¶ Open šŸ“„ View Source
🐘 Precondition.php
ā–¶ Open šŸ“„ View Source
🐘 Projection.php
ā–¶ Open šŸ“„ View Source
🐘 QueryPlan.php
ā–¶ Open šŸ“„ View Source
🐘 QueryTarget.php
ā–¶ Open šŸ“„ View Source
🐘 ReadWrite.php
ā–¶ Open šŸ“„ View Source
🐘 ResultSetStats.php
ā–¶ Open šŸ“„ View Source
🐘 RollbackRequest.php
ā–¶ Open šŸ“„ View Source
🐘 RunAggregationQueryRequest.php
ā–¶ Open šŸ“„ View Source
🐘 RunAggregationQueryResponse.php
ā–¶ Open šŸ“„ View Source
🐘 RunQueryRequest.php
ā–¶ Open šŸ“„ View Source
🐘 RunQueryResponse.php
ā–¶ Open šŸ“„ View Source
🐘 Stage.php
ā–¶ Open šŸ“„ View Source
🐘 Status.php
ā–¶ Open šŸ“„ View Source
🐘 StructuredAggregationQuery.php
ā–¶ Open šŸ“„ View Source
🐘 StructuredPipeline.php
ā–¶ Open šŸ“„ View Source
🐘 StructuredQuery.php
ā–¶ Open šŸ“„ View Source
🐘 Target.php
ā–¶ Open šŸ“„ View Source
🐘 TargetChange.php
ā–¶ Open šŸ“„ View Source
🐘 TimeOfDay.php
ā–¶ Open šŸ“„ View Source
🐘 TransactionOptions.php
ā–¶ Open šŸ“„ View Source
🐘 UnaryFilter.php
ā–¶ Open šŸ“„ View Source
🐘 Value.php
ā–¶ Open šŸ“„ View Source
🐘 Write.php
ā–¶ Open šŸ“„ View Source
🐘 WriteRequest.php
ā–¶ Open šŸ“„ View Source
🐘 WriteResponse.php
ā–¶ Open šŸ“„ View Source
🐘 WriteResult.php
ā–¶ Open šŸ“„ View Source

šŸ“„ Source: StructuredAggregationQuery.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\Firestore;

class StructuredAggregationQuery extends \Google\Collection
{
  protected $collection_key = 'aggregations';
  protected $aggregationsType = Aggregation::class;
  protected $aggregationsDataType = 'array';
  protected $structuredQueryType = StructuredQuery::class;
  protected $structuredQueryDataType = '';

  /**
   * Optional. Series of aggregations to apply over the results of the
   * `structured_query`. Requires: * A minimum of one and maximum of five
   * aggregations per query.
   *
   * @param Aggregation[] $aggregations
   */
  public function setAggregations($aggregations)
  {
    $this->aggregations = $aggregations;
  }
  /**
   * @return Aggregation[]
   */
  public function getAggregations()
  {
    return $this->aggregations;
  }
  /**
   * Nested structured query.
   *
   * @param StructuredQuery $structuredQuery
   */
  public function setStructuredQuery(StructuredQuery $structuredQuery)
  {
    $this->structuredQuery = $structuredQuery;
  }
  /**
   * @return StructuredQuery
   */
  public function getStructuredQuery()
  {
    return $this->structuredQuery;
  }
}

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