Class ModelConfig.VertexModelConfigObject.ProviderOptions.Vertex
-
- All Implemented Interfaces:
public final class ModelConfig.VertexModelConfigObject.ProviderOptions.VertexVertex AI provider-specific settings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classModelConfig.VertexModelConfigObject.ProviderOptions.Vertex.BuilderA builder for Vertex.
public final classModelConfig.VertexModelConfigObject.ProviderOptions.Vertex.HeadersCustom headers sent with every request to the Vertex AI provider
-
Method Summary
Modifier and Type Method Description final Stringlocation()Google Cloud location for Vertex AI models final Stringproject()Google Cloud project ID for Vertex AI models final Optional<String>baseUrl()Base URL for the Vertex AI provider final Optional<ModelConfig.VertexModelConfigObject.ProviderOptions.Vertex.Headers>headers()Custom headers sent with every request to the Vertex AI provider final JsonField<String>_location()Returns the raw JSON value of location. final JsonField<String>_project()Returns the raw JSON value of project. final JsonField<String>_baseUrl()Returns the raw JSON value of baseUrl. final JsonField<ModelConfig.VertexModelConfigObject.ProviderOptions.Vertex.Headers>_headers()Returns the raw JSON value of headers. final Map<String, JsonValue>_additionalProperties()final ModelConfig.VertexModelConfigObject.ProviderOptions.Vertex.BuildertoBuilder()final ModelConfig.VertexModelConfigObject.ProviderOptions.Vertexvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ModelConfig.VertexModelConfigObject.ProviderOptions.Vertex.Builderbuilder()Returns a mutable builder for constructing an instance of Vertex. -
-
Method Detail
-
headers
final Optional<ModelConfig.VertexModelConfigObject.ProviderOptions.Vertex.Headers> headers()
Custom headers sent with every request to the Vertex AI provider
-
_location
final JsonField<String> _location()
Returns the raw JSON value of location.
Unlike location, this method doesn't throw if the JSON field has an unexpected type.
-
_project
final JsonField<String> _project()
Returns the raw JSON value of project.
Unlike project, 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<ModelConfig.VertexModelConfigObject.ProviderOptions.Vertex.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 ModelConfig.VertexModelConfigObject.ProviderOptions.Vertex.Builder toBuilder()
-
validate
final ModelConfig.VertexModelConfigObject.ProviderOptions.Vertex 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 ModelConfig.VertexModelConfigObject.ProviderOptions.Vertex.Builder builder()
Returns a mutable builder for constructing an instance of Vertex.
The following fields are required:
.location() .project()
-
-
-
-