Class: Google::Firestore::V1beta1::ListenRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb

Overview

A request for Firestore::Listen

Instance Attribute Summary collapse

Instance Attribute Details

#add_targetGoogle::Firestore::V1beta1::Target

Returns A target to add to this stream.

Returns:



401
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 401

class ListenRequest; end

#databaseString

Returns The database name. In the format: projects/{project_id}/databases/{database_id}.

Returns:

  • (String)

    The database name. In the format: projects/{project_id}/databases/{database_id}.



401
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 401

class ListenRequest; end

#labelsHash{String => String}

Returns Labels associated with this target change.

Returns:

  • (Hash{String => String})

    Labels associated with this target change.



401
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 401

class ListenRequest; end

#remove_targetInteger

Returns The ID of a target to remove from this stream.

Returns:

  • (Integer)

    The ID of a target to remove from this stream.



401
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 401

class ListenRequest; end