google_firebase_extensions_instance

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 Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// InstanceId: string, required
	InstanceId terra.StringValue `hcl:"instance_id,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Config: required
	Config *Config `hcl:"config,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_firebase_extensions_instance.

type Config

type Config struct {
	// AllowedEventTypes: list of string, optional
	AllowedEventTypes terra.ListValue[terra.StringValue] `hcl:"allowed_event_types,attr"`
	// EventarcChannel: string, optional
	EventarcChannel terra.StringValue `hcl:"eventarc_channel,attr"`
	// ExtensionRef: string, required
	ExtensionRef terra.StringValue `hcl:"extension_ref,attr" validate:"required"`
	// ExtensionVersion: string, optional
	ExtensionVersion terra.StringValue `hcl:"extension_version,attr"`
	// Params: map of string, required
	Params terra.MapValue[terra.StringValue] `hcl:"params,attr" validate:"required"`
	// SystemParams: map of string, optional
	SystemParams terra.MapValue[terra.StringValue] `hcl:"system_params,attr"`
}

type ConfigAttributes

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

func (ConfigAttributes) AllowedEventTypes

func (c ConfigAttributes) AllowedEventTypes() terra.ListValue[terra.StringValue]

func (ConfigAttributes) CreateTime

func (c ConfigAttributes) CreateTime() terra.StringValue

func (ConfigAttributes) EventarcChannel

func (c ConfigAttributes) EventarcChannel() terra.StringValue

func (ConfigAttributes) ExtensionRef

func (c ConfigAttributes) ExtensionRef() terra.StringValue

func (ConfigAttributes) ExtensionVersion

func (c ConfigAttributes) ExtensionVersion() terra.StringValue

func (ConfigAttributes) InternalRef

func (c ConfigAttributes) InternalRef() (terra.Reference, error)

func (ConfigAttributes) InternalTokens

func (c ConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigAttributes) InternalWithRef

func (c ConfigAttributes) InternalWithRef(ref terra.Reference) ConfigAttributes

func (ConfigAttributes) Name

func (ConfigAttributes) Params

func (ConfigAttributes) PopulatedPostinstallContent

func (c ConfigAttributes) PopulatedPostinstallContent() terra.StringValue

func (ConfigAttributes) SystemParams

func (c ConfigAttributes) SystemParams() terra.MapValue[terra.StringValue]

type ConfigState

type ConfigState struct {
	AllowedEventTypes           []string          `json:"allowed_event_types"`
	CreateTime                  string            `json:"create_time"`
	EventarcChannel             string            `json:"eventarc_channel"`
	ExtensionRef                string            `json:"extension_ref"`
	ExtensionVersion            string            `json:"extension_version"`
	Name                        string            `json:"name"`
	Params                      map[string]string `json:"params"`
	PopulatedPostinstallContent string            `json:"populated_postinstall_content"`
	SystemParams                map[string]string `json:"system_params"`
}

type ErrorStatusAttributes

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

func (ErrorStatusAttributes) Code

func (ErrorStatusAttributes) Details

func (ErrorStatusAttributes) InternalRef

func (es ErrorStatusAttributes) InternalRef() (terra.Reference, error)

func (ErrorStatusAttributes) InternalTokens

func (es ErrorStatusAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorStatusAttributes) InternalWithRef

func (ErrorStatusAttributes) Message

type ErrorStatusState

type ErrorStatusState struct {
	Code    float64             `json:"code"`
	Details []map[string]string `json:"details"`
	Message string              `json:"message"`
}

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_firebase_extensions_instance.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gfei *Resource) Attributes() googleFirebaseExtensionsInstanceAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gfei *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gfei *Resource) State() (*googleFirebaseExtensionsInstanceState, bool)

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

func (*Resource) StateMust

func (gfei *Resource) StateMust() *googleFirebaseExtensionsInstanceState

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

func (*Resource) Type

func (gfei *Resource) Type() string

Type returns the Terraform object type for Resource.

type RuntimeDataAttributes

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

func (RuntimeDataAttributes) FatalError

func (RuntimeDataAttributes) InternalRef

func (rd RuntimeDataAttributes) InternalRef() (terra.Reference, error)

func (RuntimeDataAttributes) InternalTokens

func (rd RuntimeDataAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RuntimeDataAttributes) InternalWithRef

func (RuntimeDataAttributes) ProcessingState

func (RuntimeDataAttributes) StateUpdateTime

func (rd RuntimeDataAttributes) StateUpdateTime() terra.StringValue

type RuntimeDataFatalErrorAttributes

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

func (RuntimeDataFatalErrorAttributes) ErrorMessage

func (RuntimeDataFatalErrorAttributes) InternalRef

func (RuntimeDataFatalErrorAttributes) InternalTokens

func (fe RuntimeDataFatalErrorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RuntimeDataFatalErrorAttributes) InternalWithRef

type RuntimeDataFatalErrorState

type RuntimeDataFatalErrorState struct {
	ErrorMessage string `json:"error_message"`
}

type RuntimeDataProcessingStateAttributes

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

func (RuntimeDataProcessingStateAttributes) DetailMessage

func (RuntimeDataProcessingStateAttributes) InternalRef

func (RuntimeDataProcessingStateAttributes) InternalTokens

func (RuntimeDataProcessingStateAttributes) InternalWithRef

func (RuntimeDataProcessingStateAttributes) State

type RuntimeDataProcessingStateState

type RuntimeDataProcessingStateState struct {
	DetailMessage string `json:"detail_message"`
	State         string `json:"state"`
}

type RuntimeDataState

type RuntimeDataState struct {
	StateUpdateTime string                            `json:"state_update_time"`
	FatalError      []RuntimeDataFatalErrorState      `json:"fatal_error"`
	ProcessingState []RuntimeDataProcessingStateState `json:"processing_state"`
}

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"`
}

Jump to

Keyboard shortcuts

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