Show / Hide Table of Contents

Class ProjectsResource.SetAgentRequest

Creates/updates the specified agent.

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

Constructors

SetAgentRequest(IClientService, GoogleCloudDialogflowV2Agent, String)

Constructs a new SetAgent request.

Declaration
public SetAgentRequest(IClientService service, GoogleCloudDialogflowV2Agent body, string parent)
Parameters
Type Name Description
IClientService service
GoogleCloudDialogflowV2Agent body
System.String parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Agent>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Agent>.MethodName

Parent

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

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

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Agent>.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
System.Object

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Agent>.GetBody()

InitParameters()

Initializes SetAgent parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dialogflow.v2.DialogflowBaseServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Agent>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top