Documentation
¶
Index ¶
- Constants
- type Connection
- func (c *Connection) AllocateIds(datasetId string, req *pb.AllocateIdsRequest) (*pb.AllocateIdsResponse, error)
- func (c *Connection) BeginTransaction(datasetId string, req *pb.BeginTransactionRequest) (*pb.BeginTransactionResponse, error)
- func (c *Connection) Commit(datasetId string, req *pb.CommitRequest) (*pb.CommitResponse, error)
- func (c *Connection) Lookup(datasetId string, req *pb.LookupRequest) (*pb.LookupResponse, error)
- func (c *Connection) Rollback(datasetId string, req *pb.RollbackRequest) (*pb.RollbackResponse, error)
- func (c *Connection) RunQuery(datasetId string, req *pb.RunQueryRequest) (*pb.RunQueryResponse, error)
Constants ¶
View Source
const ( DatastoreScope = "https://www.googleapis.com/auth/datastore" UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.email" )
View Source
const BasePath = "https://www.googleapis.com/datastore/v1beta2/datasets/"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
Transport http.RoundTripper
}
func (*Connection) AllocateIds ¶
func (c *Connection) AllocateIds(datasetId string, req *pb.AllocateIdsRequest) (*pb.AllocateIdsResponse, error)
func (*Connection) BeginTransaction ¶
func (c *Connection) BeginTransaction(datasetId string, req *pb.BeginTransactionRequest) (*pb.BeginTransactionResponse, error)
func (*Connection) Commit ¶
func (c *Connection) Commit(datasetId string, req *pb.CommitRequest) (*pb.CommitResponse, error)
func (*Connection) Lookup ¶
func (c *Connection) Lookup(datasetId string, req *pb.LookupRequest) (*pb.LookupResponse, error)
func (*Connection) Rollback ¶
func (c *Connection) Rollback(datasetId string, req *pb.RollbackRequest) (*pb.RollbackResponse, error)
func (*Connection) RunQuery ¶
func (c *Connection) RunQuery(datasetId string, req *pb.RunQueryRequest) (*pb.RunQueryResponse, error)
Directories
¶
Path | Synopsis |
---|---|
proto
|
|
datastore_v1
Package api_services_datastore is a generated protocol buffer package.
|
Package api_services_datastore is a generated protocol buffer package. |