Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::ListenRequest.
A request for Firestore.Listen
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#add_target
def add_target() -> ::Google::Cloud::Firestore::V1::Target
Returns
- (::Google::Cloud::Firestore::V1::Target) — A target to add to this stream.
#add_target=
def add_target=(value) -> ::Google::Cloud::Firestore::V1::Target
Parameter
- value (::Google::Cloud::Firestore::V1::Target) — A target to add to this stream.
Returns
- (::Google::Cloud::Firestore::V1::Target) — A target to add to this stream.
#database
def database() -> ::String
Returns
-
(::String) — Required. The database name. In the format:
projects/{project_id}/databases/{database_id}
.
#database=
def database=(value) -> ::String
Parameter
-
value (::String) — Required. The database name. In the format:
projects/{project_id}/databases/{database_id}
.
Returns
-
(::String) — Required. The database name. In the format:
projects/{project_id}/databases/{database_id}
.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this target change.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this target change.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this target change.
#remove_target
def remove_target() -> ::Integer
Returns
- (::Integer) — The ID of a target to remove from this stream.
#remove_target=
def remove_target=(value) -> ::Integer
Parameter
- value (::Integer) — The ID of a target to remove from this stream.
Returns
- (::Integer) — The ID of a target to remove from this stream.