Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const CloudPlatformScope + const DatastoreScope + type ArrayValue struct + ForceSendFields []string + NullFields []string + Values []*Value + func (s *ArrayValue) MarshalJSON() ([]byte, error) + type BatchGetDocumentsRequest struct + Documents []string + ForceSendFields []string + Mask *DocumentMask + NewTransaction *TransactionOptions + NullFields []string + ReadTime string + Transaction string + func (s *BatchGetDocumentsRequest) MarshalJSON() ([]byte, error) + type BatchGetDocumentsResponse struct + ForceSendFields []string + Found *Document + Missing string + NullFields []string + ReadTime string + Transaction string + func (s *BatchGetDocumentsResponse) MarshalJSON() ([]byte, error) + type BatchWriteRequest struct + ForceSendFields []string + Labels map[string]string + NullFields []string + Writes []*Write + func (s *BatchWriteRequest) MarshalJSON() ([]byte, error) + type BatchWriteResponse struct + ForceSendFields []string + NullFields []string + Status []*Status + WriteResults []*WriteResult + func (s *BatchWriteResponse) MarshalJSON() ([]byte, error) + type BeginTransactionRequest struct + ForceSendFields []string + NullFields []string + Options *TransactionOptions + func (s *BeginTransactionRequest) MarshalJSON() ([]byte, error) + type BeginTransactionResponse struct + ForceSendFields []string + NullFields []string + Transaction string + func (s *BeginTransactionResponse) MarshalJSON() ([]byte, error) + type CollectionSelector struct + AllDescendants bool + CollectionId string + ForceSendFields []string + NullFields []string + func (s *CollectionSelector) MarshalJSON() ([]byte, error) + type CommitRequest struct + ForceSendFields []string + NullFields []string + Transaction string + Writes []*Write + func (s *CommitRequest) MarshalJSON() ([]byte, error) + type CommitResponse struct + CommitTime string + ForceSendFields []string + NullFields []string + WriteResults []*WriteResult + func (s *CommitResponse) MarshalJSON() ([]byte, error) + type CompositeFilter struct + Filters []*Filter + ForceSendFields []string + NullFields []string + Op string + func (s *CompositeFilter) MarshalJSON() ([]byte, error) + type Cursor struct + Before bool + ForceSendFields []string + NullFields []string + Values []*Value + func (s *Cursor) MarshalJSON() ([]byte, error) + type Document struct + CreateTime string + Fields map[string]Value + ForceSendFields []string + Name string + NullFields []string + UpdateTime string + func (s *Document) MarshalJSON() ([]byte, error) + type DocumentChange struct + Document *Document + ForceSendFields []string + NullFields []string + RemovedTargetIds []int64 + TargetIds []int64 + func (s *DocumentChange) MarshalJSON() ([]byte, error) + type DocumentDelete struct + Document string + ForceSendFields []string + NullFields []string + ReadTime string + RemovedTargetIds []int64 + func (s *DocumentDelete) MarshalJSON() ([]byte, error) + type DocumentMask struct + FieldPaths []string + ForceSendFields []string + NullFields []string + func (s *DocumentMask) MarshalJSON() ([]byte, error) + type DocumentRemove struct + Document string + ForceSendFields []string + NullFields []string + ReadTime string + RemovedTargetIds []int64 + func (s *DocumentRemove) MarshalJSON() ([]byte, error) + type DocumentTransform struct + Document string + FieldTransforms []*FieldTransform + ForceSendFields []string + NullFields []string + func (s *DocumentTransform) MarshalJSON() ([]byte, error) + type DocumentsTarget struct + Documents []string + ForceSendFields []string + NullFields []string + func (s *DocumentsTarget) MarshalJSON() ([]byte, error) + type Empty struct + type ExistenceFilter struct + Count int64 + ForceSendFields []string + NullFields []string + TargetId int64 + func (s *ExistenceFilter) MarshalJSON() ([]byte, error) + type FieldFilter struct + Field *FieldReference + ForceSendFields []string + NullFields []string + Op string + Value *Value + func (s *FieldFilter) MarshalJSON() ([]byte, error) + type FieldReference struct + FieldPath string + ForceSendFields []string + NullFields []string + func (s *FieldReference) MarshalJSON() ([]byte, error) + type FieldTransform struct + AppendMissingElements *ArrayValue + FieldPath string + ForceSendFields []string + Increment *Value + Maximum *Value + Minimum *Value + NullFields []string + RemoveAllFromArray *ArrayValue + SetToServerValue string + func (s *FieldTransform) MarshalJSON() ([]byte, error) + type Filter struct + CompositeFilter *CompositeFilter + FieldFilter *FieldFilter + ForceSendFields []string + NullFields []string + UnaryFilter *UnaryFilter + func (s *Filter) MarshalJSON() ([]byte, error) + type GoogleFirestoreAdminV1beta1ExportDocumentsMetadata struct + CollectionIds []string + EndTime string + ForceSendFields []string + NullFields []string + OperationState string + OutputUriPrefix string + ProgressBytes *GoogleFirestoreAdminV1beta1Progress + ProgressDocuments *GoogleFirestoreAdminV1beta1Progress + StartTime string + func (s *GoogleFirestoreAdminV1beta1ExportDocumentsMetadata) MarshalJSON() ([]byte, error) + type GoogleFirestoreAdminV1beta1ExportDocumentsRequest struct + CollectionIds []string + ForceSendFields []string + NullFields []string + OutputUriPrefix string + func (s *GoogleFirestoreAdminV1beta1ExportDocumentsRequest) MarshalJSON() ([]byte, error) + type GoogleFirestoreAdminV1beta1ExportDocumentsResponse struct + ForceSendFields []string + NullFields []string + OutputUriPrefix string + func (s *GoogleFirestoreAdminV1beta1ExportDocumentsResponse) MarshalJSON() ([]byte, error) + type GoogleFirestoreAdminV1beta1ImportDocumentsMetadata struct + CollectionIds []string + EndTime string + ForceSendFields []string + InputUriPrefix string + NullFields []string + OperationState string + ProgressBytes *GoogleFirestoreAdminV1beta1Progress + ProgressDocuments *GoogleFirestoreAdminV1beta1Progress + StartTime string + func (s *GoogleFirestoreAdminV1beta1ImportDocumentsMetadata) MarshalJSON() ([]byte, error) + type GoogleFirestoreAdminV1beta1ImportDocumentsRequest struct + CollectionIds []string + ForceSendFields []string + InputUriPrefix string + NullFields []string + func (s *GoogleFirestoreAdminV1beta1ImportDocumentsRequest) MarshalJSON() ([]byte, error) + type GoogleFirestoreAdminV1beta1Index struct + CollectionId string + Fields []*GoogleFirestoreAdminV1beta1IndexField + ForceSendFields []string + Name string + NullFields []string + State string + func (s *GoogleFirestoreAdminV1beta1Index) MarshalJSON() ([]byte, error) + type GoogleFirestoreAdminV1beta1IndexField struct + FieldPath string + ForceSendFields []string + Mode string + NullFields []string + func (s *GoogleFirestoreAdminV1beta1IndexField) MarshalJSON() ([]byte, error) + type GoogleFirestoreAdminV1beta1IndexOperationMetadata struct + Cancelled bool + DocumentProgress *GoogleFirestoreAdminV1beta1Progress + EndTime string + ForceSendFields []string + Index string + NullFields []string + OperationType string + StartTime string + func (s *GoogleFirestoreAdminV1beta1IndexOperationMetadata) MarshalJSON() ([]byte, error) + type GoogleFirestoreAdminV1beta1ListIndexesResponse struct + ForceSendFields []string + Indexes []*GoogleFirestoreAdminV1beta1Index + NextPageToken string + NullFields []string + func (s *GoogleFirestoreAdminV1beta1ListIndexesResponse) MarshalJSON() ([]byte, error) + type GoogleFirestoreAdminV1beta1LocationMetadata struct + type GoogleFirestoreAdminV1beta1Progress struct + ForceSendFields []string + NullFields []string + WorkCompleted int64 + WorkEstimated int64 + func (s *GoogleFirestoreAdminV1beta1Progress) MarshalJSON() ([]byte, error) + type GoogleLongrunningOperation struct + Done bool + Error *Status + ForceSendFields []string + Metadata googleapi.RawMessage + Name string + NullFields []string + Response googleapi.RawMessage + func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error) + type LatLng struct + ForceSendFields []string + Latitude float64 + Longitude float64 + NullFields []string + func (s *LatLng) MarshalJSON() ([]byte, error) + func (s *LatLng) UnmarshalJSON(data []byte) error + type ListCollectionIdsRequest struct + ForceSendFields []string + NullFields []string + PageSize int64 + PageToken string + func (s *ListCollectionIdsRequest) MarshalJSON() ([]byte, error) + type ListCollectionIdsResponse struct + CollectionIds []string + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListCollectionIdsResponse) MarshalJSON() ([]byte, error) + type ListDocumentsResponse struct + Documents []*Document + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListDocumentsResponse) MarshalJSON() ([]byte, error) + type ListenRequest struct + AddTarget *Target + ForceSendFields []string + Labels map[string]string + NullFields []string + RemoveTarget int64 + func (s *ListenRequest) MarshalJSON() ([]byte, error) + type ListenResponse struct + DocumentChange *DocumentChange + DocumentDelete *DocumentDelete + DocumentRemove *DocumentRemove + Filter *ExistenceFilter + ForceSendFields []string + NullFields []string + TargetChange *TargetChange + func (s *ListenResponse) MarshalJSON() ([]byte, error) + type MapValue struct + Fields map[string]Value + ForceSendFields []string + NullFields []string + func (s *MapValue) MarshalJSON() ([]byte, error) + type Order struct + Direction string + Field *FieldReference + ForceSendFields []string + NullFields []string + func (s *Order) MarshalJSON() ([]byte, error) + type PartitionQueryRequest struct + ForceSendFields []string + NullFields []string + PageSize int64 + PageToken string + PartitionCount int64 + StructuredQuery *StructuredQuery + func (s *PartitionQueryRequest) MarshalJSON() ([]byte, error) + type PartitionQueryResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Partitions []*Cursor + func (s *PartitionQueryResponse) MarshalJSON() ([]byte, error) + type Precondition struct + Exists bool + ForceSendFields []string + NullFields []string + UpdateTime string + func (s *Precondition) MarshalJSON() ([]byte, error) + type Projection struct + Fields []*FieldReference + ForceSendFields []string + NullFields []string + func (s *Projection) MarshalJSON() ([]byte, error) + type ProjectsDatabasesDocumentsBatchGetCall struct + func (c *ProjectsDatabasesDocumentsBatchGetCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsBatchGetCall + func (c *ProjectsDatabasesDocumentsBatchGetCall) Do(opts ...googleapi.CallOption) (*BatchGetDocumentsResponse, error) + func (c *ProjectsDatabasesDocumentsBatchGetCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsBatchGetCall + func (c *ProjectsDatabasesDocumentsBatchGetCall) Header() http.Header + type ProjectsDatabasesDocumentsBatchWriteCall struct + func (c *ProjectsDatabasesDocumentsBatchWriteCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsBatchWriteCall + func (c *ProjectsDatabasesDocumentsBatchWriteCall) Do(opts ...googleapi.CallOption) (*BatchWriteResponse, error) + func (c *ProjectsDatabasesDocumentsBatchWriteCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsBatchWriteCall + func (c *ProjectsDatabasesDocumentsBatchWriteCall) Header() http.Header + type ProjectsDatabasesDocumentsBeginTransactionCall struct + func (c *ProjectsDatabasesDocumentsBeginTransactionCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsBeginTransactionCall + func (c *ProjectsDatabasesDocumentsBeginTransactionCall) Do(opts ...googleapi.CallOption) (*BeginTransactionResponse, error) + func (c *ProjectsDatabasesDocumentsBeginTransactionCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsBeginTransactionCall + func (c *ProjectsDatabasesDocumentsBeginTransactionCall) Header() http.Header + type ProjectsDatabasesDocumentsCommitCall struct + func (c *ProjectsDatabasesDocumentsCommitCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsCommitCall + func (c *ProjectsDatabasesDocumentsCommitCall) Do(opts ...googleapi.CallOption) (*CommitResponse, error) + func (c *ProjectsDatabasesDocumentsCommitCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsCommitCall + func (c *ProjectsDatabasesDocumentsCommitCall) Header() http.Header + type ProjectsDatabasesDocumentsCreateDocumentCall struct + func (c *ProjectsDatabasesDocumentsCreateDocumentCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsCreateDocumentCall + func (c *ProjectsDatabasesDocumentsCreateDocumentCall) Do(opts ...googleapi.CallOption) (*Document, error) + func (c *ProjectsDatabasesDocumentsCreateDocumentCall) DocumentId(documentId string) *ProjectsDatabasesDocumentsCreateDocumentCall + func (c *ProjectsDatabasesDocumentsCreateDocumentCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsCreateDocumentCall + func (c *ProjectsDatabasesDocumentsCreateDocumentCall) Header() http.Header + func (c *ProjectsDatabasesDocumentsCreateDocumentCall) MaskFieldPaths(maskFieldPaths ...string) *ProjectsDatabasesDocumentsCreateDocumentCall + type ProjectsDatabasesDocumentsDeleteCall struct + func (c *ProjectsDatabasesDocumentsDeleteCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsDeleteCall + func (c *ProjectsDatabasesDocumentsDeleteCall) CurrentDocumentExists(currentDocumentExists bool) *ProjectsDatabasesDocumentsDeleteCall + func (c *ProjectsDatabasesDocumentsDeleteCall) CurrentDocumentUpdateTime(currentDocumentUpdateTime string) *ProjectsDatabasesDocumentsDeleteCall + func (c *ProjectsDatabasesDocumentsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsDatabasesDocumentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsDeleteCall + func (c *ProjectsDatabasesDocumentsDeleteCall) Header() http.Header + type ProjectsDatabasesDocumentsGetCall struct + func (c *ProjectsDatabasesDocumentsGetCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsGetCall + func (c *ProjectsDatabasesDocumentsGetCall) Do(opts ...googleapi.CallOption) (*Document, error) + func (c *ProjectsDatabasesDocumentsGetCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsGetCall + func (c *ProjectsDatabasesDocumentsGetCall) Header() http.Header + func (c *ProjectsDatabasesDocumentsGetCall) IfNoneMatch(entityTag string) *ProjectsDatabasesDocumentsGetCall + func (c *ProjectsDatabasesDocumentsGetCall) MaskFieldPaths(maskFieldPaths ...string) *ProjectsDatabasesDocumentsGetCall + func (c *ProjectsDatabasesDocumentsGetCall) ReadTime(readTime string) *ProjectsDatabasesDocumentsGetCall + func (c *ProjectsDatabasesDocumentsGetCall) Transaction(transaction string) *ProjectsDatabasesDocumentsGetCall + type ProjectsDatabasesDocumentsListCall struct + func (c *ProjectsDatabasesDocumentsListCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsListCall + func (c *ProjectsDatabasesDocumentsListCall) Do(opts ...googleapi.CallOption) (*ListDocumentsResponse, error) + func (c *ProjectsDatabasesDocumentsListCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsListCall + func (c *ProjectsDatabasesDocumentsListCall) Header() http.Header + func (c *ProjectsDatabasesDocumentsListCall) IfNoneMatch(entityTag string) *ProjectsDatabasesDocumentsListCall + func (c *ProjectsDatabasesDocumentsListCall) MaskFieldPaths(maskFieldPaths ...string) *ProjectsDatabasesDocumentsListCall + func (c *ProjectsDatabasesDocumentsListCall) OrderBy(orderBy string) *ProjectsDatabasesDocumentsListCall + func (c *ProjectsDatabasesDocumentsListCall) PageSize(pageSize int64) *ProjectsDatabasesDocumentsListCall + func (c *ProjectsDatabasesDocumentsListCall) PageToken(pageToken string) *ProjectsDatabasesDocumentsListCall + func (c *ProjectsDatabasesDocumentsListCall) Pages(ctx context.Context, f func(*ListDocumentsResponse) error) error + func (c *ProjectsDatabasesDocumentsListCall) ReadTime(readTime string) *ProjectsDatabasesDocumentsListCall + func (c *ProjectsDatabasesDocumentsListCall) ShowMissing(showMissing bool) *ProjectsDatabasesDocumentsListCall + func (c *ProjectsDatabasesDocumentsListCall) Transaction(transaction string) *ProjectsDatabasesDocumentsListCall + type ProjectsDatabasesDocumentsListCollectionIdsCall struct + func (c *ProjectsDatabasesDocumentsListCollectionIdsCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsListCollectionIdsCall + func (c *ProjectsDatabasesDocumentsListCollectionIdsCall) Do(opts ...googleapi.CallOption) (*ListCollectionIdsResponse, error) + func (c *ProjectsDatabasesDocumentsListCollectionIdsCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsListCollectionIdsCall + func (c *ProjectsDatabasesDocumentsListCollectionIdsCall) Header() http.Header + func (c *ProjectsDatabasesDocumentsListCollectionIdsCall) Pages(ctx context.Context, f func(*ListCollectionIdsResponse) error) error + type ProjectsDatabasesDocumentsListenCall struct + func (c *ProjectsDatabasesDocumentsListenCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsListenCall + func (c *ProjectsDatabasesDocumentsListenCall) Do(opts ...googleapi.CallOption) (*ListenResponse, error) + func (c *ProjectsDatabasesDocumentsListenCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsListenCall + func (c *ProjectsDatabasesDocumentsListenCall) Header() http.Header + type ProjectsDatabasesDocumentsPartitionQueryCall struct + func (c *ProjectsDatabasesDocumentsPartitionQueryCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsPartitionQueryCall + func (c *ProjectsDatabasesDocumentsPartitionQueryCall) Do(opts ...googleapi.CallOption) (*PartitionQueryResponse, error) + func (c *ProjectsDatabasesDocumentsPartitionQueryCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsPartitionQueryCall + func (c *ProjectsDatabasesDocumentsPartitionQueryCall) Header() http.Header + func (c *ProjectsDatabasesDocumentsPartitionQueryCall) Pages(ctx context.Context, f func(*PartitionQueryResponse) error) error + type ProjectsDatabasesDocumentsPatchCall struct + func (c *ProjectsDatabasesDocumentsPatchCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsPatchCall + func (c *ProjectsDatabasesDocumentsPatchCall) CurrentDocumentExists(currentDocumentExists bool) *ProjectsDatabasesDocumentsPatchCall + func (c *ProjectsDatabasesDocumentsPatchCall) CurrentDocumentUpdateTime(currentDocumentUpdateTime string) *ProjectsDatabasesDocumentsPatchCall + func (c *ProjectsDatabasesDocumentsPatchCall) Do(opts ...googleapi.CallOption) (*Document, error) + func (c *ProjectsDatabasesDocumentsPatchCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsPatchCall + func (c *ProjectsDatabasesDocumentsPatchCall) Header() http.Header + func (c *ProjectsDatabasesDocumentsPatchCall) MaskFieldPaths(maskFieldPaths ...string) *ProjectsDatabasesDocumentsPatchCall + func (c *ProjectsDatabasesDocumentsPatchCall) UpdateMaskFieldPaths(updateMaskFieldPaths ...string) *ProjectsDatabasesDocumentsPatchCall + type ProjectsDatabasesDocumentsRollbackCall struct + func (c *ProjectsDatabasesDocumentsRollbackCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsRollbackCall + func (c *ProjectsDatabasesDocumentsRollbackCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsDatabasesDocumentsRollbackCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsRollbackCall + func (c *ProjectsDatabasesDocumentsRollbackCall) Header() http.Header + type ProjectsDatabasesDocumentsRunQueryCall struct + func (c *ProjectsDatabasesDocumentsRunQueryCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsRunQueryCall + func (c *ProjectsDatabasesDocumentsRunQueryCall) Do(opts ...googleapi.CallOption) (*RunQueryResponse, error) + func (c *ProjectsDatabasesDocumentsRunQueryCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsRunQueryCall + func (c *ProjectsDatabasesDocumentsRunQueryCall) Header() http.Header + type ProjectsDatabasesDocumentsService struct + func NewProjectsDatabasesDocumentsService(s *Service) *ProjectsDatabasesDocumentsService + func (r *ProjectsDatabasesDocumentsService) BatchGet(database string, batchgetdocumentsrequest *BatchGetDocumentsRequest) *ProjectsDatabasesDocumentsBatchGetCall + func (r *ProjectsDatabasesDocumentsService) BatchWrite(database string, batchwriterequest *BatchWriteRequest) *ProjectsDatabasesDocumentsBatchWriteCall + func (r *ProjectsDatabasesDocumentsService) BeginTransaction(database string, begintransactionrequest *BeginTransactionRequest) *ProjectsDatabasesDocumentsBeginTransactionCall + func (r *ProjectsDatabasesDocumentsService) Commit(database string, commitrequest *CommitRequest) *ProjectsDatabasesDocumentsCommitCall + func (r *ProjectsDatabasesDocumentsService) CreateDocument(parent string, collectionId string, document *Document) *ProjectsDatabasesDocumentsCreateDocumentCall + func (r *ProjectsDatabasesDocumentsService) Delete(name string) *ProjectsDatabasesDocumentsDeleteCall + func (r *ProjectsDatabasesDocumentsService) Get(name string) *ProjectsDatabasesDocumentsGetCall + func (r *ProjectsDatabasesDocumentsService) List(parent string, collectionId string) *ProjectsDatabasesDocumentsListCall + func (r *ProjectsDatabasesDocumentsService) ListCollectionIds(parent string, listcollectionidsrequest *ListCollectionIdsRequest) *ProjectsDatabasesDocumentsListCollectionIdsCall + func (r *ProjectsDatabasesDocumentsService) Listen(database string, listenrequest *ListenRequest) *ProjectsDatabasesDocumentsListenCall + func (r *ProjectsDatabasesDocumentsService) PartitionQuery(parent string, partitionqueryrequest *PartitionQueryRequest) *ProjectsDatabasesDocumentsPartitionQueryCall + func (r *ProjectsDatabasesDocumentsService) Patch(name string, document *Document) *ProjectsDatabasesDocumentsPatchCall + func (r *ProjectsDatabasesDocumentsService) Rollback(database string, rollbackrequest *RollbackRequest) *ProjectsDatabasesDocumentsRollbackCall + func (r *ProjectsDatabasesDocumentsService) RunQuery(parent string, runqueryrequest *RunQueryRequest) *ProjectsDatabasesDocumentsRunQueryCall + func (r *ProjectsDatabasesDocumentsService) Write(database string, writerequest *WriteRequest) *ProjectsDatabasesDocumentsWriteCall + type ProjectsDatabasesDocumentsWriteCall struct + func (c *ProjectsDatabasesDocumentsWriteCall) Context(ctx context.Context) *ProjectsDatabasesDocumentsWriteCall + func (c *ProjectsDatabasesDocumentsWriteCall) Do(opts ...googleapi.CallOption) (*WriteResponse, error) + func (c *ProjectsDatabasesDocumentsWriteCall) Fields(s ...googleapi.Field) *ProjectsDatabasesDocumentsWriteCall + func (c *ProjectsDatabasesDocumentsWriteCall) Header() http.Header + type ProjectsDatabasesExportDocumentsCall struct + func (c *ProjectsDatabasesExportDocumentsCall) Context(ctx context.Context) *ProjectsDatabasesExportDocumentsCall + func (c *ProjectsDatabasesExportDocumentsCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) + func (c *ProjectsDatabasesExportDocumentsCall) Fields(s ...googleapi.Field) *ProjectsDatabasesExportDocumentsCall + func (c *ProjectsDatabasesExportDocumentsCall) Header() http.Header + type ProjectsDatabasesImportDocumentsCall struct + func (c *ProjectsDatabasesImportDocumentsCall) Context(ctx context.Context) *ProjectsDatabasesImportDocumentsCall + func (c *ProjectsDatabasesImportDocumentsCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) + func (c *ProjectsDatabasesImportDocumentsCall) Fields(s ...googleapi.Field) *ProjectsDatabasesImportDocumentsCall + func (c *ProjectsDatabasesImportDocumentsCall) Header() http.Header + type ProjectsDatabasesIndexesCreateCall struct + func (c *ProjectsDatabasesIndexesCreateCall) Context(ctx context.Context) *ProjectsDatabasesIndexesCreateCall + func (c *ProjectsDatabasesIndexesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) + func (c *ProjectsDatabasesIndexesCreateCall) Fields(s ...googleapi.Field) *ProjectsDatabasesIndexesCreateCall + func (c *ProjectsDatabasesIndexesCreateCall) Header() http.Header + type ProjectsDatabasesIndexesDeleteCall struct + func (c *ProjectsDatabasesIndexesDeleteCall) Context(ctx context.Context) *ProjectsDatabasesIndexesDeleteCall + func (c *ProjectsDatabasesIndexesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsDatabasesIndexesDeleteCall) Fields(s ...googleapi.Field) *ProjectsDatabasesIndexesDeleteCall + func (c *ProjectsDatabasesIndexesDeleteCall) Header() http.Header + type ProjectsDatabasesIndexesGetCall struct + func (c *ProjectsDatabasesIndexesGetCall) Context(ctx context.Context) *ProjectsDatabasesIndexesGetCall + func (c *ProjectsDatabasesIndexesGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirestoreAdminV1beta1Index, error) + func (c *ProjectsDatabasesIndexesGetCall) Fields(s ...googleapi.Field) *ProjectsDatabasesIndexesGetCall + func (c *ProjectsDatabasesIndexesGetCall) Header() http.Header + func (c *ProjectsDatabasesIndexesGetCall) IfNoneMatch(entityTag string) *ProjectsDatabasesIndexesGetCall + type ProjectsDatabasesIndexesListCall struct + func (c *ProjectsDatabasesIndexesListCall) Context(ctx context.Context) *ProjectsDatabasesIndexesListCall + func (c *ProjectsDatabasesIndexesListCall) Do(opts ...googleapi.CallOption) (*GoogleFirestoreAdminV1beta1ListIndexesResponse, error) + func (c *ProjectsDatabasesIndexesListCall) Fields(s ...googleapi.Field) *ProjectsDatabasesIndexesListCall + func (c *ProjectsDatabasesIndexesListCall) Filter(filter string) *ProjectsDatabasesIndexesListCall + func (c *ProjectsDatabasesIndexesListCall) Header() http.Header + func (c *ProjectsDatabasesIndexesListCall) IfNoneMatch(entityTag string) *ProjectsDatabasesIndexesListCall + func (c *ProjectsDatabasesIndexesListCall) PageSize(pageSize int64) *ProjectsDatabasesIndexesListCall + func (c *ProjectsDatabasesIndexesListCall) PageToken(pageToken string) *ProjectsDatabasesIndexesListCall + func (c *ProjectsDatabasesIndexesListCall) Pages(ctx context.Context, ...) error + type ProjectsDatabasesIndexesService struct + func NewProjectsDatabasesIndexesService(s *Service) *ProjectsDatabasesIndexesService + func (r *ProjectsDatabasesIndexesService) Create(parent string, ...) *ProjectsDatabasesIndexesCreateCall + func (r *ProjectsDatabasesIndexesService) Delete(name string) *ProjectsDatabasesIndexesDeleteCall + func (r *ProjectsDatabasesIndexesService) Get(name string) *ProjectsDatabasesIndexesGetCall + func (r *ProjectsDatabasesIndexesService) List(parent string) *ProjectsDatabasesIndexesListCall + type ProjectsDatabasesService struct + Documents *ProjectsDatabasesDocumentsService + Indexes *ProjectsDatabasesIndexesService + func NewProjectsDatabasesService(s *Service) *ProjectsDatabasesService + func (r *ProjectsDatabasesService) ExportDocuments(name string, ...) *ProjectsDatabasesExportDocumentsCall + func (r *ProjectsDatabasesService) ImportDocuments(name string, ...) *ProjectsDatabasesImportDocumentsCall + type ProjectsService struct + Databases *ProjectsDatabasesService + func NewProjectsService(s *Service) *ProjectsService + type QueryTarget struct + ForceSendFields []string + NullFields []string + Parent string + StructuredQuery *StructuredQuery + func (s *QueryTarget) MarshalJSON() ([]byte, error) + type ReadOnly struct + ForceSendFields []string + NullFields []string + ReadTime string + func (s *ReadOnly) MarshalJSON() ([]byte, error) + type ReadWrite struct + ForceSendFields []string + NullFields []string + RetryTransaction string + func (s *ReadWrite) MarshalJSON() ([]byte, error) + type RollbackRequest struct + ForceSendFields []string + NullFields []string + Transaction string + func (s *RollbackRequest) MarshalJSON() ([]byte, error) + type RunQueryRequest struct + ForceSendFields []string + NewTransaction *TransactionOptions + NullFields []string + ReadTime string + StructuredQuery *StructuredQuery + Transaction string + func (s *RunQueryRequest) MarshalJSON() ([]byte, error) + type RunQueryResponse struct + Document *Document + ForceSendFields []string + NullFields []string + ReadTime string + SkippedResults int64 + Transaction string + func (s *RunQueryResponse) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Projects *ProjectsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type StructuredQuery struct + EndAt *Cursor + ForceSendFields []string + From []*CollectionSelector + Limit int64 + NullFields []string + Offset int64 + OrderBy []*Order + Select *Projection + StartAt *Cursor + Where *Filter + func (s *StructuredQuery) MarshalJSON() ([]byte, error) + type Target struct + Documents *DocumentsTarget + ForceSendFields []string + NullFields []string + Once bool + Query *QueryTarget + ReadTime string + ResumeToken string + TargetId int64 + func (s *Target) MarshalJSON() ([]byte, error) + type TargetChange struct + Cause *Status + ForceSendFields []string + NullFields []string + ReadTime string + ResumeToken string + TargetChangeType string + TargetIds []int64 + func (s *TargetChange) MarshalJSON() ([]byte, error) + type TransactionOptions struct + ForceSendFields []string + NullFields []string + ReadOnly *ReadOnly + ReadWrite *ReadWrite + func (s *TransactionOptions) MarshalJSON() ([]byte, error) + type UnaryFilter struct + Field *FieldReference + ForceSendFields []string + NullFields []string + Op string + func (s *UnaryFilter) MarshalJSON() ([]byte, error) + type Value struct + ArrayValue *ArrayValue + BooleanValue bool + BytesValue string + DoubleValue float64 + ForceSendFields []string + GeoPointValue *LatLng + IntegerValue int64 + MapValue *MapValue + NullFields []string + NullValue string + ReferenceValue string + StringValue string + TimestampValue string + func (s *Value) MarshalJSON() ([]byte, error) + func (s *Value) UnmarshalJSON(data []byte) error + type Write struct + CurrentDocument *Precondition + Delete string + ForceSendFields []string + NullFields []string + Transform *DocumentTransform + Update *Document + UpdateMask *DocumentMask + UpdateTransforms []*FieldTransform + func (s *Write) MarshalJSON() ([]byte, error) + type WriteRequest struct + ForceSendFields []string + Labels map[string]string + NullFields []string + StreamId string + StreamToken string + Writes []*Write + func (s *WriteRequest) MarshalJSON() ([]byte, error) + type WriteResponse struct + CommitTime string + ForceSendFields []string + NullFields []string + StreamId string + StreamToken string + WriteResults []*WriteResult + func (s *WriteResponse) MarshalJSON() ([]byte, error) + type WriteResult struct + ForceSendFields []string + NullFields []string + TransformResults []*Value + UpdateTime string + func (s *WriteResult) MarshalJSON() ([]byte, error)