Class ProjectsResource.LocationsResource.AgentsResource.GeneratorsResource
The "generators" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.GeneratorsResource
Constructors
GeneratorsResource(IClientService)
Constructs a new resource.
Declaration
public GeneratorsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDialogflowCxV3beta1Generator, string)
Creates a generator in the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.GeneratorsResource.CreateRequest Create(GoogleCloudDialogflowCxV3beta1Generator body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1Generator | body | The body of the request. |
string | parent | Required. The agent to create a generator for. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.GeneratorsResource.CreateRequest |
Delete(string)
Deletes the specified generators.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.GeneratorsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the generator to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.GeneratorsResource.DeleteRequest |
Get(string)
Retrieves the specified generator.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.GeneratorsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the generator. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.GeneratorsResource.GetRequest |
List(string)
Returns the list of all generators in the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.GeneratorsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The agent to list all generators for. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.GeneratorsResource.ListRequest |
Patch(GoogleCloudDialogflowCxV3beta1Generator, string)
Update the specified generator.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.GeneratorsResource.PatchRequest Patch(GoogleCloudDialogflowCxV3beta1Generator body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1Generator | body | The body of the request. |
string | name | The unique identifier of the generator. Must be set for the Generators.UpdateGenerator method.
Generators.CreateGenerate populates the name automatically. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.GeneratorsResource.PatchRequest |