Class ModelConfig.VertexModelConfigObject.Auth
-
- All Implemented Interfaces:
public final class ModelConfig.VertexModelConfigObject.AuthVertex provider authentication configuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classModelConfig.VertexModelConfigObject.Auth.BuilderA builder for Auth.
public final classModelConfig.VertexModelConfigObject.Auth.CredentialsGoogle Cloud service account credentials
public final classModelConfig.VertexModelConfigObject.Auth.ScopesGoogle auth scopes for the desired API request
-
Method Summary
Modifier and Type Method Description final ModelConfig.VertexModelConfigObject.Auth.Credentialscredentials()Google Cloud service account credentials final JsonValue_type()Use inline Google Cloud service account credentials for provider authenticationExpected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("googleServiceAccount")final Optional<String>projectId()Google Cloud project ID used by google-auth-library final Optional<ModelConfig.VertexModelConfigObject.Auth.Scopes>scopes()Google auth scopes for the desired API request final Optional<String>universeDomain()Google Cloud universe domain final JsonField<ModelConfig.VertexModelConfigObject.Auth.Credentials>_credentials()Returns the raw JSON value of credentials. final JsonField<String>_projectId()Returns the raw JSON value of projectId. final JsonField<ModelConfig.VertexModelConfigObject.Auth.Scopes>_scopes()Returns the raw JSON value of scopes. final JsonField<String>_universeDomain()Returns the raw JSON value of universeDomain. final Map<String, JsonValue>_additionalProperties()final ModelConfig.VertexModelConfigObject.Auth.BuildertoBuilder()final ModelConfig.VertexModelConfigObject.Authvalidate()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.Auth.Builderbuilder()Returns a mutable builder for constructing an instance of Auth. -
-
Method Detail
-
credentials
final ModelConfig.VertexModelConfigObject.Auth.Credentials credentials()
Google Cloud service account credentials
-
_type
final JsonValue _type()
Use inline Google Cloud service account credentials for provider authentication
Expected to always return the following:
JsonValue.from("googleServiceAccount")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
scopes
final Optional<ModelConfig.VertexModelConfigObject.Auth.Scopes> scopes()
Google auth scopes for the desired API request
-
universeDomain
final Optional<String> universeDomain()
Google Cloud universe domain
-
_credentials
final JsonField<ModelConfig.VertexModelConfigObject.Auth.Credentials> _credentials()
Returns the raw JSON value of credentials.
Unlike credentials, this method doesn't throw if the JSON field has an unexpected type.
-
_projectId
final JsonField<String> _projectId()
Returns the raw JSON value of projectId.
Unlike projectId, this method doesn't throw if the JSON field has an unexpected type.
-
_scopes
final JsonField<ModelConfig.VertexModelConfigObject.Auth.Scopes> _scopes()
Returns the raw JSON value of scopes.
Unlike scopes, this method doesn't throw if the JSON field has an unexpected type.
-
_universeDomain
final JsonField<String> _universeDomain()
Returns the raw JSON value of universeDomain.
Unlike universeDomain, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ModelConfig.VertexModelConfigObject.Auth.Builder toBuilder()
-
validate
final ModelConfig.VertexModelConfigObject.Auth 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.Auth.Builder builder()
Returns a mutable builder for constructing an instance of Auth.
The following fields are required:
.credentials()
-
-
-
-