Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.EndpointsResource.DeployedModelsResource.InvokeResource.InvokeRequest

Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request.

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

Constructors

InvokeRequest(IClientService, GoogleCloudAiplatformV1InvokeRequest, string, string, string)

Constructs a new Invoke request.

Declaration
public InvokeRequest(IClientService service, GoogleCloudAiplatformV1InvokeRequest body, string endpoint, string deployedModelId, string invokeId)
Parameters
Type Name Description
IClientService service
GoogleCloudAiplatformV1InvokeRequest body
string endpoint
string deployedModelId
string invokeId

Properties

DeployedModelId

ID of the DeployedModel that serves the invoke request.

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

Endpoint

Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

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<GoogleApiHttpBody>.HttpMethod

InvokeId

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

MethodName

Gets the method name.

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

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Invoke parameter list.

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

Implements

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