Class SessionActParams.Options.Model.VertexModelConfigObject.Auth
-
- All Implemented Interfaces:
public final class SessionActParams.Options.Model.VertexModelConfigObject.AuthVertex provider authentication configuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionActParams.Options.Model.VertexModelConfigObject.Auth.BuilderA builder for Auth.
public final classSessionActParams.Options.Model.VertexModelConfigObject.Auth.CredentialsGoogle Cloud service account credentials
public final classSessionActParams.Options.Model.VertexModelConfigObject.Auth.ScopesGoogle auth scopes for the desired API request
-
Method Summary
Modifier and Type Method Description final SessionActParams.Options.Model.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<SessionActParams.Options.Model.VertexModelConfigObject.Auth.Scopes>scopes()Google auth scopes for the desired API request final Optional<String>universeDomain()Google Cloud universe domain final JsonField<SessionActParams.Options.Model.VertexModelConfigObject.Auth.Credentials>_credentials()Returns the raw JSON value of credentials. final JsonField<String>_projectId()Returns the raw JSON value of projectId. final JsonField<SessionActParams.Options.Model.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 SessionActParams.Options.Model.VertexModelConfigObject.Auth.BuildertoBuilder()final SessionActParams.Options.Model.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 SessionActParams.Options.Model.VertexModelConfigObject.Auth.Builderbuilder()Returns a mutable builder for constructing an instance of Auth. -
-
Method Detail
-
credentials
final SessionActParams.Options.Model.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<SessionActParams.Options.Model.VertexModelConfigObject.Auth.Scopes> scopes()
Google auth scopes for the desired API request
-
universeDomain
final Optional<String> universeDomain()
Google Cloud universe domain
-
_credentials
final JsonField<SessionActParams.Options.Model.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<SessionActParams.Options.Model.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 SessionActParams.Options.Model.VertexModelConfigObject.Auth.Builder toBuilder()
-
validate
final SessionActParams.Options.Model.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 SessionActParams.Options.Model.VertexModelConfigObject.Auth.Builder builder()
Returns a mutable builder for constructing an instance of Auth.
The following fields are required:
.credentials()
-
-
-
-