ADK for TypeScript: API Reference
    Preparing search index...

    Interface ServiceAccountCredential

    Represents Google Service Account configuration.

    config = {
    type: "service_account",
    projectId: "your_project_id",
    privateKeyId: "your_private_key_id",
    privateKey: "-----BEGIN PRIVATE KEY-----...",
    clientEmail: "...@....iam.gserviceaccount.com",
    clientId: "your_client_id",
    authUri: "https://accounts.google.com/o/oauth2/auth",
    tokenUri: "https://oauth2.googleapis.com/token",
    authProviderX509CertUrl: "https://www.googleapis.com/oauth2/v1/certs",
    clientX509CertUrl: "https://www.googleapis.com/robot/v1/metadata/x509/...",
    universeDomain: "googleapis.com",
    }
    interface ServiceAccountCredential {
        authProviderX509CertUrl: string;
        authUri: string;
        clientEmail: string;
        clientId: string;
        clientX509CertUrl: string;
        privateKey: string;
        privateKeyId: string;
        projectId: string;
        tokenUri: string;
        type: "service_account";
        universeDomain: string;
    }

    Properties

    authProviderX509CertUrl: string

    URL for auth provider's X.509 cert.

    authUri: string

    The authorization URI.

    clientEmail: string

    The client email.

    clientId: string

    The client ID.

    clientX509CertUrl: string

    URL for the client's X.509 cert.

    privateKey: string

    The private key value.

    privateKeyId: string

    The ID of the private key.

    projectId: string

    The project ID of the Google Cloud project.

    tokenUri: string

    The token URI.

    type: "service_account"

    The type should be 'service_account'.

    universeDomain: string

    The universe domain.