google_document_ai_warehouse_document_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, required
	DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"`
	// DocumentIsFolder: bool, optional
	DocumentIsFolder terra.BoolValue `hcl:"document_is_folder,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// ProjectNumber: string, required
	ProjectNumber terra.StringValue `hcl:"project_number,attr" validate:"required"`
	// PropertyDefinitions: min=1
	PropertyDefinitions []PropertyDefinitions `hcl:"property_definitions,block" validate:"min=1"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_document_ai_warehouse_document_schema.

type PropertyDefinitions

type PropertyDefinitions struct {
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// IsFilterable: bool, optional
	IsFilterable terra.BoolValue `hcl:"is_filterable,attr"`
	// IsMetadata: bool, optional
	IsMetadata terra.BoolValue `hcl:"is_metadata,attr"`
	// IsRepeatable: bool, optional
	IsRepeatable terra.BoolValue `hcl:"is_repeatable,attr"`
	// IsRequired: bool, optional
	IsRequired terra.BoolValue `hcl:"is_required,attr"`
	// IsSearchable: bool, optional
	IsSearchable terra.BoolValue `hcl:"is_searchable,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// RetrievalImportance: string, optional
	RetrievalImportance terra.StringValue `hcl:"retrieval_importance,attr"`
	// PropertyDefinitionsDateTimeTypeOptions: optional
	DateTimeTypeOptions *PropertyDefinitionsDateTimeTypeOptions `hcl:"date_time_type_options,block"`
	// PropertyDefinitionsEnumTypeOptions: optional
	EnumTypeOptions *PropertyDefinitionsEnumTypeOptions `hcl:"enum_type_options,block"`
	// PropertyDefinitionsFloatTypeOptions: optional
	FloatTypeOptions *PropertyDefinitionsFloatTypeOptions `hcl:"float_type_options,block"`
	// PropertyDefinitionsIntegerTypeOptions: optional
	IntegerTypeOptions *PropertyDefinitionsIntegerTypeOptions `hcl:"integer_type_options,block"`
	// PropertyDefinitionsMapTypeOptions: optional
	MapTypeOptions *PropertyDefinitionsMapTypeOptions `hcl:"map_type_options,block"`
	// PropertyDefinitionsPropertyTypeOptions: optional
	PropertyTypeOptions *PropertyDefinitionsPropertyTypeOptions `hcl:"property_type_options,block"`
	// PropertyDefinitionsSchemaSources: min=0
	SchemaSources []PropertyDefinitionsSchemaSources `hcl:"schema_sources,block" validate:"min=0"`
	// PropertyDefinitionsTextTypeOptions: optional
	TextTypeOptions *PropertyDefinitionsTextTypeOptions `hcl:"text_type_options,block"`
	// PropertyDefinitionsTimestampTypeOptions: optional
	TimestampTypeOptions *PropertyDefinitionsTimestampTypeOptions `hcl:"timestamp_type_options,block"`
}

type PropertyDefinitionsAttributes

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

func (PropertyDefinitionsAttributes) DateTimeTypeOptions

func (PropertyDefinitionsAttributes) DisplayName

func (PropertyDefinitionsAttributes) EnumTypeOptions

func (PropertyDefinitionsAttributes) FloatTypeOptions

func (PropertyDefinitionsAttributes) IntegerTypeOptions

func (PropertyDefinitionsAttributes) InternalRef

func (pd PropertyDefinitionsAttributes) InternalRef() (terra.Reference, error)

func (PropertyDefinitionsAttributes) InternalTokens

func (pd PropertyDefinitionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PropertyDefinitionsAttributes) InternalWithRef

func (PropertyDefinitionsAttributes) IsFilterable

func (pd PropertyDefinitionsAttributes) IsFilterable() terra.BoolValue

func (PropertyDefinitionsAttributes) IsMetadata

func (PropertyDefinitionsAttributes) IsRepeatable

func (pd PropertyDefinitionsAttributes) IsRepeatable() terra.BoolValue

func (PropertyDefinitionsAttributes) IsRequired

func (PropertyDefinitionsAttributes) IsSearchable

func (pd PropertyDefinitionsAttributes) IsSearchable() terra.BoolValue

func (PropertyDefinitionsAttributes) MapTypeOptions

func (PropertyDefinitionsAttributes) Name

func (PropertyDefinitionsAttributes) PropertyTypeOptions

func (PropertyDefinitionsAttributes) RetrievalImportance

func (pd PropertyDefinitionsAttributes) RetrievalImportance() terra.StringValue

func (PropertyDefinitionsAttributes) SchemaSources

func (PropertyDefinitionsAttributes) TextTypeOptions

func (PropertyDefinitionsAttributes) TimestampTypeOptions

type PropertyDefinitionsDateTimeTypeOptions

type PropertyDefinitionsDateTimeTypeOptions struct{}

type PropertyDefinitionsDateTimeTypeOptionsAttributes

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

func (PropertyDefinitionsDateTimeTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsDateTimeTypeOptionsAttributes) InternalTokens

func (PropertyDefinitionsDateTimeTypeOptionsAttributes) InternalWithRef

type PropertyDefinitionsDateTimeTypeOptionsState

type PropertyDefinitionsDateTimeTypeOptionsState struct{}

type PropertyDefinitionsEnumTypeOptions

type PropertyDefinitionsEnumTypeOptions struct {
	// PossibleValues: list of string, required
	PossibleValues terra.ListValue[terra.StringValue] `hcl:"possible_values,attr" validate:"required"`
	// ValidationCheckDisabled: bool, optional
	ValidationCheckDisabled terra.BoolValue `hcl:"validation_check_disabled,attr"`
}

type PropertyDefinitionsEnumTypeOptionsAttributes

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

func (PropertyDefinitionsEnumTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsEnumTypeOptionsAttributes) InternalTokens

func (PropertyDefinitionsEnumTypeOptionsAttributes) InternalWithRef

func (PropertyDefinitionsEnumTypeOptionsAttributes) PossibleValues

func (PropertyDefinitionsEnumTypeOptionsAttributes) ValidationCheckDisabled

func (eto PropertyDefinitionsEnumTypeOptionsAttributes) ValidationCheckDisabled() terra.BoolValue

type PropertyDefinitionsEnumTypeOptionsState

type PropertyDefinitionsEnumTypeOptionsState struct {
	PossibleValues          []string `json:"possible_values"`
	ValidationCheckDisabled bool     `json:"validation_check_disabled"`
}

type PropertyDefinitionsFloatTypeOptions

type PropertyDefinitionsFloatTypeOptions struct{}

type PropertyDefinitionsFloatTypeOptionsAttributes

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

func (PropertyDefinitionsFloatTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsFloatTypeOptionsAttributes) InternalTokens

func (PropertyDefinitionsFloatTypeOptionsAttributes) InternalWithRef

type PropertyDefinitionsFloatTypeOptionsState

type PropertyDefinitionsFloatTypeOptionsState struct{}

type PropertyDefinitionsIntegerTypeOptions

type PropertyDefinitionsIntegerTypeOptions struct{}

type PropertyDefinitionsIntegerTypeOptionsAttributes

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

func (PropertyDefinitionsIntegerTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsIntegerTypeOptionsAttributes) InternalTokens

func (PropertyDefinitionsIntegerTypeOptionsAttributes) InternalWithRef

type PropertyDefinitionsIntegerTypeOptionsState

type PropertyDefinitionsIntegerTypeOptionsState struct{}

type PropertyDefinitionsMapTypeOptions

type PropertyDefinitionsMapTypeOptions struct{}

type PropertyDefinitionsMapTypeOptionsAttributes

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

func (PropertyDefinitionsMapTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsMapTypeOptionsAttributes) InternalTokens

func (PropertyDefinitionsMapTypeOptionsAttributes) InternalWithRef

type PropertyDefinitionsMapTypeOptionsState

type PropertyDefinitionsMapTypeOptionsState struct{}

type PropertyDefinitionsPropertyTypeOptions

type PropertyDefinitionsPropertyTypeOptions struct {
	// PropertyDefinitionsPropertyTypeOptionsPropertyDefinitions: min=1
	PropertyDefinitions []PropertyDefinitionsPropertyTypeOptionsPropertyDefinitions `hcl:"property_definitions,block" validate:"min=1"`
}

type PropertyDefinitionsPropertyTypeOptionsAttributes

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

func (PropertyDefinitionsPropertyTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsPropertyTypeOptionsAttributes) InternalTokens

func (PropertyDefinitionsPropertyTypeOptionsAttributes) InternalWithRef

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitions

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitions struct {
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// IsFilterable: bool, optional
	IsFilterable terra.BoolValue `hcl:"is_filterable,attr"`
	// IsMetadata: bool, optional
	IsMetadata terra.BoolValue `hcl:"is_metadata,attr"`
	// IsRepeatable: bool, optional
	IsRepeatable terra.BoolValue `hcl:"is_repeatable,attr"`
	// IsRequired: bool, optional
	IsRequired terra.BoolValue `hcl:"is_required,attr"`
	// IsSearchable: bool, optional
	IsSearchable terra.BoolValue `hcl:"is_searchable,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// RetrievalImportance: string, optional
	RetrievalImportance terra.StringValue `hcl:"retrieval_importance,attr"`
	// PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsDateTimeTypeOptions: optional
	DateTimeTypeOptions *PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsDateTimeTypeOptions `hcl:"date_time_type_options,block"`
	// PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsEnumTypeOptions: optional
	EnumTypeOptions *PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsEnumTypeOptions `hcl:"enum_type_options,block"`
	// PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsFloatTypeOptions: optional
	FloatTypeOptions *PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsFloatTypeOptions `hcl:"float_type_options,block"`
	// PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsIntegerTypeOptions: optional
	IntegerTypeOptions *PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsIntegerTypeOptions `hcl:"integer_type_options,block"`
	// PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsMapTypeOptions: optional
	MapTypeOptions *PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsMapTypeOptions `hcl:"map_type_options,block"`
	// PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsSchemaSources: min=0
	SchemaSources []PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsSchemaSources `hcl:"schema_sources,block" validate:"min=0"`
	// PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTextTypeOptions: optional
	TextTypeOptions *PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTextTypeOptions `hcl:"text_type_options,block"`
	// PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTimestampTypeOptions: optional
	TimestampTypeOptions *PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTimestampTypeOptions `hcl:"timestamp_type_options,block"`
}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsAttributes

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

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsAttributes) DisplayName

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsAttributes) InternalRef

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsAttributes) InternalTokens

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsAttributes) InternalWithRef

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsAttributes) IsFilterable

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsAttributes) IsMetadata

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsAttributes) IsRepeatable

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsAttributes) IsRequired

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsAttributes) IsSearchable

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsAttributes) Name

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsAttributes) RetrievalImportance

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsDateTimeTypeOptions

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsDateTimeTypeOptions struct{}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsDateTimeTypeOptionsAttributes

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

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsDateTimeTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsDateTimeTypeOptionsAttributes) InternalTokens

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsDateTimeTypeOptionsState

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsDateTimeTypeOptionsState struct{}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsEnumTypeOptions

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsEnumTypeOptions struct {
	// PossibleValues: list of string, required
	PossibleValues terra.ListValue[terra.StringValue] `hcl:"possible_values,attr" validate:"required"`
	// ValidationCheckDisabled: bool, optional
	ValidationCheckDisabled terra.BoolValue `hcl:"validation_check_disabled,attr"`
}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsEnumTypeOptionsAttributes

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

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsEnumTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsEnumTypeOptionsAttributes) InternalTokens

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsEnumTypeOptionsAttributes) PossibleValues

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsEnumTypeOptionsAttributes) ValidationCheckDisabled

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsEnumTypeOptionsState

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsEnumTypeOptionsState struct {
	PossibleValues          []string `json:"possible_values"`
	ValidationCheckDisabled bool     `json:"validation_check_disabled"`
}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsFloatTypeOptions

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsFloatTypeOptions struct{}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsFloatTypeOptionsAttributes

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

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsFloatTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsFloatTypeOptionsAttributes) InternalTokens

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsFloatTypeOptionsState

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsFloatTypeOptionsState struct{}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsIntegerTypeOptions

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsIntegerTypeOptions struct{}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsIntegerTypeOptionsAttributes

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

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsIntegerTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsIntegerTypeOptionsAttributes) InternalTokens

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsIntegerTypeOptionsState

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsIntegerTypeOptionsState struct{}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsMapTypeOptions

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsMapTypeOptions struct{}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsMapTypeOptionsAttributes

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

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsMapTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsMapTypeOptionsAttributes) InternalTokens

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsMapTypeOptionsState

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsMapTypeOptionsState struct{}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsSchemaSources

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsSchemaSources struct {
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// ProcessorType: string, optional
	ProcessorType terra.StringValue `hcl:"processor_type,attr"`
}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsSchemaSourcesAttributes

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

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsSchemaSourcesAttributes) InternalRef

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsSchemaSourcesAttributes) InternalTokens

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsSchemaSourcesAttributes) Name

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsSchemaSourcesAttributes) ProcessorType

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsSchemaSourcesState

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsSchemaSourcesState struct {
	Name          string `json:"name"`
	ProcessorType string `json:"processor_type"`
}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsState

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsState struct {
	DisplayName          string                                                                               `json:"display_name"`
	IsFilterable         bool                                                                                 `json:"is_filterable"`
	IsMetadata           bool                                                                                 `json:"is_metadata"`
	IsRepeatable         bool                                                                                 `json:"is_repeatable"`
	IsRequired           bool                                                                                 `json:"is_required"`
	IsSearchable         bool                                                                                 `json:"is_searchable"`
	Name                 string                                                                               `json:"name"`
	RetrievalImportance  string                                                                               `json:"retrieval_importance"`
	DateTimeTypeOptions  []PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsDateTimeTypeOptionsState  `json:"date_time_type_options"`
	EnumTypeOptions      []PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsEnumTypeOptionsState      `json:"enum_type_options"`
	FloatTypeOptions     []PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsFloatTypeOptionsState     `json:"float_type_options"`
	IntegerTypeOptions   []PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsIntegerTypeOptionsState   `json:"integer_type_options"`
	MapTypeOptions       []PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsMapTypeOptionsState       `json:"map_type_options"`
	SchemaSources        []PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsSchemaSourcesState        `json:"schema_sources"`
	TextTypeOptions      []PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTextTypeOptionsState      `json:"text_type_options"`
	TimestampTypeOptions []PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTimestampTypeOptionsState `json:"timestamp_type_options"`
}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTextTypeOptions

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTextTypeOptions struct{}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTextTypeOptionsAttributes

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

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTextTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTextTypeOptionsAttributes) InternalTokens

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTextTypeOptionsState

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTextTypeOptionsState struct{}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTimestampTypeOptions

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTimestampTypeOptions struct{}

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTimestampTypeOptionsAttributes

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

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTimestampTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTimestampTypeOptionsAttributes) InternalTokens

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTimestampTypeOptionsState

type PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsTimestampTypeOptionsState struct{}

type PropertyDefinitionsPropertyTypeOptionsState

type PropertyDefinitionsPropertyTypeOptionsState struct {
	PropertyDefinitions []PropertyDefinitionsPropertyTypeOptionsPropertyDefinitionsState `json:"property_definitions"`
}

type PropertyDefinitionsSchemaSources

type PropertyDefinitionsSchemaSources struct {
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// ProcessorType: string, optional
	ProcessorType terra.StringValue `hcl:"processor_type,attr"`
}

type PropertyDefinitionsSchemaSourcesAttributes

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

func (PropertyDefinitionsSchemaSourcesAttributes) InternalRef

func (PropertyDefinitionsSchemaSourcesAttributes) InternalTokens

func (PropertyDefinitionsSchemaSourcesAttributes) InternalWithRef

func (PropertyDefinitionsSchemaSourcesAttributes) Name

func (PropertyDefinitionsSchemaSourcesAttributes) ProcessorType

type PropertyDefinitionsSchemaSourcesState

type PropertyDefinitionsSchemaSourcesState struct {
	Name          string `json:"name"`
	ProcessorType string `json:"processor_type"`
}

type PropertyDefinitionsState

type PropertyDefinitionsState struct {
	DisplayName          string                                         `json:"display_name"`
	IsFilterable         bool                                           `json:"is_filterable"`
	IsMetadata           bool                                           `json:"is_metadata"`
	IsRepeatable         bool                                           `json:"is_repeatable"`
	IsRequired           bool                                           `json:"is_required"`
	IsSearchable         bool                                           `json:"is_searchable"`
	Name                 string                                         `json:"name"`
	RetrievalImportance  string                                         `json:"retrieval_importance"`
	DateTimeTypeOptions  []PropertyDefinitionsDateTimeTypeOptionsState  `json:"date_time_type_options"`
	EnumTypeOptions      []PropertyDefinitionsEnumTypeOptionsState      `json:"enum_type_options"`
	FloatTypeOptions     []PropertyDefinitionsFloatTypeOptionsState     `json:"float_type_options"`
	IntegerTypeOptions   []PropertyDefinitionsIntegerTypeOptionsState   `json:"integer_type_options"`
	MapTypeOptions       []PropertyDefinitionsMapTypeOptionsState       `json:"map_type_options"`
	PropertyTypeOptions  []PropertyDefinitionsPropertyTypeOptionsState  `json:"property_type_options"`
	SchemaSources        []PropertyDefinitionsSchemaSourcesState        `json:"schema_sources"`
	TextTypeOptions      []PropertyDefinitionsTextTypeOptionsState      `json:"text_type_options"`
	TimestampTypeOptions []PropertyDefinitionsTimestampTypeOptionsState `json:"timestamp_type_options"`
}

type PropertyDefinitionsTextTypeOptions

type PropertyDefinitionsTextTypeOptions struct{}

type PropertyDefinitionsTextTypeOptionsAttributes

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

func (PropertyDefinitionsTextTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsTextTypeOptionsAttributes) InternalTokens

func (PropertyDefinitionsTextTypeOptionsAttributes) InternalWithRef

type PropertyDefinitionsTextTypeOptionsState

type PropertyDefinitionsTextTypeOptionsState struct{}

type PropertyDefinitionsTimestampTypeOptions

type PropertyDefinitionsTimestampTypeOptions struct{}

type PropertyDefinitionsTimestampTypeOptionsAttributes

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

func (PropertyDefinitionsTimestampTypeOptionsAttributes) InternalRef

func (PropertyDefinitionsTimestampTypeOptionsAttributes) InternalTokens

func (PropertyDefinitionsTimestampTypeOptionsAttributes) InternalWithRef

type PropertyDefinitionsTimestampTypeOptionsState

type PropertyDefinitionsTimestampTypeOptionsState struct{}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gdawds *Resource) Attributes() googleDocumentAiWarehouseDocumentSchemaAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gdawds *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gdawds *Resource) State() (*googleDocumentAiWarehouseDocumentSchemaState, bool)

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

func (*Resource) StateMust

func (gdawds *Resource) StateMust() *googleDocumentAiWarehouseDocumentSchemaState

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

func (*Resource) Type

func (gdawds *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"`
}

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

type TimeoutsState

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

Jump to

Keyboard shortcuts

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