Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class PushNotificationConfig.
Configuration for setting up push notifications for task updates.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.PushNotificationConfig
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ id |
string
Optional. A unique identifier (e.g. UUID) for this push notification. |
↳ url |
string
Optional. Url to send the notification to. |
↳ token |
string
Optional. Token unique for this task/session. |
↳ authentication |
AuthenticationInfo
Optional. Information about the authentication to send with the notification. |
getId
Optional. A unique identifier (e.g. UUID) for this push notification.
| Returns | |
|---|---|
| Type | Description |
string |
|
setId
Optional. A unique identifier (e.g. UUID) for this push notification.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUrl
Optional. Url to send the notification to.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUrl
Optional. Url to send the notification to.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getToken
Optional. Token unique for this task/session.
| Returns | |
|---|---|
| Type | Description |
string |
|
setToken
Optional. Token unique for this task/session.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAuthentication
Optional. Information about the authentication to send with the notification.
| Returns | |
|---|---|
| Type | Description |
AuthenticationInfo|null |
|
hasAuthentication
clearAuthentication
setAuthentication
Optional. Information about the authentication to send with the notification.
| Parameter | |
|---|---|
| Name | Description |
var |
AuthenticationInfo
|
| Returns | |
|---|---|
| Type | Description |
$this |
|