Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.PublishersResource.ModelsResource

The "models" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.PublishersResource.ModelsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.FirebaseML.v2beta
Assembly: Google.Apis.FirebaseML.v2beta.dll
Syntax
public class ProjectsResource.LocationsResource.PublishersResource.ModelsResource

Constructors

ModelsResource(IClientService)

Constructs a new resource.

Declaration
public ModelsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

CountTokens(GoogleCloudAiplatformV1beta1CountTokensRequest, string)

Perform a token counting.

Declaration
public virtual ProjectsResource.LocationsResource.PublishersResource.ModelsResource.CountTokensRequest CountTokens(GoogleCloudAiplatformV1beta1CountTokensRequest body, string endpoint)
Parameters
Type Name Description
GoogleCloudAiplatformV1beta1CountTokensRequest body

The body of the request.

string endpoint

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

Returns
Type Description
ProjectsResource.LocationsResource.PublishersResource.ModelsResource.CountTokensRequest

GenerateContent(GoogleCloudAiplatformV1beta1GenerateContentRequest, string)

Generate content with multimodal inputs.

Declaration
public virtual ProjectsResource.LocationsResource.PublishersResource.ModelsResource.GenerateContentRequest GenerateContent(GoogleCloudAiplatformV1beta1GenerateContentRequest body, string model)
Parameters
Type Name Description
GoogleCloudAiplatformV1beta1GenerateContentRequest body

The body of the request.

string 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}

Returns
Type Description
ProjectsResource.LocationsResource.PublishersResource.ModelsResource.GenerateContentRequest

StreamGenerateContent(GoogleCloudAiplatformV1beta1GenerateContentRequest, string)

Generate content with multimodal inputs with streaming support.

Declaration
public virtual ProjectsResource.LocationsResource.PublishersResource.ModelsResource.StreamGenerateContentRequest StreamGenerateContent(GoogleCloudAiplatformV1beta1GenerateContentRequest body, string model)
Parameters
Type Name Description
GoogleCloudAiplatformV1beta1GenerateContentRequest body

The body of the request.

string 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}

Returns
Type Description
ProjectsResource.LocationsResource.PublishersResource.ModelsResource.StreamGenerateContentRequest
In this article
Back to top Generated by DocFX