Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TasksResource.PushNotificationConfigsResource
The "pushNotificationConfigs" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TasksResource.PushNotificationConfigsResource
Constructors
PushNotificationConfigsResource(IClientService)
Constructs a new resource.
Declaration
public PushNotificationConfigsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(A2aV1TaskPushNotificationConfig, string, string)
Set a push notification config for a task.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TasksResource.PushNotificationConfigsResource.CreateRequest Create(A2aV1TaskPushNotificationConfig body, string tenant, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| A2aV1TaskPushNotificationConfig | body | The body of the request. |
| string | tenant | Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. |
| string | parent | Required. The parent task resource for this config. Format: tasks/{task_id} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TasksResource.PushNotificationConfigsResource.CreateRequest |
Delete(string, string)
Delete a push notification config for a task.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TasksResource.PushNotificationConfigsResource.DeleteRequest Delete(string tenant, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tenant | Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. |
| string | name | The resource name of the config to delete. Format: tasks/{task_id}/pushNotificationConfigs/{config_id} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TasksResource.PushNotificationConfigsResource.DeleteRequest |
Get(string, string)
Get a push notification config for a task.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TasksResource.PushNotificationConfigsResource.GetRequest Get(string tenant, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tenant | Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. |
| string | name | The resource name of the config to retrieve. Format: tasks/{task_id}/pushNotificationConfigs/{config_id} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TasksResource.PushNotificationConfigsResource.GetRequest |
List(string, string)
Get a list of push notifications configured for a task.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TasksResource.PushNotificationConfigsResource.ListRequest List(string tenant, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tenant | Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. |
| string | parent | The parent task resource. Format: tasks/{task_id} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TasksResource.PushNotificationConfigsResource.ListRequest |