Class ProjectsResource.AgentResource.VersionsResource
The "versions" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.AgentResource.VersionsResource
Constructors
VersionsResource(IClientService)
Constructs a new resource.
Declaration
public VersionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDialogflowV2Version, string)
Creates an agent version. The new version points to the agent instance in the "default" environment.
Declaration
public virtual ProjectsResource.AgentResource.VersionsResource.CreateRequest Create(GoogleCloudDialogflowV2Version body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2Version | body | The body of the request. |
string | parent | Required. The agent to create a version for. Supported formats: - |
Returns
Type | Description |
---|---|
ProjectsResource.AgentResource.VersionsResource.CreateRequest |
Delete(string)
Delete the specified agent version.
Declaration
public virtual ProjectsResource.AgentResource.VersionsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the version to delete. Supported formats: - |
Returns
Type | Description |
---|---|
ProjectsResource.AgentResource.VersionsResource.DeleteRequest |
Get(string)
Retrieves the specified agent version.
Declaration
public virtual ProjectsResource.AgentResource.VersionsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the version. Supported formats: - |
Returns
Type | Description |
---|---|
ProjectsResource.AgentResource.VersionsResource.GetRequest |
List(string)
Returns the list of all versions of the specified agent.
Declaration
public virtual ProjectsResource.AgentResource.VersionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The agent to list all versions from. Supported formats: - |
Returns
Type | Description |
---|---|
ProjectsResource.AgentResource.VersionsResource.ListRequest |
Patch(GoogleCloudDialogflowV2Version, string)
Updates the specified agent version. Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource.
Declaration
public virtual ProjectsResource.AgentResource.VersionsResource.PatchRequest Patch(GoogleCloudDialogflowV2Version body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2Version | body | The body of the request. |
string | name | Output only. The unique identifier of this agent version. Supported formats: -
|
Returns
Type | Description |
---|---|
ProjectsResource.AgentResource.VersionsResource.PatchRequest |