Class SessionConfigSessionNotificationConfig
Config to control session notification.
Implements
Inherited Members
Namespace: Google.Apis.DeviceRun.v1alpha.Data
Assembly: Google.Apis.DeviceRun.v1alpha.dll
Syntax
public class SessionConfigSessionNotificationConfig : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PubsubTopic
Optional. The Pub/Sub topics to which session events are published. Format:
projects/{project}/topics/{topic}. See
https://cloud.google.com/pubsub/docs/admin#topic_and_subscription_name_restrictions Each published Pub/Sub
message includes the following attributes: - eventType: The type of event (JOB_ENDED or
SESSION_ENDED). - payloadFormat: The format of the data field (JSON). - sessionName: The resource
name of the session, in the format projects/{project}/locations/{location}/sessions/{session}, where
{project} is the project number. The data field contains a UTF-8 JSON payload corresponding to
eventType: - JOB_ENDED: UTF-8 JSON representation of JobReport. - SESSION_ENDED: UTF-8 JSON
representation of SessionReport.
Declaration
[JsonProperty("pubsubTopic")]
public virtual IList<string> PubsubTopic { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |