Show / Hide Table of Contents

Class AIInference

Configuration for making inference requests against Vertex AI models.

Inheritance
object
AIInference
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Pubsub.v1.Data
Assembly: Google.Apis.Pubsub.v1.dll
Syntax
public class AIInference : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Endpoint

Required. An endpoint to a Vertex AI model of the form projects/{project}/locations/{location}/endpoints/{endpoint} or projects/{project}/locations/{location}/publishers/{publisher}/models/{model}. Vertex AI API requests will be sent to this endpoint.

Declaration
[JsonProperty("endpoint")]
public virtual string Endpoint { get; set; }
Property Value
Type Description
string

ServiceAccountEmail

Optional. The service account to use to make prediction requests against endpoints. The resource creator or updater that specifies this field must have iam.serviceAccounts.actAs permission on the service account. If not specified, the Pub/Sub service agent, service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.

Declaration
[JsonProperty("serviceAccountEmail")]
public virtual string ServiceAccountEmail { get; set; }
Property Value
Type Description
string

UnstructuredInference

Optional. Requests and responses can be any arbitrary JSON object.

Declaration
[JsonProperty("unstructuredInference")]
public virtual UnstructuredInference UnstructuredInference { get; set; }
Property Value
Type Description
UnstructuredInference

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX