v2

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	pulumi.CustomResourceState

	// A timestamp identifying the time this key was originally created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// A timestamp when this key was deleted. If the resource is not deleted, this must be empty.
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// Human-readable display name of this key that you can modify. The maximum length is 63 characters.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// A checksum computed by the server based on the current value of the Key resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. See https://google.aip.dev/154.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// An encrypted and signed value held by this key. This field can be accessed only through the `GetKeyString` method.
	KeyString pulumi.StringOutput `pulumi:"keyString"`
	// The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Key restrictions.
	Restrictions V2RestrictionsResponseOutput `pulumi:"restrictions"`
	// Unique id in UUID4 format.
	Uid pulumi.StringOutput `pulumi:"uid"`
	// A timestamp identifying the time this key was last updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a new API key. NOTE: Key is a global resource; hence the only supported value for location is `global`. Auto-naming is currently not supported for this resource.

func GetKey

func GetKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KeyState, opts ...pulumi.ResourceOption) (*Key, error)

GetKey gets an existing Key resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewKey

func NewKey(ctx *pulumi.Context,
	name string, args *KeyArgs, opts ...pulumi.ResourceOption) (*Key, error)

NewKey registers a new resource with the given unique name, arguments, and options.

func (*Key) ElementType

func (*Key) ElementType() reflect.Type

func (*Key) ToKeyOutput

func (i *Key) ToKeyOutput() KeyOutput

func (*Key) ToKeyOutputWithContext

func (i *Key) ToKeyOutputWithContext(ctx context.Context) KeyOutput

type KeyArgs

type KeyArgs struct {
	// Human-readable display name of this key that you can modify. The maximum length is 63 characters.
	DisplayName pulumi.StringPtrInput
	// User specified key id (optional). If specified, it will become the final component of the key resource name. The id must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the id must match the regular expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. The id must NOT be a UUID-like string.
	KeyId    pulumi.StringPtrInput
	Location pulumi.StringPtrInput
	Project  pulumi.StringPtrInput
	// Key restrictions.
	Restrictions V2RestrictionsPtrInput
}

The set of arguments for constructing a Key resource.

func (KeyArgs) ElementType

func (KeyArgs) ElementType() reflect.Type

type KeyInput

type KeyInput interface {
	pulumi.Input

	ToKeyOutput() KeyOutput
	ToKeyOutputWithContext(ctx context.Context) KeyOutput
}

type KeyOutput

type KeyOutput struct{ *pulumi.OutputState }

func (KeyOutput) ElementType

func (KeyOutput) ElementType() reflect.Type

func (KeyOutput) ToKeyOutput

func (o KeyOutput) ToKeyOutput() KeyOutput

func (KeyOutput) ToKeyOutputWithContext

func (o KeyOutput) ToKeyOutputWithContext(ctx context.Context) KeyOutput

type KeyState

type KeyState struct {
}

func (KeyState) ElementType

func (KeyState) ElementType() reflect.Type

type LookupKeyArgs added in v0.4.0

type LookupKeyArgs struct {
	KeyId    string  `pulumi:"keyId"`
	Location string  `pulumi:"location"`
	Project  *string `pulumi:"project"`
}

type LookupKeyOutputArgs added in v0.8.0

type LookupKeyOutputArgs struct {
	KeyId    pulumi.StringInput    `pulumi:"keyId"`
	Location pulumi.StringInput    `pulumi:"location"`
	Project  pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupKeyOutputArgs) ElementType added in v0.8.0

func (LookupKeyOutputArgs) ElementType() reflect.Type

type LookupKeyResult added in v0.4.0

type LookupKeyResult struct {
	// A timestamp identifying the time this key was originally created.
	CreateTime string `pulumi:"createTime"`
	// A timestamp when this key was deleted. If the resource is not deleted, this must be empty.
	DeleteTime string `pulumi:"deleteTime"`
	// Human-readable display name of this key that you can modify. The maximum length is 63 characters.
	DisplayName string `pulumi:"displayName"`
	// A checksum computed by the server based on the current value of the Key resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. See https://google.aip.dev/154.
	Etag string `pulumi:"etag"`
	// An encrypted and signed value held by this key. This field can be accessed only through the `GetKeyString` method.
	KeyString string `pulumi:"keyString"`
	// The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`.
	Name string `pulumi:"name"`
	// Key restrictions.
	Restrictions V2RestrictionsResponse `pulumi:"restrictions"`
	// Unique id in UUID4 format.
	Uid string `pulumi:"uid"`
	// A timestamp identifying the time this key was last updated.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupKey added in v0.4.0

func LookupKey(ctx *pulumi.Context, args *LookupKeyArgs, opts ...pulumi.InvokeOption) (*LookupKeyResult, error)

Gets the metadata for an API key. The key string of the API key isn't included in the response. NOTE: Key is a global resource; hence the only supported value for location is `global`.

type LookupKeyResultOutput added in v0.8.0

type LookupKeyResultOutput struct{ *pulumi.OutputState }

func LookupKeyOutput added in v0.8.0

func LookupKeyOutput(ctx *pulumi.Context, args LookupKeyOutputArgs, opts ...pulumi.InvokeOption) LookupKeyResultOutput

func (LookupKeyResultOutput) CreateTime added in v0.8.0

func (o LookupKeyResultOutput) CreateTime() pulumi.StringOutput

A timestamp identifying the time this key was originally created.

func (LookupKeyResultOutput) DeleteTime added in v0.8.0

func (o LookupKeyResultOutput) DeleteTime() pulumi.StringOutput

A timestamp when this key was deleted. If the resource is not deleted, this must be empty.

func (LookupKeyResultOutput) DisplayName added in v0.8.0

func (o LookupKeyResultOutput) DisplayName() pulumi.StringOutput

Human-readable display name of this key that you can modify. The maximum length is 63 characters.

func (LookupKeyResultOutput) ElementType added in v0.8.0

func (LookupKeyResultOutput) ElementType() reflect.Type

func (LookupKeyResultOutput) Etag added in v0.8.0

A checksum computed by the server based on the current value of the Key resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. See https://google.aip.dev/154.

func (LookupKeyResultOutput) KeyString added in v0.8.0

An encrypted and signed value held by this key. This field can be accessed only through the `GetKeyString` method.

func (LookupKeyResultOutput) Name added in v0.8.0

The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`.

func (LookupKeyResultOutput) Restrictions added in v0.8.0

Key restrictions.

func (LookupKeyResultOutput) ToLookupKeyResultOutput added in v0.8.0

func (o LookupKeyResultOutput) ToLookupKeyResultOutput() LookupKeyResultOutput

func (LookupKeyResultOutput) ToLookupKeyResultOutputWithContext added in v0.8.0

func (o LookupKeyResultOutput) ToLookupKeyResultOutputWithContext(ctx context.Context) LookupKeyResultOutput

func (LookupKeyResultOutput) Uid added in v0.8.0

Unique id in UUID4 format.

func (LookupKeyResultOutput) UpdateTime added in v0.8.0

func (o LookupKeyResultOutput) UpdateTime() pulumi.StringOutput

A timestamp identifying the time this key was last updated.

type V2AndroidApplication

type V2AndroidApplication struct {
	// The package name of the application.
	PackageName *string `pulumi:"packageName"`
	// The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.
	Sha1Fingerprint *string `pulumi:"sha1Fingerprint"`
}

Identifier of an Android application for key use.

type V2AndroidApplicationArgs

type V2AndroidApplicationArgs struct {
	// The package name of the application.
	PackageName pulumi.StringPtrInput `pulumi:"packageName"`
	// The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.
	Sha1Fingerprint pulumi.StringPtrInput `pulumi:"sha1Fingerprint"`
}

Identifier of an Android application for key use.

func (V2AndroidApplicationArgs) ElementType

func (V2AndroidApplicationArgs) ElementType() reflect.Type

func (V2AndroidApplicationArgs) ToV2AndroidApplicationOutput

func (i V2AndroidApplicationArgs) ToV2AndroidApplicationOutput() V2AndroidApplicationOutput

func (V2AndroidApplicationArgs) ToV2AndroidApplicationOutputWithContext

func (i V2AndroidApplicationArgs) ToV2AndroidApplicationOutputWithContext(ctx context.Context) V2AndroidApplicationOutput

type V2AndroidApplicationArray

type V2AndroidApplicationArray []V2AndroidApplicationInput

func (V2AndroidApplicationArray) ElementType

func (V2AndroidApplicationArray) ElementType() reflect.Type

func (V2AndroidApplicationArray) ToV2AndroidApplicationArrayOutput

func (i V2AndroidApplicationArray) ToV2AndroidApplicationArrayOutput() V2AndroidApplicationArrayOutput

func (V2AndroidApplicationArray) ToV2AndroidApplicationArrayOutputWithContext

func (i V2AndroidApplicationArray) ToV2AndroidApplicationArrayOutputWithContext(ctx context.Context) V2AndroidApplicationArrayOutput

type V2AndroidApplicationArrayInput

type V2AndroidApplicationArrayInput interface {
	pulumi.Input

	ToV2AndroidApplicationArrayOutput() V2AndroidApplicationArrayOutput
	ToV2AndroidApplicationArrayOutputWithContext(context.Context) V2AndroidApplicationArrayOutput
}

V2AndroidApplicationArrayInput is an input type that accepts V2AndroidApplicationArray and V2AndroidApplicationArrayOutput values. You can construct a concrete instance of `V2AndroidApplicationArrayInput` via:

V2AndroidApplicationArray{ V2AndroidApplicationArgs{...} }

type V2AndroidApplicationArrayOutput

type V2AndroidApplicationArrayOutput struct{ *pulumi.OutputState }

func (V2AndroidApplicationArrayOutput) ElementType

func (V2AndroidApplicationArrayOutput) Index

func (V2AndroidApplicationArrayOutput) ToV2AndroidApplicationArrayOutput

func (o V2AndroidApplicationArrayOutput) ToV2AndroidApplicationArrayOutput() V2AndroidApplicationArrayOutput

func (V2AndroidApplicationArrayOutput) ToV2AndroidApplicationArrayOutputWithContext

func (o V2AndroidApplicationArrayOutput) ToV2AndroidApplicationArrayOutputWithContext(ctx context.Context) V2AndroidApplicationArrayOutput

type V2AndroidApplicationInput

type V2AndroidApplicationInput interface {
	pulumi.Input

	ToV2AndroidApplicationOutput() V2AndroidApplicationOutput
	ToV2AndroidApplicationOutputWithContext(context.Context) V2AndroidApplicationOutput
}

V2AndroidApplicationInput is an input type that accepts V2AndroidApplicationArgs and V2AndroidApplicationOutput values. You can construct a concrete instance of `V2AndroidApplicationInput` via:

V2AndroidApplicationArgs{...}

type V2AndroidApplicationOutput

type V2AndroidApplicationOutput struct{ *pulumi.OutputState }

Identifier of an Android application for key use.

func (V2AndroidApplicationOutput) ElementType

func (V2AndroidApplicationOutput) ElementType() reflect.Type

func (V2AndroidApplicationOutput) PackageName

The package name of the application.

func (V2AndroidApplicationOutput) Sha1Fingerprint

The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.

func (V2AndroidApplicationOutput) ToV2AndroidApplicationOutput

func (o V2AndroidApplicationOutput) ToV2AndroidApplicationOutput() V2AndroidApplicationOutput

func (V2AndroidApplicationOutput) ToV2AndroidApplicationOutputWithContext

func (o V2AndroidApplicationOutput) ToV2AndroidApplicationOutputWithContext(ctx context.Context) V2AndroidApplicationOutput

type V2AndroidApplicationResponse

type V2AndroidApplicationResponse struct {
	// The package name of the application.
	PackageName string `pulumi:"packageName"`
	// The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.
	Sha1Fingerprint string `pulumi:"sha1Fingerprint"`
}

Identifier of an Android application for key use.

type V2AndroidApplicationResponseArrayOutput

type V2AndroidApplicationResponseArrayOutput struct{ *pulumi.OutputState }

func (V2AndroidApplicationResponseArrayOutput) ElementType

func (V2AndroidApplicationResponseArrayOutput) Index

func (V2AndroidApplicationResponseArrayOutput) ToV2AndroidApplicationResponseArrayOutput

func (o V2AndroidApplicationResponseArrayOutput) ToV2AndroidApplicationResponseArrayOutput() V2AndroidApplicationResponseArrayOutput

func (V2AndroidApplicationResponseArrayOutput) ToV2AndroidApplicationResponseArrayOutputWithContext

func (o V2AndroidApplicationResponseArrayOutput) ToV2AndroidApplicationResponseArrayOutputWithContext(ctx context.Context) V2AndroidApplicationResponseArrayOutput

type V2AndroidApplicationResponseOutput

type V2AndroidApplicationResponseOutput struct{ *pulumi.OutputState }

Identifier of an Android application for key use.

func (V2AndroidApplicationResponseOutput) ElementType

func (V2AndroidApplicationResponseOutput) PackageName

The package name of the application.

func (V2AndroidApplicationResponseOutput) Sha1Fingerprint

The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.

func (V2AndroidApplicationResponseOutput) ToV2AndroidApplicationResponseOutput

func (o V2AndroidApplicationResponseOutput) ToV2AndroidApplicationResponseOutput() V2AndroidApplicationResponseOutput

func (V2AndroidApplicationResponseOutput) ToV2AndroidApplicationResponseOutputWithContext

func (o V2AndroidApplicationResponseOutput) ToV2AndroidApplicationResponseOutputWithContext(ctx context.Context) V2AndroidApplicationResponseOutput

type V2AndroidKeyRestrictions

type V2AndroidKeyRestrictions struct {
	// A list of Android applications that are allowed to make API calls with this key.
	AllowedApplications []V2AndroidApplication `pulumi:"allowedApplications"`
}

The Android apps that are allowed to use the key.

type V2AndroidKeyRestrictionsArgs

type V2AndroidKeyRestrictionsArgs struct {
	// A list of Android applications that are allowed to make API calls with this key.
	AllowedApplications V2AndroidApplicationArrayInput `pulumi:"allowedApplications"`
}

The Android apps that are allowed to use the key.

func (V2AndroidKeyRestrictionsArgs) ElementType

func (V2AndroidKeyRestrictionsArgs) ToV2AndroidKeyRestrictionsOutput

func (i V2AndroidKeyRestrictionsArgs) ToV2AndroidKeyRestrictionsOutput() V2AndroidKeyRestrictionsOutput

func (V2AndroidKeyRestrictionsArgs) ToV2AndroidKeyRestrictionsOutputWithContext

func (i V2AndroidKeyRestrictionsArgs) ToV2AndroidKeyRestrictionsOutputWithContext(ctx context.Context) V2AndroidKeyRestrictionsOutput

func (V2AndroidKeyRestrictionsArgs) ToV2AndroidKeyRestrictionsPtrOutput

func (i V2AndroidKeyRestrictionsArgs) ToV2AndroidKeyRestrictionsPtrOutput() V2AndroidKeyRestrictionsPtrOutput

func (V2AndroidKeyRestrictionsArgs) ToV2AndroidKeyRestrictionsPtrOutputWithContext

func (i V2AndroidKeyRestrictionsArgs) ToV2AndroidKeyRestrictionsPtrOutputWithContext(ctx context.Context) V2AndroidKeyRestrictionsPtrOutput

type V2AndroidKeyRestrictionsInput

type V2AndroidKeyRestrictionsInput interface {
	pulumi.Input

	ToV2AndroidKeyRestrictionsOutput() V2AndroidKeyRestrictionsOutput
	ToV2AndroidKeyRestrictionsOutputWithContext(context.Context) V2AndroidKeyRestrictionsOutput
}

V2AndroidKeyRestrictionsInput is an input type that accepts V2AndroidKeyRestrictionsArgs and V2AndroidKeyRestrictionsOutput values. You can construct a concrete instance of `V2AndroidKeyRestrictionsInput` via:

V2AndroidKeyRestrictionsArgs{...}

type V2AndroidKeyRestrictionsOutput

type V2AndroidKeyRestrictionsOutput struct{ *pulumi.OutputState }

The Android apps that are allowed to use the key.

func (V2AndroidKeyRestrictionsOutput) AllowedApplications

A list of Android applications that are allowed to make API calls with this key.

func (V2AndroidKeyRestrictionsOutput) ElementType

func (V2AndroidKeyRestrictionsOutput) ToV2AndroidKeyRestrictionsOutput

func (o V2AndroidKeyRestrictionsOutput) ToV2AndroidKeyRestrictionsOutput() V2AndroidKeyRestrictionsOutput

func (V2AndroidKeyRestrictionsOutput) ToV2AndroidKeyRestrictionsOutputWithContext

func (o V2AndroidKeyRestrictionsOutput) ToV2AndroidKeyRestrictionsOutputWithContext(ctx context.Context) V2AndroidKeyRestrictionsOutput

func (V2AndroidKeyRestrictionsOutput) ToV2AndroidKeyRestrictionsPtrOutput

func (o V2AndroidKeyRestrictionsOutput) ToV2AndroidKeyRestrictionsPtrOutput() V2AndroidKeyRestrictionsPtrOutput

func (V2AndroidKeyRestrictionsOutput) ToV2AndroidKeyRestrictionsPtrOutputWithContext

func (o V2AndroidKeyRestrictionsOutput) ToV2AndroidKeyRestrictionsPtrOutputWithContext(ctx context.Context) V2AndroidKeyRestrictionsPtrOutput

type V2AndroidKeyRestrictionsPtrInput

type V2AndroidKeyRestrictionsPtrInput interface {
	pulumi.Input

	ToV2AndroidKeyRestrictionsPtrOutput() V2AndroidKeyRestrictionsPtrOutput
	ToV2AndroidKeyRestrictionsPtrOutputWithContext(context.Context) V2AndroidKeyRestrictionsPtrOutput
}

V2AndroidKeyRestrictionsPtrInput is an input type that accepts V2AndroidKeyRestrictionsArgs, V2AndroidKeyRestrictionsPtr and V2AndroidKeyRestrictionsPtrOutput values. You can construct a concrete instance of `V2AndroidKeyRestrictionsPtrInput` via:

        V2AndroidKeyRestrictionsArgs{...}

or:

        nil

type V2AndroidKeyRestrictionsPtrOutput

type V2AndroidKeyRestrictionsPtrOutput struct{ *pulumi.OutputState }

func (V2AndroidKeyRestrictionsPtrOutput) AllowedApplications

A list of Android applications that are allowed to make API calls with this key.

func (V2AndroidKeyRestrictionsPtrOutput) Elem

func (V2AndroidKeyRestrictionsPtrOutput) ElementType

func (V2AndroidKeyRestrictionsPtrOutput) ToV2AndroidKeyRestrictionsPtrOutput

func (o V2AndroidKeyRestrictionsPtrOutput) ToV2AndroidKeyRestrictionsPtrOutput() V2AndroidKeyRestrictionsPtrOutput

func (V2AndroidKeyRestrictionsPtrOutput) ToV2AndroidKeyRestrictionsPtrOutputWithContext

func (o V2AndroidKeyRestrictionsPtrOutput) ToV2AndroidKeyRestrictionsPtrOutputWithContext(ctx context.Context) V2AndroidKeyRestrictionsPtrOutput

type V2AndroidKeyRestrictionsResponse

type V2AndroidKeyRestrictionsResponse struct {
	// A list of Android applications that are allowed to make API calls with this key.
	AllowedApplications []V2AndroidApplicationResponse `pulumi:"allowedApplications"`
}

The Android apps that are allowed to use the key.

type V2AndroidKeyRestrictionsResponseOutput

type V2AndroidKeyRestrictionsResponseOutput struct{ *pulumi.OutputState }

The Android apps that are allowed to use the key.

func (V2AndroidKeyRestrictionsResponseOutput) AllowedApplications

A list of Android applications that are allowed to make API calls with this key.

func (V2AndroidKeyRestrictionsResponseOutput) ElementType

func (V2AndroidKeyRestrictionsResponseOutput) ToV2AndroidKeyRestrictionsResponseOutput

func (o V2AndroidKeyRestrictionsResponseOutput) ToV2AndroidKeyRestrictionsResponseOutput() V2AndroidKeyRestrictionsResponseOutput

func (V2AndroidKeyRestrictionsResponseOutput) ToV2AndroidKeyRestrictionsResponseOutputWithContext

func (o V2AndroidKeyRestrictionsResponseOutput) ToV2AndroidKeyRestrictionsResponseOutputWithContext(ctx context.Context) V2AndroidKeyRestrictionsResponseOutput

type V2ApiTarget

type V2ApiTarget struct {
	// Optional. List of one or more methods that can be called. If empty, all methods for the service are allowed. A wildcard (*) can be used as the last symbol. Valid examples: `google.cloud.translate.v2.TranslateService.GetSupportedLanguage` `TranslateText` `Get*` `translate.googleapis.com.Get*`
	Methods []string `pulumi:"methods"`
	// The service for this restriction. It should be the canonical service name, for example: `translate.googleapis.com`. You can use [`gcloud services list`](/sdk/gcloud/reference/services/list) to get a list of services that are enabled in the project.
	Service *string `pulumi:"service"`
}

A restriction for a specific service and optionally one or multiple specific methods. Both fields are case insensitive.

type V2ApiTargetArgs

type V2ApiTargetArgs struct {
	// Optional. List of one or more methods that can be called. If empty, all methods for the service are allowed. A wildcard (*) can be used as the last symbol. Valid examples: `google.cloud.translate.v2.TranslateService.GetSupportedLanguage` `TranslateText` `Get*` `translate.googleapis.com.Get*`
	Methods pulumi.StringArrayInput `pulumi:"methods"`
	// The service for this restriction. It should be the canonical service name, for example: `translate.googleapis.com`. You can use [`gcloud services list`](/sdk/gcloud/reference/services/list) to get a list of services that are enabled in the project.
	Service pulumi.StringPtrInput `pulumi:"service"`
}

A restriction for a specific service and optionally one or multiple specific methods. Both fields are case insensitive.

func (V2ApiTargetArgs) ElementType

func (V2ApiTargetArgs) ElementType() reflect.Type

func (V2ApiTargetArgs) ToV2ApiTargetOutput

func (i V2ApiTargetArgs) ToV2ApiTargetOutput() V2ApiTargetOutput

func (V2ApiTargetArgs) ToV2ApiTargetOutputWithContext

func (i V2ApiTargetArgs) ToV2ApiTargetOutputWithContext(ctx context.Context) V2ApiTargetOutput

type V2ApiTargetArray

type V2ApiTargetArray []V2ApiTargetInput

func (V2ApiTargetArray) ElementType

func (V2ApiTargetArray) ElementType() reflect.Type

func (V2ApiTargetArray) ToV2ApiTargetArrayOutput

func (i V2ApiTargetArray) ToV2ApiTargetArrayOutput() V2ApiTargetArrayOutput

func (V2ApiTargetArray) ToV2ApiTargetArrayOutputWithContext

func (i V2ApiTargetArray) ToV2ApiTargetArrayOutputWithContext(ctx context.Context) V2ApiTargetArrayOutput

type V2ApiTargetArrayInput

type V2ApiTargetArrayInput interface {
	pulumi.Input

	ToV2ApiTargetArrayOutput() V2ApiTargetArrayOutput
	ToV2ApiTargetArrayOutputWithContext(context.Context) V2ApiTargetArrayOutput
}

V2ApiTargetArrayInput is an input type that accepts V2ApiTargetArray and V2ApiTargetArrayOutput values. You can construct a concrete instance of `V2ApiTargetArrayInput` via:

V2ApiTargetArray{ V2ApiTargetArgs{...} }

type V2ApiTargetArrayOutput

type V2ApiTargetArrayOutput struct{ *pulumi.OutputState }

func (V2ApiTargetArrayOutput) ElementType

func (V2ApiTargetArrayOutput) ElementType() reflect.Type

func (V2ApiTargetArrayOutput) Index

func (V2ApiTargetArrayOutput) ToV2ApiTargetArrayOutput

func (o V2ApiTargetArrayOutput) ToV2ApiTargetArrayOutput() V2ApiTargetArrayOutput

func (V2ApiTargetArrayOutput) ToV2ApiTargetArrayOutputWithContext

func (o V2ApiTargetArrayOutput) ToV2ApiTargetArrayOutputWithContext(ctx context.Context) V2ApiTargetArrayOutput

type V2ApiTargetInput

type V2ApiTargetInput interface {
	pulumi.Input

	ToV2ApiTargetOutput() V2ApiTargetOutput
	ToV2ApiTargetOutputWithContext(context.Context) V2ApiTargetOutput
}

V2ApiTargetInput is an input type that accepts V2ApiTargetArgs and V2ApiTargetOutput values. You can construct a concrete instance of `V2ApiTargetInput` via:

V2ApiTargetArgs{...}

type V2ApiTargetOutput

type V2ApiTargetOutput struct{ *pulumi.OutputState }

A restriction for a specific service and optionally one or multiple specific methods. Both fields are case insensitive.

func (V2ApiTargetOutput) ElementType

func (V2ApiTargetOutput) ElementType() reflect.Type

func (V2ApiTargetOutput) Methods

Optional. List of one or more methods that can be called. If empty, all methods for the service are allowed. A wildcard (*) can be used as the last symbol. Valid examples: `google.cloud.translate.v2.TranslateService.GetSupportedLanguage` `TranslateText` `Get*` `translate.googleapis.com.Get*`

func (V2ApiTargetOutput) Service

The service for this restriction. It should be the canonical service name, for example: `translate.googleapis.com`. You can use [`gcloud services list`](/sdk/gcloud/reference/services/list) to get a list of services that are enabled in the project.

func (V2ApiTargetOutput) ToV2ApiTargetOutput

func (o V2ApiTargetOutput) ToV2ApiTargetOutput() V2ApiTargetOutput

func (V2ApiTargetOutput) ToV2ApiTargetOutputWithContext

func (o V2ApiTargetOutput) ToV2ApiTargetOutputWithContext(ctx context.Context) V2ApiTargetOutput

type V2ApiTargetResponse

type V2ApiTargetResponse struct {
	// Optional. List of one or more methods that can be called. If empty, all methods for the service are allowed. A wildcard (*) can be used as the last symbol. Valid examples: `google.cloud.translate.v2.TranslateService.GetSupportedLanguage` `TranslateText` `Get*` `translate.googleapis.com.Get*`
	Methods []string `pulumi:"methods"`
	// The service for this restriction. It should be the canonical service name, for example: `translate.googleapis.com`. You can use [`gcloud services list`](/sdk/gcloud/reference/services/list) to get a list of services that are enabled in the project.
	Service string `pulumi:"service"`
}

A restriction for a specific service and optionally one or multiple specific methods. Both fields are case insensitive.

type V2ApiTargetResponseArrayOutput

type V2ApiTargetResponseArrayOutput struct{ *pulumi.OutputState }

func (V2ApiTargetResponseArrayOutput) ElementType

func (V2ApiTargetResponseArrayOutput) Index

func (V2ApiTargetResponseArrayOutput) ToV2ApiTargetResponseArrayOutput

func (o V2ApiTargetResponseArrayOutput) ToV2ApiTargetResponseArrayOutput() V2ApiTargetResponseArrayOutput

func (V2ApiTargetResponseArrayOutput) ToV2ApiTargetResponseArrayOutputWithContext

func (o V2ApiTargetResponseArrayOutput) ToV2ApiTargetResponseArrayOutputWithContext(ctx context.Context) V2ApiTargetResponseArrayOutput

type V2ApiTargetResponseOutput

type V2ApiTargetResponseOutput struct{ *pulumi.OutputState }

A restriction for a specific service and optionally one or multiple specific methods. Both fields are case insensitive.

func (V2ApiTargetResponseOutput) ElementType

func (V2ApiTargetResponseOutput) ElementType() reflect.Type

func (V2ApiTargetResponseOutput) Methods

Optional. List of one or more methods that can be called. If empty, all methods for the service are allowed. A wildcard (*) can be used as the last symbol. Valid examples: `google.cloud.translate.v2.TranslateService.GetSupportedLanguage` `TranslateText` `Get*` `translate.googleapis.com.Get*`

func (V2ApiTargetResponseOutput) Service

The service for this restriction. It should be the canonical service name, for example: `translate.googleapis.com`. You can use [`gcloud services list`](/sdk/gcloud/reference/services/list) to get a list of services that are enabled in the project.

func (V2ApiTargetResponseOutput) ToV2ApiTargetResponseOutput

func (o V2ApiTargetResponseOutput) ToV2ApiTargetResponseOutput() V2ApiTargetResponseOutput

func (V2ApiTargetResponseOutput) ToV2ApiTargetResponseOutputWithContext

func (o V2ApiTargetResponseOutput) ToV2ApiTargetResponseOutputWithContext(ctx context.Context) V2ApiTargetResponseOutput

type V2BrowserKeyRestrictions

type V2BrowserKeyRestrictions struct {
	// A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.
	AllowedReferrers []string `pulumi:"allowedReferrers"`
}

The HTTP referrers (websites) that are allowed to use the key.

type V2BrowserKeyRestrictionsArgs

type V2BrowserKeyRestrictionsArgs struct {
	// A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.
	AllowedReferrers pulumi.StringArrayInput `pulumi:"allowedReferrers"`
}

The HTTP referrers (websites) that are allowed to use the key.

func (V2BrowserKeyRestrictionsArgs) ElementType

func (V2BrowserKeyRestrictionsArgs) ToV2BrowserKeyRestrictionsOutput

func (i V2BrowserKeyRestrictionsArgs) ToV2BrowserKeyRestrictionsOutput() V2BrowserKeyRestrictionsOutput

func (V2BrowserKeyRestrictionsArgs) ToV2BrowserKeyRestrictionsOutputWithContext

func (i V2BrowserKeyRestrictionsArgs) ToV2BrowserKeyRestrictionsOutputWithContext(ctx context.Context) V2BrowserKeyRestrictionsOutput

func (V2BrowserKeyRestrictionsArgs) ToV2BrowserKeyRestrictionsPtrOutput

func (i V2BrowserKeyRestrictionsArgs) ToV2BrowserKeyRestrictionsPtrOutput() V2BrowserKeyRestrictionsPtrOutput

func (V2BrowserKeyRestrictionsArgs) ToV2BrowserKeyRestrictionsPtrOutputWithContext

func (i V2BrowserKeyRestrictionsArgs) ToV2BrowserKeyRestrictionsPtrOutputWithContext(ctx context.Context) V2BrowserKeyRestrictionsPtrOutput

type V2BrowserKeyRestrictionsInput

type V2BrowserKeyRestrictionsInput interface {
	pulumi.Input

	ToV2BrowserKeyRestrictionsOutput() V2BrowserKeyRestrictionsOutput
	ToV2BrowserKeyRestrictionsOutputWithContext(context.Context) V2BrowserKeyRestrictionsOutput
}

V2BrowserKeyRestrictionsInput is an input type that accepts V2BrowserKeyRestrictionsArgs and V2BrowserKeyRestrictionsOutput values. You can construct a concrete instance of `V2BrowserKeyRestrictionsInput` via:

V2BrowserKeyRestrictionsArgs{...}

type V2BrowserKeyRestrictionsOutput

type V2BrowserKeyRestrictionsOutput struct{ *pulumi.OutputState }

The HTTP referrers (websites) that are allowed to use the key.

func (V2BrowserKeyRestrictionsOutput) AllowedReferrers

A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.

func (V2BrowserKeyRestrictionsOutput) ElementType

func (V2BrowserKeyRestrictionsOutput) ToV2BrowserKeyRestrictionsOutput

func (o V2BrowserKeyRestrictionsOutput) ToV2BrowserKeyRestrictionsOutput() V2BrowserKeyRestrictionsOutput

func (V2BrowserKeyRestrictionsOutput) ToV2BrowserKeyRestrictionsOutputWithContext

func (o V2BrowserKeyRestrictionsOutput) ToV2BrowserKeyRestrictionsOutputWithContext(ctx context.Context) V2BrowserKeyRestrictionsOutput

func (V2BrowserKeyRestrictionsOutput) ToV2BrowserKeyRestrictionsPtrOutput

func (o V2BrowserKeyRestrictionsOutput) ToV2BrowserKeyRestrictionsPtrOutput() V2BrowserKeyRestrictionsPtrOutput

func (V2BrowserKeyRestrictionsOutput) ToV2BrowserKeyRestrictionsPtrOutputWithContext

func (o V2BrowserKeyRestrictionsOutput) ToV2BrowserKeyRestrictionsPtrOutputWithContext(ctx context.Context) V2BrowserKeyRestrictionsPtrOutput

type V2BrowserKeyRestrictionsPtrInput

type V2BrowserKeyRestrictionsPtrInput interface {
	pulumi.Input

	ToV2BrowserKeyRestrictionsPtrOutput() V2BrowserKeyRestrictionsPtrOutput
	ToV2BrowserKeyRestrictionsPtrOutputWithContext(context.Context) V2BrowserKeyRestrictionsPtrOutput
}

V2BrowserKeyRestrictionsPtrInput is an input type that accepts V2BrowserKeyRestrictionsArgs, V2BrowserKeyRestrictionsPtr and V2BrowserKeyRestrictionsPtrOutput values. You can construct a concrete instance of `V2BrowserKeyRestrictionsPtrInput` via:

        V2BrowserKeyRestrictionsArgs{...}

or:

        nil

type V2BrowserKeyRestrictionsPtrOutput

type V2BrowserKeyRestrictionsPtrOutput struct{ *pulumi.OutputState }

func (V2BrowserKeyRestrictionsPtrOutput) AllowedReferrers

A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.

func (V2BrowserKeyRestrictionsPtrOutput) Elem

func (V2BrowserKeyRestrictionsPtrOutput) ElementType

func (V2BrowserKeyRestrictionsPtrOutput) ToV2BrowserKeyRestrictionsPtrOutput

func (o V2BrowserKeyRestrictionsPtrOutput) ToV2BrowserKeyRestrictionsPtrOutput() V2BrowserKeyRestrictionsPtrOutput

func (V2BrowserKeyRestrictionsPtrOutput) ToV2BrowserKeyRestrictionsPtrOutputWithContext

func (o V2BrowserKeyRestrictionsPtrOutput) ToV2BrowserKeyRestrictionsPtrOutputWithContext(ctx context.Context) V2BrowserKeyRestrictionsPtrOutput

type V2BrowserKeyRestrictionsResponse

type V2BrowserKeyRestrictionsResponse struct {
	// A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.
	AllowedReferrers []string `pulumi:"allowedReferrers"`
}

The HTTP referrers (websites) that are allowed to use the key.

type V2BrowserKeyRestrictionsResponseOutput

type V2BrowserKeyRestrictionsResponseOutput struct{ *pulumi.OutputState }

The HTTP referrers (websites) that are allowed to use the key.

func (V2BrowserKeyRestrictionsResponseOutput) AllowedReferrers

A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.

func (V2BrowserKeyRestrictionsResponseOutput) ElementType

func (V2BrowserKeyRestrictionsResponseOutput) ToV2BrowserKeyRestrictionsResponseOutput

func (o V2BrowserKeyRestrictionsResponseOutput) ToV2BrowserKeyRestrictionsResponseOutput() V2BrowserKeyRestrictionsResponseOutput

func (V2BrowserKeyRestrictionsResponseOutput) ToV2BrowserKeyRestrictionsResponseOutputWithContext

func (o V2BrowserKeyRestrictionsResponseOutput) ToV2BrowserKeyRestrictionsResponseOutputWithContext(ctx context.Context) V2BrowserKeyRestrictionsResponseOutput

type V2IosKeyRestrictions

type V2IosKeyRestrictions struct {
	// A list of bundle IDs that are allowed when making API calls with this key.
	AllowedBundleIds []string `pulumi:"allowedBundleIds"`
}

The iOS apps that are allowed to use the key.

type V2IosKeyRestrictionsArgs

type V2IosKeyRestrictionsArgs struct {
	// A list of bundle IDs that are allowed when making API calls with this key.
	AllowedBundleIds pulumi.StringArrayInput `pulumi:"allowedBundleIds"`
}

The iOS apps that are allowed to use the key.

func (V2IosKeyRestrictionsArgs) ElementType

func (V2IosKeyRestrictionsArgs) ElementType() reflect.Type

func (V2IosKeyRestrictionsArgs) ToV2IosKeyRestrictionsOutput

func (i V2IosKeyRestrictionsArgs) ToV2IosKeyRestrictionsOutput() V2IosKeyRestrictionsOutput

func (V2IosKeyRestrictionsArgs) ToV2IosKeyRestrictionsOutputWithContext

func (i V2IosKeyRestrictionsArgs) ToV2IosKeyRestrictionsOutputWithContext(ctx context.Context) V2IosKeyRestrictionsOutput

func (V2IosKeyRestrictionsArgs) ToV2IosKeyRestrictionsPtrOutput

func (i V2IosKeyRestrictionsArgs) ToV2IosKeyRestrictionsPtrOutput() V2IosKeyRestrictionsPtrOutput

func (V2IosKeyRestrictionsArgs) ToV2IosKeyRestrictionsPtrOutputWithContext

func (i V2IosKeyRestrictionsArgs) ToV2IosKeyRestrictionsPtrOutputWithContext(ctx context.Context) V2IosKeyRestrictionsPtrOutput

type V2IosKeyRestrictionsInput

type V2IosKeyRestrictionsInput interface {
	pulumi.Input

	ToV2IosKeyRestrictionsOutput() V2IosKeyRestrictionsOutput
	ToV2IosKeyRestrictionsOutputWithContext(context.Context) V2IosKeyRestrictionsOutput
}

V2IosKeyRestrictionsInput is an input type that accepts V2IosKeyRestrictionsArgs and V2IosKeyRestrictionsOutput values. You can construct a concrete instance of `V2IosKeyRestrictionsInput` via:

V2IosKeyRestrictionsArgs{...}

type V2IosKeyRestrictionsOutput

type V2IosKeyRestrictionsOutput struct{ *pulumi.OutputState }

The iOS apps that are allowed to use the key.

func (V2IosKeyRestrictionsOutput) AllowedBundleIds

A list of bundle IDs that are allowed when making API calls with this key.

func (V2IosKeyRestrictionsOutput) ElementType

func (V2IosKeyRestrictionsOutput) ElementType() reflect.Type

func (V2IosKeyRestrictionsOutput) ToV2IosKeyRestrictionsOutput

func (o V2IosKeyRestrictionsOutput) ToV2IosKeyRestrictionsOutput() V2IosKeyRestrictionsOutput

func (V2IosKeyRestrictionsOutput) ToV2IosKeyRestrictionsOutputWithContext

func (o V2IosKeyRestrictionsOutput) ToV2IosKeyRestrictionsOutputWithContext(ctx context.Context) V2IosKeyRestrictionsOutput

func (V2IosKeyRestrictionsOutput) ToV2IosKeyRestrictionsPtrOutput

func (o V2IosKeyRestrictionsOutput) ToV2IosKeyRestrictionsPtrOutput() V2IosKeyRestrictionsPtrOutput

func (V2IosKeyRestrictionsOutput) ToV2IosKeyRestrictionsPtrOutputWithContext

func (o V2IosKeyRestrictionsOutput) ToV2IosKeyRestrictionsPtrOutputWithContext(ctx context.Context) V2IosKeyRestrictionsPtrOutput

type V2IosKeyRestrictionsPtrInput

type V2IosKeyRestrictionsPtrInput interface {
	pulumi.Input

	ToV2IosKeyRestrictionsPtrOutput() V2IosKeyRestrictionsPtrOutput
	ToV2IosKeyRestrictionsPtrOutputWithContext(context.Context) V2IosKeyRestrictionsPtrOutput
}

V2IosKeyRestrictionsPtrInput is an input type that accepts V2IosKeyRestrictionsArgs, V2IosKeyRestrictionsPtr and V2IosKeyRestrictionsPtrOutput values. You can construct a concrete instance of `V2IosKeyRestrictionsPtrInput` via:

        V2IosKeyRestrictionsArgs{...}

or:

        nil

type V2IosKeyRestrictionsPtrOutput

type V2IosKeyRestrictionsPtrOutput struct{ *pulumi.OutputState }

func (V2IosKeyRestrictionsPtrOutput) AllowedBundleIds

A list of bundle IDs that are allowed when making API calls with this key.

func (V2IosKeyRestrictionsPtrOutput) Elem

func (V2IosKeyRestrictionsPtrOutput) ElementType

func (V2IosKeyRestrictionsPtrOutput) ToV2IosKeyRestrictionsPtrOutput

func (o V2IosKeyRestrictionsPtrOutput) ToV2IosKeyRestrictionsPtrOutput() V2IosKeyRestrictionsPtrOutput

func (V2IosKeyRestrictionsPtrOutput) ToV2IosKeyRestrictionsPtrOutputWithContext

func (o V2IosKeyRestrictionsPtrOutput) ToV2IosKeyRestrictionsPtrOutputWithContext(ctx context.Context) V2IosKeyRestrictionsPtrOutput

type V2IosKeyRestrictionsResponse

type V2IosKeyRestrictionsResponse struct {
	// A list of bundle IDs that are allowed when making API calls with this key.
	AllowedBundleIds []string `pulumi:"allowedBundleIds"`
}

The iOS apps that are allowed to use the key.

type V2IosKeyRestrictionsResponseOutput

type V2IosKeyRestrictionsResponseOutput struct{ *pulumi.OutputState }

The iOS apps that are allowed to use the key.

func (V2IosKeyRestrictionsResponseOutput) AllowedBundleIds

A list of bundle IDs that are allowed when making API calls with this key.

func (V2IosKeyRestrictionsResponseOutput) ElementType

func (V2IosKeyRestrictionsResponseOutput) ToV2IosKeyRestrictionsResponseOutput

func (o V2IosKeyRestrictionsResponseOutput) ToV2IosKeyRestrictionsResponseOutput() V2IosKeyRestrictionsResponseOutput

func (V2IosKeyRestrictionsResponseOutput) ToV2IosKeyRestrictionsResponseOutputWithContext

func (o V2IosKeyRestrictionsResponseOutput) ToV2IosKeyRestrictionsResponseOutputWithContext(ctx context.Context) V2IosKeyRestrictionsResponseOutput

type V2Restrictions

type V2Restrictions struct {
	// The Android apps that are allowed to use the key.
	AndroidKeyRestrictions *V2AndroidKeyRestrictions `pulumi:"androidKeyRestrictions"`
	// A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
	ApiTargets []V2ApiTarget `pulumi:"apiTargets"`
	// The HTTP referrers (websites) that are allowed to use the key.
	BrowserKeyRestrictions *V2BrowserKeyRestrictions `pulumi:"browserKeyRestrictions"`
	// The iOS apps that are allowed to use the key.
	IosKeyRestrictions *V2IosKeyRestrictions `pulumi:"iosKeyRestrictions"`
	// The IP addresses of callers that are allowed to use the key.
	ServerKeyRestrictions *V2ServerKeyRestrictions `pulumi:"serverKeyRestrictions"`
}

Describes the restrictions on the key.

type V2RestrictionsArgs

type V2RestrictionsArgs struct {
	// The Android apps that are allowed to use the key.
	AndroidKeyRestrictions V2AndroidKeyRestrictionsPtrInput `pulumi:"androidKeyRestrictions"`
	// A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
	ApiTargets V2ApiTargetArrayInput `pulumi:"apiTargets"`
	// The HTTP referrers (websites) that are allowed to use the key.
	BrowserKeyRestrictions V2BrowserKeyRestrictionsPtrInput `pulumi:"browserKeyRestrictions"`
	// The iOS apps that are allowed to use the key.
	IosKeyRestrictions V2IosKeyRestrictionsPtrInput `pulumi:"iosKeyRestrictions"`
	// The IP addresses of callers that are allowed to use the key.
	ServerKeyRestrictions V2ServerKeyRestrictionsPtrInput `pulumi:"serverKeyRestrictions"`
}

Describes the restrictions on the key.

func (V2RestrictionsArgs) ElementType

func (V2RestrictionsArgs) ElementType() reflect.Type

func (V2RestrictionsArgs) ToV2RestrictionsOutput

func (i V2RestrictionsArgs) ToV2RestrictionsOutput() V2RestrictionsOutput

func (V2RestrictionsArgs) ToV2RestrictionsOutputWithContext

func (i V2RestrictionsArgs) ToV2RestrictionsOutputWithContext(ctx context.Context) V2RestrictionsOutput

func (V2RestrictionsArgs) ToV2RestrictionsPtrOutput

func (i V2RestrictionsArgs) ToV2RestrictionsPtrOutput() V2RestrictionsPtrOutput

func (V2RestrictionsArgs) ToV2RestrictionsPtrOutputWithContext

func (i V2RestrictionsArgs) ToV2RestrictionsPtrOutputWithContext(ctx context.Context) V2RestrictionsPtrOutput

type V2RestrictionsInput

type V2RestrictionsInput interface {
	pulumi.Input

	ToV2RestrictionsOutput() V2RestrictionsOutput
	ToV2RestrictionsOutputWithContext(context.Context) V2RestrictionsOutput
}

V2RestrictionsInput is an input type that accepts V2RestrictionsArgs and V2RestrictionsOutput values. You can construct a concrete instance of `V2RestrictionsInput` via:

V2RestrictionsArgs{...}

type V2RestrictionsOutput

type V2RestrictionsOutput struct{ *pulumi.OutputState }

Describes the restrictions on the key.

func (V2RestrictionsOutput) AndroidKeyRestrictions

func (o V2RestrictionsOutput) AndroidKeyRestrictions() V2AndroidKeyRestrictionsPtrOutput

The Android apps that are allowed to use the key.

func (V2RestrictionsOutput) ApiTargets

A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.

func (V2RestrictionsOutput) BrowserKeyRestrictions

func (o V2RestrictionsOutput) BrowserKeyRestrictions() V2BrowserKeyRestrictionsPtrOutput

The HTTP referrers (websites) that are allowed to use the key.

func (V2RestrictionsOutput) ElementType

func (V2RestrictionsOutput) ElementType() reflect.Type

func (V2RestrictionsOutput) IosKeyRestrictions

func (o V2RestrictionsOutput) IosKeyRestrictions() V2IosKeyRestrictionsPtrOutput

The iOS apps that are allowed to use the key.

func (V2RestrictionsOutput) ServerKeyRestrictions

func (o V2RestrictionsOutput) ServerKeyRestrictions() V2ServerKeyRestrictionsPtrOutput

The IP addresses of callers that are allowed to use the key.

func (V2RestrictionsOutput) ToV2RestrictionsOutput

func (o V2RestrictionsOutput) ToV2RestrictionsOutput() V2RestrictionsOutput

func (V2RestrictionsOutput) ToV2RestrictionsOutputWithContext

func (o V2RestrictionsOutput) ToV2RestrictionsOutputWithContext(ctx context.Context) V2RestrictionsOutput

func (V2RestrictionsOutput) ToV2RestrictionsPtrOutput

func (o V2RestrictionsOutput) ToV2RestrictionsPtrOutput() V2RestrictionsPtrOutput

func (V2RestrictionsOutput) ToV2RestrictionsPtrOutputWithContext

func (o V2RestrictionsOutput) ToV2RestrictionsPtrOutputWithContext(ctx context.Context) V2RestrictionsPtrOutput

type V2RestrictionsPtrInput

type V2RestrictionsPtrInput interface {
	pulumi.Input

	ToV2RestrictionsPtrOutput() V2RestrictionsPtrOutput
	ToV2RestrictionsPtrOutputWithContext(context.Context) V2RestrictionsPtrOutput
}

V2RestrictionsPtrInput is an input type that accepts V2RestrictionsArgs, V2RestrictionsPtr and V2RestrictionsPtrOutput values. You can construct a concrete instance of `V2RestrictionsPtrInput` via:

        V2RestrictionsArgs{...}

or:

        nil

type V2RestrictionsPtrOutput

type V2RestrictionsPtrOutput struct{ *pulumi.OutputState }

func (V2RestrictionsPtrOutput) AndroidKeyRestrictions

The Android apps that are allowed to use the key.

func (V2RestrictionsPtrOutput) ApiTargets

A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.

func (V2RestrictionsPtrOutput) BrowserKeyRestrictions

The HTTP referrers (websites) that are allowed to use the key.

func (V2RestrictionsPtrOutput) Elem

func (V2RestrictionsPtrOutput) ElementType

func (V2RestrictionsPtrOutput) ElementType() reflect.Type

func (V2RestrictionsPtrOutput) IosKeyRestrictions

The iOS apps that are allowed to use the key.

func (V2RestrictionsPtrOutput) ServerKeyRestrictions

The IP addresses of callers that are allowed to use the key.

func (V2RestrictionsPtrOutput) ToV2RestrictionsPtrOutput

func (o V2RestrictionsPtrOutput) ToV2RestrictionsPtrOutput() V2RestrictionsPtrOutput

func (V2RestrictionsPtrOutput) ToV2RestrictionsPtrOutputWithContext

func (o V2RestrictionsPtrOutput) ToV2RestrictionsPtrOutputWithContext(ctx context.Context) V2RestrictionsPtrOutput

type V2RestrictionsResponse

type V2RestrictionsResponse struct {
	// The Android apps that are allowed to use the key.
	AndroidKeyRestrictions V2AndroidKeyRestrictionsResponse `pulumi:"androidKeyRestrictions"`
	// A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
	ApiTargets []V2ApiTargetResponse `pulumi:"apiTargets"`
	// The HTTP referrers (websites) that are allowed to use the key.
	BrowserKeyRestrictions V2BrowserKeyRestrictionsResponse `pulumi:"browserKeyRestrictions"`
	// The iOS apps that are allowed to use the key.
	IosKeyRestrictions V2IosKeyRestrictionsResponse `pulumi:"iosKeyRestrictions"`
	// The IP addresses of callers that are allowed to use the key.
	ServerKeyRestrictions V2ServerKeyRestrictionsResponse `pulumi:"serverKeyRestrictions"`
}

Describes the restrictions on the key.

type V2RestrictionsResponseOutput

type V2RestrictionsResponseOutput struct{ *pulumi.OutputState }

Describes the restrictions on the key.

func (V2RestrictionsResponseOutput) AndroidKeyRestrictions

The Android apps that are allowed to use the key.

func (V2RestrictionsResponseOutput) ApiTargets

A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.

func (V2RestrictionsResponseOutput) BrowserKeyRestrictions

The HTTP referrers (websites) that are allowed to use the key.

func (V2RestrictionsResponseOutput) ElementType

func (V2RestrictionsResponseOutput) IosKeyRestrictions

The iOS apps that are allowed to use the key.

func (V2RestrictionsResponseOutput) ServerKeyRestrictions

The IP addresses of callers that are allowed to use the key.

func (V2RestrictionsResponseOutput) ToV2RestrictionsResponseOutput

func (o V2RestrictionsResponseOutput) ToV2RestrictionsResponseOutput() V2RestrictionsResponseOutput

func (V2RestrictionsResponseOutput) ToV2RestrictionsResponseOutputWithContext

func (o V2RestrictionsResponseOutput) ToV2RestrictionsResponseOutputWithContext(ctx context.Context) V2RestrictionsResponseOutput

type V2ServerKeyRestrictions

type V2ServerKeyRestrictions struct {
	// A list of the caller IP addresses that are allowed to make API calls with this key.
	AllowedIps []string `pulumi:"allowedIps"`
}

The IP addresses of callers that are allowed to use the key.

type V2ServerKeyRestrictionsArgs

type V2ServerKeyRestrictionsArgs struct {
	// A list of the caller IP addresses that are allowed to make API calls with this key.
	AllowedIps pulumi.StringArrayInput `pulumi:"allowedIps"`
}

The IP addresses of callers that are allowed to use the key.

func (V2ServerKeyRestrictionsArgs) ElementType

func (V2ServerKeyRestrictionsArgs) ToV2ServerKeyRestrictionsOutput

func (i V2ServerKeyRestrictionsArgs) ToV2ServerKeyRestrictionsOutput() V2ServerKeyRestrictionsOutput

func (V2ServerKeyRestrictionsArgs) ToV2ServerKeyRestrictionsOutputWithContext

func (i V2ServerKeyRestrictionsArgs) ToV2ServerKeyRestrictionsOutputWithContext(ctx context.Context) V2ServerKeyRestrictionsOutput

func (V2ServerKeyRestrictionsArgs) ToV2ServerKeyRestrictionsPtrOutput

func (i V2ServerKeyRestrictionsArgs) ToV2ServerKeyRestrictionsPtrOutput() V2ServerKeyRestrictionsPtrOutput

func (V2ServerKeyRestrictionsArgs) ToV2ServerKeyRestrictionsPtrOutputWithContext

func (i V2ServerKeyRestrictionsArgs) ToV2ServerKeyRestrictionsPtrOutputWithContext(ctx context.Context) V2ServerKeyRestrictionsPtrOutput

type V2ServerKeyRestrictionsInput

type V2ServerKeyRestrictionsInput interface {
	pulumi.Input

	ToV2ServerKeyRestrictionsOutput() V2ServerKeyRestrictionsOutput
	ToV2ServerKeyRestrictionsOutputWithContext(context.Context) V2ServerKeyRestrictionsOutput
}

V2ServerKeyRestrictionsInput is an input type that accepts V2ServerKeyRestrictionsArgs and V2ServerKeyRestrictionsOutput values. You can construct a concrete instance of `V2ServerKeyRestrictionsInput` via:

V2ServerKeyRestrictionsArgs{...}

type V2ServerKeyRestrictionsOutput

type V2ServerKeyRestrictionsOutput struct{ *pulumi.OutputState }

The IP addresses of callers that are allowed to use the key.

func (V2ServerKeyRestrictionsOutput) AllowedIps

A list of the caller IP addresses that are allowed to make API calls with this key.

func (V2ServerKeyRestrictionsOutput) ElementType

func (V2ServerKeyRestrictionsOutput) ToV2ServerKeyRestrictionsOutput

func (o V2ServerKeyRestrictionsOutput) ToV2ServerKeyRestrictionsOutput() V2ServerKeyRestrictionsOutput

func (V2ServerKeyRestrictionsOutput) ToV2ServerKeyRestrictionsOutputWithContext

func (o V2ServerKeyRestrictionsOutput) ToV2ServerKeyRestrictionsOutputWithContext(ctx context.Context) V2ServerKeyRestrictionsOutput

func (V2ServerKeyRestrictionsOutput) ToV2ServerKeyRestrictionsPtrOutput

func (o V2ServerKeyRestrictionsOutput) ToV2ServerKeyRestrictionsPtrOutput() V2ServerKeyRestrictionsPtrOutput

func (V2ServerKeyRestrictionsOutput) ToV2ServerKeyRestrictionsPtrOutputWithContext

func (o V2ServerKeyRestrictionsOutput) ToV2ServerKeyRestrictionsPtrOutputWithContext(ctx context.Context) V2ServerKeyRestrictionsPtrOutput

type V2ServerKeyRestrictionsPtrInput

type V2ServerKeyRestrictionsPtrInput interface {
	pulumi.Input

	ToV2ServerKeyRestrictionsPtrOutput() V2ServerKeyRestrictionsPtrOutput
	ToV2ServerKeyRestrictionsPtrOutputWithContext(context.Context) V2ServerKeyRestrictionsPtrOutput
}

V2ServerKeyRestrictionsPtrInput is an input type that accepts V2ServerKeyRestrictionsArgs, V2ServerKeyRestrictionsPtr and V2ServerKeyRestrictionsPtrOutput values. You can construct a concrete instance of `V2ServerKeyRestrictionsPtrInput` via:

        V2ServerKeyRestrictionsArgs{...}

or:

        nil

type V2ServerKeyRestrictionsPtrOutput

type V2ServerKeyRestrictionsPtrOutput struct{ *pulumi.OutputState }

func (V2ServerKeyRestrictionsPtrOutput) AllowedIps

A list of the caller IP addresses that are allowed to make API calls with this key.

func (V2ServerKeyRestrictionsPtrOutput) Elem

func (V2ServerKeyRestrictionsPtrOutput) ElementType

func (V2ServerKeyRestrictionsPtrOutput) ToV2ServerKeyRestrictionsPtrOutput

func (o V2ServerKeyRestrictionsPtrOutput) ToV2ServerKeyRestrictionsPtrOutput() V2ServerKeyRestrictionsPtrOutput

func (V2ServerKeyRestrictionsPtrOutput) ToV2ServerKeyRestrictionsPtrOutputWithContext

func (o V2ServerKeyRestrictionsPtrOutput) ToV2ServerKeyRestrictionsPtrOutputWithContext(ctx context.Context) V2ServerKeyRestrictionsPtrOutput

type V2ServerKeyRestrictionsResponse

type V2ServerKeyRestrictionsResponse struct {
	// A list of the caller IP addresses that are allowed to make API calls with this key.
	AllowedIps []string `pulumi:"allowedIps"`
}

The IP addresses of callers that are allowed to use the key.

type V2ServerKeyRestrictionsResponseOutput

type V2ServerKeyRestrictionsResponseOutput struct{ *pulumi.OutputState }

The IP addresses of callers that are allowed to use the key.

func (V2ServerKeyRestrictionsResponseOutput) AllowedIps

A list of the caller IP addresses that are allowed to make API calls with this key.

func (V2ServerKeyRestrictionsResponseOutput) ElementType

func (V2ServerKeyRestrictionsResponseOutput) ToV2ServerKeyRestrictionsResponseOutput

func (o V2ServerKeyRestrictionsResponseOutput) ToV2ServerKeyRestrictionsResponseOutput() V2ServerKeyRestrictionsResponseOutput

func (V2ServerKeyRestrictionsResponseOutput) ToV2ServerKeyRestrictionsResponseOutputWithContext

func (o V2ServerKeyRestrictionsResponseOutput) ToV2ServerKeyRestrictionsResponseOutputWithContext(ctx context.Context) V2ServerKeyRestrictionsResponseOutput

Jump to

Keyboard shortcuts

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