google_recaptcha_enterprise_key

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AndroidSettings

type AndroidSettings struct {
	// AllowAllPackageNames: bool, optional
	AllowAllPackageNames terra.BoolValue `hcl:"allow_all_package_names,attr"`
	// AllowedPackageNames: list of string, optional
	AllowedPackageNames terra.ListValue[terra.StringValue] `hcl:"allowed_package_names,attr"`
}

type AndroidSettingsAttributes

type AndroidSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (AndroidSettingsAttributes) AllowAllPackageNames

func (as AndroidSettingsAttributes) AllowAllPackageNames() terra.BoolValue

func (AndroidSettingsAttributes) AllowedPackageNames

func (as AndroidSettingsAttributes) AllowedPackageNames() terra.ListValue[terra.StringValue]

func (AndroidSettingsAttributes) InternalRef

func (as AndroidSettingsAttributes) InternalRef() (terra.Reference, error)

func (AndroidSettingsAttributes) InternalTokens

func (as AndroidSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AndroidSettingsAttributes) InternalWithRef

type AndroidSettingsState

type AndroidSettingsState struct {
	AllowAllPackageNames bool     `json:"allow_all_package_names"`
	AllowedPackageNames  []string `json:"allowed_package_names"`
}

type Args

type Args struct {
	// DisplayName: string, required
	DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// AndroidSettings: optional
	AndroidSettings *AndroidSettings `hcl:"android_settings,block"`
	// IosSettings: optional
	IosSettings *IosSettings `hcl:"ios_settings,block"`
	// TestingOptions: optional
	TestingOptions *TestingOptions `hcl:"testing_options,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// WafSettings: optional
	WafSettings *WafSettings `hcl:"waf_settings,block"`
	// WebSettings: optional
	WebSettings *WebSettings `hcl:"web_settings,block"`
}

Args contains the configurations for google_recaptcha_enterprise_key.

type IosSettings

type IosSettings struct {
	// AllowAllBundleIds: bool, optional
	AllowAllBundleIds terra.BoolValue `hcl:"allow_all_bundle_ids,attr"`
	// AllowedBundleIds: list of string, optional
	AllowedBundleIds terra.ListValue[terra.StringValue] `hcl:"allowed_bundle_ids,attr"`
}

type IosSettingsAttributes

type IosSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (IosSettingsAttributes) AllowAllBundleIds

func (is IosSettingsAttributes) AllowAllBundleIds() terra.BoolValue

func (IosSettingsAttributes) AllowedBundleIds

func (is IosSettingsAttributes) AllowedBundleIds() terra.ListValue[terra.StringValue]

func (IosSettingsAttributes) InternalRef

func (is IosSettingsAttributes) InternalRef() (terra.Reference, error)

func (IosSettingsAttributes) InternalTokens

func (is IosSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IosSettingsAttributes) InternalWithRef

type IosSettingsState

type IosSettingsState struct {
	AllowAllBundleIds bool     `json:"allow_all_bundle_ids"`
	AllowedBundleIds  []string `json:"allowed_bundle_ids"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource google_recaptcha_enterprise_key.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (grek *Resource) Attributes() googleRecaptchaEnterpriseKeyAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (grek *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (grek *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (grek *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (grek *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (grek *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (grek *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (grek *Resource) State() (*googleRecaptchaEnterpriseKeyState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (grek *Resource) StateMust() *googleRecaptchaEnterpriseKeyState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (grek *Resource) Type() string

Type returns the Terraform object type for Resource.

type TestingOptions

type TestingOptions struct {
	// TestingChallenge: string, optional
	TestingChallenge terra.StringValue `hcl:"testing_challenge,attr"`
	// TestingScore: number, optional
	TestingScore terra.NumberValue `hcl:"testing_score,attr"`
}

type TestingOptionsAttributes

type TestingOptionsAttributes struct {
	// contains filtered or unexported fields
}

func (TestingOptionsAttributes) InternalRef

func (to TestingOptionsAttributes) InternalRef() (terra.Reference, error)

func (TestingOptionsAttributes) InternalTokens

func (to TestingOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TestingOptionsAttributes) InternalWithRef

func (TestingOptionsAttributes) TestingChallenge

func (to TestingOptionsAttributes) TestingChallenge() terra.StringValue

func (TestingOptionsAttributes) TestingScore

func (to TestingOptionsAttributes) TestingScore() terra.NumberValue

type TestingOptionsState

type TestingOptionsState struct {
	TestingChallenge string  `json:"testing_challenge"`
	TestingScore     float64 `json:"testing_score"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type WafSettings

type WafSettings struct {
	// WafFeature: string, required
	WafFeature terra.StringValue `hcl:"waf_feature,attr" validate:"required"`
	// WafService: string, required
	WafService terra.StringValue `hcl:"waf_service,attr" validate:"required"`
}

type WafSettingsAttributes

type WafSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (WafSettingsAttributes) InternalRef

func (ws WafSettingsAttributes) InternalRef() (terra.Reference, error)

func (WafSettingsAttributes) InternalTokens

func (ws WafSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WafSettingsAttributes) InternalWithRef

func (WafSettingsAttributes) WafFeature

func (ws WafSettingsAttributes) WafFeature() terra.StringValue

func (WafSettingsAttributes) WafService

func (ws WafSettingsAttributes) WafService() terra.StringValue

type WafSettingsState

type WafSettingsState struct {
	WafFeature string `json:"waf_feature"`
	WafService string `json:"waf_service"`
}

type WebSettings

type WebSettings struct {
	// AllowAllDomains: bool, optional
	AllowAllDomains terra.BoolValue `hcl:"allow_all_domains,attr"`
	// AllowAmpTraffic: bool, optional
	AllowAmpTraffic terra.BoolValue `hcl:"allow_amp_traffic,attr"`
	// AllowedDomains: list of string, optional
	AllowedDomains terra.ListValue[terra.StringValue] `hcl:"allowed_domains,attr"`
	// ChallengeSecurityPreference: string, optional
	ChallengeSecurityPreference terra.StringValue `hcl:"challenge_security_preference,attr"`
	// IntegrationType: string, required
	IntegrationType terra.StringValue `hcl:"integration_type,attr" validate:"required"`
}

type WebSettingsAttributes

type WebSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (WebSettingsAttributes) AllowAllDomains

func (ws WebSettingsAttributes) AllowAllDomains() terra.BoolValue

func (WebSettingsAttributes) AllowAmpTraffic

func (ws WebSettingsAttributes) AllowAmpTraffic() terra.BoolValue

func (WebSettingsAttributes) AllowedDomains

func (ws WebSettingsAttributes) AllowedDomains() terra.ListValue[terra.StringValue]

func (WebSettingsAttributes) ChallengeSecurityPreference

func (ws WebSettingsAttributes) ChallengeSecurityPreference() terra.StringValue

func (WebSettingsAttributes) IntegrationType

func (ws WebSettingsAttributes) IntegrationType() terra.StringValue

func (WebSettingsAttributes) InternalRef

func (ws WebSettingsAttributes) InternalRef() (terra.Reference, error)

func (WebSettingsAttributes) InternalTokens

func (ws WebSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WebSettingsAttributes) InternalWithRef

type WebSettingsState

type WebSettingsState struct {
	AllowAllDomains             bool     `json:"allow_all_domains"`
	AllowAmpTraffic             bool     `json:"allow_amp_traffic"`
	AllowedDomains              []string `json:"allowed_domains"`
	ChallengeSecurityPreference string   `json:"challenge_security_preference"`
	IntegrationType             string   `json:"integration_type"`
}

Jump to

Keyboard shortcuts

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