Google Cloud IoT Core V1 Client - Class StateNotificationConfig (1.6.4)

Reference documentation and code samples for the Google Cloud IoT Core V1 Client class StateNotificationConfig.

The configuration for notification of new states received from the device.

Generated from protobuf message google.cloud.iot.v1.StateNotificationConfig

Namespace

Google \ Cloud \ Iot \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ pubsub_topic_name string

A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.

getPubsubTopicName

A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.

Returns
TypeDescription
string

setPubsubTopicName

A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.

Parameter
NameDescription
var string
Returns
TypeDescription
$this