Documentation
¶
Index ¶
- type Args
- type Resource
- func (gak *Resource) Attributes() googleApikeysKeyAttributes
- func (gak *Resource) Configuration() interface{}
- func (gak *Resource) DependOn() terra.Reference
- func (gak *Resource) Dependencies() terra.Dependencies
- func (gak *Resource) ImportState(state io.Reader) error
- func (gak *Resource) LifecycleManagement() *terra.Lifecycle
- func (gak *Resource) LocalName() string
- func (gak *Resource) State() (*googleApikeysKeyState, bool)
- func (gak *Resource) StateMust() *googleApikeysKeyState
- func (gak *Resource) Type() string
- type Restrictions
- type RestrictionsAndroidKeyRestrictions
- type RestrictionsAndroidKeyRestrictionsAllowedApplications
- type RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes
- func (aa RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes) InternalRef() (terra.Reference, error)
- func (aa RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aa RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes) InternalWithRef(ref terra.Reference) RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes
- func (aa RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes) PackageName() terra.StringValue
- func (aa RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes) Sha1Fingerprint() terra.StringValue
- type RestrictionsAndroidKeyRestrictionsAllowedApplicationsState
- type RestrictionsAndroidKeyRestrictionsAttributes
- func (akr RestrictionsAndroidKeyRestrictionsAttributes) AllowedApplications() ...
- func (akr RestrictionsAndroidKeyRestrictionsAttributes) InternalRef() (terra.Reference, error)
- func (akr RestrictionsAndroidKeyRestrictionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (akr RestrictionsAndroidKeyRestrictionsAttributes) InternalWithRef(ref terra.Reference) RestrictionsAndroidKeyRestrictionsAttributes
- type RestrictionsAndroidKeyRestrictionsState
- type RestrictionsApiTargets
- type RestrictionsApiTargetsAttributes
- func (at RestrictionsApiTargetsAttributes) InternalRef() (terra.Reference, error)
- func (at RestrictionsApiTargetsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (at RestrictionsApiTargetsAttributes) InternalWithRef(ref terra.Reference) RestrictionsApiTargetsAttributes
- func (at RestrictionsApiTargetsAttributes) Methods() terra.ListValue[terra.StringValue]
- func (at RestrictionsApiTargetsAttributes) Service() terra.StringValue
- type RestrictionsApiTargetsState
- type RestrictionsAttributes
- func (r RestrictionsAttributes) AndroidKeyRestrictions() terra.ListValue[RestrictionsAndroidKeyRestrictionsAttributes]
- func (r RestrictionsAttributes) ApiTargets() terra.ListValue[RestrictionsApiTargetsAttributes]
- func (r RestrictionsAttributes) BrowserKeyRestrictions() terra.ListValue[RestrictionsBrowserKeyRestrictionsAttributes]
- func (r RestrictionsAttributes) InternalRef() (terra.Reference, error)
- func (r RestrictionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RestrictionsAttributes) InternalWithRef(ref terra.Reference) RestrictionsAttributes
- func (r RestrictionsAttributes) IosKeyRestrictions() terra.ListValue[RestrictionsIosKeyRestrictionsAttributes]
- func (r RestrictionsAttributes) ServerKeyRestrictions() terra.ListValue[RestrictionsServerKeyRestrictionsAttributes]
- type RestrictionsBrowserKeyRestrictions
- type RestrictionsBrowserKeyRestrictionsAttributes
- func (bkr RestrictionsBrowserKeyRestrictionsAttributes) AllowedReferrers() terra.ListValue[terra.StringValue]
- func (bkr RestrictionsBrowserKeyRestrictionsAttributes) InternalRef() (terra.Reference, error)
- func (bkr RestrictionsBrowserKeyRestrictionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bkr RestrictionsBrowserKeyRestrictionsAttributes) InternalWithRef(ref terra.Reference) RestrictionsBrowserKeyRestrictionsAttributes
- type RestrictionsBrowserKeyRestrictionsState
- type RestrictionsIosKeyRestrictions
- type RestrictionsIosKeyRestrictionsAttributes
- func (ikr RestrictionsIosKeyRestrictionsAttributes) AllowedBundleIds() terra.ListValue[terra.StringValue]
- func (ikr RestrictionsIosKeyRestrictionsAttributes) InternalRef() (terra.Reference, error)
- func (ikr RestrictionsIosKeyRestrictionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ikr RestrictionsIosKeyRestrictionsAttributes) InternalWithRef(ref terra.Reference) RestrictionsIosKeyRestrictionsAttributes
- type RestrictionsIosKeyRestrictionsState
- type RestrictionsServerKeyRestrictions
- type RestrictionsServerKeyRestrictionsAttributes
- func (skr RestrictionsServerKeyRestrictionsAttributes) AllowedIps() terra.ListValue[terra.StringValue]
- func (skr RestrictionsServerKeyRestrictionsAttributes) InternalRef() (terra.Reference, error)
- func (skr RestrictionsServerKeyRestrictionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (skr RestrictionsServerKeyRestrictionsAttributes) InternalWithRef(ref terra.Reference) RestrictionsServerKeyRestrictionsAttributes
- type RestrictionsServerKeyRestrictionsState
- type RestrictionsState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Restrictions: optional Restrictions *Restrictions `hcl:"restrictions,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_apikeys_key.
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_apikeys_key.
func (*Resource) Attributes ¶
func (gak *Resource) Attributes() googleApikeysKeyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gak *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gak *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Restrictions ¶
type Restrictions struct { // RestrictionsAndroidKeyRestrictions: optional AndroidKeyRestrictions *RestrictionsAndroidKeyRestrictions `hcl:"android_key_restrictions,block"` // RestrictionsApiTargets: min=0 ApiTargets []RestrictionsApiTargets `hcl:"api_targets,block" validate:"min=0"` // RestrictionsBrowserKeyRestrictions: optional BrowserKeyRestrictions *RestrictionsBrowserKeyRestrictions `hcl:"browser_key_restrictions,block"` // RestrictionsIosKeyRestrictions: optional IosKeyRestrictions *RestrictionsIosKeyRestrictions `hcl:"ios_key_restrictions,block"` // RestrictionsServerKeyRestrictions: optional ServerKeyRestrictions *RestrictionsServerKeyRestrictions `hcl:"server_key_restrictions,block"` }
type RestrictionsAndroidKeyRestrictions ¶
type RestrictionsAndroidKeyRestrictions struct { // RestrictionsAndroidKeyRestrictionsAllowedApplications: min=1 AllowedApplications []RestrictionsAndroidKeyRestrictionsAllowedApplications `hcl:"allowed_applications,block" validate:"min=1"` }
type RestrictionsAndroidKeyRestrictionsAllowedApplications ¶
type RestrictionsAndroidKeyRestrictionsAllowedApplications struct { // PackageName: string, required PackageName terra.StringValue `hcl:"package_name,attr" validate:"required"` // Sha1Fingerprint: string, required Sha1Fingerprint terra.StringValue `hcl:"sha1_fingerprint,attr" validate:"required"` }
type RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes ¶
type RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes struct {
// contains filtered or unexported fields
}
func (RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes) InternalRef ¶
func (aa RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes) InternalRef() (terra.Reference, error)
func (RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes) InternalTokens ¶
func (aa RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes) InternalWithRef ¶
func (RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes) PackageName ¶
func (aa RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes) PackageName() terra.StringValue
func (RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes) Sha1Fingerprint ¶
func (aa RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes) Sha1Fingerprint() terra.StringValue
type RestrictionsAndroidKeyRestrictionsAttributes ¶
type RestrictionsAndroidKeyRestrictionsAttributes struct {
// contains filtered or unexported fields
}
func (RestrictionsAndroidKeyRestrictionsAttributes) AllowedApplications ¶
func (akr RestrictionsAndroidKeyRestrictionsAttributes) AllowedApplications() terra.ListValue[RestrictionsAndroidKeyRestrictionsAllowedApplicationsAttributes]
func (RestrictionsAndroidKeyRestrictionsAttributes) InternalRef ¶
func (akr RestrictionsAndroidKeyRestrictionsAttributes) InternalRef() (terra.Reference, error)
func (RestrictionsAndroidKeyRestrictionsAttributes) InternalTokens ¶
func (akr RestrictionsAndroidKeyRestrictionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestrictionsAndroidKeyRestrictionsAttributes) InternalWithRef ¶
func (akr RestrictionsAndroidKeyRestrictionsAttributes) InternalWithRef(ref terra.Reference) RestrictionsAndroidKeyRestrictionsAttributes
type RestrictionsAndroidKeyRestrictionsState ¶
type RestrictionsAndroidKeyRestrictionsState struct {
AllowedApplications []RestrictionsAndroidKeyRestrictionsAllowedApplicationsState `json:"allowed_applications"`
}
type RestrictionsApiTargets ¶
type RestrictionsApiTargets struct { // Methods: list of string, optional Methods terra.ListValue[terra.StringValue] `hcl:"methods,attr"` // Service: string, required Service terra.StringValue `hcl:"service,attr" validate:"required"` }
type RestrictionsApiTargetsAttributes ¶
type RestrictionsApiTargetsAttributes struct {
// contains filtered or unexported fields
}
func (RestrictionsApiTargetsAttributes) InternalRef ¶
func (at RestrictionsApiTargetsAttributes) InternalRef() (terra.Reference, error)
func (RestrictionsApiTargetsAttributes) InternalTokens ¶
func (at RestrictionsApiTargetsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestrictionsApiTargetsAttributes) InternalWithRef ¶
func (at RestrictionsApiTargetsAttributes) InternalWithRef(ref terra.Reference) RestrictionsApiTargetsAttributes
func (RestrictionsApiTargetsAttributes) Methods ¶
func (at RestrictionsApiTargetsAttributes) Methods() terra.ListValue[terra.StringValue]
func (RestrictionsApiTargetsAttributes) Service ¶
func (at RestrictionsApiTargetsAttributes) Service() terra.StringValue
type RestrictionsAttributes ¶
type RestrictionsAttributes struct {
// contains filtered or unexported fields
}
func (RestrictionsAttributes) AndroidKeyRestrictions ¶
func (r RestrictionsAttributes) AndroidKeyRestrictions() terra.ListValue[RestrictionsAndroidKeyRestrictionsAttributes]
func (RestrictionsAttributes) ApiTargets ¶
func (r RestrictionsAttributes) ApiTargets() terra.ListValue[RestrictionsApiTargetsAttributes]
func (RestrictionsAttributes) BrowserKeyRestrictions ¶
func (r RestrictionsAttributes) BrowserKeyRestrictions() terra.ListValue[RestrictionsBrowserKeyRestrictionsAttributes]
func (RestrictionsAttributes) InternalRef ¶
func (r RestrictionsAttributes) InternalRef() (terra.Reference, error)
func (RestrictionsAttributes) InternalTokens ¶
func (r RestrictionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestrictionsAttributes) InternalWithRef ¶
func (r RestrictionsAttributes) InternalWithRef(ref terra.Reference) RestrictionsAttributes
func (RestrictionsAttributes) IosKeyRestrictions ¶
func (r RestrictionsAttributes) IosKeyRestrictions() terra.ListValue[RestrictionsIosKeyRestrictionsAttributes]
func (RestrictionsAttributes) ServerKeyRestrictions ¶
func (r RestrictionsAttributes) ServerKeyRestrictions() terra.ListValue[RestrictionsServerKeyRestrictionsAttributes]
type RestrictionsBrowserKeyRestrictions ¶
type RestrictionsBrowserKeyRestrictions struct { // AllowedReferrers: list of string, required AllowedReferrers terra.ListValue[terra.StringValue] `hcl:"allowed_referrers,attr" validate:"required"` }
type RestrictionsBrowserKeyRestrictionsAttributes ¶
type RestrictionsBrowserKeyRestrictionsAttributes struct {
// contains filtered or unexported fields
}
func (RestrictionsBrowserKeyRestrictionsAttributes) AllowedReferrers ¶
func (bkr RestrictionsBrowserKeyRestrictionsAttributes) AllowedReferrers() terra.ListValue[terra.StringValue]
func (RestrictionsBrowserKeyRestrictionsAttributes) InternalRef ¶
func (bkr RestrictionsBrowserKeyRestrictionsAttributes) InternalRef() (terra.Reference, error)
func (RestrictionsBrowserKeyRestrictionsAttributes) InternalTokens ¶
func (bkr RestrictionsBrowserKeyRestrictionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestrictionsBrowserKeyRestrictionsAttributes) InternalWithRef ¶
func (bkr RestrictionsBrowserKeyRestrictionsAttributes) InternalWithRef(ref terra.Reference) RestrictionsBrowserKeyRestrictionsAttributes
type RestrictionsBrowserKeyRestrictionsState ¶
type RestrictionsBrowserKeyRestrictionsState struct {
AllowedReferrers []string `json:"allowed_referrers"`
}
type RestrictionsIosKeyRestrictions ¶
type RestrictionsIosKeyRestrictions struct { // AllowedBundleIds: list of string, required AllowedBundleIds terra.ListValue[terra.StringValue] `hcl:"allowed_bundle_ids,attr" validate:"required"` }
type RestrictionsIosKeyRestrictionsAttributes ¶
type RestrictionsIosKeyRestrictionsAttributes struct {
// contains filtered or unexported fields
}
func (RestrictionsIosKeyRestrictionsAttributes) AllowedBundleIds ¶
func (ikr RestrictionsIosKeyRestrictionsAttributes) AllowedBundleIds() terra.ListValue[terra.StringValue]
func (RestrictionsIosKeyRestrictionsAttributes) InternalRef ¶
func (ikr RestrictionsIosKeyRestrictionsAttributes) InternalRef() (terra.Reference, error)
func (RestrictionsIosKeyRestrictionsAttributes) InternalTokens ¶
func (ikr RestrictionsIosKeyRestrictionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestrictionsIosKeyRestrictionsAttributes) InternalWithRef ¶
func (ikr RestrictionsIosKeyRestrictionsAttributes) InternalWithRef(ref terra.Reference) RestrictionsIosKeyRestrictionsAttributes
type RestrictionsIosKeyRestrictionsState ¶
type RestrictionsIosKeyRestrictionsState struct {
AllowedBundleIds []string `json:"allowed_bundle_ids"`
}
type RestrictionsServerKeyRestrictions ¶
type RestrictionsServerKeyRestrictions struct { // AllowedIps: list of string, required AllowedIps terra.ListValue[terra.StringValue] `hcl:"allowed_ips,attr" validate:"required"` }
type RestrictionsServerKeyRestrictionsAttributes ¶
type RestrictionsServerKeyRestrictionsAttributes struct {
// contains filtered or unexported fields
}
func (RestrictionsServerKeyRestrictionsAttributes) AllowedIps ¶
func (skr RestrictionsServerKeyRestrictionsAttributes) AllowedIps() terra.ListValue[terra.StringValue]
func (RestrictionsServerKeyRestrictionsAttributes) InternalRef ¶
func (skr RestrictionsServerKeyRestrictionsAttributes) InternalRef() (terra.Reference, error)
func (RestrictionsServerKeyRestrictionsAttributes) InternalTokens ¶
func (skr RestrictionsServerKeyRestrictionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestrictionsServerKeyRestrictionsAttributes) InternalWithRef ¶
func (skr RestrictionsServerKeyRestrictionsAttributes) InternalWithRef(ref terra.Reference) RestrictionsServerKeyRestrictionsAttributes
type RestrictionsServerKeyRestrictionsState ¶
type RestrictionsServerKeyRestrictionsState struct {
AllowedIps []string `json:"allowed_ips"`
}
type RestrictionsState ¶
type RestrictionsState struct { AndroidKeyRestrictions []RestrictionsAndroidKeyRestrictionsState `json:"android_key_restrictions"` ApiTargets []RestrictionsApiTargetsState `json:"api_targets"` BrowserKeyRestrictions []RestrictionsBrowserKeyRestrictionsState `json:"browser_key_restrictions"` IosKeyRestrictions []RestrictionsIosKeyRestrictionsState `json:"ios_key_restrictions"` ServerKeyRestrictions []RestrictionsServerKeyRestrictionsState `json:"server_key_restrictions"` }
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.