Interface ServiceAccountCredentials.Builder

  • Method Details

    • adminAccountEmail

      ServiceAccountCredentials.Builder adminAccountEmail(String adminAccountEmail)

      The email address of the Google Workspace administrator account that the service account impersonates through domain-wide delegation. This field is required.

      Parameters:
      adminAccountEmail - The email address of the Google Workspace administrator account that the service account impersonates through domain-wide delegation. This field is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceAccountPrivateKey

      ServiceAccountCredentials.Builder serviceAccountPrivateKey(String serviceAccountPrivateKey)

      The private key of the Google service account used for domain-wide delegation. This field is required.

      Parameters:
      serviceAccountPrivateKey - The private key of the Google service account used for domain-wide delegation. This field is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientEmail

      ServiceAccountCredentials.Builder clientEmail(String clientEmail)

      The client email address of the Google service account used for domain-wide delegation. This field is required.

      Parameters:
      clientEmail - The client email address of the Google service account used for domain-wide delegation. This field is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.