class Google::Apis::FirestoreV1beta1::QueryTarget
A target specified by a query.
Attributes
parent[RW]
The parent resource name. In the format: `projects/`project_id`/databases/` database_id`/documents` or `projects/`project_id`/databases/`database_id`/ documents/`document_path“. For example: `projects/my-project/databases/my- database/documents` or `projects/my-project/databases/my-database/documents/ chatrooms/my-chatroom` Corresponds to the JSON property `parent` @return [String]
structured_query[RW]
A Firestore query. Corresponds to the JSON property `structuredQuery` @return [Google::Apis::FirestoreV1beta1::StructuredQuery]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firestore_v1beta1/classes.rb, line 1606 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/firestore_v1beta1/classes.rb, line 1611 def update!(**args) @parent = args[:parent] if args.key?(:parent) @structured_query = args[:structured_query] if args.key?(:structured_query) end