Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AgentResource.VersionsResource.PatchRequest

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.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Version>
ProjectsResource.LocationsResource.AgentResource.VersionsResource.PatchRequest
Implements
IClientServiceRequest<GoogleCloudDialogflowV2beta1Version>
IClientServiceRequest
Inherited Members
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Version>.Xgafv
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Version>.AccessToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Version>.Alt
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Version>.Callback
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Version>.Fields
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Version>.Key
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Version>.OauthToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Version>.PrettyPrint
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Version>.QuotaUser
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Version>.UploadType
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Version>.UploadProtocol
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.Execute()
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.ETagAction
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.ModifyRequest
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.ValidateParameters
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.ApiVersion
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.RequestParameters
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.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.LocationsResource.AgentResource.VersionsResource.PatchRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Version>, IClientServiceRequest<GoogleCloudDialogflowV2beta1Version>, IClientServiceRequest

Constructors

PatchRequest(IClientService, GoogleCloudDialogflowV2beta1Version, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, GoogleCloudDialogflowV2beta1Version body, string name)
Parameters
Type Name Description
IClientService service
GoogleCloudDialogflowV2beta1Version body
string name

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Output only. The unique identifier of this agent version. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/

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
ClientServiceRequest<GoogleCloudDialogflowV2beta1Version>.RestPath

UpdateMask

Required. 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<GoogleCloudDialogflowV2beta1Version>.GetBody()

InitParameters()

Initializes Patch parameter list.

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

Implements

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