authorization

package
v0.32.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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 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) Project added in v0.32.0

Project of the current user.

func (GetClientConfigResultOutput) Region added in v0.32.0

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

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

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

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

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

The type of auth token. Possible types are "Bearer", "MAC", "Basic".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL