Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ToolsResource.CreateRequest

Creates a tool.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDialogflowV2Tool>
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Tool>
ProjectsResource.LocationsResource.ToolsResource.CreateRequest
Implements
IClientServiceRequest<GoogleCloudDialogflowV2Tool>
IClientServiceRequest
Inherited Members
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Tool>.Xgafv
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Tool>.AccessToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Tool>.Alt
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Tool>.Callback
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Tool>.Fields
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Tool>.Key
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Tool>.OauthToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Tool>.PrettyPrint
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Tool>.QuotaUser
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Tool>.UploadType
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Tool>.UploadProtocol
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.Execute()
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.ETagAction
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.ModifyRequest
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.ValidateParameters
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.ApiVersion
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.RequestParameters
ClientServiceRequest<GoogleCloudDialogflowV2Tool>.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.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ToolsResource.CreateRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Tool>, IClientServiceRequest<GoogleCloudDialogflowV2Tool>, IClientServiceRequest

Constructors

CreateRequest(IClientService, GoogleCloudDialogflowV2Tool, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, GoogleCloudDialogflowV2Tool body, string parent)
Parameters
Type Name Description
IClientService service
GoogleCloudDialogflowV2Tool body
string parent

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Parent

Required. The project/location to create tool for. Format: 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<GoogleCloudDialogflowV2Tool>.RestPath

ToolId

Optional. The ID to use for the tool, which will become the final component of the tool's resource name. The tool ID must be compliant with the regression formula a-zA-Z* with the characters length in range of [3,64]. If the field is not provide, an Id will be auto-generated. If the field is provided, the caller is responsible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.

Declaration
[RequestParameter("toolId", RequestParameterType.Query)]
public virtual string ToolId { get; set; }
Property Value
Type Description
string

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Create parameter list.

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

Implements

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