Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataDeployedIndexesAttributes
- func (di DataDeployedIndexesAttributes) DeployedIndexId() terra.StringValue
- func (di DataDeployedIndexesAttributes) IndexEndpoint() terra.StringValue
- func (di DataDeployedIndexesAttributes) InternalRef() (terra.Reference, error)
- func (di DataDeployedIndexesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (di DataDeployedIndexesAttributes) InternalWithRef(ref terra.Reference) DataDeployedIndexesAttributes
- type DataDeployedIndexesState
- type DataIndexStatsAttributes
- func (is DataIndexStatsAttributes) InternalRef() (terra.Reference, error)
- func (is DataIndexStatsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (is DataIndexStatsAttributes) InternalWithRef(ref terra.Reference) DataIndexStatsAttributes
- func (is DataIndexStatsAttributes) ShardsCount() terra.NumberValue
- func (is DataIndexStatsAttributes) VectorsCount() terra.StringValue
- type DataIndexStatsState
- type DataMetadataAttributes
- func (m DataMetadataAttributes) Config() terra.ListValue[DataMetadataConfigAttributes]
- func (m DataMetadataAttributes) ContentsDeltaUri() terra.StringValue
- func (m DataMetadataAttributes) InternalRef() (terra.Reference, error)
- func (m DataMetadataAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m DataMetadataAttributes) InternalWithRef(ref terra.Reference) DataMetadataAttributes
- func (m DataMetadataAttributes) IsCompleteOverwrite() terra.BoolValue
- type DataMetadataConfigAlgorithmConfigAttributes
- func (ac DataMetadataConfigAlgorithmConfigAttributes) BruteForceConfig() terra.ListValue[DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes]
- func (ac DataMetadataConfigAlgorithmConfigAttributes) InternalRef() (terra.Reference, error)
- func (ac DataMetadataConfigAlgorithmConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac DataMetadataConfigAlgorithmConfigAttributes) InternalWithRef(ref terra.Reference) DataMetadataConfigAlgorithmConfigAttributes
- func (ac DataMetadataConfigAlgorithmConfigAttributes) TreeAhConfig() terra.ListValue[DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes]
- type DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes
- func (bfc DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalRef() (terra.Reference, error)
- func (bfc DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bfc DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalWithRef(ref terra.Reference) DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes
- type DataMetadataConfigAlgorithmConfigBruteForceConfigState
- type DataMetadataConfigAlgorithmConfigState
- type DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes
- func (tac DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalRef() (terra.Reference, error)
- func (tac DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tac DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalWithRef(ref terra.Reference) DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes
- func (tac DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) LeafNodeEmbeddingCount() terra.NumberValue
- func (tac DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) LeafNodesToSearchPercent() terra.NumberValue
- type DataMetadataConfigAlgorithmConfigTreeAhConfigState
- type DataMetadataConfigAttributes
- func (c DataMetadataConfigAttributes) AlgorithmConfig() terra.ListValue[DataMetadataConfigAlgorithmConfigAttributes]
- func (c DataMetadataConfigAttributes) ApproximateNeighborsCount() terra.NumberValue
- func (c DataMetadataConfigAttributes) Dimensions() terra.NumberValue
- func (c DataMetadataConfigAttributes) DistanceMeasureType() terra.StringValue
- func (c DataMetadataConfigAttributes) FeatureNormType() terra.StringValue
- func (c DataMetadataConfigAttributes) InternalRef() (terra.Reference, error)
- func (c DataMetadataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c DataMetadataConfigAttributes) InternalWithRef(ref terra.Reference) DataMetadataConfigAttributes
- func (c DataMetadataConfigAttributes) ShardSize() terra.StringValue
- type DataMetadataConfigState
- type DataMetadataState
- type DataSource
- type DeployedIndexesAttributes
- func (di DeployedIndexesAttributes) DeployedIndexId() terra.StringValue
- func (di DeployedIndexesAttributes) IndexEndpoint() terra.StringValue
- func (di DeployedIndexesAttributes) InternalRef() (terra.Reference, error)
- func (di DeployedIndexesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (di DeployedIndexesAttributes) InternalWithRef(ref terra.Reference) DeployedIndexesAttributes
- type DeployedIndexesState
- type IndexStatsAttributes
- func (is IndexStatsAttributes) InternalRef() (terra.Reference, error)
- func (is IndexStatsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (is IndexStatsAttributes) InternalWithRef(ref terra.Reference) IndexStatsAttributes
- func (is IndexStatsAttributes) ShardsCount() terra.NumberValue
- func (is IndexStatsAttributes) VectorsCount() terra.StringValue
- type IndexStatsState
- type Metadata
- type MetadataAttributes
- func (m MetadataAttributes) Config() terra.ListValue[MetadataConfigAttributes]
- func (m MetadataAttributes) ContentsDeltaUri() terra.StringValue
- func (m MetadataAttributes) InternalRef() (terra.Reference, error)
- func (m MetadataAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m MetadataAttributes) InternalWithRef(ref terra.Reference) MetadataAttributes
- func (m MetadataAttributes) IsCompleteOverwrite() terra.BoolValue
- type MetadataConfig
- type MetadataConfigAlgorithmConfig
- type MetadataConfigAlgorithmConfigAttributes
- func (ac MetadataConfigAlgorithmConfigAttributes) BruteForceConfig() terra.ListValue[MetadataConfigAlgorithmConfigBruteForceConfigAttributes]
- func (ac MetadataConfigAlgorithmConfigAttributes) InternalRef() (terra.Reference, error)
- func (ac MetadataConfigAlgorithmConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac MetadataConfigAlgorithmConfigAttributes) InternalWithRef(ref terra.Reference) MetadataConfigAlgorithmConfigAttributes
- func (ac MetadataConfigAlgorithmConfigAttributes) TreeAhConfig() terra.ListValue[MetadataConfigAlgorithmConfigTreeAhConfigAttributes]
- type MetadataConfigAlgorithmConfigBruteForceConfig
- type MetadataConfigAlgorithmConfigBruteForceConfigAttributes
- func (bfc MetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalRef() (terra.Reference, error)
- func (bfc MetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bfc MetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalWithRef(ref terra.Reference) MetadataConfigAlgorithmConfigBruteForceConfigAttributes
- type MetadataConfigAlgorithmConfigBruteForceConfigState
- type MetadataConfigAlgorithmConfigState
- type MetadataConfigAlgorithmConfigTreeAhConfig
- type MetadataConfigAlgorithmConfigTreeAhConfigAttributes
- func (tac MetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalRef() (terra.Reference, error)
- func (tac MetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tac MetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalWithRef(ref terra.Reference) MetadataConfigAlgorithmConfigTreeAhConfigAttributes
- func (tac MetadataConfigAlgorithmConfigTreeAhConfigAttributes) LeafNodeEmbeddingCount() terra.NumberValue
- func (tac MetadataConfigAlgorithmConfigTreeAhConfigAttributes) LeafNodesToSearchPercent() terra.NumberValue
- type MetadataConfigAlgorithmConfigTreeAhConfigState
- type MetadataConfigAttributes
- func (c MetadataConfigAttributes) AlgorithmConfig() terra.ListValue[MetadataConfigAlgorithmConfigAttributes]
- func (c MetadataConfigAttributes) ApproximateNeighborsCount() terra.NumberValue
- func (c MetadataConfigAttributes) Dimensions() terra.NumberValue
- func (c MetadataConfigAttributes) DistanceMeasureType() terra.StringValue
- func (c MetadataConfigAttributes) FeatureNormType() terra.StringValue
- func (c MetadataConfigAttributes) InternalRef() (terra.Reference, error)
- func (c MetadataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c MetadataConfigAttributes) InternalWithRef(ref terra.Reference) MetadataConfigAttributes
- func (c MetadataConfigAttributes) ShardSize() terra.StringValue
- type MetadataConfigState
- type MetadataState
- type Resource
- func (gvai *Resource) Attributes() googleVertexAiIndexAttributes
- func (gvai *Resource) Configuration() interface{}
- func (gvai *Resource) DependOn() terra.Reference
- func (gvai *Resource) Dependencies() terra.Dependencies
- func (gvai *Resource) ImportState(state io.Reader) error
- func (gvai *Resource) LifecycleManagement() *terra.Lifecycle
- func (gvai *Resource) LocalName() string
- func (gvai *Resource) State() (*googleVertexAiIndexState, bool)
- func (gvai *Resource) StateMust() *googleVertexAiIndexState
- func (gvai *Resource) Type() string
- 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 { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // DisplayName: string, required DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IndexUpdateMethod: string, optional IndexUpdateMethod terra.StringValue `hcl:"index_update_method,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // Metadata: optional Metadata *Metadata `hcl:"metadata,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_vertex_ai_index.
type DataArgs ¶
type DataArgs struct { // 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"` // Region: string, required Region terra.StringValue `hcl:"region,attr" validate:"required"` }
DataArgs contains the configurations for google_vertex_ai_index.
type DataDeployedIndexesAttributes ¶
type DataDeployedIndexesAttributes struct {
// contains filtered or unexported fields
}
func (DataDeployedIndexesAttributes) DeployedIndexId ¶
func (di DataDeployedIndexesAttributes) DeployedIndexId() terra.StringValue
func (DataDeployedIndexesAttributes) IndexEndpoint ¶
func (di DataDeployedIndexesAttributes) IndexEndpoint() terra.StringValue
func (DataDeployedIndexesAttributes) InternalRef ¶
func (di DataDeployedIndexesAttributes) InternalRef() (terra.Reference, error)
func (DataDeployedIndexesAttributes) InternalTokens ¶
func (di DataDeployedIndexesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDeployedIndexesAttributes) InternalWithRef ¶
func (di DataDeployedIndexesAttributes) InternalWithRef(ref terra.Reference) DataDeployedIndexesAttributes
type DataIndexStatsAttributes ¶
type DataIndexStatsAttributes struct {
// contains filtered or unexported fields
}
func (DataIndexStatsAttributes) InternalRef ¶
func (is DataIndexStatsAttributes) InternalRef() (terra.Reference, error)
func (DataIndexStatsAttributes) InternalTokens ¶
func (is DataIndexStatsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataIndexStatsAttributes) InternalWithRef ¶
func (is DataIndexStatsAttributes) InternalWithRef(ref terra.Reference) DataIndexStatsAttributes
func (DataIndexStatsAttributes) ShardsCount ¶
func (is DataIndexStatsAttributes) ShardsCount() terra.NumberValue
func (DataIndexStatsAttributes) VectorsCount ¶
func (is DataIndexStatsAttributes) VectorsCount() terra.StringValue
type DataIndexStatsState ¶
type DataMetadataAttributes ¶
type DataMetadataAttributes struct {
// contains filtered or unexported fields
}
func (DataMetadataAttributes) Config ¶
func (m DataMetadataAttributes) Config() terra.ListValue[DataMetadataConfigAttributes]
func (DataMetadataAttributes) ContentsDeltaUri ¶
func (m DataMetadataAttributes) ContentsDeltaUri() terra.StringValue
func (DataMetadataAttributes) InternalRef ¶
func (m DataMetadataAttributes) InternalRef() (terra.Reference, error)
func (DataMetadataAttributes) InternalTokens ¶
func (m DataMetadataAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMetadataAttributes) InternalWithRef ¶
func (m DataMetadataAttributes) InternalWithRef(ref terra.Reference) DataMetadataAttributes
func (DataMetadataAttributes) IsCompleteOverwrite ¶
func (m DataMetadataAttributes) IsCompleteOverwrite() terra.BoolValue
type DataMetadataConfigAlgorithmConfigAttributes ¶
type DataMetadataConfigAlgorithmConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataMetadataConfigAlgorithmConfigAttributes) BruteForceConfig ¶
func (ac DataMetadataConfigAlgorithmConfigAttributes) BruteForceConfig() terra.ListValue[DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes]
func (DataMetadataConfigAlgorithmConfigAttributes) InternalRef ¶
func (ac DataMetadataConfigAlgorithmConfigAttributes) InternalRef() (terra.Reference, error)
func (DataMetadataConfigAlgorithmConfigAttributes) InternalTokens ¶
func (ac DataMetadataConfigAlgorithmConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMetadataConfigAlgorithmConfigAttributes) InternalWithRef ¶
func (ac DataMetadataConfigAlgorithmConfigAttributes) InternalWithRef(ref terra.Reference) DataMetadataConfigAlgorithmConfigAttributes
func (DataMetadataConfigAlgorithmConfigAttributes) TreeAhConfig ¶
func (ac DataMetadataConfigAlgorithmConfigAttributes) TreeAhConfig() terra.ListValue[DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes]
type DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes ¶
type DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalRef ¶
func (bfc DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalRef() (terra.Reference, error)
func (DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalTokens ¶
func (bfc DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalWithRef ¶
func (bfc DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalWithRef(ref terra.Reference) DataMetadataConfigAlgorithmConfigBruteForceConfigAttributes
type DataMetadataConfigAlgorithmConfigBruteForceConfigState ¶
type DataMetadataConfigAlgorithmConfigBruteForceConfigState struct{}
type DataMetadataConfigAlgorithmConfigState ¶
type DataMetadataConfigAlgorithmConfigState struct { BruteForceConfig []DataMetadataConfigAlgorithmConfigBruteForceConfigState `json:"brute_force_config"` TreeAhConfig []DataMetadataConfigAlgorithmConfigTreeAhConfigState `json:"tree_ah_config"` }
type DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes ¶
type DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalRef ¶
func (tac DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalRef() (terra.Reference, error)
func (DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalTokens ¶
func (tac DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalWithRef ¶
func (tac DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalWithRef(ref terra.Reference) DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes
func (DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) LeafNodeEmbeddingCount ¶
func (tac DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) LeafNodeEmbeddingCount() terra.NumberValue
func (DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) LeafNodesToSearchPercent ¶
func (tac DataMetadataConfigAlgorithmConfigTreeAhConfigAttributes) LeafNodesToSearchPercent() terra.NumberValue
type DataMetadataConfigAttributes ¶
type DataMetadataConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataMetadataConfigAttributes) AlgorithmConfig ¶
func (c DataMetadataConfigAttributes) AlgorithmConfig() terra.ListValue[DataMetadataConfigAlgorithmConfigAttributes]
func (DataMetadataConfigAttributes) ApproximateNeighborsCount ¶
func (c DataMetadataConfigAttributes) ApproximateNeighborsCount() terra.NumberValue
func (DataMetadataConfigAttributes) Dimensions ¶
func (c DataMetadataConfigAttributes) Dimensions() terra.NumberValue
func (DataMetadataConfigAttributes) DistanceMeasureType ¶
func (c DataMetadataConfigAttributes) DistanceMeasureType() terra.StringValue
func (DataMetadataConfigAttributes) FeatureNormType ¶
func (c DataMetadataConfigAttributes) FeatureNormType() terra.StringValue
func (DataMetadataConfigAttributes) InternalRef ¶
func (c DataMetadataConfigAttributes) InternalRef() (terra.Reference, error)
func (DataMetadataConfigAttributes) InternalTokens ¶
func (c DataMetadataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMetadataConfigAttributes) InternalWithRef ¶
func (c DataMetadataConfigAttributes) InternalWithRef(ref terra.Reference) DataMetadataConfigAttributes
func (DataMetadataConfigAttributes) ShardSize ¶
func (c DataMetadataConfigAttributes) ShardSize() terra.StringValue
type DataMetadataConfigState ¶
type DataMetadataConfigState struct { ApproximateNeighborsCount float64 `json:"approximate_neighbors_count"` Dimensions float64 `json:"dimensions"` DistanceMeasureType string `json:"distance_measure_type"` FeatureNormType string `json:"feature_norm_type"` ShardSize string `json:"shard_size"` AlgorithmConfig []DataMetadataConfigAlgorithmConfigState `json:"algorithm_config"` }
type DataMetadataState ¶
type DataMetadataState struct { ContentsDeltaUri string `json:"contents_delta_uri"` IsCompleteOverwrite bool `json:"is_complete_overwrite"` Config []DataMetadataConfigState `json:"config"` }
type DataSource ¶
DataSource represents the Terraform data resource google_vertex_ai_index.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gvai *DataSource) Attributes() dataGoogleVertexAiIndexAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gvai *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gvai *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gvai *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DeployedIndexesAttributes ¶
type DeployedIndexesAttributes struct {
// contains filtered or unexported fields
}
func (DeployedIndexesAttributes) DeployedIndexId ¶
func (di DeployedIndexesAttributes) DeployedIndexId() terra.StringValue
func (DeployedIndexesAttributes) IndexEndpoint ¶
func (di DeployedIndexesAttributes) IndexEndpoint() terra.StringValue
func (DeployedIndexesAttributes) InternalRef ¶
func (di DeployedIndexesAttributes) InternalRef() (terra.Reference, error)
func (DeployedIndexesAttributes) InternalTokens ¶
func (di DeployedIndexesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeployedIndexesAttributes) InternalWithRef ¶
func (di DeployedIndexesAttributes) InternalWithRef(ref terra.Reference) DeployedIndexesAttributes
type DeployedIndexesState ¶
type IndexStatsAttributes ¶
type IndexStatsAttributes struct {
// contains filtered or unexported fields
}
func (IndexStatsAttributes) InternalRef ¶
func (is IndexStatsAttributes) InternalRef() (terra.Reference, error)
func (IndexStatsAttributes) InternalTokens ¶
func (is IndexStatsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IndexStatsAttributes) InternalWithRef ¶
func (is IndexStatsAttributes) InternalWithRef(ref terra.Reference) IndexStatsAttributes
func (IndexStatsAttributes) ShardsCount ¶
func (is IndexStatsAttributes) ShardsCount() terra.NumberValue
func (IndexStatsAttributes) VectorsCount ¶
func (is IndexStatsAttributes) VectorsCount() terra.StringValue
type IndexStatsState ¶
type Metadata ¶
type Metadata struct { // ContentsDeltaUri: string, required ContentsDeltaUri terra.StringValue `hcl:"contents_delta_uri,attr" validate:"required"` // IsCompleteOverwrite: bool, optional IsCompleteOverwrite terra.BoolValue `hcl:"is_complete_overwrite,attr"` // MetadataConfig: optional Config *MetadataConfig `hcl:"config,block"` }
type MetadataAttributes ¶
type MetadataAttributes struct {
// contains filtered or unexported fields
}
func (MetadataAttributes) Config ¶
func (m MetadataAttributes) Config() terra.ListValue[MetadataConfigAttributes]
func (MetadataAttributes) ContentsDeltaUri ¶
func (m MetadataAttributes) ContentsDeltaUri() terra.StringValue
func (MetadataAttributes) InternalRef ¶
func (m MetadataAttributes) InternalRef() (terra.Reference, error)
func (MetadataAttributes) InternalTokens ¶
func (m MetadataAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetadataAttributes) InternalWithRef ¶
func (m MetadataAttributes) InternalWithRef(ref terra.Reference) MetadataAttributes
func (MetadataAttributes) IsCompleteOverwrite ¶
func (m MetadataAttributes) IsCompleteOverwrite() terra.BoolValue
type MetadataConfig ¶
type MetadataConfig struct { // ApproximateNeighborsCount: number, optional ApproximateNeighborsCount terra.NumberValue `hcl:"approximate_neighbors_count,attr"` // Dimensions: number, required Dimensions terra.NumberValue `hcl:"dimensions,attr" validate:"required"` // DistanceMeasureType: string, optional DistanceMeasureType terra.StringValue `hcl:"distance_measure_type,attr"` // FeatureNormType: string, optional FeatureNormType terra.StringValue `hcl:"feature_norm_type,attr"` // ShardSize: string, optional ShardSize terra.StringValue `hcl:"shard_size,attr"` // MetadataConfigAlgorithmConfig: optional AlgorithmConfig *MetadataConfigAlgorithmConfig `hcl:"algorithm_config,block"` }
type MetadataConfigAlgorithmConfig ¶
type MetadataConfigAlgorithmConfig struct { // MetadataConfigAlgorithmConfigBruteForceConfig: optional BruteForceConfig *MetadataConfigAlgorithmConfigBruteForceConfig `hcl:"brute_force_config,block"` // MetadataConfigAlgorithmConfigTreeAhConfig: optional TreeAhConfig *MetadataConfigAlgorithmConfigTreeAhConfig `hcl:"tree_ah_config,block"` }
type MetadataConfigAlgorithmConfigAttributes ¶
type MetadataConfigAlgorithmConfigAttributes struct {
// contains filtered or unexported fields
}
func (MetadataConfigAlgorithmConfigAttributes) BruteForceConfig ¶
func (ac MetadataConfigAlgorithmConfigAttributes) BruteForceConfig() terra.ListValue[MetadataConfigAlgorithmConfigBruteForceConfigAttributes]
func (MetadataConfigAlgorithmConfigAttributes) InternalRef ¶
func (ac MetadataConfigAlgorithmConfigAttributes) InternalRef() (terra.Reference, error)
func (MetadataConfigAlgorithmConfigAttributes) InternalTokens ¶
func (ac MetadataConfigAlgorithmConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetadataConfigAlgorithmConfigAttributes) InternalWithRef ¶
func (ac MetadataConfigAlgorithmConfigAttributes) InternalWithRef(ref terra.Reference) MetadataConfigAlgorithmConfigAttributes
func (MetadataConfigAlgorithmConfigAttributes) TreeAhConfig ¶
func (ac MetadataConfigAlgorithmConfigAttributes) TreeAhConfig() terra.ListValue[MetadataConfigAlgorithmConfigTreeAhConfigAttributes]
type MetadataConfigAlgorithmConfigBruteForceConfig ¶
type MetadataConfigAlgorithmConfigBruteForceConfig struct{}
type MetadataConfigAlgorithmConfigBruteForceConfigAttributes ¶
type MetadataConfigAlgorithmConfigBruteForceConfigAttributes struct {
// contains filtered or unexported fields
}
func (MetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalRef ¶
func (bfc MetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalRef() (terra.Reference, error)
func (MetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalTokens ¶
func (bfc MetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalWithRef ¶
func (bfc MetadataConfigAlgorithmConfigBruteForceConfigAttributes) InternalWithRef(ref terra.Reference) MetadataConfigAlgorithmConfigBruteForceConfigAttributes
type MetadataConfigAlgorithmConfigBruteForceConfigState ¶
type MetadataConfigAlgorithmConfigBruteForceConfigState struct{}
type MetadataConfigAlgorithmConfigState ¶
type MetadataConfigAlgorithmConfigState struct { BruteForceConfig []MetadataConfigAlgorithmConfigBruteForceConfigState `json:"brute_force_config"` TreeAhConfig []MetadataConfigAlgorithmConfigTreeAhConfigState `json:"tree_ah_config"` }
type MetadataConfigAlgorithmConfigTreeAhConfig ¶
type MetadataConfigAlgorithmConfigTreeAhConfig struct { // LeafNodeEmbeddingCount: number, optional LeafNodeEmbeddingCount terra.NumberValue `hcl:"leaf_node_embedding_count,attr"` // LeafNodesToSearchPercent: number, optional LeafNodesToSearchPercent terra.NumberValue `hcl:"leaf_nodes_to_search_percent,attr"` }
type MetadataConfigAlgorithmConfigTreeAhConfigAttributes ¶
type MetadataConfigAlgorithmConfigTreeAhConfigAttributes struct {
// contains filtered or unexported fields
}
func (MetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalRef ¶
func (tac MetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalRef() (terra.Reference, error)
func (MetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalTokens ¶
func (tac MetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalWithRef ¶
func (tac MetadataConfigAlgorithmConfigTreeAhConfigAttributes) InternalWithRef(ref terra.Reference) MetadataConfigAlgorithmConfigTreeAhConfigAttributes
func (MetadataConfigAlgorithmConfigTreeAhConfigAttributes) LeafNodeEmbeddingCount ¶
func (tac MetadataConfigAlgorithmConfigTreeAhConfigAttributes) LeafNodeEmbeddingCount() terra.NumberValue
func (MetadataConfigAlgorithmConfigTreeAhConfigAttributes) LeafNodesToSearchPercent ¶
func (tac MetadataConfigAlgorithmConfigTreeAhConfigAttributes) LeafNodesToSearchPercent() terra.NumberValue
type MetadataConfigAttributes ¶
type MetadataConfigAttributes struct {
// contains filtered or unexported fields
}
func (MetadataConfigAttributes) AlgorithmConfig ¶
func (c MetadataConfigAttributes) AlgorithmConfig() terra.ListValue[MetadataConfigAlgorithmConfigAttributes]
func (MetadataConfigAttributes) ApproximateNeighborsCount ¶
func (c MetadataConfigAttributes) ApproximateNeighborsCount() terra.NumberValue
func (MetadataConfigAttributes) Dimensions ¶
func (c MetadataConfigAttributes) Dimensions() terra.NumberValue
func (MetadataConfigAttributes) DistanceMeasureType ¶
func (c MetadataConfigAttributes) DistanceMeasureType() terra.StringValue
func (MetadataConfigAttributes) FeatureNormType ¶
func (c MetadataConfigAttributes) FeatureNormType() terra.StringValue
func (MetadataConfigAttributes) InternalRef ¶
func (c MetadataConfigAttributes) InternalRef() (terra.Reference, error)
func (MetadataConfigAttributes) InternalTokens ¶
func (c MetadataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetadataConfigAttributes) InternalWithRef ¶
func (c MetadataConfigAttributes) InternalWithRef(ref terra.Reference) MetadataConfigAttributes
func (MetadataConfigAttributes) ShardSize ¶
func (c MetadataConfigAttributes) ShardSize() terra.StringValue
type MetadataConfigState ¶
type MetadataConfigState struct { ApproximateNeighborsCount float64 `json:"approximate_neighbors_count"` Dimensions float64 `json:"dimensions"` DistanceMeasureType string `json:"distance_measure_type"` FeatureNormType string `json:"feature_norm_type"` ShardSize string `json:"shard_size"` AlgorithmConfig []MetadataConfigAlgorithmConfigState `json:"algorithm_config"` }
type MetadataState ¶
type MetadataState struct { ContentsDeltaUri string `json:"contents_delta_uri"` IsCompleteOverwrite bool `json:"is_complete_overwrite"` Config []MetadataConfigState `json:"config"` }
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_vertex_ai_index.
func (*Resource) Attributes ¶
func (gvai *Resource) Attributes() googleVertexAiIndexAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gvai *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gvai *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 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