Show / Hide Table of Contents

Class ProjectsResource.SetAgentRequest

Creates/updates the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Agent>
ProjectsResource.SetAgentRequest
Implements
IClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>
IClientServiceRequest
Inherited Members
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Agent>.Xgafv
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Agent>.AccessToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Agent>.Alt
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Agent>.Callback
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Agent>.Fields
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Agent>.Key
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Agent>.OauthToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Agent>.PrettyPrint
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Agent>.QuotaUser
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Agent>.UploadType
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Agent>.UploadProtocol
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.Execute()
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.ETagAction
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.ModifyRequest
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.ValidateParameters
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.ApiVersion
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.RequestParameters
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.SetAgentRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Agent>, IClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>, IClientServiceRequest

Constructors

SetAgentRequest(IClientService, GoogleCloudDialogflowV2beta1Agent, string)

Constructs a new SetAgent request.

Declaration
public SetAgentRequest(IClientService service, GoogleCloudDialogflowV2beta1Agent body, string parent)
Parameters
Type Name Description
IClientService service
GoogleCloudDialogflowV2beta1Agent body
string parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.MethodName

Parent

Required. The project of this agent. Format: projects/ or projects//locations/

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.RestPath

UpdateMask

Optional. The mask to control which fields get updated.

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
object

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleCloudDialogflowV2beta1Agent>.GetBody()

InitParameters()

Initializes SetAgent parameter list.

Declaration
protected override void InitParameters()
Overrides
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Agent>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX