Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const CloudPlatformScope + const DatastoreScope + type AllocateIdsRequest struct + ForceSendFields []string + Keys []*Key + NullFields []string + func (s *AllocateIdsRequest) MarshalJSON() ([]byte, error) + type AllocateIdsResponse struct + ForceSendFields []string + Keys []*Key + NullFields []string + func (s *AllocateIdsResponse) MarshalJSON() ([]byte, error) + type ArrayValue struct + ForceSendFields []string + NullFields []string + Values []*Value + func (s *ArrayValue) MarshalJSON() ([]byte, error) + type BeginTransactionRequest struct + ForceSendFields []string + NullFields []string + TransactionOptions *TransactionOptions + func (s *BeginTransactionRequest) MarshalJSON() ([]byte, error) + type BeginTransactionResponse struct + ForceSendFields []string + NullFields []string + Transaction string + func (s *BeginTransactionResponse) MarshalJSON() ([]byte, error) + type CommitRequest struct + ForceSendFields []string + Mode string + Mutations []*Mutation + NullFields []string + Transaction string + func (s *CommitRequest) MarshalJSON() ([]byte, error) + type CommitResponse struct + ForceSendFields []string + IndexUpdates int64 + MutationResults []*MutationResult + NullFields []string + func (s *CommitResponse) MarshalJSON() ([]byte, error) + type CompositeFilter struct + Filters []*Filter + ForceSendFields []string + NullFields []string + Op string + func (s *CompositeFilter) MarshalJSON() ([]byte, error) + type Entity struct + ForceSendFields []string + Key *Key + NullFields []string + Properties map[string]Value + func (s *Entity) MarshalJSON() ([]byte, error) + type EntityResult struct + Cursor string + Entity *Entity + ForceSendFields []string + NullFields []string + Version int64 + func (s *EntityResult) MarshalJSON() ([]byte, error) + type Filter struct + CompositeFilter *CompositeFilter + ForceSendFields []string + NullFields []string + PropertyFilter *PropertyFilter + func (s *Filter) MarshalJSON() ([]byte, error) + type GoogleDatastoreAdminV1CommonMetadata struct + EndTime string + ForceSendFields []string + Labels map[string]string + NullFields []string + OperationType string + StartTime string + State string + func (s *GoogleDatastoreAdminV1CommonMetadata) MarshalJSON() ([]byte, error) + type GoogleDatastoreAdminV1EntityFilter struct + ForceSendFields []string + Kinds []string + NamespaceIds []string + NullFields []string + func (s *GoogleDatastoreAdminV1EntityFilter) MarshalJSON() ([]byte, error) + type GoogleDatastoreAdminV1ExportEntitiesMetadata struct + Common *GoogleDatastoreAdminV1CommonMetadata + EntityFilter *GoogleDatastoreAdminV1EntityFilter + ForceSendFields []string + NullFields []string + OutputUrlPrefix string + ProgressBytes *GoogleDatastoreAdminV1Progress + ProgressEntities *GoogleDatastoreAdminV1Progress + func (s *GoogleDatastoreAdminV1ExportEntitiesMetadata) MarshalJSON() ([]byte, error) + type GoogleDatastoreAdminV1ExportEntitiesResponse struct + ForceSendFields []string + NullFields []string + OutputUrl string + func (s *GoogleDatastoreAdminV1ExportEntitiesResponse) MarshalJSON() ([]byte, error) + type GoogleDatastoreAdminV1ImportEntitiesMetadata struct + Common *GoogleDatastoreAdminV1CommonMetadata + EntityFilter *GoogleDatastoreAdminV1EntityFilter + ForceSendFields []string + InputUrl string + NullFields []string + ProgressBytes *GoogleDatastoreAdminV1Progress + ProgressEntities *GoogleDatastoreAdminV1Progress + func (s *GoogleDatastoreAdminV1ImportEntitiesMetadata) MarshalJSON() ([]byte, error) + type GoogleDatastoreAdminV1IndexOperationMetadata struct + Common *GoogleDatastoreAdminV1CommonMetadata + ForceSendFields []string + IndexId string + NullFields []string + ProgressEntities *GoogleDatastoreAdminV1Progress + func (s *GoogleDatastoreAdminV1IndexOperationMetadata) MarshalJSON() ([]byte, error) + type GoogleDatastoreAdminV1Progress struct + ForceSendFields []string + NullFields []string + WorkCompleted int64 + WorkEstimated int64 + func (s *GoogleDatastoreAdminV1Progress) MarshalJSON() ([]byte, error) + type GoogleDatastoreAdminV1beta1CommonMetadata struct + EndTime string + ForceSendFields []string + Labels map[string]string + NullFields []string + OperationType string + StartTime string + State string + func (s *GoogleDatastoreAdminV1beta1CommonMetadata) MarshalJSON() ([]byte, error) + type GoogleDatastoreAdminV1beta1EntityFilter struct + ForceSendFields []string + Kinds []string + NamespaceIds []string + NullFields []string + func (s *GoogleDatastoreAdminV1beta1EntityFilter) MarshalJSON() ([]byte, error) + type GoogleDatastoreAdminV1beta1ExportEntitiesMetadata struct + Common *GoogleDatastoreAdminV1beta1CommonMetadata + EntityFilter *GoogleDatastoreAdminV1beta1EntityFilter + ForceSendFields []string + NullFields []string + OutputUrlPrefix string + ProgressBytes *GoogleDatastoreAdminV1beta1Progress + ProgressEntities *GoogleDatastoreAdminV1beta1Progress + func (s *GoogleDatastoreAdminV1beta1ExportEntitiesMetadata) MarshalJSON() ([]byte, error) + type GoogleDatastoreAdminV1beta1ExportEntitiesResponse struct + ForceSendFields []string + NullFields []string + OutputUrl string + func (s *GoogleDatastoreAdminV1beta1ExportEntitiesResponse) MarshalJSON() ([]byte, error) + type GoogleDatastoreAdminV1beta1ImportEntitiesMetadata struct + Common *GoogleDatastoreAdminV1beta1CommonMetadata + EntityFilter *GoogleDatastoreAdminV1beta1EntityFilter + ForceSendFields []string + InputUrl string + NullFields []string + ProgressBytes *GoogleDatastoreAdminV1beta1Progress + ProgressEntities *GoogleDatastoreAdminV1beta1Progress + func (s *GoogleDatastoreAdminV1beta1ImportEntitiesMetadata) MarshalJSON() ([]byte, error) + type GoogleDatastoreAdminV1beta1Progress struct + ForceSendFields []string + NullFields []string + WorkCompleted int64 + WorkEstimated int64 + func (s *GoogleDatastoreAdminV1beta1Progress) MarshalJSON() ([]byte, error) + type GqlQuery struct + AllowLiterals bool + ForceSendFields []string + NamedBindings map[string]GqlQueryParameter + NullFields []string + PositionalBindings []*GqlQueryParameter + QueryString string + func (s *GqlQuery) MarshalJSON() ([]byte, error) + type GqlQueryParameter struct + Cursor string + ForceSendFields []string + NullFields []string + Value *Value + func (s *GqlQueryParameter) MarshalJSON() ([]byte, error) + type Key struct + ForceSendFields []string + NullFields []string + PartitionId *PartitionId + Path []*PathElement + func (s *Key) MarshalJSON() ([]byte, error) + type KindExpression struct + ForceSendFields []string + Name string + NullFields []string + func (s *KindExpression) 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 LookupRequest struct + ForceSendFields []string + Keys []*Key + NullFields []string + ReadOptions *ReadOptions + func (s *LookupRequest) MarshalJSON() ([]byte, error) + type LookupResponse struct + Deferred []*Key + ForceSendFields []string + Found []*EntityResult + Missing []*EntityResult + NullFields []string + func (s *LookupResponse) MarshalJSON() ([]byte, error) + type Mutation struct + BaseVersion int64 + Delete *Key + ForceSendFields []string + Insert *Entity + NullFields []string + Update *Entity + Upsert *Entity + func (s *Mutation) MarshalJSON() ([]byte, error) + type MutationResult struct + ConflictDetected bool + ForceSendFields []string + Key *Key + NullFields []string + Version int64 + func (s *MutationResult) MarshalJSON() ([]byte, error) + type PartitionId struct + ForceSendFields []string + NamespaceId string + NullFields []string + ProjectId string + func (s *PartitionId) MarshalJSON() ([]byte, error) + type PathElement struct + ForceSendFields []string + Id int64 + Kind string + Name string + NullFields []string + func (s *PathElement) MarshalJSON() ([]byte, error) + type Projection struct + ForceSendFields []string + NullFields []string + Property *PropertyReference + func (s *Projection) MarshalJSON() ([]byte, error) + type ProjectsAllocateIdsCall struct + func (c *ProjectsAllocateIdsCall) Context(ctx context.Context) *ProjectsAllocateIdsCall + func (c *ProjectsAllocateIdsCall) Do(opts ...googleapi.CallOption) (*AllocateIdsResponse, error) + func (c *ProjectsAllocateIdsCall) Fields(s ...googleapi.Field) *ProjectsAllocateIdsCall + func (c *ProjectsAllocateIdsCall) Header() http.Header + type ProjectsBeginTransactionCall struct + func (c *ProjectsBeginTransactionCall) Context(ctx context.Context) *ProjectsBeginTransactionCall + func (c *ProjectsBeginTransactionCall) Do(opts ...googleapi.CallOption) (*BeginTransactionResponse, error) + func (c *ProjectsBeginTransactionCall) Fields(s ...googleapi.Field) *ProjectsBeginTransactionCall + func (c *ProjectsBeginTransactionCall) Header() http.Header + type ProjectsCommitCall struct + func (c *ProjectsCommitCall) Context(ctx context.Context) *ProjectsCommitCall + func (c *ProjectsCommitCall) Do(opts ...googleapi.CallOption) (*CommitResponse, error) + func (c *ProjectsCommitCall) Fields(s ...googleapi.Field) *ProjectsCommitCall + func (c *ProjectsCommitCall) Header() http.Header + type ProjectsLookupCall struct + func (c *ProjectsLookupCall) Context(ctx context.Context) *ProjectsLookupCall + func (c *ProjectsLookupCall) Do(opts ...googleapi.CallOption) (*LookupResponse, error) + func (c *ProjectsLookupCall) Fields(s ...googleapi.Field) *ProjectsLookupCall + func (c *ProjectsLookupCall) Header() http.Header + type ProjectsReserveIdsCall struct + func (c *ProjectsReserveIdsCall) Context(ctx context.Context) *ProjectsReserveIdsCall + func (c *ProjectsReserveIdsCall) Do(opts ...googleapi.CallOption) (*ReserveIdsResponse, error) + func (c *ProjectsReserveIdsCall) Fields(s ...googleapi.Field) *ProjectsReserveIdsCall + func (c *ProjectsReserveIdsCall) Header() http.Header + type ProjectsRollbackCall struct + func (c *ProjectsRollbackCall) Context(ctx context.Context) *ProjectsRollbackCall + func (c *ProjectsRollbackCall) Do(opts ...googleapi.CallOption) (*RollbackResponse, error) + func (c *ProjectsRollbackCall) Fields(s ...googleapi.Field) *ProjectsRollbackCall + func (c *ProjectsRollbackCall) Header() http.Header + type ProjectsRunQueryCall struct + func (c *ProjectsRunQueryCall) Context(ctx context.Context) *ProjectsRunQueryCall + func (c *ProjectsRunQueryCall) Do(opts ...googleapi.CallOption) (*RunQueryResponse, error) + func (c *ProjectsRunQueryCall) Fields(s ...googleapi.Field) *ProjectsRunQueryCall + func (c *ProjectsRunQueryCall) Header() http.Header + type ProjectsService struct + func NewProjectsService(s *Service) *ProjectsService + func (r *ProjectsService) AllocateIds(projectId string, allocateidsrequest *AllocateIdsRequest) *ProjectsAllocateIdsCall + func (r *ProjectsService) BeginTransaction(projectId string, begintransactionrequest *BeginTransactionRequest) *ProjectsBeginTransactionCall + func (r *ProjectsService) Commit(projectId string, commitrequest *CommitRequest) *ProjectsCommitCall + func (r *ProjectsService) Lookup(projectId string, lookuprequest *LookupRequest) *ProjectsLookupCall + func (r *ProjectsService) ReserveIds(projectId string, reserveidsrequest *ReserveIdsRequest) *ProjectsReserveIdsCall + func (r *ProjectsService) Rollback(projectId string, rollbackrequest *RollbackRequest) *ProjectsRollbackCall + func (r *ProjectsService) RunQuery(projectId string, runqueryrequest *RunQueryRequest) *ProjectsRunQueryCall + type PropertyFilter struct + ForceSendFields []string + NullFields []string + Op string + Property *PropertyReference + Value *Value + func (s *PropertyFilter) MarshalJSON() ([]byte, error) + type PropertyOrder struct + Direction string + ForceSendFields []string + NullFields []string + Property *PropertyReference + func (s *PropertyOrder) MarshalJSON() ([]byte, error) + type PropertyReference struct + ForceSendFields []string + Name string + NullFields []string + func (s *PropertyReference) MarshalJSON() ([]byte, error) + type Query struct + DistinctOn []*PropertyReference + EndCursor string + Filter *Filter + ForceSendFields []string + Kind []*KindExpression + Limit int64 + NullFields []string + Offset int64 + Order []*PropertyOrder + Projection []*Projection + StartCursor string + func (s *Query) MarshalJSON() ([]byte, error) + type QueryResultBatch struct + EndCursor string + EntityResultType string + EntityResults []*EntityResult + ForceSendFields []string + MoreResults string + NullFields []string + SkippedCursor string + SkippedResults int64 + SnapshotVersion int64 + func (s *QueryResultBatch) MarshalJSON() ([]byte, error) + type ReadOnly struct + type ReadOptions struct + ForceSendFields []string + NullFields []string + ReadConsistency string + Transaction string + func (s *ReadOptions) MarshalJSON() ([]byte, error) + type ReadWrite struct + ForceSendFields []string + NullFields []string + PreviousTransaction string + func (s *ReadWrite) MarshalJSON() ([]byte, error) + type ReserveIdsRequest struct + DatabaseId string + ForceSendFields []string + Keys []*Key + NullFields []string + func (s *ReserveIdsRequest) MarshalJSON() ([]byte, error) + type ReserveIdsResponse struct + type RollbackRequest struct + ForceSendFields []string + NullFields []string + Transaction string + func (s *RollbackRequest) MarshalJSON() ([]byte, error) + type RollbackResponse struct + type RunQueryRequest struct + ForceSendFields []string + GqlQuery *GqlQuery + NullFields []string + PartitionId *PartitionId + Query *Query + ReadOptions *ReadOptions + func (s *RunQueryRequest) MarshalJSON() ([]byte, error) + type RunQueryResponse struct + Batch *QueryResultBatch + ForceSendFields []string + NullFields []string + Query *Query + 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 TransactionOptions struct + ForceSendFields []string + NullFields []string + ReadOnly *ReadOnly + ReadWrite *ReadWrite + func (s *TransactionOptions) MarshalJSON() ([]byte, error) + type Value struct + ArrayValue *ArrayValue + BlobValue *string + BooleanValue *bool + DoubleValue *float64 + EntityValue *Entity + ExcludeFromIndexes bool + ForceSendFields []string + GeoPointValue *LatLng + IntegerValue *int64 + KeyValue *Key + Meaning int64 + NullFields []string + NullValue string + StringValue *string + TimestampValue *string + func (s *Value) MarshalJSON() ([]byte, error) + func (s *Value) UnmarshalJSON(data []byte) error