Class TasksResource.PushNotificationConfigsResource
The "pushNotificationConfigs" collection of methods.
Inherited Members
Namespace: Google.Apis.WorkspaceEvents.v1
Assembly: Google.Apis.WorkspaceEvents.v1.dll
Syntax
public class TasksResource.PushNotificationConfigsResource
Constructors
PushNotificationConfigsResource(IClientService)
Constructs a new resource.
Declaration
public PushNotificationConfigsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(TaskPushNotificationConfig, string)
Set a push notification config for a task.
Declaration
public virtual TasksResource.PushNotificationConfigsResource.CreateRequest Create(TaskPushNotificationConfig body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| TaskPushNotificationConfig | body | The body of the request. |
| string | parent | Required. The parent task resource for this config. Format: tasks/{task_id} |
Returns
| Type | Description |
|---|---|
| TasksResource.PushNotificationConfigsResource.CreateRequest |
Delete(string)
Delete a push notification config for a task.
Declaration
public virtual TasksResource.PushNotificationConfigsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The resource name of the config to delete. Format: tasks/{task_id}/pushNotificationConfigs/{config_id} |
Returns
| Type | Description |
|---|---|
| TasksResource.PushNotificationConfigsResource.DeleteRequest |
Get(string)
Get a push notification config for a task.
Declaration
public virtual TasksResource.PushNotificationConfigsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The resource name of the config to retrieve. Format: tasks/{task_id}/pushNotificationConfigs/{config_id} |
Returns
| Type | Description |
|---|---|
| TasksResource.PushNotificationConfigsResource.GetRequest |
List(string)
Get a list of push notifications configured for a task.
Declaration
public virtual TasksResource.PushNotificationConfigsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | The parent task resource. Format: tasks/{task_id} |
Returns
| Type | Description |
|---|---|
| TasksResource.PushNotificationConfigsResource.ListRequest |