Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: publish proto definitions for SUM/AVG in Firestore #22673

Merged
merged 2 commits into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,10 @@ def initialize
# Reads the document in a transaction.
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
# Reads the version of the document at the given time.
# This may not be older than 270 seconds.
#
# This must be a microsecond precision timestamp within the past one hour,
# or if Point-in-Time Recovery is enabled, can additionally be a whole
# minute timestamp within the past 7 days.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Google::Cloud::Firestore::V1::Document]
Expand Down Expand Up @@ -397,7 +400,9 @@ def get_document request, options = nil
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
# Perform the read at the provided time.
#
# This may not be older than 270 seconds.
# This must be a microsecond precision timestamp within the past one hour,
# or if Point-in-Time Recovery is enabled, can additionally be a whole
# minute timestamp within the past 7 days.
# @param show_missing [::Boolean]
# If the list should show missing documents.
#
Expand Down Expand Up @@ -715,7 +720,10 @@ def delete_document request, options = nil
# stream.
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
# Reads documents as they were at the given time.
# This may not be older than 270 seconds.
#
# This must be a microsecond precision timestamp within the past one hour,
# or if Point-in-Time Recovery is enabled, can additionally be a whole
# minute timestamp within the past 7 days.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Enumerable<::Google::Cloud::Firestore::V1::BatchGetDocumentsResponse>]
Expand Down Expand Up @@ -1091,7 +1099,10 @@ def rollback request, options = nil
# stream.
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
# Reads documents as they were at the given time.
# This may not be older than 270 seconds.
#
# This must be a microsecond precision timestamp within the past one hour,
# or if Point-in-Time Recovery is enabled, can additionally be a whole
# minute timestamp within the past 7 days.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Enumerable<::Google::Cloud::Firestore::V1::RunQueryResponse>]
Expand Down Expand Up @@ -1211,9 +1222,9 @@ def run_query request, options = nil
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
# Executes the query at the given timestamp.
#
# Requires:
#
# * Cannot be more than 270 seconds in the past.
# This must be a microsecond precision timestamp within the past one hour,
# or if Point-in-Time Recovery is enabled, can additionally be a whole
# minute timestamp within the past 7 days.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Enumerable<::Google::Cloud::Firestore::V1::RunAggregationQueryResponse>]
Expand Down Expand Up @@ -1345,7 +1356,10 @@ def run_aggregation_query request, options = nil
# 2 partitions, to complete the total of 10 specified in `partition_count`.
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
# Reads documents as they were at the given time.
# This may not be older than 270 seconds.
#
# This must be a microsecond precision timestamp within the past one hour,
# or if Point-in-Time Recovery is enabled, can additionally be a whole
# minute timestamp within the past 7 days.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Firestore::V1::Cursor>]
Expand Down Expand Up @@ -1604,7 +1618,10 @@ def listen request, options = nil
# {::Google::Cloud::Firestore::V1::ListCollectionIdsResponse ListCollectionIdsResponse}.
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
# Reads documents as they were at the given time.
# This may not be older than 270 seconds.
#
# This must be a microsecond precision timestamp within the past one hour,
# or if Point-in-Time Recovery is enabled, can additionally be a whole
# minute timestamp within the past 7 days.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Google::Cloud::Firestore::V1::ListCollectionIdsResponse]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,10 @@ def initialize
# Reads the document in a transaction.
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
# Reads the version of the document at the given time.
# This may not be older than 270 seconds.
#
# This must be a microsecond precision timestamp within the past one hour,
# or if Point-in-Time Recovery is enabled, can additionally be a whole
# minute timestamp within the past 7 days.
# @yield [result, operation] Access the result along with the TransportOperation object
# @yieldparam result [::Google::Cloud::Firestore::V1::Document]
# @yieldparam operation [::Gapic::Rest::TransportOperation]
Expand Down Expand Up @@ -358,7 +361,9 @@ def get_document request, options = nil
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
# Perform the read at the provided time.
#
# This may not be older than 270 seconds.
# This must be a microsecond precision timestamp within the past one hour,
# or if Point-in-Time Recovery is enabled, can additionally be a whole
# minute timestamp within the past 7 days.
# @param show_missing [::Boolean]
# If the list should show missing documents.
#
Expand Down Expand Up @@ -600,7 +605,10 @@ def delete_document request, options = nil
# stream.
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
# Reads documents as they were at the given time.
# This may not be older than 270 seconds.
#
# This must be a microsecond precision timestamp within the past one hour,
# or if Point-in-Time Recovery is enabled, can additionally be a whole
# minute timestamp within the past 7 days.
# @return [::Enumerable<::Google::Cloud::Firestore::V1::BatchGetDocumentsResponse>]
#
# @raise [::Google::Cloud::Error] if the REST call is aborted.
Expand Down Expand Up @@ -882,7 +890,10 @@ def rollback request, options = nil
# stream.
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
# Reads documents as they were at the given time.
# This may not be older than 270 seconds.
#
# This must be a microsecond precision timestamp within the past one hour,
# or if Point-in-Time Recovery is enabled, can additionally be a whole
# minute timestamp within the past 7 days.
# @return [::Enumerable<::Google::Cloud::Firestore::V1::RunQueryResponse>]
#
# @raise [::Google::Cloud::Error] if the REST call is aborted.
Expand Down Expand Up @@ -977,9 +988,9 @@ def run_query request, options = nil
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
# Executes the query at the given timestamp.
#
# Requires:
#
# * Cannot be more than 270 seconds in the past.
# This must be a microsecond precision timestamp within the past one hour,
# or if Point-in-Time Recovery is enabled, can additionally be a whole
# minute timestamp within the past 7 days.
# @return [::Enumerable<::Google::Cloud::Firestore::V1::RunAggregationQueryResponse>]
#
# @raise [::Google::Cloud::Error] if the REST call is aborted.
Expand Down Expand Up @@ -1086,7 +1097,10 @@ def run_aggregation_query request, options = nil
# 2 partitions, to complete the total of 10 specified in `partition_count`.
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
# Reads documents as they were at the given time.
# This may not be older than 270 seconds.
#
# This must be a microsecond precision timestamp within the past one hour,
# or if Point-in-Time Recovery is enabled, can additionally be a whole
# minute timestamp within the past 7 days.
# @yield [result, operation] Access the result along with the TransportOperation object
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Firestore::V1::Cursor>]
# @yieldparam operation [::Gapic::Rest::TransportOperation]
Expand Down Expand Up @@ -1160,7 +1174,10 @@ def partition_query request, options = nil
# {::Google::Cloud::Firestore::V1::ListCollectionIdsResponse ListCollectionIdsResponse}.
# @param read_time [::Google::Protobuf::Timestamp, ::Hash]
# Reads documents as they were at the given time.
# This may not be older than 270 seconds.
#
# This must be a microsecond precision timestamp within the past one hour,
# or if Point-in-Time Recovery is enabled, can additionally be a whole
# minute timestamp within the past 7 days.
# @yield [result, operation] Access the result along with the TransportOperation object
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::String>]
# @yieldparam operation [::Gapic::Rest::TransportOperation]
Expand Down
Loading