Class ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.ContextsResource.PatchRequest
Updates the specified context.
Inheritance
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.ContextsResource.PatchRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Context>, IClientServiceRequest<GoogleCloudDialogflowV2beta1Context>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudDialogflowV2beta1Context, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudDialogflowV2beta1Context body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDialogflowV2beta1Context | 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 unique identifier of the context. Supported formats: -
projects//agent/sessions//contexts/, -
projects//locations//agent/sessions//contexts/, -
projects//agent/environments//users//sessions//contexts/, -
projects//locations//agent/environments//users//sessions//contexts/, The
Context ID is always converted to lowercase, may only contain characters in
a-zA-Z0-9_-% and may be at most 250 bytes long. If Environment ID is not
specified, we assume default 'draft' environment. If User ID is not specified,
we assume default '-' user. The following context names are reserved for
internal use by Dialogflow. You should not use these contexts or create contexts
with these names: * __system_counters__ * *_id_dialog_context *
*_dialog_params_size
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
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
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()