Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,92 @@
<?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 Aggregation extends \Google\Model
{
/**
* @var string
*/
public $alias;
protected $avgType = Avg::class;
protected $avgDataType = '';
protected $countType = Count::class;
protected $countDataType = '';
protected $sumType = Sum::class;
protected $sumDataType = '';
/**
* @param string
*/
public function setAlias($alias)
{
$this->alias = $alias;
}
/**
* @return string
*/
public function getAlias()
{
return $this->alias;
}
/**
* @param Avg
*/
public function setAvg(Avg $avg)
{
$this->avg = $avg;
}
/**
* @return Avg
*/
public function getAvg()
{
return $this->avg;
}
/**
* @param Count
*/
public function setCount(Count $count)
{
$this->count = $count;
}
/**
* @return Count
*/
public function getCount()
{
return $this->count;
}
/**
* @param Sum
*/
public function setSum(Sum $sum)
{
$this->sum = $sum;
}
/**
* @return Sum
*/
public function getSum()
{
return $this->sum;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Aggregation::class, 'Google_Service_Firestore_Aggregation');

View File

@@ -0,0 +1,42 @@
<?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 AggregationResult extends \Google\Model
{
protected $aggregateFieldsType = Value::class;
protected $aggregateFieldsDataType = 'map';
/**
* @param Value[]
*/
public function setAggregateFields($aggregateFields)
{
$this->aggregateFields = $aggregateFields;
}
/**
* @return Value[]
*/
public function getAggregateFields()
{
return $this->aggregateFields;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AggregationResult::class, 'Google_Service_Firestore_AggregationResult');

View File

@@ -0,0 +1,43 @@
<?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 ArrayValue extends \Google\Collection
{
protected $collection_key = 'values';
protected $valuesType = Value::class;
protected $valuesDataType = 'array';
/**
* @param Value[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return Value[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ArrayValue::class, 'Google_Service_Firestore_ArrayValue');

View File

@@ -0,0 +1,42 @@
<?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 Avg extends \Google\Model
{
protected $fieldType = FieldReference::class;
protected $fieldDataType = '';
/**
* @param FieldReference
*/
public function setField(FieldReference $field)
{
$this->field = $field;
}
/**
* @return FieldReference
*/
public function getField()
{
return $this->field;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Avg::class, 'Google_Service_Firestore_Avg');

View File

@@ -0,0 +1,113 @@
<?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 BatchGetDocumentsRequest extends \Google\Collection
{
protected $collection_key = 'documents';
/**
* @var string[]
*/
public $documents;
protected $maskType = DocumentMask::class;
protected $maskDataType = '';
protected $newTransactionType = TransactionOptions::class;
protected $newTransactionDataType = '';
/**
* @var string
*/
public $readTime;
/**
* @var string
*/
public $transaction;
/**
* @param string[]
*/
public function setDocuments($documents)
{
$this->documents = $documents;
}
/**
* @return string[]
*/
public function getDocuments()
{
return $this->documents;
}
/**
* @param DocumentMask
*/
public function setMask(DocumentMask $mask)
{
$this->mask = $mask;
}
/**
* @return DocumentMask
*/
public function getMask()
{
return $this->mask;
}
/**
* @param TransactionOptions
*/
public function setNewTransaction(TransactionOptions $newTransaction)
{
$this->newTransaction = $newTransaction;
}
/**
* @return TransactionOptions
*/
public function getNewTransaction()
{
return $this->newTransaction;
}
/**
* @param string
*/
public function setReadTime($readTime)
{
$this->readTime = $readTime;
}
/**
* @return string
*/
public function getReadTime()
{
return $this->readTime;
}
/**
* @param string
*/
public function setTransaction($transaction)
{
$this->transaction = $transaction;
}
/**
* @return string
*/
public function getTransaction()
{
return $this->transaction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchGetDocumentsRequest::class, 'Google_Service_Firestore_BatchGetDocumentsRequest');

View File

@@ -0,0 +1,96 @@
<?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 BatchGetDocumentsResponse extends \Google\Model
{
protected $foundType = Document::class;
protected $foundDataType = '';
/**
* @var string
*/
public $missing;
/**
* @var string
*/
public $readTime;
/**
* @var string
*/
public $transaction;
/**
* @param Document
*/
public function setFound(Document $found)
{
$this->found = $found;
}
/**
* @return Document
*/
public function getFound()
{
return $this->found;
}
/**
* @param string
*/
public function setMissing($missing)
{
$this->missing = $missing;
}
/**
* @return string
*/
public function getMissing()
{
return $this->missing;
}
/**
* @param string
*/
public function setReadTime($readTime)
{
$this->readTime = $readTime;
}
/**
* @return string
*/
public function getReadTime()
{
return $this->readTime;
}
/**
* @param string
*/
public function setTransaction($transaction)
{
$this->transaction = $transaction;
}
/**
* @return string
*/
public function getTransaction()
{
return $this->transaction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchGetDocumentsResponse::class, 'Google_Service_Firestore_BatchGetDocumentsResponse');

View File

@@ -0,0 +1,61 @@
<?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 BatchWriteRequest extends \Google\Collection
{
protected $collection_key = 'writes';
/**
* @var string[]
*/
public $labels;
protected $writesType = Write::class;
protected $writesDataType = 'array';
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param Write[]
*/
public function setWrites($writes)
{
$this->writes = $writes;
}
/**
* @return Write[]
*/
public function getWrites()
{
return $this->writes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchWriteRequest::class, 'Google_Service_Firestore_BatchWriteRequest');

View File

@@ -0,0 +1,59 @@
<?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 BatchWriteResponse extends \Google\Collection
{
protected $collection_key = 'writeResults';
protected $statusType = Status::class;
protected $statusDataType = 'array';
protected $writeResultsType = WriteResult::class;
protected $writeResultsDataType = 'array';
/**
* @param Status[]
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return Status[]
*/
public function getStatus()
{
return $this->status;
}
/**
* @param WriteResult[]
*/
public function setWriteResults($writeResults)
{
$this->writeResults = $writeResults;
}
/**
* @return WriteResult[]
*/
public function getWriteResults()
{
return $this->writeResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchWriteResponse::class, 'Google_Service_Firestore_BatchWriteResponse');

View File

@@ -0,0 +1,42 @@
<?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 BeginTransactionRequest extends \Google\Model
{
protected $optionsType = TransactionOptions::class;
protected $optionsDataType = '';
/**
* @param TransactionOptions
*/
public function setOptions(TransactionOptions $options)
{
$this->options = $options;
}
/**
* @return TransactionOptions
*/
public function getOptions()
{
return $this->options;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BeginTransactionRequest::class, 'Google_Service_Firestore_BeginTransactionRequest');

View File

@@ -0,0 +1,44 @@
<?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 BeginTransactionResponse extends \Google\Model
{
/**
* @var string
*/
public $transaction;
/**
* @param string
*/
public function setTransaction($transaction)
{
$this->transaction = $transaction;
}
/**
* @return string
*/
public function getTransaction()
{
return $this->transaction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BeginTransactionResponse::class, 'Google_Service_Firestore_BeginTransactionResponse');

View File

@@ -0,0 +1,62 @@
<?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 BitSequence extends \Google\Model
{
/**
* @var string
*/
public $bitmap;
/**
* @var int
*/
public $padding;
/**
* @param string
*/
public function setBitmap($bitmap)
{
$this->bitmap = $bitmap;
}
/**
* @return string
*/
public function getBitmap()
{
return $this->bitmap;
}
/**
* @param int
*/
public function setPadding($padding)
{
$this->padding = $padding;
}
/**
* @return int
*/
public function getPadding()
{
return $this->padding;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BitSequence::class, 'Google_Service_Firestore_BitSequence');

View File

@@ -0,0 +1,60 @@
<?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 BloomFilter extends \Google\Model
{
protected $bitsType = BitSequence::class;
protected $bitsDataType = '';
/**
* @var int
*/
public $hashCount;
/**
* @param BitSequence
*/
public function setBits(BitSequence $bits)
{
$this->bits = $bits;
}
/**
* @return BitSequence
*/
public function getBits()
{
return $this->bits;
}
/**
* @param int
*/
public function setHashCount($hashCount)
{
$this->hashCount = $hashCount;
}
/**
* @return int
*/
public function getHashCount()
{
return $this->hashCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BloomFilter::class, 'Google_Service_Firestore_BloomFilter');

View File

@@ -0,0 +1,62 @@
<?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 CollectionSelector extends \Google\Model
{
/**
* @var bool
*/
public $allDescendants;
/**
* @var string
*/
public $collectionId;
/**
* @param bool
*/
public function setAllDescendants($allDescendants)
{
$this->allDescendants = $allDescendants;
}
/**
* @return bool
*/
public function getAllDescendants()
{
return $this->allDescendants;
}
/**
* @param string
*/
public function setCollectionId($collectionId)
{
$this->collectionId = $collectionId;
}
/**
* @return string
*/
public function getCollectionId()
{
return $this->collectionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CollectionSelector::class, 'Google_Service_Firestore_CollectionSelector');

View File

@@ -0,0 +1,61 @@
<?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 CommitRequest extends \Google\Collection
{
protected $collection_key = 'writes';
/**
* @var string
*/
public $transaction;
protected $writesType = Write::class;
protected $writesDataType = 'array';
/**
* @param string
*/
public function setTransaction($transaction)
{
$this->transaction = $transaction;
}
/**
* @return string
*/
public function getTransaction()
{
return $this->transaction;
}
/**
* @param Write[]
*/
public function setWrites($writes)
{
$this->writes = $writes;
}
/**
* @return Write[]
*/
public function getWrites()
{
return $this->writes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CommitRequest::class, 'Google_Service_Firestore_CommitRequest');

View File

@@ -0,0 +1,61 @@
<?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 CommitResponse extends \Google\Collection
{
protected $collection_key = 'writeResults';
/**
* @var string
*/
public $commitTime;
protected $writeResultsType = WriteResult::class;
protected $writeResultsDataType = 'array';
/**
* @param string
*/
public function setCommitTime($commitTime)
{
$this->commitTime = $commitTime;
}
/**
* @return string
*/
public function getCommitTime()
{
return $this->commitTime;
}
/**
* @param WriteResult[]
*/
public function setWriteResults($writeResults)
{
$this->writeResults = $writeResults;
}
/**
* @return WriteResult[]
*/
public function getWriteResults()
{
return $this->writeResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CommitResponse::class, 'Google_Service_Firestore_CommitResponse');

View File

@@ -0,0 +1,61 @@
<?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 CompositeFilter extends \Google\Collection
{
protected $collection_key = 'filters';
protected $filtersType = Filter::class;
protected $filtersDataType = 'array';
/**
* @var string
*/
public $op;
/**
* @param Filter[]
*/
public function setFilters($filters)
{
$this->filters = $filters;
}
/**
* @return Filter[]
*/
public function getFilters()
{
return $this->filters;
}
/**
* @param string
*/
public function setOp($op)
{
$this->op = $op;
}
/**
* @return string
*/
public function getOp()
{
return $this->op;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompositeFilter::class, 'Google_Service_Firestore_CompositeFilter');

View File

@@ -0,0 +1,44 @@
<?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 Count extends \Google\Model
{
/**
* @var string
*/
public $upTo;
/**
* @param string
*/
public function setUpTo($upTo)
{
$this->upTo = $upTo;
}
/**
* @return string
*/
public function getUpTo()
{
return $this->upTo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Count::class, 'Google_Service_Firestore_Count');

View File

@@ -0,0 +1,61 @@
<?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 Cursor extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var bool
*/
public $before;
protected $valuesType = Value::class;
protected $valuesDataType = 'array';
/**
* @param bool
*/
public function setBefore($before)
{
$this->before = $before;
}
/**
* @return bool
*/
public function getBefore()
{
return $this->before;
}
/**
* @param Value[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return Value[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Cursor::class, 'Google_Service_Firestore_Cursor');

View File

@@ -0,0 +1,96 @@
<?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 Document extends \Google\Model
{
/**
* @var string
*/
public $createTime;
protected $fieldsType = Value::class;
protected $fieldsDataType = 'map';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param Value[]
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return Value[]
*/
public function getFields()
{
return $this->fields;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
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(Document::class, 'Google_Service_Firestore_Document');

View File

@@ -0,0 +1,79 @@
<?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 DocumentChange extends \Google\Collection
{
protected $collection_key = 'targetIds';
protected $documentType = Document::class;
protected $documentDataType = '';
/**
* @var int[]
*/
public $removedTargetIds;
/**
* @var int[]
*/
public $targetIds;
/**
* @param Document
*/
public function setDocument(Document $document)
{
$this->document = $document;
}
/**
* @return Document
*/
public function getDocument()
{
return $this->document;
}
/**
* @param int[]
*/
public function setRemovedTargetIds($removedTargetIds)
{
$this->removedTargetIds = $removedTargetIds;
}
/**
* @return int[]
*/
public function getRemovedTargetIds()
{
return $this->removedTargetIds;
}
/**
* @param int[]
*/
public function setTargetIds($targetIds)
{
$this->targetIds = $targetIds;
}
/**
* @return int[]
*/
public function getTargetIds()
{
return $this->targetIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DocumentChange::class, 'Google_Service_Firestore_DocumentChange');

View File

@@ -0,0 +1,81 @@
<?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 DocumentDelete extends \Google\Collection
{
protected $collection_key = 'removedTargetIds';
/**
* @var string
*/
public $document;
/**
* @var string
*/
public $readTime;
/**
* @var int[]
*/
public $removedTargetIds;
/**
* @param string
*/
public function setDocument($document)
{
$this->document = $document;
}
/**
* @return string
*/
public function getDocument()
{
return $this->document;
}
/**
* @param string
*/
public function setReadTime($readTime)
{
$this->readTime = $readTime;
}
/**
* @return string
*/
public function getReadTime()
{
return $this->readTime;
}
/**
* @param int[]
*/
public function setRemovedTargetIds($removedTargetIds)
{
$this->removedTargetIds = $removedTargetIds;
}
/**
* @return int[]
*/
public function getRemovedTargetIds()
{
return $this->removedTargetIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DocumentDelete::class, 'Google_Service_Firestore_DocumentDelete');

View File

@@ -0,0 +1,45 @@
<?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 DocumentMask extends \Google\Collection
{
protected $collection_key = 'fieldPaths';
/**
* @var string[]
*/
public $fieldPaths;
/**
* @param string[]
*/
public function setFieldPaths($fieldPaths)
{
$this->fieldPaths = $fieldPaths;
}
/**
* @return string[]
*/
public function getFieldPaths()
{
return $this->fieldPaths;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DocumentMask::class, 'Google_Service_Firestore_DocumentMask');

View File

@@ -0,0 +1,81 @@
<?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 DocumentRemove extends \Google\Collection
{
protected $collection_key = 'removedTargetIds';
/**
* @var string
*/
public $document;
/**
* @var string
*/
public $readTime;
/**
* @var int[]
*/
public $removedTargetIds;
/**
* @param string
*/
public function setDocument($document)
{
$this->document = $document;
}
/**
* @return string
*/
public function getDocument()
{
return $this->document;
}
/**
* @param string
*/
public function setReadTime($readTime)
{
$this->readTime = $readTime;
}
/**
* @return string
*/
public function getReadTime()
{
return $this->readTime;
}
/**
* @param int[]
*/
public function setRemovedTargetIds($removedTargetIds)
{
$this->removedTargetIds = $removedTargetIds;
}
/**
* @return int[]
*/
public function getRemovedTargetIds()
{
return $this->removedTargetIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DocumentRemove::class, 'Google_Service_Firestore_DocumentRemove');

View File

@@ -0,0 +1,61 @@
<?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 DocumentTransform extends \Google\Collection
{
protected $collection_key = 'fieldTransforms';
/**
* @var string
*/
public $document;
protected $fieldTransformsType = FieldTransform::class;
protected $fieldTransformsDataType = 'array';
/**
* @param string
*/
public function setDocument($document)
{
$this->document = $document;
}
/**
* @return string
*/
public function getDocument()
{
return $this->document;
}
/**
* @param FieldTransform[]
*/
public function setFieldTransforms($fieldTransforms)
{
$this->fieldTransforms = $fieldTransforms;
}
/**
* @return FieldTransform[]
*/
public function getFieldTransforms()
{
return $this->fieldTransforms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DocumentTransform::class, 'Google_Service_Firestore_DocumentTransform');

View File

@@ -0,0 +1,45 @@
<?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 DocumentsTarget extends \Google\Collection
{
protected $collection_key = 'documents';
/**
* @var string[]
*/
public $documents;
/**
* @param string[]
*/
public function setDocuments($documents)
{
$this->documents = $documents;
}
/**
* @return string[]
*/
public function getDocuments()
{
return $this->documents;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DocumentsTarget::class, 'Google_Service_Firestore_DocumentsTarget');

View File

@@ -0,0 +1,98 @@
<?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 ExecutionStats extends \Google\Model
{
/**
* @var array[]
*/
public $debugStats;
/**
* @var string
*/
public $executionDuration;
/**
* @var string
*/
public $readOperations;
/**
* @var string
*/
public $resultsReturned;
/**
* @param array[]
*/
public function setDebugStats($debugStats)
{
$this->debugStats = $debugStats;
}
/**
* @return array[]
*/
public function getDebugStats()
{
return $this->debugStats;
}
/**
* @param string
*/
public function setExecutionDuration($executionDuration)
{
$this->executionDuration = $executionDuration;
}
/**
* @return string
*/
public function getExecutionDuration()
{
return $this->executionDuration;
}
/**
* @param string
*/
public function setReadOperations($readOperations)
{
$this->readOperations = $readOperations;
}
/**
* @return string
*/
public function getReadOperations()
{
return $this->readOperations;
}
/**
* @param string
*/
public function setResultsReturned($resultsReturned)
{
$this->resultsReturned = $resultsReturned;
}
/**
* @return string
*/
public function getResultsReturned()
{
return $this->resultsReturned;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecutionStats::class, 'Google_Service_Firestore_ExecutionStats');

View File

@@ -0,0 +1,78 @@
<?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 ExistenceFilter extends \Google\Model
{
/**
* @var int
*/
public $count;
/**
* @var int
*/
public $targetId;
protected $unchangedNamesType = BloomFilter::class;
protected $unchangedNamesDataType = '';
/**
* @param int
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return int
*/
public function getCount()
{
return $this->count;
}
/**
* @param int
*/
public function setTargetId($targetId)
{
$this->targetId = $targetId;
}
/**
* @return int
*/
public function getTargetId()
{
return $this->targetId;
}
/**
* @param BloomFilter
*/
public function setUnchangedNames(BloomFilter $unchangedNames)
{
$this->unchangedNames = $unchangedNames;
}
/**
* @return BloomFilter
*/
public function getUnchangedNames()
{
return $this->unchangedNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExistenceFilter::class, 'Google_Service_Firestore_ExistenceFilter');

View File

@@ -0,0 +1,58 @@
<?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 ExplainMetrics extends \Google\Model
{
protected $executionStatsType = ExecutionStats::class;
protected $executionStatsDataType = '';
protected $planSummaryType = PlanSummary::class;
protected $planSummaryDataType = '';
/**
* @param ExecutionStats
*/
public function setExecutionStats(ExecutionStats $executionStats)
{
$this->executionStats = $executionStats;
}
/**
* @return ExecutionStats
*/
public function getExecutionStats()
{
return $this->executionStats;
}
/**
* @param PlanSummary
*/
public function setPlanSummary(PlanSummary $planSummary)
{
$this->planSummary = $planSummary;
}
/**
* @return PlanSummary
*/
public function getPlanSummary()
{
return $this->planSummary;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExplainMetrics::class, 'Google_Service_Firestore_ExplainMetrics');

View File

@@ -0,0 +1,44 @@
<?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 ExplainOptions extends \Google\Model
{
/**
* @var bool
*/
public $analyze;
/**
* @param bool
*/
public function setAnalyze($analyze)
{
$this->analyze = $analyze;
}
/**
* @return bool
*/
public function getAnalyze()
{
return $this->analyze;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExplainOptions::class, 'Google_Service_Firestore_ExplainOptions');

View File

@@ -0,0 +1,76 @@
<?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 FieldFilter extends \Google\Model
{
protected $fieldType = FieldReference::class;
protected $fieldDataType = '';
/**
* @var string
*/
public $op;
protected $valueType = Value::class;
protected $valueDataType = '';
/**
* @param FieldReference
*/
public function setField(FieldReference $field)
{
$this->field = $field;
}
/**
* @return FieldReference
*/
public function getField()
{
return $this->field;
}
/**
* @param string
*/
public function setOp($op)
{
$this->op = $op;
}
/**
* @return string
*/
public function getOp()
{
return $this->op;
}
/**
* @param Value
*/
public function setValue(Value $value)
{
$this->value = $value;
}
/**
* @return Value
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FieldFilter::class, 'Google_Service_Firestore_FieldFilter');

View File

@@ -0,0 +1,44 @@
<?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 FieldReference extends \Google\Model
{
/**
* @var string
*/
public $fieldPath;
/**
* @param string
*/
public function setFieldPath($fieldPath)
{
$this->fieldPath = $fieldPath;
}
/**
* @return string
*/
public function getFieldPath()
{
return $this->fieldPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FieldReference::class, 'Google_Service_Firestore_FieldReference');

View File

@@ -0,0 +1,142 @@
<?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 FieldTransform extends \Google\Model
{
protected $appendMissingElementsType = ArrayValue::class;
protected $appendMissingElementsDataType = '';
/**
* @var string
*/
public $fieldPath;
protected $incrementType = Value::class;
protected $incrementDataType = '';
protected $maximumType = Value::class;
protected $maximumDataType = '';
protected $minimumType = Value::class;
protected $minimumDataType = '';
protected $removeAllFromArrayType = ArrayValue::class;
protected $removeAllFromArrayDataType = '';
/**
* @var string
*/
public $setToServerValue;
/**
* @param ArrayValue
*/
public function setAppendMissingElements(ArrayValue $appendMissingElements)
{
$this->appendMissingElements = $appendMissingElements;
}
/**
* @return ArrayValue
*/
public function getAppendMissingElements()
{
return $this->appendMissingElements;
}
/**
* @param string
*/
public function setFieldPath($fieldPath)
{
$this->fieldPath = $fieldPath;
}
/**
* @return string
*/
public function getFieldPath()
{
return $this->fieldPath;
}
/**
* @param Value
*/
public function setIncrement(Value $increment)
{
$this->increment = $increment;
}
/**
* @return Value
*/
public function getIncrement()
{
return $this->increment;
}
/**
* @param Value
*/
public function setMaximum(Value $maximum)
{
$this->maximum = $maximum;
}
/**
* @return Value
*/
public function getMaximum()
{
return $this->maximum;
}
/**
* @param Value
*/
public function setMinimum(Value $minimum)
{
$this->minimum = $minimum;
}
/**
* @return Value
*/
public function getMinimum()
{
return $this->minimum;
}
/**
* @param ArrayValue
*/
public function setRemoveAllFromArray(ArrayValue $removeAllFromArray)
{
$this->removeAllFromArray = $removeAllFromArray;
}
/**
* @return ArrayValue
*/
public function getRemoveAllFromArray()
{
return $this->removeAllFromArray;
}
/**
* @param string
*/
public function setSetToServerValue($setToServerValue)
{
$this->setToServerValue = $setToServerValue;
}
/**
* @return string
*/
public function getSetToServerValue()
{
return $this->setToServerValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FieldTransform::class, 'Google_Service_Firestore_FieldTransform');

View File

@@ -0,0 +1,74 @@
<?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 Filter extends \Google\Model
{
protected $compositeFilterType = CompositeFilter::class;
protected $compositeFilterDataType = '';
protected $fieldFilterType = FieldFilter::class;
protected $fieldFilterDataType = '';
protected $unaryFilterType = UnaryFilter::class;
protected $unaryFilterDataType = '';
/**
* @param CompositeFilter
*/
public function setCompositeFilter(CompositeFilter $compositeFilter)
{
$this->compositeFilter = $compositeFilter;
}
/**
* @return CompositeFilter
*/
public function getCompositeFilter()
{
return $this->compositeFilter;
}
/**
* @param FieldFilter
*/
public function setFieldFilter(FieldFilter $fieldFilter)
{
$this->fieldFilter = $fieldFilter;
}
/**
* @return FieldFilter
*/
public function getFieldFilter()
{
return $this->fieldFilter;
}
/**
* @param UnaryFilter
*/
public function setUnaryFilter(UnaryFilter $unaryFilter)
{
$this->unaryFilter = $unaryFilter;
}
/**
* @return UnaryFilter
*/
public function getUnaryFilter()
{
return $this->unaryFilter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Filter::class, 'Google_Service_Firestore_Filter');

View File

@@ -0,0 +1,121 @@
<?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 FindNearest extends \Google\Model
{
/**
* @var string
*/
public $distanceMeasure;
/**
* @var string
*/
public $distanceResultField;
public $distanceThreshold;
/**
* @var int
*/
public $limit;
protected $queryVectorType = Value::class;
protected $queryVectorDataType = '';
protected $vectorFieldType = FieldReference::class;
protected $vectorFieldDataType = '';
/**
* @param string
*/
public function setDistanceMeasure($distanceMeasure)
{
$this->distanceMeasure = $distanceMeasure;
}
/**
* @return string
*/
public function getDistanceMeasure()
{
return $this->distanceMeasure;
}
/**
* @param string
*/
public function setDistanceResultField($distanceResultField)
{
$this->distanceResultField = $distanceResultField;
}
/**
* @return string
*/
public function getDistanceResultField()
{
return $this->distanceResultField;
}
public function setDistanceThreshold($distanceThreshold)
{
$this->distanceThreshold = $distanceThreshold;
}
public function getDistanceThreshold()
{
return $this->distanceThreshold;
}
/**
* @param int
*/
public function setLimit($limit)
{
$this->limit = $limit;
}
/**
* @return int
*/
public function getLimit()
{
return $this->limit;
}
/**
* @param Value
*/
public function setQueryVector(Value $queryVector)
{
$this->queryVector = $queryVector;
}
/**
* @return Value
*/
public function getQueryVector()
{
return $this->queryVector;
}
/**
* @param FieldReference
*/
public function setVectorField(FieldReference $vectorField)
{
$this->vectorField = $vectorField;
}
/**
* @return FieldReference
*/
public function getVectorField()
{
return $this->vectorField;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FindNearest::class, 'Google_Service_Firestore_FindNearest');

View File

@@ -0,0 +1,25 @@
<?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 FirestoreEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FirestoreEmpty::class, 'Google_Service_Firestore_FirestoreEmpty');

View File

@@ -0,0 +1,44 @@
<?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 FirestoreReadOnly extends \Google\Model
{
/**
* @var string
*/
public $readTime;
/**
* @param string
*/
public function setReadTime($readTime)
{
$this->readTime = $readTime;
}
/**
* @return string
*/
public function getReadTime()
{
return $this->readTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FirestoreReadOnly::class, 'Google_Service_Firestore_FirestoreReadOnly');

View File

@@ -0,0 +1,150 @@
<?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 GoogleFirestoreAdminV1Backup extends \Google\Model
{
/**
* @var string
*/
public $database;
/**
* @var string
*/
public $databaseUid;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $snapshotTime;
/**
* @var string
*/
public $state;
protected $statsType = GoogleFirestoreAdminV1Stats::class;
protected $statsDataType = '';
/**
* @param string
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* @param string
*/
public function setDatabaseUid($databaseUid)
{
$this->databaseUid = $databaseUid;
}
/**
* @return string
*/
public function getDatabaseUid()
{
return $this->databaseUid;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSnapshotTime($snapshotTime)
{
$this->snapshotTime = $snapshotTime;
}
/**
* @return string
*/
public function getSnapshotTime()
{
return $this->snapshotTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param GoogleFirestoreAdminV1Stats
*/
public function setStats(GoogleFirestoreAdminV1Stats $stats)
{
$this->stats = $stats;
}
/**
* @return GoogleFirestoreAdminV1Stats
*/
public function getStats()
{
return $this->stats;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1Backup::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1Backup');

View File

@@ -0,0 +1,130 @@
<?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 GoogleFirestoreAdminV1BackupSchedule extends \Google\Model
{
/**
* @var string
*/
public $createTime;
protected $dailyRecurrenceType = GoogleFirestoreAdminV1DailyRecurrence::class;
protected $dailyRecurrenceDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $retention;
/**
* @var string
*/
public $updateTime;
protected $weeklyRecurrenceType = GoogleFirestoreAdminV1WeeklyRecurrence::class;
protected $weeklyRecurrenceDataType = '';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param GoogleFirestoreAdminV1DailyRecurrence
*/
public function setDailyRecurrence(GoogleFirestoreAdminV1DailyRecurrence $dailyRecurrence)
{
$this->dailyRecurrence = $dailyRecurrence;
}
/**
* @return GoogleFirestoreAdminV1DailyRecurrence
*/
public function getDailyRecurrence()
{
return $this->dailyRecurrence;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setRetention($retention)
{
$this->retention = $retention;
}
/**
* @return string
*/
public function getRetention()
{
return $this->retention;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param GoogleFirestoreAdminV1WeeklyRecurrence
*/
public function setWeeklyRecurrence(GoogleFirestoreAdminV1WeeklyRecurrence $weeklyRecurrence)
{
$this->weeklyRecurrence = $weeklyRecurrence;
}
/**
* @return GoogleFirestoreAdminV1WeeklyRecurrence
*/
public function getWeeklyRecurrence()
{
return $this->weeklyRecurrence;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1BackupSchedule::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1BackupSchedule');

View File

@@ -0,0 +1,44 @@
<?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 GoogleFirestoreAdminV1BackupSource extends \Google\Model
{
/**
* @var string
*/
public $backup;
/**
* @param string
*/
public function setBackup($backup)
{
$this->backup = $backup;
}
/**
* @return string
*/
public function getBackup()
{
return $this->backup;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1BackupSource::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1BackupSource');

View File

@@ -0,0 +1,167 @@
<?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 GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata extends \Google\Collection
{
protected $collection_key = 'namespaceIds';
/**
* @var string[]
*/
public $collectionIds;
/**
* @var string
*/
public $endTime;
/**
* @var string[]
*/
public $namespaceIds;
/**
* @var string
*/
public $operationState;
protected $progressBytesType = GoogleFirestoreAdminV1Progress::class;
protected $progressBytesDataType = '';
protected $progressDocumentsType = GoogleFirestoreAdminV1Progress::class;
protected $progressDocumentsDataType = '';
/**
* @var string
*/
public $snapshotTime;
/**
* @var string
*/
public $startTime;
/**
* @param string[]
*/
public function setCollectionIds($collectionIds)
{
$this->collectionIds = $collectionIds;
}
/**
* @return string[]
*/
public function getCollectionIds()
{
return $this->collectionIds;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string[]
*/
public function setNamespaceIds($namespaceIds)
{
$this->namespaceIds = $namespaceIds;
}
/**
* @return string[]
*/
public function getNamespaceIds()
{
return $this->namespaceIds;
}
/**
* @param string
*/
public function setOperationState($operationState)
{
$this->operationState = $operationState;
}
/**
* @return string
*/
public function getOperationState()
{
return $this->operationState;
}
/**
* @param GoogleFirestoreAdminV1Progress
*/
public function setProgressBytes(GoogleFirestoreAdminV1Progress $progressBytes)
{
$this->progressBytes = $progressBytes;
}
/**
* @return GoogleFirestoreAdminV1Progress
*/
public function getProgressBytes()
{
return $this->progressBytes;
}
/**
* @param GoogleFirestoreAdminV1Progress
*/
public function setProgressDocuments(GoogleFirestoreAdminV1Progress $progressDocuments)
{
$this->progressDocuments = $progressDocuments;
}
/**
* @return GoogleFirestoreAdminV1Progress
*/
public function getProgressDocuments()
{
return $this->progressDocuments;
}
/**
* @param string
*/
public function setSnapshotTime($snapshotTime)
{
$this->snapshotTime = $snapshotTime;
}
/**
* @return string
*/
public function getSnapshotTime()
{
return $this->snapshotTime;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata');

View File

@@ -0,0 +1,63 @@
<?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 GoogleFirestoreAdminV1BulkDeleteDocumentsRequest extends \Google\Collection
{
protected $collection_key = 'namespaceIds';
/**
* @var string[]
*/
public $collectionIds;
/**
* @var string[]
*/
public $namespaceIds;
/**
* @param string[]
*/
public function setCollectionIds($collectionIds)
{
$this->collectionIds = $collectionIds;
}
/**
* @return string[]
*/
public function getCollectionIds()
{
return $this->collectionIds;
}
/**
* @param string[]
*/
public function setNamespaceIds($namespaceIds)
{
$this->namespaceIds = $namespaceIds;
}
/**
* @return string[]
*/
public function getNamespaceIds()
{
return $this->namespaceIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1BulkDeleteDocumentsRequest::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1BulkDeleteDocumentsRequest');

View File

@@ -0,0 +1,63 @@
<?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 GoogleFirestoreAdminV1CmekConfig extends \Google\Collection
{
protected $collection_key = 'activeKeyVersion';
/**
* @var string[]
*/
public $activeKeyVersion;
/**
* @var string
*/
public $kmsKeyName;
/**
* @param string[]
*/
public function setActiveKeyVersion($activeKeyVersion)
{
$this->activeKeyVersion = $activeKeyVersion;
}
/**
* @return string[]
*/
public function getActiveKeyVersion()
{
return $this->activeKeyVersion;
}
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1CmekConfig::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1CmekConfig');

View File

@@ -0,0 +1,25 @@
<?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 GoogleFirestoreAdminV1CreateDatabaseMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1CreateDatabaseMetadata::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1CreateDatabaseMetadata');

View File

@@ -0,0 +1,44 @@
<?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 GoogleFirestoreAdminV1CustomerManagedEncryptionOptions extends \Google\Model
{
/**
* @var string
*/
public $kmsKeyName;
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1CustomerManagedEncryptionOptions::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1CustomerManagedEncryptionOptions');

View File

@@ -0,0 +1,25 @@
<?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 GoogleFirestoreAdminV1DailyRecurrence extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1DailyRecurrence::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1DailyRecurrence');

View File

@@ -0,0 +1,346 @@
<?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 GoogleFirestoreAdminV1Database extends \Google\Model
{
/**
* @var string
*/
public $appEngineIntegrationMode;
protected $cmekConfigType = GoogleFirestoreAdminV1CmekConfig::class;
protected $cmekConfigDataType = '';
/**
* @var string
*/
public $concurrencyMode;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $deleteProtectionState;
/**
* @var string
*/
public $deleteTime;
/**
* @var string
*/
public $earliestVersionTime;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $keyPrefix;
/**
* @var string
*/
public $locationId;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $pointInTimeRecoveryEnablement;
/**
* @var string
*/
public $previousId;
protected $sourceInfoType = GoogleFirestoreAdminV1SourceInfo::class;
protected $sourceInfoDataType = '';
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $versionRetentionPeriod;
/**
* @param string
*/
public function setAppEngineIntegrationMode($appEngineIntegrationMode)
{
$this->appEngineIntegrationMode = $appEngineIntegrationMode;
}
/**
* @return string
*/
public function getAppEngineIntegrationMode()
{
return $this->appEngineIntegrationMode;
}
/**
* @param GoogleFirestoreAdminV1CmekConfig
*/
public function setCmekConfig(GoogleFirestoreAdminV1CmekConfig $cmekConfig)
{
$this->cmekConfig = $cmekConfig;
}
/**
* @return GoogleFirestoreAdminV1CmekConfig
*/
public function getCmekConfig()
{
return $this->cmekConfig;
}
/**
* @param string
*/
public function setConcurrencyMode($concurrencyMode)
{
$this->concurrencyMode = $concurrencyMode;
}
/**
* @return string
*/
public function getConcurrencyMode()
{
return $this->concurrencyMode;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDeleteProtectionState($deleteProtectionState)
{
$this->deleteProtectionState = $deleteProtectionState;
}
/**
* @return string
*/
public function getDeleteProtectionState()
{
return $this->deleteProtectionState;
}
/**
* @param string
*/
public function setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
/**
* @return string
*/
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* @param string
*/
public function setEarliestVersionTime($earliestVersionTime)
{
$this->earliestVersionTime = $earliestVersionTime;
}
/**
* @return string
*/
public function getEarliestVersionTime()
{
return $this->earliestVersionTime;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setKeyPrefix($keyPrefix)
{
$this->keyPrefix = $keyPrefix;
}
/**
* @return string
*/
public function getKeyPrefix()
{
return $this->keyPrefix;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPointInTimeRecoveryEnablement($pointInTimeRecoveryEnablement)
{
$this->pointInTimeRecoveryEnablement = $pointInTimeRecoveryEnablement;
}
/**
* @return string
*/
public function getPointInTimeRecoveryEnablement()
{
return $this->pointInTimeRecoveryEnablement;
}
/**
* @param string
*/
public function setPreviousId($previousId)
{
$this->previousId = $previousId;
}
/**
* @return string
*/
public function getPreviousId()
{
return $this->previousId;
}
/**
* @param GoogleFirestoreAdminV1SourceInfo
*/
public function setSourceInfo(GoogleFirestoreAdminV1SourceInfo $sourceInfo)
{
$this->sourceInfo = $sourceInfo;
}
/**
* @return GoogleFirestoreAdminV1SourceInfo
*/
public function getSourceInfo()
{
return $this->sourceInfo;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setVersionRetentionPeriod($versionRetentionPeriod)
{
$this->versionRetentionPeriod = $versionRetentionPeriod;
}
/**
* @return string
*/
public function getVersionRetentionPeriod()
{
return $this->versionRetentionPeriod;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1Database::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1Database');

View File

@@ -0,0 +1,62 @@
<?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 GoogleFirestoreAdminV1DatabaseSnapshot extends \Google\Model
{
/**
* @var string
*/
public $database;
/**
* @var string
*/
public $snapshotTime;
/**
* @param string
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* @param string
*/
public function setSnapshotTime($snapshotTime)
{
$this->snapshotTime = $snapshotTime;
}
/**
* @return string
*/
public function getSnapshotTime()
{
return $this->snapshotTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1DatabaseSnapshot::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1DatabaseSnapshot');

View File

@@ -0,0 +1,25 @@
<?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 GoogleFirestoreAdminV1DeleteDatabaseMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1DeleteDatabaseMetadata::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1DeleteDatabaseMetadata');

View File

@@ -0,0 +1,74 @@
<?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 GoogleFirestoreAdminV1EncryptionConfig extends \Google\Model
{
protected $customerManagedEncryptionType = GoogleFirestoreAdminV1CustomerManagedEncryptionOptions::class;
protected $customerManagedEncryptionDataType = '';
protected $googleDefaultEncryptionType = GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions::class;
protected $googleDefaultEncryptionDataType = '';
protected $useSourceEncryptionType = GoogleFirestoreAdminV1SourceEncryptionOptions::class;
protected $useSourceEncryptionDataType = '';
/**
* @param GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
*/
public function setCustomerManagedEncryption(GoogleFirestoreAdminV1CustomerManagedEncryptionOptions $customerManagedEncryption)
{
$this->customerManagedEncryption = $customerManagedEncryption;
}
/**
* @return GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
*/
public function getCustomerManagedEncryption()
{
return $this->customerManagedEncryption;
}
/**
* @param GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions
*/
public function setGoogleDefaultEncryption(GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions $googleDefaultEncryption)
{
$this->googleDefaultEncryption = $googleDefaultEncryption;
}
/**
* @return GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions
*/
public function getGoogleDefaultEncryption()
{
return $this->googleDefaultEncryption;
}
/**
* @param GoogleFirestoreAdminV1SourceEncryptionOptions
*/
public function setUseSourceEncryption(GoogleFirestoreAdminV1SourceEncryptionOptions $useSourceEncryption)
{
$this->useSourceEncryption = $useSourceEncryption;
}
/**
* @return GoogleFirestoreAdminV1SourceEncryptionOptions
*/
public function getUseSourceEncryption()
{
return $this->useSourceEncryption;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1EncryptionConfig::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1EncryptionConfig');

View File

@@ -0,0 +1,185 @@
<?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 GoogleFirestoreAdminV1ExportDocumentsMetadata extends \Google\Collection
{
protected $collection_key = 'namespaceIds';
/**
* @var string[]
*/
public $collectionIds;
/**
* @var string
*/
public $endTime;
/**
* @var string[]
*/
public $namespaceIds;
/**
* @var string
*/
public $operationState;
/**
* @var string
*/
public $outputUriPrefix;
protected $progressBytesType = GoogleFirestoreAdminV1Progress::class;
protected $progressBytesDataType = '';
protected $progressDocumentsType = GoogleFirestoreAdminV1Progress::class;
protected $progressDocumentsDataType = '';
/**
* @var string
*/
public $snapshotTime;
/**
* @var string
*/
public $startTime;
/**
* @param string[]
*/
public function setCollectionIds($collectionIds)
{
$this->collectionIds = $collectionIds;
}
/**
* @return string[]
*/
public function getCollectionIds()
{
return $this->collectionIds;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string[]
*/
public function setNamespaceIds($namespaceIds)
{
$this->namespaceIds = $namespaceIds;
}
/**
* @return string[]
*/
public function getNamespaceIds()
{
return $this->namespaceIds;
}
/**
* @param string
*/
public function setOperationState($operationState)
{
$this->operationState = $operationState;
}
/**
* @return string
*/
public function getOperationState()
{
return $this->operationState;
}
/**
* @param string
*/
public function setOutputUriPrefix($outputUriPrefix)
{
$this->outputUriPrefix = $outputUriPrefix;
}
/**
* @return string
*/
public function getOutputUriPrefix()
{
return $this->outputUriPrefix;
}
/**
* @param GoogleFirestoreAdminV1Progress
*/
public function setProgressBytes(GoogleFirestoreAdminV1Progress $progressBytes)
{
$this->progressBytes = $progressBytes;
}
/**
* @return GoogleFirestoreAdminV1Progress
*/
public function getProgressBytes()
{
return $this->progressBytes;
}
/**
* @param GoogleFirestoreAdminV1Progress
*/
public function setProgressDocuments(GoogleFirestoreAdminV1Progress $progressDocuments)
{
$this->progressDocuments = $progressDocuments;
}
/**
* @return GoogleFirestoreAdminV1Progress
*/
public function getProgressDocuments()
{
return $this->progressDocuments;
}
/**
* @param string
*/
public function setSnapshotTime($snapshotTime)
{
$this->snapshotTime = $snapshotTime;
}
/**
* @return string
*/
public function getSnapshotTime()
{
return $this->snapshotTime;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1ExportDocumentsMetadata::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1ExportDocumentsMetadata');

View File

@@ -0,0 +1,99 @@
<?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 GoogleFirestoreAdminV1ExportDocumentsRequest extends \Google\Collection
{
protected $collection_key = 'namespaceIds';
/**
* @var string[]
*/
public $collectionIds;
/**
* @var string[]
*/
public $namespaceIds;
/**
* @var string
*/
public $outputUriPrefix;
/**
* @var string
*/
public $snapshotTime;
/**
* @param string[]
*/
public function setCollectionIds($collectionIds)
{
$this->collectionIds = $collectionIds;
}
/**
* @return string[]
*/
public function getCollectionIds()
{
return $this->collectionIds;
}
/**
* @param string[]
*/
public function setNamespaceIds($namespaceIds)
{
$this->namespaceIds = $namespaceIds;
}
/**
* @return string[]
*/
public function getNamespaceIds()
{
return $this->namespaceIds;
}
/**
* @param string
*/
public function setOutputUriPrefix($outputUriPrefix)
{
$this->outputUriPrefix = $outputUriPrefix;
}
/**
* @return string
*/
public function getOutputUriPrefix()
{
return $this->outputUriPrefix;
}
/**
* @param string
*/
public function setSnapshotTime($snapshotTime)
{
$this->snapshotTime = $snapshotTime;
}
/**
* @return string
*/
public function getSnapshotTime()
{
return $this->snapshotTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1ExportDocumentsRequest::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1ExportDocumentsRequest');

View File

@@ -0,0 +1,44 @@
<?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 GoogleFirestoreAdminV1ExportDocumentsResponse extends \Google\Model
{
/**
* @var string
*/
public $outputUriPrefix;
/**
* @param string
*/
public function setOutputUriPrefix($outputUriPrefix)
{
$this->outputUriPrefix = $outputUriPrefix;
}
/**
* @return string
*/
public function getOutputUriPrefix()
{
return $this->outputUriPrefix;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1ExportDocumentsResponse::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1ExportDocumentsResponse');

View File

@@ -0,0 +1,76 @@
<?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 GoogleFirestoreAdminV1Field extends \Google\Model
{
protected $indexConfigType = GoogleFirestoreAdminV1IndexConfig::class;
protected $indexConfigDataType = '';
/**
* @var string
*/
public $name;
protected $ttlConfigType = GoogleFirestoreAdminV1TtlConfig::class;
protected $ttlConfigDataType = '';
/**
* @param GoogleFirestoreAdminV1IndexConfig
*/
public function setIndexConfig(GoogleFirestoreAdminV1IndexConfig $indexConfig)
{
$this->indexConfig = $indexConfig;
}
/**
* @return GoogleFirestoreAdminV1IndexConfig
*/
public function getIndexConfig()
{
return $this->indexConfig;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleFirestoreAdminV1TtlConfig
*/
public function setTtlConfig(GoogleFirestoreAdminV1TtlConfig $ttlConfig)
{
$this->ttlConfig = $ttlConfig;
}
/**
* @return GoogleFirestoreAdminV1TtlConfig
*/
public function getTtlConfig()
{
return $this->ttlConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1Field::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1Field');

View File

@@ -0,0 +1,163 @@
<?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 GoogleFirestoreAdminV1FieldOperationMetadata extends \Google\Collection
{
protected $collection_key = 'indexConfigDeltas';
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $field;
protected $indexConfigDeltasType = GoogleFirestoreAdminV1IndexConfigDelta::class;
protected $indexConfigDeltasDataType = 'array';
protected $progressBytesType = GoogleFirestoreAdminV1Progress::class;
protected $progressBytesDataType = '';
protected $progressDocumentsType = GoogleFirestoreAdminV1Progress::class;
protected $progressDocumentsDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $state;
protected $ttlConfigDeltaType = GoogleFirestoreAdminV1TtlConfigDelta::class;
protected $ttlConfigDeltaDataType = '';
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* @param GoogleFirestoreAdminV1IndexConfigDelta[]
*/
public function setIndexConfigDeltas($indexConfigDeltas)
{
$this->indexConfigDeltas = $indexConfigDeltas;
}
/**
* @return GoogleFirestoreAdminV1IndexConfigDelta[]
*/
public function getIndexConfigDeltas()
{
return $this->indexConfigDeltas;
}
/**
* @param GoogleFirestoreAdminV1Progress
*/
public function setProgressBytes(GoogleFirestoreAdminV1Progress $progressBytes)
{
$this->progressBytes = $progressBytes;
}
/**
* @return GoogleFirestoreAdminV1Progress
*/
public function getProgressBytes()
{
return $this->progressBytes;
}
/**
* @param GoogleFirestoreAdminV1Progress
*/
public function setProgressDocuments(GoogleFirestoreAdminV1Progress $progressDocuments)
{
$this->progressDocuments = $progressDocuments;
}
/**
* @return GoogleFirestoreAdminV1Progress
*/
public function getProgressDocuments()
{
return $this->progressDocuments;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param GoogleFirestoreAdminV1TtlConfigDelta
*/
public function setTtlConfigDelta(GoogleFirestoreAdminV1TtlConfigDelta $ttlConfigDelta)
{
$this->ttlConfigDelta = $ttlConfigDelta;
}
/**
* @return GoogleFirestoreAdminV1TtlConfigDelta
*/
public function getTtlConfigDelta()
{
return $this->ttlConfigDelta;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1FieldOperationMetadata::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1FieldOperationMetadata');

View File

@@ -0,0 +1,25 @@
<?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 GoogleFirestoreAdminV1FlatIndex extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1FlatIndex::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1FlatIndex');

View File

@@ -0,0 +1,25 @@
<?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 GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions');

View File

@@ -0,0 +1,167 @@
<?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 GoogleFirestoreAdminV1ImportDocumentsMetadata extends \Google\Collection
{
protected $collection_key = 'namespaceIds';
/**
* @var string[]
*/
public $collectionIds;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $inputUriPrefix;
/**
* @var string[]
*/
public $namespaceIds;
/**
* @var string
*/
public $operationState;
protected $progressBytesType = GoogleFirestoreAdminV1Progress::class;
protected $progressBytesDataType = '';
protected $progressDocumentsType = GoogleFirestoreAdminV1Progress::class;
protected $progressDocumentsDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @param string[]
*/
public function setCollectionIds($collectionIds)
{
$this->collectionIds = $collectionIds;
}
/**
* @return string[]
*/
public function getCollectionIds()
{
return $this->collectionIds;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setInputUriPrefix($inputUriPrefix)
{
$this->inputUriPrefix = $inputUriPrefix;
}
/**
* @return string
*/
public function getInputUriPrefix()
{
return $this->inputUriPrefix;
}
/**
* @param string[]
*/
public function setNamespaceIds($namespaceIds)
{
$this->namespaceIds = $namespaceIds;
}
/**
* @return string[]
*/
public function getNamespaceIds()
{
return $this->namespaceIds;
}
/**
* @param string
*/
public function setOperationState($operationState)
{
$this->operationState = $operationState;
}
/**
* @return string
*/
public function getOperationState()
{
return $this->operationState;
}
/**
* @param GoogleFirestoreAdminV1Progress
*/
public function setProgressBytes(GoogleFirestoreAdminV1Progress $progressBytes)
{
$this->progressBytes = $progressBytes;
}
/**
* @return GoogleFirestoreAdminV1Progress
*/
public function getProgressBytes()
{
return $this->progressBytes;
}
/**
* @param GoogleFirestoreAdminV1Progress
*/
public function setProgressDocuments(GoogleFirestoreAdminV1Progress $progressDocuments)
{
$this->progressDocuments = $progressDocuments;
}
/**
* @return GoogleFirestoreAdminV1Progress
*/
public function getProgressDocuments()
{
return $this->progressDocuments;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1ImportDocumentsMetadata::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1ImportDocumentsMetadata');

View File

@@ -0,0 +1,81 @@
<?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 GoogleFirestoreAdminV1ImportDocumentsRequest extends \Google\Collection
{
protected $collection_key = 'namespaceIds';
/**
* @var string[]
*/
public $collectionIds;
/**
* @var string
*/
public $inputUriPrefix;
/**
* @var string[]
*/
public $namespaceIds;
/**
* @param string[]
*/
public function setCollectionIds($collectionIds)
{
$this->collectionIds = $collectionIds;
}
/**
* @return string[]
*/
public function getCollectionIds()
{
return $this->collectionIds;
}
/**
* @param string
*/
public function setInputUriPrefix($inputUriPrefix)
{
$this->inputUriPrefix = $inputUriPrefix;
}
/**
* @return string
*/
public function getInputUriPrefix()
{
return $this->inputUriPrefix;
}
/**
* @param string[]
*/
public function setNamespaceIds($namespaceIds)
{
$this->namespaceIds = $namespaceIds;
}
/**
* @return string[]
*/
public function getNamespaceIds()
{
return $this->namespaceIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1ImportDocumentsRequest::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1ImportDocumentsRequest');

View File

@@ -0,0 +1,115 @@
<?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 GoogleFirestoreAdminV1Index extends \Google\Collection
{
protected $collection_key = 'fields';
/**
* @var string
*/
public $apiScope;
protected $fieldsType = GoogleFirestoreAdminV1IndexField::class;
protected $fieldsDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $queryScope;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setApiScope($apiScope)
{
$this->apiScope = $apiScope;
}
/**
* @return string
*/
public function getApiScope()
{
return $this->apiScope;
}
/**
* @param GoogleFirestoreAdminV1IndexField[]
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return GoogleFirestoreAdminV1IndexField[]
*/
public function getFields()
{
return $this->fields;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setQueryScope($queryScope)
{
$this->queryScope = $queryScope;
}
/**
* @return string
*/
public function getQueryScope()
{
return $this->queryScope;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1Index::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1Index');

View File

@@ -0,0 +1,97 @@
<?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 GoogleFirestoreAdminV1IndexConfig extends \Google\Collection
{
protected $collection_key = 'indexes';
/**
* @var string
*/
public $ancestorField;
protected $indexesType = GoogleFirestoreAdminV1Index::class;
protected $indexesDataType = 'array';
/**
* @var bool
*/
public $reverting;
/**
* @var bool
*/
public $usesAncestorConfig;
/**
* @param string
*/
public function setAncestorField($ancestorField)
{
$this->ancestorField = $ancestorField;
}
/**
* @return string
*/
public function getAncestorField()
{
return $this->ancestorField;
}
/**
* @param GoogleFirestoreAdminV1Index[]
*/
public function setIndexes($indexes)
{
$this->indexes = $indexes;
}
/**
* @return GoogleFirestoreAdminV1Index[]
*/
public function getIndexes()
{
return $this->indexes;
}
/**
* @param bool
*/
public function setReverting($reverting)
{
$this->reverting = $reverting;
}
/**
* @return bool
*/
public function getReverting()
{
return $this->reverting;
}
/**
* @param bool
*/
public function setUsesAncestorConfig($usesAncestorConfig)
{
$this->usesAncestorConfig = $usesAncestorConfig;
}
/**
* @return bool
*/
public function getUsesAncestorConfig()
{
return $this->usesAncestorConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1IndexConfig::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1IndexConfig');

View File

@@ -0,0 +1,60 @@
<?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 GoogleFirestoreAdminV1IndexConfigDelta extends \Google\Model
{
/**
* @var string
*/
public $changeType;
protected $indexType = GoogleFirestoreAdminV1Index::class;
protected $indexDataType = '';
/**
* @param string
*/
public function setChangeType($changeType)
{
$this->changeType = $changeType;
}
/**
* @return string
*/
public function getChangeType()
{
return $this->changeType;
}
/**
* @param GoogleFirestoreAdminV1Index
*/
public function setIndex(GoogleFirestoreAdminV1Index $index)
{
$this->index = $index;
}
/**
* @return GoogleFirestoreAdminV1Index
*/
public function getIndex()
{
return $this->index;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1IndexConfigDelta::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1IndexConfigDelta');

View File

@@ -0,0 +1,96 @@
<?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 GoogleFirestoreAdminV1IndexField extends \Google\Model
{
/**
* @var string
*/
public $arrayConfig;
/**
* @var string
*/
public $fieldPath;
/**
* @var string
*/
public $order;
protected $vectorConfigType = GoogleFirestoreAdminV1VectorConfig::class;
protected $vectorConfigDataType = '';
/**
* @param string
*/
public function setArrayConfig($arrayConfig)
{
$this->arrayConfig = $arrayConfig;
}
/**
* @return string
*/
public function getArrayConfig()
{
return $this->arrayConfig;
}
/**
* @param string
*/
public function setFieldPath($fieldPath)
{
$this->fieldPath = $fieldPath;
}
/**
* @return string
*/
public function getFieldPath()
{
return $this->fieldPath;
}
/**
* @param string
*/
public function setOrder($order)
{
$this->order = $order;
}
/**
* @return string
*/
public function getOrder()
{
return $this->order;
}
/**
* @param GoogleFirestoreAdminV1VectorConfig
*/
public function setVectorConfig(GoogleFirestoreAdminV1VectorConfig $vectorConfig)
{
$this->vectorConfig = $vectorConfig;
}
/**
* @return GoogleFirestoreAdminV1VectorConfig
*/
public function getVectorConfig()
{
return $this->vectorConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1IndexField::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1IndexField');

View File

@@ -0,0 +1,130 @@
<?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 GoogleFirestoreAdminV1IndexOperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $index;
protected $progressBytesType = GoogleFirestoreAdminV1Progress::class;
protected $progressBytesDataType = '';
protected $progressDocumentsType = GoogleFirestoreAdminV1Progress::class;
protected $progressDocumentsDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setIndex($index)
{
$this->index = $index;
}
/**
* @return string
*/
public function getIndex()
{
return $this->index;
}
/**
* @param GoogleFirestoreAdminV1Progress
*/
public function setProgressBytes(GoogleFirestoreAdminV1Progress $progressBytes)
{
$this->progressBytes = $progressBytes;
}
/**
* @return GoogleFirestoreAdminV1Progress
*/
public function getProgressBytes()
{
return $this->progressBytes;
}
/**
* @param GoogleFirestoreAdminV1Progress
*/
public function setProgressDocuments(GoogleFirestoreAdminV1Progress $progressDocuments)
{
$this->progressDocuments = $progressDocuments;
}
/**
* @return GoogleFirestoreAdminV1Progress
*/
public function getProgressDocuments()
{
return $this->progressDocuments;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1IndexOperationMetadata::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1IndexOperationMetadata');

View File

@@ -0,0 +1,43 @@
<?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 GoogleFirestoreAdminV1ListBackupSchedulesResponse extends \Google\Collection
{
protected $collection_key = 'backupSchedules';
protected $backupSchedulesType = GoogleFirestoreAdminV1BackupSchedule::class;
protected $backupSchedulesDataType = 'array';
/**
* @param GoogleFirestoreAdminV1BackupSchedule[]
*/
public function setBackupSchedules($backupSchedules)
{
$this->backupSchedules = $backupSchedules;
}
/**
* @return GoogleFirestoreAdminV1BackupSchedule[]
*/
public function getBackupSchedules()
{
return $this->backupSchedules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1ListBackupSchedulesResponse::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1ListBackupSchedulesResponse');

View File

@@ -0,0 +1,61 @@
<?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 GoogleFirestoreAdminV1ListBackupsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $backupsType = GoogleFirestoreAdminV1Backup::class;
protected $backupsDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param GoogleFirestoreAdminV1Backup[]
*/
public function setBackups($backups)
{
$this->backups = $backups;
}
/**
* @return GoogleFirestoreAdminV1Backup[]
*/
public function getBackups()
{
return $this->backups;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1ListBackupsResponse::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1ListBackupsResponse');

View File

@@ -0,0 +1,61 @@
<?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 GoogleFirestoreAdminV1ListDatabasesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $databasesType = GoogleFirestoreAdminV1Database::class;
protected $databasesDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param GoogleFirestoreAdminV1Database[]
*/
public function setDatabases($databases)
{
$this->databases = $databases;
}
/**
* @return GoogleFirestoreAdminV1Database[]
*/
public function getDatabases()
{
return $this->databases;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1ListDatabasesResponse::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1ListDatabasesResponse');

View File

@@ -0,0 +1,61 @@
<?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 GoogleFirestoreAdminV1ListFieldsResponse extends \Google\Collection
{
protected $collection_key = 'fields';
protected $fieldsType = GoogleFirestoreAdminV1Field::class;
protected $fieldsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleFirestoreAdminV1Field[]
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return GoogleFirestoreAdminV1Field[]
*/
public function getFields()
{
return $this->fields;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1ListFieldsResponse::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1ListFieldsResponse');

View File

@@ -0,0 +1,61 @@
<?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 GoogleFirestoreAdminV1ListIndexesResponse extends \Google\Collection
{
protected $collection_key = 'indexes';
protected $indexesType = GoogleFirestoreAdminV1Index::class;
protected $indexesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleFirestoreAdminV1Index[]
*/
public function setIndexes($indexes)
{
$this->indexes = $indexes;
}
/**
* @return GoogleFirestoreAdminV1Index[]
*/
public function getIndexes()
{
return $this->indexes;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1ListIndexesResponse::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1ListIndexesResponse');

View File

@@ -0,0 +1,25 @@
<?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 GoogleFirestoreAdminV1LocationMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1LocationMetadata::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1LocationMetadata');

View File

@@ -0,0 +1,62 @@
<?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 GoogleFirestoreAdminV1Progress extends \Google\Model
{
/**
* @var string
*/
public $completedWork;
/**
* @var string
*/
public $estimatedWork;
/**
* @param string
*/
public function setCompletedWork($completedWork)
{
$this->completedWork = $completedWork;
}
/**
* @return string
*/
public function getCompletedWork()
{
return $this->completedWork;
}
/**
* @param string
*/
public function setEstimatedWork($estimatedWork)
{
$this->estimatedWork = $estimatedWork;
}
/**
* @return string
*/
public function getEstimatedWork()
{
return $this->estimatedWork;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1Progress::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1Progress');

View File

@@ -0,0 +1,132 @@
<?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 GoogleFirestoreAdminV1RestoreDatabaseMetadata extends \Google\Model
{
/**
* @var string
*/
public $backup;
/**
* @var string
*/
public $database;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $operationState;
protected $progressPercentageType = GoogleFirestoreAdminV1Progress::class;
protected $progressPercentageDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @param string
*/
public function setBackup($backup)
{
$this->backup = $backup;
}
/**
* @return string
*/
public function getBackup()
{
return $this->backup;
}
/**
* @param string
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setOperationState($operationState)
{
$this->operationState = $operationState;
}
/**
* @return string
*/
public function getOperationState()
{
return $this->operationState;
}
/**
* @param GoogleFirestoreAdminV1Progress
*/
public function setProgressPercentage(GoogleFirestoreAdminV1Progress $progressPercentage)
{
$this->progressPercentage = $progressPercentage;
}
/**
* @return GoogleFirestoreAdminV1Progress
*/
public function getProgressPercentage()
{
return $this->progressPercentage;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1RestoreDatabaseMetadata::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1RestoreDatabaseMetadata');

View File

@@ -0,0 +1,78 @@
<?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 GoogleFirestoreAdminV1RestoreDatabaseRequest extends \Google\Model
{
/**
* @var string
*/
public $backup;
/**
* @var string
*/
public $databaseId;
protected $encryptionConfigType = GoogleFirestoreAdminV1EncryptionConfig::class;
protected $encryptionConfigDataType = '';
/**
* @param string
*/
public function setBackup($backup)
{
$this->backup = $backup;
}
/**
* @return string
*/
public function getBackup()
{
return $this->backup;
}
/**
* @param string
*/
public function setDatabaseId($databaseId)
{
$this->databaseId = $databaseId;
}
/**
* @return string
*/
public function getDatabaseId()
{
return $this->databaseId;
}
/**
* @param GoogleFirestoreAdminV1EncryptionConfig
*/
public function setEncryptionConfig(GoogleFirestoreAdminV1EncryptionConfig $encryptionConfig)
{
$this->encryptionConfig = $encryptionConfig;
}
/**
* @return GoogleFirestoreAdminV1EncryptionConfig
*/
public function getEncryptionConfig()
{
return $this->encryptionConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1RestoreDatabaseRequest::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1RestoreDatabaseRequest');

View File

@@ -0,0 +1,25 @@
<?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 GoogleFirestoreAdminV1SourceEncryptionOptions extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1SourceEncryptionOptions::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1SourceEncryptionOptions');

View File

@@ -0,0 +1,60 @@
<?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 GoogleFirestoreAdminV1SourceInfo extends \Google\Model
{
protected $backupType = GoogleFirestoreAdminV1BackupSource::class;
protected $backupDataType = '';
/**
* @var string
*/
public $operation;
/**
* @param GoogleFirestoreAdminV1BackupSource
*/
public function setBackup(GoogleFirestoreAdminV1BackupSource $backup)
{
$this->backup = $backup;
}
/**
* @return GoogleFirestoreAdminV1BackupSource
*/
public function getBackup()
{
return $this->backup;
}
/**
* @param string
*/
public function setOperation($operation)
{
$this->operation = $operation;
}
/**
* @return string
*/
public function getOperation()
{
return $this->operation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1SourceInfo::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1SourceInfo');

View File

@@ -0,0 +1,80 @@
<?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 GoogleFirestoreAdminV1Stats extends \Google\Model
{
/**
* @var string
*/
public $documentCount;
/**
* @var string
*/
public $indexCount;
/**
* @var string
*/
public $sizeBytes;
/**
* @param string
*/
public function setDocumentCount($documentCount)
{
$this->documentCount = $documentCount;
}
/**
* @return string
*/
public function getDocumentCount()
{
return $this->documentCount;
}
/**
* @param string
*/
public function setIndexCount($indexCount)
{
$this->indexCount = $indexCount;
}
/**
* @return string
*/
public function getIndexCount()
{
return $this->indexCount;
}
/**
* @param string
*/
public function setSizeBytes($sizeBytes)
{
$this->sizeBytes = $sizeBytes;
}
/**
* @return string
*/
public function getSizeBytes()
{
return $this->sizeBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1Stats::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1Stats');

View File

@@ -0,0 +1,44 @@
<?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 GoogleFirestoreAdminV1TtlConfig extends \Google\Model
{
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1TtlConfig::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1TtlConfig');

View File

@@ -0,0 +1,44 @@
<?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 GoogleFirestoreAdminV1TtlConfigDelta extends \Google\Model
{
/**
* @var string
*/
public $changeType;
/**
* @param string
*/
public function setChangeType($changeType)
{
$this->changeType = $changeType;
}
/**
* @return string
*/
public function getChangeType()
{
return $this->changeType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1TtlConfigDelta::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1TtlConfigDelta');

View File

@@ -0,0 +1,25 @@
<?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 GoogleFirestoreAdminV1UpdateDatabaseMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1UpdateDatabaseMetadata::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1UpdateDatabaseMetadata');

View File

@@ -0,0 +1,60 @@
<?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 GoogleFirestoreAdminV1VectorConfig extends \Google\Model
{
/**
* @var int
*/
public $dimension;
protected $flatType = GoogleFirestoreAdminV1FlatIndex::class;
protected $flatDataType = '';
/**
* @param int
*/
public function setDimension($dimension)
{
$this->dimension = $dimension;
}
/**
* @return int
*/
public function getDimension()
{
return $this->dimension;
}
/**
* @param GoogleFirestoreAdminV1FlatIndex
*/
public function setFlat(GoogleFirestoreAdminV1FlatIndex $flat)
{
$this->flat = $flat;
}
/**
* @return GoogleFirestoreAdminV1FlatIndex
*/
public function getFlat()
{
return $this->flat;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1VectorConfig::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1VectorConfig');

View File

@@ -0,0 +1,44 @@
<?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 GoogleFirestoreAdminV1WeeklyRecurrence extends \Google\Model
{
/**
* @var string
*/
public $day;
/**
* @param string
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return string
*/
public function getDay()
{
return $this->day;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirestoreAdminV1WeeklyRecurrence::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1WeeklyRecurrence');

View File

@@ -0,0 +1,25 @@
<?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 GoogleLongrunningCancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleLongrunningCancelOperationRequest::class, 'Google_Service_Firestore_GoogleLongrunningCancelOperationRequest');

View File

@@ -0,0 +1,61 @@
<?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 GoogleLongrunningListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = GoogleLongrunningOperation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleLongrunningOperation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return GoogleLongrunningOperation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleLongrunningListOperationsResponse::class, 'Google_Service_Firestore_GoogleLongrunningListOperationsResponse');

View File

@@ -0,0 +1,114 @@
<?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 GoogleLongrunningOperation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleLongrunningOperation::class, 'Google_Service_Firestore_GoogleLongrunningOperation');

View File

@@ -0,0 +1,44 @@
<?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 LatLng extends \Google\Model
{
public $latitude;
public $longitude;
public function setLatitude($latitude)
{
$this->latitude = $latitude;
}
public function getLatitude()
{
return $this->latitude;
}
public function setLongitude($longitude)
{
$this->longitude = $longitude;
}
public function getLongitude()
{
return $this->longitude;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LatLng::class, 'Google_Service_Firestore_LatLng');

View File

@@ -0,0 +1,80 @@
<?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 ListCollectionIdsRequest extends \Google\Model
{
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
/**
* @var string
*/
public $readTime;
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* @param string
*/
public function setReadTime($readTime)
{
$this->readTime = $readTime;
}
/**
* @return string
*/
public function getReadTime()
{
return $this->readTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListCollectionIdsRequest::class, 'Google_Service_Firestore_ListCollectionIdsRequest');

View File

@@ -0,0 +1,63 @@
<?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 ListCollectionIdsResponse extends \Google\Collection
{
protected $collection_key = 'collectionIds';
/**
* @var string[]
*/
public $collectionIds;
/**
* @var string
*/
public $nextPageToken;
/**
* @param string[]
*/
public function setCollectionIds($collectionIds)
{
$this->collectionIds = $collectionIds;
}
/**
* @return string[]
*/
public function getCollectionIds()
{
return $this->collectionIds;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListCollectionIdsResponse::class, 'Google_Service_Firestore_ListCollectionIdsResponse');

View File

@@ -0,0 +1,61 @@
<?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 ListDocumentsResponse extends \Google\Collection
{
protected $collection_key = 'documents';
protected $documentsType = Document::class;
protected $documentsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Document[]
*/
public function setDocuments($documents)
{
$this->documents = $documents;
}
/**
* @return Document[]
*/
public function getDocuments()
{
return $this->documents;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListDocumentsResponse::class, 'Google_Service_Firestore_ListDocumentsResponse');

View File

@@ -0,0 +1,61 @@
<?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 ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_Firestore_ListLocationsResponse');

View File

@@ -0,0 +1,78 @@
<?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 ListenRequest extends \Google\Model
{
protected $addTargetType = Target::class;
protected $addTargetDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var int
*/
public $removeTarget;
/**
* @param Target
*/
public function setAddTarget(Target $addTarget)
{
$this->addTarget = $addTarget;
}
/**
* @return Target
*/
public function getAddTarget()
{
return $this->addTarget;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param int
*/
public function setRemoveTarget($removeTarget)
{
$this->removeTarget = $removeTarget;
}
/**
* @return int
*/
public function getRemoveTarget()
{
return $this->removeTarget;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListenRequest::class, 'Google_Service_Firestore_ListenRequest');

View File

@@ -0,0 +1,106 @@
<?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 ListenResponse extends \Google\Model
{
protected $documentChangeType = DocumentChange::class;
protected $documentChangeDataType = '';
protected $documentDeleteType = DocumentDelete::class;
protected $documentDeleteDataType = '';
protected $documentRemoveType = DocumentRemove::class;
protected $documentRemoveDataType = '';
protected $filterType = ExistenceFilter::class;
protected $filterDataType = '';
protected $targetChangeType = TargetChange::class;
protected $targetChangeDataType = '';
/**
* @param DocumentChange
*/
public function setDocumentChange(DocumentChange $documentChange)
{
$this->documentChange = $documentChange;
}
/**
* @return DocumentChange
*/
public function getDocumentChange()
{
return $this->documentChange;
}
/**
* @param DocumentDelete
*/
public function setDocumentDelete(DocumentDelete $documentDelete)
{
$this->documentDelete = $documentDelete;
}
/**
* @return DocumentDelete
*/
public function getDocumentDelete()
{
return $this->documentDelete;
}
/**
* @param DocumentRemove
*/
public function setDocumentRemove(DocumentRemove $documentRemove)
{
$this->documentRemove = $documentRemove;
}
/**
* @return DocumentRemove
*/
public function getDocumentRemove()
{
return $this->documentRemove;
}
/**
* @param ExistenceFilter
*/
public function setFilter(ExistenceFilter $filter)
{
$this->filter = $filter;
}
/**
* @return ExistenceFilter
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param TargetChange
*/
public function setTargetChange(TargetChange $targetChange)
{
$this->targetChange = $targetChange;
}
/**
* @return TargetChange
*/
public function getTargetChange()
{
return $this->targetChange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListenResponse::class, 'Google_Service_Firestore_ListenResponse');

View File

@@ -0,0 +1,116 @@
<?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 Location extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $locationId;
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_Firestore_Location');

View File

@@ -0,0 +1,42 @@
<?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 MapValue extends \Google\Model
{
protected $fieldsType = Value::class;
protected $fieldsDataType = 'map';
/**
* @param Value[]
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return Value[]
*/
public function getFields()
{
return $this->fields;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MapValue::class, 'Google_Service_Firestore_MapValue');

View File

@@ -0,0 +1,60 @@
<?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 Order extends \Google\Model
{
/**
* @var string
*/
public $direction;
protected $fieldType = FieldReference::class;
protected $fieldDataType = '';
/**
* @param string
*/
public function setDirection($direction)
{
$this->direction = $direction;
}
/**
* @return string
*/
public function getDirection()
{
return $this->direction;
}
/**
* @param FieldReference
*/
public function setField(FieldReference $field)
{
$this->field = $field;
}
/**
* @return FieldReference
*/
public function getField()
{
return $this->field;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Order::class, 'Google_Service_Firestore_Order');

View File

@@ -0,0 +1,114 @@
<?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 PartitionQueryRequest extends \Google\Model
{
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
/**
* @var string
*/
public $partitionCount;
/**
* @var string
*/
public $readTime;
protected $structuredQueryType = StructuredQuery::class;
protected $structuredQueryDataType = '';
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* @param string
*/
public function setPartitionCount($partitionCount)
{
$this->partitionCount = $partitionCount;
}
/**
* @return string
*/
public function getPartitionCount()
{
return $this->partitionCount;
}
/**
* @param string
*/
public function setReadTime($readTime)
{
$this->readTime = $readTime;
}
/**
* @return string
*/
public function getReadTime()
{
return $this->readTime;
}
/**
* @param 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(PartitionQueryRequest::class, 'Google_Service_Firestore_PartitionQueryRequest');

View File

@@ -0,0 +1,61 @@
<?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 PartitionQueryResponse extends \Google\Collection
{
protected $collection_key = 'partitions';
/**
* @var string
*/
public $nextPageToken;
protected $partitionsType = Cursor::class;
protected $partitionsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Cursor[]
*/
public function setPartitions($partitions)
{
$this->partitions = $partitions;
}
/**
* @return Cursor[]
*/
public function getPartitions()
{
return $this->partitions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PartitionQueryResponse::class, 'Google_Service_Firestore_PartitionQueryResponse');

View File

@@ -0,0 +1,45 @@
<?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 PlanSummary extends \Google\Collection
{
protected $collection_key = 'indexesUsed';
/**
* @var array[]
*/
public $indexesUsed;
/**
* @param array[]
*/
public function setIndexesUsed($indexesUsed)
{
$this->indexesUsed = $indexesUsed;
}
/**
* @return array[]
*/
public function getIndexesUsed()
{
return $this->indexesUsed;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PlanSummary::class, 'Google_Service_Firestore_PlanSummary');

View File

@@ -0,0 +1,62 @@
<?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 Precondition extends \Google\Model
{
/**
* @var bool
*/
public $exists;
/**
* @var string
*/
public $updateTime;
/**
* @param bool
*/
public function setExists($exists)
{
$this->exists = $exists;
}
/**
* @return bool
*/
public function getExists()
{
return $this->exists;
}
/**
* @param string
*/
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(Precondition::class, 'Google_Service_Firestore_Precondition');

View File

@@ -0,0 +1,43 @@
<?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 Projection extends \Google\Collection
{
protected $collection_key = 'fields';
protected $fieldsType = FieldReference::class;
protected $fieldsDataType = 'array';
/**
* @param FieldReference[]
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return FieldReference[]
*/
public function getFields()
{
return $this->fields;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projection::class, 'Google_Service_Firestore_Projection');

View File

@@ -0,0 +1,44 @@
<?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 QueryPlan extends \Google\Model
{
/**
* @var array[]
*/
public $planInfo;
/**
* @param array[]
*/
public function setPlanInfo($planInfo)
{
$this->planInfo = $planInfo;
}
/**
* @return array[]
*/
public function getPlanInfo()
{
return $this->planInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryPlan::class, 'Google_Service_Firestore_QueryPlan');

View File

@@ -0,0 +1,60 @@
<?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 QueryTarget extends \Google\Model
{
/**
* @var string
*/
public $parent;
protected $structuredQueryType = StructuredQuery::class;
protected $structuredQueryDataType = '';
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param 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(QueryTarget::class, 'Google_Service_Firestore_QueryTarget');

Some files were not shown because too many files have changed in this diff Show More