googleworkspace_schema

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 {
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// SchemaName: string, required
	SchemaName terra.StringValue `hcl:"schema_name,attr" validate:"required"`
	// Fields: min=1
	Fields []Fields `hcl:"fields,block" validate:"min=1"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for googleworkspace_schema.

type DataArgs

type DataArgs struct {
	// SchemaId: string, optional
	SchemaId terra.StringValue `hcl:"schema_id,attr"`
	// SchemaName: string, optional
	SchemaName terra.StringValue `hcl:"schema_name,attr"`
}

DataArgs contains the configurations for googleworkspace_schema.

type DataFieldsAttributes

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

func (DataFieldsAttributes) DisplayName

func (f DataFieldsAttributes) DisplayName() terra.StringValue

func (DataFieldsAttributes) Etag

func (DataFieldsAttributes) FieldId

func (DataFieldsAttributes) FieldName

func (f DataFieldsAttributes) FieldName() terra.StringValue

func (DataFieldsAttributes) FieldType

func (f DataFieldsAttributes) FieldType() terra.StringValue

func (DataFieldsAttributes) Indexed

func (f DataFieldsAttributes) Indexed() terra.BoolValue

func (DataFieldsAttributes) InternalRef

func (f DataFieldsAttributes) InternalRef() (terra.Reference, error)

func (DataFieldsAttributes) InternalTokens

func (f DataFieldsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataFieldsAttributes) InternalWithRef

func (DataFieldsAttributes) MultiValued

func (f DataFieldsAttributes) MultiValued() terra.BoolValue

func (DataFieldsAttributes) NumericIndexingSpec

func (DataFieldsAttributes) ReadAccessType

func (f DataFieldsAttributes) ReadAccessType() terra.StringValue

type DataFieldsNumericIndexingSpecAttributes

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

func (DataFieldsNumericIndexingSpecAttributes) InternalRef

func (DataFieldsNumericIndexingSpecAttributes) InternalTokens

func (DataFieldsNumericIndexingSpecAttributes) InternalWithRef

func (DataFieldsNumericIndexingSpecAttributes) MaxValue

func (DataFieldsNumericIndexingSpecAttributes) MinValue

type DataFieldsNumericIndexingSpecState

type DataFieldsNumericIndexingSpecState struct {
	MaxValue float64 `json:"max_value"`
	MinValue float64 `json:"min_value"`
}

type DataFieldsState

type DataFieldsState struct {
	DisplayName         string                               `json:"display_name"`
	Etag                string                               `json:"etag"`
	FieldId             string                               `json:"field_id"`
	FieldName           string                               `json:"field_name"`
	FieldType           string                               `json:"field_type"`
	Indexed             bool                                 `json:"indexed"`
	MultiValued         bool                                 `json:"multi_valued"`
	ReadAccessType      string                               `json:"read_access_type"`
	NumericIndexingSpec []DataFieldsNumericIndexingSpecState `json:"numeric_indexing_spec"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource googleworkspace_schema.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gs *DataSource) Attributes() dataGoogleworkspaceSchemaAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (gs *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gs *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gs *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type Fields

type Fields struct {
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// FieldName: string, required
	FieldName terra.StringValue `hcl:"field_name,attr" validate:"required"`
	// FieldType: string, required
	FieldType terra.StringValue `hcl:"field_type,attr" validate:"required"`
	// Indexed: bool, optional
	Indexed terra.BoolValue `hcl:"indexed,attr"`
	// MultiValued: bool, optional
	MultiValued terra.BoolValue `hcl:"multi_valued,attr"`
	// ReadAccessType: string, optional
	ReadAccessType terra.StringValue `hcl:"read_access_type,attr"`
	// FieldsNumericIndexingSpec: optional
	NumericIndexingSpec *FieldsNumericIndexingSpec `hcl:"numeric_indexing_spec,block"`
}

type FieldsAttributes

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

func (FieldsAttributes) DisplayName

func (f FieldsAttributes) DisplayName() terra.StringValue

func (FieldsAttributes) Etag

func (FieldsAttributes) FieldId

func (f FieldsAttributes) FieldId() terra.StringValue

func (FieldsAttributes) FieldName

func (f FieldsAttributes) FieldName() terra.StringValue

func (FieldsAttributes) FieldType

func (f FieldsAttributes) FieldType() terra.StringValue

func (FieldsAttributes) Indexed

func (f FieldsAttributes) Indexed() terra.BoolValue

func (FieldsAttributes) InternalRef

func (f FieldsAttributes) InternalRef() (terra.Reference, error)

func (FieldsAttributes) InternalTokens

func (f FieldsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FieldsAttributes) InternalWithRef

func (f FieldsAttributes) InternalWithRef(ref terra.Reference) FieldsAttributes

func (FieldsAttributes) MultiValued

func (f FieldsAttributes) MultiValued() terra.BoolValue

func (FieldsAttributes) NumericIndexingSpec

func (FieldsAttributes) ReadAccessType

func (f FieldsAttributes) ReadAccessType() terra.StringValue

type FieldsNumericIndexingSpec

type FieldsNumericIndexingSpec struct {
	// MaxValue: number, optional
	MaxValue terra.NumberValue `hcl:"max_value,attr"`
	// MinValue: number, optional
	MinValue terra.NumberValue `hcl:"min_value,attr"`
}

type FieldsNumericIndexingSpecAttributes

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

func (FieldsNumericIndexingSpecAttributes) InternalRef

func (FieldsNumericIndexingSpecAttributes) InternalTokens

func (nis FieldsNumericIndexingSpecAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FieldsNumericIndexingSpecAttributes) InternalWithRef

func (FieldsNumericIndexingSpecAttributes) MaxValue

func (FieldsNumericIndexingSpecAttributes) MinValue

type FieldsNumericIndexingSpecState

type FieldsNumericIndexingSpecState struct {
	MaxValue float64 `json:"max_value"`
	MinValue float64 `json:"min_value"`
}

type FieldsState

type FieldsState struct {
	DisplayName         string                           `json:"display_name"`
	Etag                string                           `json:"etag"`
	FieldId             string                           `json:"field_id"`
	FieldName           string                           `json:"field_name"`
	FieldType           string                           `json:"field_type"`
	Indexed             bool                             `json:"indexed"`
	MultiValued         bool                             `json:"multi_valued"`
	ReadAccessType      string                           `json:"read_access_type"`
	NumericIndexingSpec []FieldsNumericIndexingSpecState `json:"numeric_indexing_spec"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gs *Resource) Attributes() googleworkspaceSchemaAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gs *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gs *Resource) State() (*googleworkspaceSchemaState, bool)

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

func (*Resource) StateMust

func (gs *Resource) StateMust() *googleworkspaceSchemaState

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

func (*Resource) Type

func (gs *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