Google Cloud IoT Core V1 Client - Class StateNotificationConfig (1.7.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
Name Description
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
Type Description
string

setPubsubTopicName

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

Parameter
Name Description
var string
Returns
Type Description
$this