Class ProjectsResource.LocationsResource.AgentsResource.ValidateRequest
Validates the specified agent and creates or updates validation results. The agent in draft version is validated. Please call this API after the training is completed to get the complete validation results.
Inheritance
ProjectsResource.LocationsResource.AgentsResource.ValidateRequest
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.ValidateRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1AgentValidationResult>, IClientServiceRequest<GoogleCloudDialogflowCxV3beta1AgentValidationResult>, IClientServiceRequest
Constructors
ValidateRequest(IClientService, GoogleCloudDialogflowCxV3beta1ValidateAgentRequest, string)
Constructs a new Validate request.
Declaration
public ValidateRequest(IClientService service, GoogleCloudDialogflowCxV3beta1ValidateAgentRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDialogflowCxV3beta1ValidateAgentRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The agent to validate. Format: projects//locations//agents/
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Validate parameter list.
Declaration
protected override void InitParameters()