Class ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.ExamplesResource
The "examples" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.ExamplesResource
Constructors
ExamplesResource(IClientService)
Constructs a new resource.
Declaration
public ExamplesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDialogflowCxV3beta1Example, string)
Creates an example in the specified playbook.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.ExamplesResource.CreateRequest Create(GoogleCloudDialogflowCxV3beta1Example body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1Example | body | The body of the request. |
string | parent | Required. The playbook to create an example for. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.ExamplesResource.CreateRequest |
Delete(string)
Deletes the specified example.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.ExamplesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the example to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.ExamplesResource.DeleteRequest |
Get(string)
Retrieves the specified example.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.ExamplesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the example. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.ExamplesResource.GetRequest |
List(string)
Returns a list of examples in the specified playbook.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.ExamplesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The playbook to list the examples from. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.ExamplesResource.ListRequest |
Patch(GoogleCloudDialogflowCxV3beta1Example, string)
Update the specified example.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.ExamplesResource.PatchRequest Patch(GoogleCloudDialogflowCxV3beta1Example body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1Example | body | The body of the request. |
string | name | The unique identifier of the playbook example. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.ExamplesResource.PatchRequest |