Class ProjectsResource.LocationsResource.AgentResource.IntentsResource.PatchRequest
Updates the specified intent.
Inheritance
System.Object
ProjectsResource.LocationsResource.AgentResource.IntentsResource.PatchRequest
Inherited Members
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 PatchRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Intent>, IClientServiceRequest<GoogleCloudDialogflowV2Intent>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudDialogflowV2Intent, String)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudDialogflowV2Intent body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDialogflowV2Intent | body | |
| System.String | name |
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.GoogleCloudDialogflowV2Intent>.HttpMethod
IntentView
Optional. The resource view to apply to the returned intent.
Declaration
[RequestParameter("intentView", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.AgentResource.IntentsResource.PatchRequest.IntentViewEnum? IntentView { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<ProjectsResource.LocationsResource.AgentResource.IntentsResource.PatchRequest.IntentViewEnum> |
LanguageCode
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.
Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
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.GoogleCloudDialogflowV2Intent>.MethodName
Name
Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and
Intents.BatchUpdateIntents methods. Format: projects//agent/intents/.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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.GoogleCloudDialogflowV2Intent>.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.GoogleCloudDialogflowV2Intent>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dialogflow.v2.DialogflowBaseServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Intent>.InitParameters()