Show / Hide Table of Contents

Class EndpointsResource.ComputeTokensRequest

Return a list of tokens based on the input text.

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

Constructors

ComputeTokensRequest(IClientService, GoogleCloudAiplatformV1beta1ComputeTokensRequest, string)

Constructs a new ComputeTokens request.

Declaration
public ComputeTokensRequest(IClientService service, GoogleCloudAiplatformV1beta1ComputeTokensRequest body, string endpoint)
Parameters
Type Name Description
IClientService service
GoogleCloudAiplatformV1beta1ComputeTokensRequest body
string endpoint

Properties

Endpoint

Required. The name of the Endpoint requested to get lists of tokens and token ids.

Declaration
[RequestParameter("endpoint", RequestParameterType.Path)]
public virtual string Endpoint { get; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes ComputeTokens parameter list.

Declaration
protected override void InitParameters()
Overrides
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1beta1ComputeTokensResponse>.InitParameters()

Implements

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