Autogenerated update (2019-12-22)
Update: - firestore_v1beta1
This commit is contained in:
parent
0d5b8d3213
commit
7ab38cf1b5
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/firestore
|
# @see https://cloud.google.com/firestore
|
||||||
module FirestoreV1beta1
|
module FirestoreV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20191019'
|
REVISION = '20191206'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -1552,7 +1552,7 @@ module Google
|
||||||
class RollbackRequest
|
class RollbackRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The transaction to roll back.
|
# Required. The transaction to roll back.
|
||||||
# Corresponds to the JSON property `transaction`
|
# Corresponds to the JSON property `transaction`
|
||||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
|
|
@ -131,7 +131,7 @@ module Google
|
||||||
# Documents returned by this method are not guaranteed to be returned in the
|
# Documents returned by this method are not guaranteed to be returned in the
|
||||||
# same order that they were requested.
|
# same order that they were requested.
|
||||||
# @param [String] database
|
# @param [String] database
|
||||||
# The database name. In the format:
|
# Required. The database name. In the format:
|
||||||
# `projects/`project_id`/databases/`database_id``.
|
# `projects/`project_id`/databases/`database_id``.
|
||||||
# @param [Google::Apis::FirestoreV1beta1::BatchGetDocumentsRequest] batch_get_documents_request_object
|
# @param [Google::Apis::FirestoreV1beta1::BatchGetDocumentsRequest] batch_get_documents_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -165,7 +165,7 @@ module Google
|
||||||
|
|
||||||
# Starts a new transaction.
|
# Starts a new transaction.
|
||||||
# @param [String] database
|
# @param [String] database
|
||||||
# The database name. In the format:
|
# Required. The database name. In the format:
|
||||||
# `projects/`project_id`/databases/`database_id``.
|
# `projects/`project_id`/databases/`database_id``.
|
||||||
# @param [Google::Apis::FirestoreV1beta1::BeginTransactionRequest] begin_transaction_request_object
|
# @param [Google::Apis::FirestoreV1beta1::BeginTransactionRequest] begin_transaction_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -199,7 +199,7 @@ module Google
|
||||||
|
|
||||||
# Commits a transaction, while optionally updating documents.
|
# Commits a transaction, while optionally updating documents.
|
||||||
# @param [String] database
|
# @param [String] database
|
||||||
# The database name. In the format:
|
# Required. The database name. In the format:
|
||||||
# `projects/`project_id`/databases/`database_id``.
|
# `projects/`project_id`/databases/`database_id``.
|
||||||
# @param [Google::Apis::FirestoreV1beta1::CommitRequest] commit_request_object
|
# @param [Google::Apis::FirestoreV1beta1::CommitRequest] commit_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -233,12 +233,13 @@ module Google
|
||||||
|
|
||||||
# Creates a new document.
|
# Creates a new document.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource. For example:
|
# Required. The parent resource. For example:
|
||||||
# `projects/`project_id`/databases/`database_id`/documents` or
|
# `projects/`project_id`/databases/`database_id`/documents` or
|
||||||
# `projects/`project_id`/databases/`database_id`/documents/chatrooms/`
|
# `projects/`project_id`/databases/`database_id`/documents/chatrooms/`
|
||||||
# chatroom_id``
|
# chatroom_id``
|
||||||
# @param [String] collection_id
|
# @param [String] collection_id
|
||||||
# The collection ID, relative to `parent`, to list. For example: `chatrooms`.
|
# Required. The collection ID, relative to `parent`, to list. For example: `
|
||||||
|
# chatrooms`.
|
||||||
# @param [Google::Apis::FirestoreV1beta1::Document] document_object
|
# @param [Google::Apis::FirestoreV1beta1::Document] document_object
|
||||||
# @param [String] document_id
|
# @param [String] document_id
|
||||||
# The client-assigned document ID to use for this document.
|
# The client-assigned document ID to use for this document.
|
||||||
|
@ -280,7 +281,7 @@ module Google
|
||||||
|
|
||||||
# Deletes a document.
|
# Deletes a document.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The resource name of the Document to delete. In the format:
|
# Required. The resource name of the Document to delete. In the format:
|
||||||
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
||||||
# @param [Boolean] current_document_exists
|
# @param [Boolean] current_document_exists
|
||||||
# When set to `true`, the target document must exist.
|
# When set to `true`, the target document must exist.
|
||||||
|
@ -319,7 +320,7 @@ module Google
|
||||||
|
|
||||||
# Gets a single document.
|
# Gets a single document.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The resource name of the Document to get. In the format:
|
# Required. The resource name of the Document to get. In the format:
|
||||||
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
||||||
# @param [Array<String>, String] mask_field_paths
|
# @param [Array<String>, String] mask_field_paths
|
||||||
# The list of field paths in the mask. See Document.fields for a field
|
# The list of field paths in the mask. See Document.fields for a field
|
||||||
|
@ -361,14 +362,15 @@ module Google
|
||||||
|
|
||||||
# Lists documents.
|
# Lists documents.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource name. In the format:
|
# Required. The parent resource name. In the format:
|
||||||
# `projects/`project_id`/databases/`database_id`/documents` or
|
# `projects/`project_id`/databases/`database_id`/documents` or
|
||||||
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
||||||
# For example:
|
# For example:
|
||||||
# `projects/my-project/databases/my-database/documents` or
|
# `projects/my-project/databases/my-database/documents` or
|
||||||
# `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
|
# `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
|
||||||
# @param [String] collection_id
|
# @param [String] collection_id
|
||||||
# The collection ID, relative to `parent`, to list. For example: `chatrooms`
|
# Required. The collection ID, relative to `parent`, to list. For example: `
|
||||||
|
# chatrooms`
|
||||||
# or `messages`.
|
# or `messages`.
|
||||||
# @param [Array<String>, String] mask_field_paths
|
# @param [Array<String>, String] mask_field_paths
|
||||||
# The list of field paths in the mask. See Document.fields for a field
|
# The list of field paths in the mask. See Document.fields for a field
|
||||||
|
@ -428,7 +430,7 @@ module Google
|
||||||
|
|
||||||
# Lists all the collection IDs underneath a document.
|
# Lists all the collection IDs underneath a document.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent document. In the format:
|
# Required. The parent document. In the format:
|
||||||
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
||||||
# For example:
|
# For example:
|
||||||
# `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
|
# `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
|
||||||
|
@ -464,7 +466,7 @@ module Google
|
||||||
|
|
||||||
# Listens to changes.
|
# Listens to changes.
|
||||||
# @param [String] database
|
# @param [String] database
|
||||||
# The database name. In the format:
|
# Required. The database name. In the format:
|
||||||
# `projects/`project_id`/databases/`database_id``.
|
# `projects/`project_id`/databases/`database_id``.
|
||||||
# @param [Google::Apis::FirestoreV1beta1::ListenRequest] listen_request_object
|
# @param [Google::Apis::FirestoreV1beta1::ListenRequest] listen_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -548,7 +550,7 @@ module Google
|
||||||
|
|
||||||
# Rolls back a transaction.
|
# Rolls back a transaction.
|
||||||
# @param [String] database
|
# @param [String] database
|
||||||
# The database name. In the format:
|
# Required. The database name. In the format:
|
||||||
# `projects/`project_id`/databases/`database_id``.
|
# `projects/`project_id`/databases/`database_id``.
|
||||||
# @param [Google::Apis::FirestoreV1beta1::RollbackRequest] rollback_request_object
|
# @param [Google::Apis::FirestoreV1beta1::RollbackRequest] rollback_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -582,7 +584,7 @@ module Google
|
||||||
|
|
||||||
# Runs a query.
|
# Runs a query.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource name. In the format:
|
# Required. The parent resource name. In the format:
|
||||||
# `projects/`project_id`/databases/`database_id`/documents` or
|
# `projects/`project_id`/databases/`database_id`/documents` or
|
||||||
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
||||||
# For example:
|
# For example:
|
||||||
|
@ -620,7 +622,7 @@ module Google
|
||||||
|
|
||||||
# Streams batches of document updates and deletes, in order.
|
# Streams batches of document updates and deletes, in order.
|
||||||
# @param [String] database
|
# @param [String] database
|
||||||
# The database name. In the format:
|
# Required. The database name. In the format:
|
||||||
# `projects/`project_id`/databases/`database_id``.
|
# `projects/`project_id`/databases/`database_id``.
|
||||||
# This is only required in the first message.
|
# This is only required in the first message.
|
||||||
# @param [Google::Apis::FirestoreV1beta1::WriteRequest] write_request_object
|
# @param [Google::Apis::FirestoreV1beta1::WriteRequest] write_request_object
|
||||||
|
|
Loading…
Reference in New Issue