Show / Hide Table of Contents

Class EndpointsResource.StreamGenerateContentRequest

Generate content with multimodal inputs with streaming support.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>
EndpointsResource.StreamGenerateContentRequest
Implements
IClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>
IClientServiceRequest
Inherited Members
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.Xgafv
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.AccessToken
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.Alt
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.Callback
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.Fields
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.Key
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.OauthToken
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.PrettyPrint
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.QuotaUser
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.UploadType
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.Execute()
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.ExecuteAsync()
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.ETagAction
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.ModifyRequest
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.ValidateParameters
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.ApiVersion
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.RequestParameters
ClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>.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 EndpointsResource.StreamGenerateContentRequest : AiplatformBaseServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>, IClientServiceRequest<GoogleCloudAiplatformV1GenerateContentResponse>, IClientServiceRequest

Constructors

StreamGenerateContentRequest(IClientService, GoogleCloudAiplatformV1GenerateContentRequest, string)

Constructs a new StreamGenerateContent request.

Declaration
public StreamGenerateContentRequest(IClientService service, GoogleCloudAiplatformV1GenerateContentRequest body, string model)
Parameters
Type Name Description
IClientService service
GoogleCloudAiplatformV1GenerateContentRequest body
string model

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Model

Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: projects/{project}/locations/{location}/publishers/*/models/* Tuned model endpoint format: projects/{project}/locations/{location}/endpoints/{endpoint}

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

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes StreamGenerateContent parameter list.

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

Implements

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