Class SessionObserveParams.Options.Model.VertexModelConfigObject
-
- All Implemented Interfaces:
public final class SessionObserveParams.Options.Model.VertexModelConfigObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionObserveParams.Options.Model.VertexModelConfigObject.BuilderA builder for VertexModelConfigObject.
public final classSessionObserveParams.Options.Model.VertexModelConfigObject.AuthVertex provider authentication configuration
public final classSessionObserveParams.Options.Model.VertexModelConfigObject.ProviderOptionsVertex provider-specific model configuration
public final classSessionObserveParams.Options.Model.VertexModelConfigObject.HeadersCustom headers sent with every request to the model provider
-
Method Summary
-
-
Method Detail
-
auth
final SessionObserveParams.Options.Model.VertexModelConfigObject.Auth auth()
Vertex provider authentication configuration
-
modelName
final String modelName()
Model name string with provider prefix (e.g., 'openai/gpt-5-nano')
-
_provider
final JsonValue _provider()
Vertex AI model provider
Expected to always return the following:
JsonValue.from("vertex")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
providerOptions
final SessionObserveParams.Options.Model.VertexModelConfigObject.ProviderOptions providerOptions()
Vertex provider-specific model configuration
-
headers
final Optional<SessionObserveParams.Options.Model.VertexModelConfigObject.Headers> headers()
Custom headers sent with every request to the model provider
-
_auth
final JsonField<SessionObserveParams.Options.Model.VertexModelConfigObject.Auth> _auth()
Returns the raw JSON value of auth.
Unlike auth, this method doesn't throw if the JSON field has an unexpected type.
-
_modelName
final JsonField<String> _modelName()
Returns the raw JSON value of modelName.
Unlike modelName, this method doesn't throw if the JSON field has an unexpected type.
-
_providerOptions
final JsonField<SessionObserveParams.Options.Model.VertexModelConfigObject.ProviderOptions> _providerOptions()
Returns the raw JSON value of providerOptions.
Unlike providerOptions, this method doesn't throw if the JSON field has an unexpected type.
-
_apiKey
final JsonField<String> _apiKey()
Returns the raw JSON value of apiKey.
Unlike apiKey, this method doesn't throw if the JSON field has an unexpected type.
-
_baseUrl
final JsonField<String> _baseUrl()
Returns the raw JSON value of baseUrl.
Unlike baseUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_headers
final JsonField<SessionObserveParams.Options.Model.VertexModelConfigObject.Headers> _headers()
Returns the raw JSON value of headers.
Unlike headers, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionObserveParams.Options.Model.VertexModelConfigObject.Builder toBuilder()
-
validate
final SessionObserveParams.Options.Model.VertexModelConfigObject validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static SessionObserveParams.Options.Model.VertexModelConfigObject.Builder builder()
Returns a mutable builder for constructing an instance of VertexModelConfigObject.
The following fields are required:
.auth() .modelName() .providerOptions()
-
-
-
-