Documentation
¶
Index ¶
- type GetClientConfigResult
- type GetClientConfigResultOutput
- func (GetClientConfigResultOutput) ElementType() reflect.Type
- func (o GetClientConfigResultOutput) Project() pulumi.StringOutput
- func (o GetClientConfigResultOutput) Region() pulumi.StringOutput
- func (o GetClientConfigResultOutput) ToGetClientConfigResultOutput() GetClientConfigResultOutput
- func (o GetClientConfigResultOutput) ToGetClientConfigResultOutputWithContext(ctx context.Context) GetClientConfigResultOutput
- func (o GetClientConfigResultOutput) Zone() pulumi.StringPtrOutput
- type GetClientTokenResult
- type GetClientTokenResultOutput
- func (o GetClientTokenResultOutput) AccessToken() pulumi.StringOutput
- func (GetClientTokenResultOutput) ElementType() reflect.Type
- func (o GetClientTokenResultOutput) Expiry() pulumi.StringPtrOutput
- func (o GetClientTokenResultOutput) RefreshToken() pulumi.StringPtrOutput
- func (o GetClientTokenResultOutput) ToGetClientTokenResultOutput() GetClientTokenResultOutput
- func (o GetClientTokenResultOutput) ToGetClientTokenResultOutputWithContext(ctx context.Context) GetClientTokenResultOutput
- func (o GetClientTokenResultOutput) TokenType() pulumi.StringOutput
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 GetClientConfigResultOutput ¶ added in v0.32.0
type GetClientConfigResultOutput struct{ *pulumi.OutputState }
Configuration values returned by getClientConfig.
func GetClientConfigOutput ¶ added in v0.32.0
func GetClientConfigOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetClientConfigResultOutput
func (GetClientConfigResultOutput) ElementType ¶ added in v0.32.0
func (GetClientConfigResultOutput) ElementType() reflect.Type
func (GetClientConfigResultOutput) Project ¶ added in v0.32.0
func (o GetClientConfigResultOutput) Project() pulumi.StringOutput
Project of the current user.
func (GetClientConfigResultOutput) Region ¶ added in v0.32.0
func (o GetClientConfigResultOutput) Region() pulumi.StringOutput
Google Cloud region
func (GetClientConfigResultOutput) ToGetClientConfigResultOutput ¶ added in v0.32.0
func (o GetClientConfigResultOutput) ToGetClientConfigResultOutput() GetClientConfigResultOutput
func (GetClientConfigResultOutput) ToGetClientConfigResultOutputWithContext ¶ added in v0.32.0
func (o GetClientConfigResultOutput) ToGetClientConfigResultOutputWithContext(ctx context.Context) GetClientConfigResultOutput
func (GetClientConfigResultOutput) Zone ¶ added in v0.32.0
func (o GetClientConfigResultOutput) Zone() pulumi.StringPtrOutput
Google Cloud zone
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.
type GetClientTokenResultOutput ¶ added in v0.32.0
type GetClientTokenResultOutput struct{ *pulumi.OutputState }
Configuration values returned by getClientToken.
func GetClientTokenOutput ¶ added in v0.32.0
func GetClientTokenOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetClientTokenResultOutput
func (GetClientTokenResultOutput) AccessToken ¶ added in v0.32.0
func (o GetClientTokenResultOutput) AccessToken() pulumi.StringOutput
The OAuth2 access token used by the client to authenticate against the Google Cloud API.
func (GetClientTokenResultOutput) ElementType ¶ added in v0.32.0
func (GetClientTokenResultOutput) ElementType() reflect.Type
func (GetClientTokenResultOutput) Expiry ¶ added in v0.32.0
func (o GetClientTokenResultOutput) Expiry() pulumi.StringPtrOutput
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.
func (GetClientTokenResultOutput) RefreshToken ¶ added in v0.32.0
func (o GetClientTokenResultOutput) RefreshToken() pulumi.StringPtrOutput
RefreshToken is a token that's used by the application (as opposed to the user) to refresh the access token if it expires.
func (GetClientTokenResultOutput) ToGetClientTokenResultOutput ¶ added in v0.32.0
func (o GetClientTokenResultOutput) ToGetClientTokenResultOutput() GetClientTokenResultOutput
func (GetClientTokenResultOutput) ToGetClientTokenResultOutputWithContext ¶ added in v0.32.0
func (o GetClientTokenResultOutput) ToGetClientTokenResultOutputWithContext(ctx context.Context) GetClientTokenResultOutput
func (GetClientTokenResultOutput) TokenType ¶ added in v0.32.0
func (o GetClientTokenResultOutput) TokenType() pulumi.StringOutput
The type of auth token. Possible types are "Bearer", "MAC", "Basic".