Package com.google.genai.types
Class Endpoint
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.Endpoint
An endpoint where you deploy models.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Endpoint.Builder
builder()
Instantiates a builder for Endpoint.ID of the model that's deployed to the endpoint.static Endpoint
Deserializes a JSON string to a Endpoint object.name()
Resource name of the endpoint.abstract Endpoint.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
Endpoint
public Endpoint()
-
-
Method Details
-
name
Resource name of the endpoint. -
deployedModelId
ID of the model that's deployed to the endpoint. -
builder
Instantiates a builder for Endpoint. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a Endpoint object.
-