google_cloud_asset_organization_feed

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 {
	// AssetNames: list of string, optional
	AssetNames terra.ListValue[terra.StringValue] `hcl:"asset_names,attr"`
	// AssetTypes: list of string, optional
	AssetTypes terra.ListValue[terra.StringValue] `hcl:"asset_types,attr"`
	// BillingProject: string, required
	BillingProject terra.StringValue `hcl:"billing_project,attr" validate:"required"`
	// ContentType: string, optional
	ContentType terra.StringValue `hcl:"content_type,attr"`
	// FeedId: string, required
	FeedId terra.StringValue `hcl:"feed_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// OrgId: string, required
	OrgId terra.StringValue `hcl:"org_id,attr" validate:"required"`
	// Condition: optional
	Condition *Condition `hcl:"condition,block"`
	// FeedOutputConfig: required
	FeedOutputConfig *FeedOutputConfig `hcl:"feed_output_config,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_cloud_asset_organization_feed.

type Condition

type Condition struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Expression: string, required
	Expression terra.StringValue `hcl:"expression,attr" validate:"required"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Title: string, optional
	Title terra.StringValue `hcl:"title,attr"`
}

type ConditionAttributes

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

func (ConditionAttributes) Description

func (c ConditionAttributes) Description() terra.StringValue

func (ConditionAttributes) Expression

func (c ConditionAttributes) Expression() terra.StringValue

func (ConditionAttributes) InternalRef

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

func (ConditionAttributes) InternalTokens

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

func (ConditionAttributes) InternalWithRef

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

func (ConditionAttributes) Location

func (c ConditionAttributes) Location() terra.StringValue

func (ConditionAttributes) Title

type ConditionState

type ConditionState struct {
	Description string `json:"description"`
	Expression  string `json:"expression"`
	Location    string `json:"location"`
	Title       string `json:"title"`
}

type FeedOutputConfig

type FeedOutputConfig struct {
	// FeedOutputConfigPubsubDestination: required
	PubsubDestination *FeedOutputConfigPubsubDestination `hcl:"pubsub_destination,block" validate:"required"`
}

type FeedOutputConfigAttributes

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

func (FeedOutputConfigAttributes) InternalRef

func (foc FeedOutputConfigAttributes) InternalRef() (terra.Reference, error)

func (FeedOutputConfigAttributes) InternalTokens

func (foc FeedOutputConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FeedOutputConfigAttributes) InternalWithRef

func (FeedOutputConfigAttributes) PubsubDestination

type FeedOutputConfigPubsubDestination

type FeedOutputConfigPubsubDestination struct {
	// Topic: string, required
	Topic terra.StringValue `hcl:"topic,attr" validate:"required"`
}

type FeedOutputConfigPubsubDestinationAttributes

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

func (FeedOutputConfigPubsubDestinationAttributes) InternalRef

func (FeedOutputConfigPubsubDestinationAttributes) InternalTokens

func (FeedOutputConfigPubsubDestinationAttributes) InternalWithRef

func (FeedOutputConfigPubsubDestinationAttributes) Topic

type FeedOutputConfigPubsubDestinationState

type FeedOutputConfigPubsubDestinationState struct {
	Topic string `json:"topic"`
}

type FeedOutputConfigState

type FeedOutputConfigState struct {
	PubsubDestination []FeedOutputConfigPubsubDestinationState `json:"pubsub_destination"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gcaof *Resource) Attributes() googleCloudAssetOrganizationFeedAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gcaof *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gcaof *Resource) State() (*googleCloudAssetOrganizationFeedState, bool)

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

func (*Resource) StateMust

func (gcaof *Resource) StateMust() *googleCloudAssetOrganizationFeedState

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

func (*Resource) Type

func (gcaof *Resource) Type() string

Type returns the Terraform object type for Resource.

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