google_api_datastore v0.15.0 GoogleApi.Datastore.V1.Api.Projects View Source
API calls for all endpoints tagged Projects
.
Link to this section Summary
Functions
Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted.
Begins a new transaction.
Commits a transaction, optionally creating, deleting or modifying some entities.
Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage.
Imports entities into Google Cloud Datastore. Existing entities with the same key are overwritten. The import occurs in the background and its progress can be monitored and managed via the Operation resource that is created. If an ImportEntities operation is cancelled, it is possible that a subset of the data has already been imported to Cloud Datastore.
Creates the specified index.
A newly created index's initial state is CREATING
. On completion of the
returned google.longrunning.Operation, the state will be READY
.
If the index already exists, the call will return an ALREADY_EXISTS
status.
Deletes an existing index.
An index can only be deleted if it is in a READY
or ERROR
state. On
successful execution of the request, the index will be in a DELETING
state. And on completion of the
returned google.longrunning.Operation, the index will be removed.
Gets an index.
Lists the indexes that match the specified filters. Datastore uses an eventually consistent query to fetch the list of indexes and may occasionally return stale results.
Looks up entities by key.
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not
guaranteed. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use
Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation,
the operation is not deleted; instead, it becomes an operation with
an Operation.error value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED
.
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore.
Rolls back a transaction.
Queries for entities.
Link to this section Functions
datastore_projects_allocate_ids(connection, project_id, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_allocate_ids( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Datastore.V1.Model.AllocateIdsResponse.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Required. The ID of the project against which to make the request.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:body
(type:GoogleApi.Datastore.V1.Model.AllocateIdsRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.AllocateIdsResponse{}}
on success{:error, info}
on failure
datastore_projects_begin_transaction(connection, project_id, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_begin_transaction( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Datastore.V1.Model.BeginTransactionResponse.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Begins a new transaction.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Required. The ID of the project against which to make the request.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:body
(type:GoogleApi.Datastore.V1.Model.BeginTransactionRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.BeginTransactionResponse{}}
on success{:error, info}
on failure
datastore_projects_commit(connection, project_id, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_commit(Tesla.Env.client(), String.t(), keyword(), keyword()) :: {:ok, GoogleApi.Datastore.V1.Model.CommitResponse.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Commits a transaction, optionally creating, deleting or modifying some entities.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Required. The ID of the project against which to make the request.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:body
(type:GoogleApi.Datastore.V1.Model.CommitRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.CommitResponse{}}
on success{:error, info}
on failure
datastore_projects_export(connection, project_id, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_export(Tesla.Env.client(), String.t(), keyword(), keyword()) :: {:ok, GoogleApi.Datastore.V1.Model.GoogleLongrunningOperation.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Required. Project ID against which to make the request.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:body
(type:GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1ExportEntitiesRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.GoogleLongrunningOperation{}}
on success{:error, info}
on failure
datastore_projects_import(connection, project_id, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_import(Tesla.Env.client(), String.t(), keyword(), keyword()) :: {:ok, GoogleApi.Datastore.V1.Model.GoogleLongrunningOperation.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Imports entities into Google Cloud Datastore. Existing entities with the same key are overwritten. The import occurs in the background and its progress can be monitored and managed via the Operation resource that is created. If an ImportEntities operation is cancelled, it is possible that a subset of the data has already been imported to Cloud Datastore.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Required. Project ID against which to make the request.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:body
(type:GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1ImportEntitiesRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.GoogleLongrunningOperation{}}
on success{:error, info}
on failure
datastore_projects_indexes_create(connection, project_id, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_indexes_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Datastore.V1.Model.GoogleLongrunningOperation.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Creates the specified index.
A newly created index's initial state is CREATING
. On completion of the
returned google.longrunning.Operation, the state will be READY
.
If the index already exists, the call will return an ALREADY_EXISTS
status.
During index creation, the process could result in an error, in which
case the index will move to the ERROR
state. The process can be recovered
by fixing the data that caused the error, removing the index with
delete, then
re-creating the index with create.
Indexes with a single property cannot be created.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Project ID against which to make the request.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:body
(type:GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1Index.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.GoogleLongrunningOperation{}}
on success{:error, info}
on failure
datastore_projects_indexes_delete(connection, project_id, index_id, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_indexes_delete( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Datastore.V1.Model.GoogleLongrunningOperation.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Deletes an existing index.
An index can only be deleted if it is in a READY
or ERROR
state. On
successful execution of the request, the index will be in a DELETING
state. And on completion of the
returned google.longrunning.Operation, the index will be removed.
During index deletion, the process could result in an error, in which
case the index will move to the ERROR
state. The process can be recovered
by fixing the data that caused the error, followed by calling
delete again.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Project ID against which to make the request.index_id
(type:String.t
) - The resource ID of the index to delete.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.GoogleLongrunningOperation{}}
on success{:error, info}
on failure
datastore_projects_indexes_get(connection, project_id, index_id, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_indexes_get( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1Index.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Gets an index.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Project ID against which to make the request.index_id
(type:String.t
) - The resource ID of the index to get.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1Index{}}
on success{:error, info}
on failure
datastore_projects_indexes_list(connection, project_id, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_indexes_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1ListIndexesResponse.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Lists the indexes that match the specified filters. Datastore uses an eventually consistent query to fetch the list of indexes and may occasionally return stale results.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Project ID against which to make the request.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:filter
(type:String.t
) -:pageSize
(type:integer()
) - The maximum number of items to return. If zero, then all results will be returned.:pageToken
(type:String.t
) - The next_page_token value returned from a previous List request, if any.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1ListIndexesResponse{}}
on success{:error, info}
on failure
datastore_projects_lookup(connection, project_id, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_lookup(Tesla.Env.client(), String.t(), keyword(), keyword()) :: {:ok, GoogleApi.Datastore.V1.Model.LookupResponse.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Looks up entities by key.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Required. The ID of the project against which to make the request.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:body
(type:GoogleApi.Datastore.V1.Model.LookupRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.LookupResponse{}}
on success{:error, info}
on failure
datastore_projects_operations_cancel(connection, name, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_operations_cancel( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Datastore.V1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not
guaranteed. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use
Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation,
the operation is not deleted; instead, it becomes an operation with
an Operation.error value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED
.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to servername
(type:String.t
) - The name of the operation resource to be cancelled.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.Empty{}}
on success{:error, info}
on failure
datastore_projects_operations_delete(connection, name, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_operations_delete( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Datastore.V1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to servername
(type:String.t
) - The name of the operation resource to be deleted.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.Empty{}}
on success{:error, info}
on failure
datastore_projects_operations_get(connection, name, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_operations_get( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Datastore.V1.Model.GoogleLongrunningOperation.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to servername
(type:String.t
) - The name of the operation resource.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.GoogleLongrunningOperation{}}
on success{:error, info}
on failure
datastore_projects_operations_list(connection, name, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_operations_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Datastore.V1.Model.GoogleLongrunningListOperationsResponse.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
NOTE: the name
binding allows API services to override the binding
to use different resource name schemes, such as users/*/operations
. To
override the binding, API services can add a binding such as
"/v1/{name=users/*}/operations"
to their service configuration.
For backwards compatibility, the default name includes the operations
collection id, however overriding users must ensure the name binding
is the parent resource, without the operations collection id.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to servername
(type:String.t
) - The name of the operation's parent resource.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:filter
(type:String.t
) - The standard list filter.:pageSize
(type:integer()
) - The standard list page size.:pageToken
(type:String.t
) - The standard list page token.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.GoogleLongrunningListOperationsResponse{}}
on success{:error, info}
on failure
datastore_projects_reserve_ids(connection, project_id, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_reserve_ids( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Datastore.V1.Model.ReserveIdsResponse.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Required. The ID of the project against which to make the request.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:body
(type:GoogleApi.Datastore.V1.Model.ReserveIdsRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.ReserveIdsResponse{}}
on success{:error, info}
on failure
datastore_projects_rollback(connection, project_id, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_rollback( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Datastore.V1.Model.RollbackResponse.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Rolls back a transaction.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Required. The ID of the project against which to make the request.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:body
(type:GoogleApi.Datastore.V1.Model.RollbackRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.RollbackResponse{}}
on success{:error, info}
on failure
datastore_projects_run_query(connection, project_id, optional_params \\ [], opts \\ [])
View Sourcedatastore_projects_run_query( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Datastore.V1.Model.RunQueryResponse.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Queries for entities.
Parameters
connection
(type:GoogleApi.Datastore.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Required. The ID of the project against which to make the request.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:body
(type:GoogleApi.Datastore.V1.Model.RunQueryRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Datastore.V1.Model.RunQueryResponse{}}
on success{:error, info}
on failure