# Class VertexCredentials

java.lang.Object
com.google.adk.models.VertexCredentials

public abstract class VertexCredentials extends Object
Credentials for accessing Gemini models through Vertex.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `VertexCredentials.Builder`
  Builder for `VertexCredentials`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `VertexCredentials()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static VertexCredentials.Builder`
  `builder()`
  `abstract Optional<com.google.auth.oauth2.GoogleCredentials>`
  `credentials()`
  `abstract Optional<String>`
  `location()`
  `abstract Optional<String>`
  `project()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### VertexCredentials

    public VertexCredentials()

- ## Method Details

  - ### project

    public abstract Optional<String> project()

  - ### location

    public abstract Optional<String> location()

  - ### credentials

    public abstract Optional<com.google.auth.oauth2.GoogleCredentials> credentials()

  - ### builder

    public static VertexCredentials.Builder builder()