class Google::Apis::FirestoreV1beta1::ListenRequest

A request for Firestore.Listen

Attributes

add_target[RW]

A specification of a set of documents to listen to. Corresponds to the JSON property `addTarget` @return [Google::Apis::FirestoreV1beta1::Target]

labels[RW]

Labels associated with this target change. Corresponds to the JSON property `labels` @return [Hash<String,String>]

remove_target[RW]

The ID of a target to remove from this stream. Corresponds to the JSON property `removeTarget` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firestore_v1beta1/classes.rb, line 1339
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 1344
def update!(**args)
  @add_target = args[:add_target] if args.key?(:add_target)
  @labels = args[:labels] if args.key?(:labels)
  @remove_target = args[:remove_target] if args.key?(:remove_target)
end