Class ProjectsResource
The "projects" collection of methods.
Inherited Members
Namespace: Google.Apis.Datastore.v1beta3
Assembly: Google.Apis.Datastore.v1beta3.dll
Syntax
public class ProjectsResource
Constructors
ProjectsResource(IClientService)
Constructs a new resource.
Declaration
public ProjectsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AllocateIds(AllocateIdsRequest, string)
Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted.
Declaration
public virtual ProjectsResource.AllocateIdsRequest AllocateIds(AllocateIdsRequest body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
AllocateIdsRequest | body | The body of the request. |
string | projectId | Required. The ID of the project against which to make the request. |
Returns
Type | Description |
---|---|
ProjectsResource.AllocateIdsRequest |
BeginTransaction(BeginTransactionRequest, string)
Begins a new transaction.
Declaration
public virtual ProjectsResource.BeginTransactionRequest BeginTransaction(BeginTransactionRequest body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
BeginTransactionRequest | body | The body of the request. |
string | projectId | Required. The ID of the project against which to make the request. |
Returns
Type | Description |
---|---|
ProjectsResource.BeginTransactionRequest |
Commit(CommitRequest, string)
Commits a transaction, optionally creating, deleting or modifying some entities.
Declaration
public virtual ProjectsResource.CommitRequest Commit(CommitRequest body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
CommitRequest | body | The body of the request. |
string | projectId | Required. The ID of the project against which to make the request. |
Returns
Type | Description |
---|---|
ProjectsResource.CommitRequest |
Lookup(LookupRequest, string)
Looks up entities by key.
Declaration
public virtual ProjectsResource.LookupRequest Lookup(LookupRequest body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
LookupRequest | body | The body of the request. |
string | projectId | Required. The ID of the project against which to make the request. |
Returns
Type | Description |
---|---|
ProjectsResource.LookupRequest |
ReserveIds(ReserveIdsRequest, string)
Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore.
Declaration
public virtual ProjectsResource.ReserveIdsRequest ReserveIds(ReserveIdsRequest body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
ReserveIdsRequest | body | The body of the request. |
string | projectId | Required. The ID of the project against which to make the request. |
Returns
Type | Description |
---|---|
ProjectsResource.ReserveIdsRequest |
Rollback(RollbackRequest, string)
Rolls back a transaction.
Declaration
public virtual ProjectsResource.RollbackRequest Rollback(RollbackRequest body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
RollbackRequest | body | The body of the request. |
string | projectId | Required. The ID of the project against which to make the request. |
Returns
Type | Description |
---|---|
ProjectsResource.RollbackRequest |
RunAggregationQuery(RunAggregationQueryRequest, string)
Runs an aggregation query.
Declaration
public virtual ProjectsResource.RunAggregationQueryRequest RunAggregationQuery(RunAggregationQueryRequest body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
RunAggregationQueryRequest | body | The body of the request. |
string | projectId | Required. The ID of the project against which to make the request. |
Returns
Type | Description |
---|---|
ProjectsResource.RunAggregationQueryRequest |
RunQuery(RunQueryRequest, string)
Queries for entities.
Declaration
public virtual ProjectsResource.RunQueryRequest RunQuery(RunQueryRequest body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
RunQueryRequest | body | The body of the request. |
string | projectId | Required. The ID of the project against which to make the request. |
Returns
Type | Description |
---|---|
ProjectsResource.RunQueryRequest |