import * as pulumi from "@pulumi/pulumi"; /** * Use this function to get an Google authentication token for the current login context. */ export declare function getClientToken(opts?: pulumi.InvokeOptions): Promise; /** * Configuration values returned by getClientToken. */ export interface GetClientTokenResult { /** * The OAuth2 access token used by the client to authenticate against the Google Cloud API. */ readonly accessToken: string; /** * Expiry is the optional expiration time of the access token. If zero, TokenSource implementations will reuse the same token forever and RefreshToken or equivalent mechanisms for that TokenSource will not be used. */ readonly expiry?: string; /** * RefreshToken is a token that's used by the application (as opposed to the user) to refresh the access token if it expires. */ readonly refreshToken?: string; /** * The type of auth token. Possible types are "Bearer", "MAC", "Basic". */ readonly tokenType: string; } /** * Use this function to get an Google authentication token for the current login context. */ export declare function getClientTokenOutput(opts?: pulumi.InvokeOptions): pulumi.Output;