Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetClientConfigResult ¶
type GetClientConfigResult struct { // Project of the current user. Project string `pulumi:"project"` // Google Cloud region Region string `pulumi:"region"` // Google Cloud zone Zone *string `pulumi:"zone"` }
Configuration values returned by getClientConfig.
func GetClientConfig ¶
func GetClientConfig(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetClientConfigResult, error)
Use this function to access the current configuration of the native Google provider.
type GetClientTokenResult ¶
type GetClientTokenResult struct { // The OAuth2 access token used by the client to authenticate against the Google Cloud API. AccessToken string `pulumi:"accessToken"` // 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. Expiry *string `pulumi:"expiry"` // RefreshToken is a token that's used by the application (as opposed to the user) to refresh the access token if it expires. RefreshToken *string `pulumi:"refreshToken"` // The type of auth token. Possible types are "Bearer", "MAC", "Basic". TokenType string `pulumi:"tokenType"` }
Configuration values returned by getClientToken.
func GetClientToken ¶
func GetClientToken(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetClientTokenResult, error)
Use this function to get an Google authentication token for the current login context.
Click to show internal directories.
Click to hide internal directories.