Documentation ¶
Index ¶
- type ColumnInfo
- func (a ColumnInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ColumnInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ColumnInfo)
- func (newState *ColumnInfo) SyncEffectiveFieldsDuringRead(existingState ColumnInfo)
- func (o ColumnInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ColumnInfo) Type(ctx context.Context) attr.Type
- type CreateEndpoint
- func (a CreateEndpoint) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CreateEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateEndpoint)
- func (newState *CreateEndpoint) SyncEffectiveFieldsDuringRead(existingState CreateEndpoint)
- func (o CreateEndpoint) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateEndpoint) Type(ctx context.Context) attr.Type
- type CreateVectorIndexRequest
- func (a CreateVectorIndexRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CreateVectorIndexRequest) GetDeltaSyncIndexSpec(ctx context.Context) (DeltaSyncVectorIndexSpecRequest, bool)
- func (o *CreateVectorIndexRequest) GetDirectAccessIndexSpec(ctx context.Context) (DirectAccessVectorIndexSpec, bool)
- func (o *CreateVectorIndexRequest) SetDeltaSyncIndexSpec(ctx context.Context, v DeltaSyncVectorIndexSpecRequest)
- func (o *CreateVectorIndexRequest) SetDirectAccessIndexSpec(ctx context.Context, v DirectAccessVectorIndexSpec)
- func (newState *CreateVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateVectorIndexRequest)
- func (newState *CreateVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState CreateVectorIndexRequest)
- func (o CreateVectorIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateVectorIndexRequest) Type(ctx context.Context) attr.Type
- type CreateVectorIndexResponse
- func (a CreateVectorIndexResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CreateVectorIndexResponse) GetVectorIndex(ctx context.Context) (VectorIndex, bool)
- func (o *CreateVectorIndexResponse) SetVectorIndex(ctx context.Context, v VectorIndex)
- func (newState *CreateVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateVectorIndexResponse)
- func (newState *CreateVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState CreateVectorIndexResponse)
- func (o CreateVectorIndexResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateVectorIndexResponse) Type(ctx context.Context) attr.Type
- type DeleteDataResult
- func (a DeleteDataResult) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DeleteDataResult) GetFailedPrimaryKeys(ctx context.Context) ([]types.String, bool)
- func (o *DeleteDataResult) SetFailedPrimaryKeys(ctx context.Context, v []types.String)
- func (newState *DeleteDataResult) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDataResult)
- func (newState *DeleteDataResult) SyncEffectiveFieldsDuringRead(existingState DeleteDataResult)
- func (o DeleteDataResult) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteDataResult) Type(ctx context.Context) attr.Type
- type DeleteDataVectorIndexRequest
- func (a DeleteDataVectorIndexRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DeleteDataVectorIndexRequest) GetPrimaryKeys(ctx context.Context) ([]types.String, bool)
- func (o *DeleteDataVectorIndexRequest) SetPrimaryKeys(ctx context.Context, v []types.String)
- func (newState *DeleteDataVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDataVectorIndexRequest)
- func (newState *DeleteDataVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState DeleteDataVectorIndexRequest)
- func (o DeleteDataVectorIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteDataVectorIndexRequest) Type(ctx context.Context) attr.Type
- type DeleteDataVectorIndexResponse
- func (a DeleteDataVectorIndexResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DeleteDataVectorIndexResponse) GetResult(ctx context.Context) (DeleteDataResult, bool)
- func (o *DeleteDataVectorIndexResponse) SetResult(ctx context.Context, v DeleteDataResult)
- func (newState *DeleteDataVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDataVectorIndexResponse)
- func (newState *DeleteDataVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState DeleteDataVectorIndexResponse)
- func (o DeleteDataVectorIndexResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteDataVectorIndexResponse) Type(ctx context.Context) attr.Type
- type DeleteEndpointRequest
- func (a DeleteEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteEndpointRequest)
- func (newState *DeleteEndpointRequest) SyncEffectiveFieldsDuringRead(existingState DeleteEndpointRequest)
- func (o DeleteEndpointRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteEndpointRequest) Type(ctx context.Context) attr.Type
- type DeleteEndpointResponse
- func (a DeleteEndpointResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteEndpointResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteEndpointResponse)
- func (newState *DeleteEndpointResponse) SyncEffectiveFieldsDuringRead(existingState DeleteEndpointResponse)
- func (o DeleteEndpointResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteEndpointResponse) Type(ctx context.Context) attr.Type
- type DeleteIndexRequest
- func (a DeleteIndexRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteIndexRequest)
- func (newState *DeleteIndexRequest) SyncEffectiveFieldsDuringRead(existingState DeleteIndexRequest)
- func (o DeleteIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteIndexRequest) Type(ctx context.Context) attr.Type
- type DeleteIndexResponse
- func (a DeleteIndexResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteIndexResponse)
- func (newState *DeleteIndexResponse) SyncEffectiveFieldsDuringRead(existingState DeleteIndexResponse)
- func (o DeleteIndexResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteIndexResponse) Type(ctx context.Context) attr.Type
- type DeltaSyncVectorIndexSpecRequest
- func (o *DeltaSyncVectorIndexSpecRequest) GetColumnsToSync(ctx context.Context) ([]types.String, bool)
- func (a DeltaSyncVectorIndexSpecRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DeltaSyncVectorIndexSpecRequest) GetEmbeddingSourceColumns(ctx context.Context) ([]EmbeddingSourceColumn, bool)
- func (o *DeltaSyncVectorIndexSpecRequest) GetEmbeddingVectorColumns(ctx context.Context) ([]EmbeddingVectorColumn, bool)
- func (o *DeltaSyncVectorIndexSpecRequest) SetColumnsToSync(ctx context.Context, v []types.String)
- func (o *DeltaSyncVectorIndexSpecRequest) SetEmbeddingSourceColumns(ctx context.Context, v []EmbeddingSourceColumn)
- func (o *DeltaSyncVectorIndexSpecRequest) SetEmbeddingVectorColumns(ctx context.Context, v []EmbeddingVectorColumn)
- func (newState *DeltaSyncVectorIndexSpecRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeltaSyncVectorIndexSpecRequest)
- func (newState *DeltaSyncVectorIndexSpecRequest) SyncEffectiveFieldsDuringRead(existingState DeltaSyncVectorIndexSpecRequest)
- func (o DeltaSyncVectorIndexSpecRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeltaSyncVectorIndexSpecRequest) Type(ctx context.Context) attr.Type
- type DeltaSyncVectorIndexSpecResponse
- func (a DeltaSyncVectorIndexSpecResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DeltaSyncVectorIndexSpecResponse) GetEmbeddingSourceColumns(ctx context.Context) ([]EmbeddingSourceColumn, bool)
- func (o *DeltaSyncVectorIndexSpecResponse) GetEmbeddingVectorColumns(ctx context.Context) ([]EmbeddingVectorColumn, bool)
- func (o *DeltaSyncVectorIndexSpecResponse) SetEmbeddingSourceColumns(ctx context.Context, v []EmbeddingSourceColumn)
- func (o *DeltaSyncVectorIndexSpecResponse) SetEmbeddingVectorColumns(ctx context.Context, v []EmbeddingVectorColumn)
- func (newState *DeltaSyncVectorIndexSpecResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeltaSyncVectorIndexSpecResponse)
- func (newState *DeltaSyncVectorIndexSpecResponse) SyncEffectiveFieldsDuringRead(existingState DeltaSyncVectorIndexSpecResponse)
- func (o DeltaSyncVectorIndexSpecResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeltaSyncVectorIndexSpecResponse) Type(ctx context.Context) attr.Type
- type DirectAccessVectorIndexSpec
- func (a DirectAccessVectorIndexSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DirectAccessVectorIndexSpec) GetEmbeddingSourceColumns(ctx context.Context) ([]EmbeddingSourceColumn, bool)
- func (o *DirectAccessVectorIndexSpec) GetEmbeddingVectorColumns(ctx context.Context) ([]EmbeddingVectorColumn, bool)
- func (o *DirectAccessVectorIndexSpec) SetEmbeddingSourceColumns(ctx context.Context, v []EmbeddingSourceColumn)
- func (o *DirectAccessVectorIndexSpec) SetEmbeddingVectorColumns(ctx context.Context, v []EmbeddingVectorColumn)
- func (newState *DirectAccessVectorIndexSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan DirectAccessVectorIndexSpec)
- func (newState *DirectAccessVectorIndexSpec) SyncEffectiveFieldsDuringRead(existingState DirectAccessVectorIndexSpec)
- func (o DirectAccessVectorIndexSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DirectAccessVectorIndexSpec) Type(ctx context.Context) attr.Type
- type EmbeddingSourceColumn
- func (a EmbeddingSourceColumn) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EmbeddingSourceColumn) SyncEffectiveFieldsDuringCreateOrUpdate(plan EmbeddingSourceColumn)
- func (newState *EmbeddingSourceColumn) SyncEffectiveFieldsDuringRead(existingState EmbeddingSourceColumn)
- func (o EmbeddingSourceColumn) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EmbeddingSourceColumn) Type(ctx context.Context) attr.Type
- type EmbeddingVectorColumn
- func (a EmbeddingVectorColumn) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EmbeddingVectorColumn) SyncEffectiveFieldsDuringCreateOrUpdate(plan EmbeddingVectorColumn)
- func (newState *EmbeddingVectorColumn) SyncEffectiveFieldsDuringRead(existingState EmbeddingVectorColumn)
- func (o EmbeddingVectorColumn) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EmbeddingVectorColumn) Type(ctx context.Context) attr.Type
- type EndpointInfo
- func (a EndpointInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EndpointInfo) GetEndpointStatus(ctx context.Context) (EndpointStatus, bool)
- func (o *EndpointInfo) SetEndpointStatus(ctx context.Context, v EndpointStatus)
- func (newState *EndpointInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointInfo)
- func (newState *EndpointInfo) SyncEffectiveFieldsDuringRead(existingState EndpointInfo)
- func (o EndpointInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EndpointInfo) Type(ctx context.Context) attr.Type
- type EndpointStatus
- func (a EndpointStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EndpointStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointStatus)
- func (newState *EndpointStatus) SyncEffectiveFieldsDuringRead(existingState EndpointStatus)
- func (o EndpointStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EndpointStatus) Type(ctx context.Context) attr.Type
- type GetEndpointRequest
- func (a GetEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEndpointRequest)
- func (newState *GetEndpointRequest) SyncEffectiveFieldsDuringRead(existingState GetEndpointRequest)
- func (o GetEndpointRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetEndpointRequest) Type(ctx context.Context) attr.Type
- type GetIndexRequest
- func (a GetIndexRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetIndexRequest)
- func (newState *GetIndexRequest) SyncEffectiveFieldsDuringRead(existingState GetIndexRequest)
- func (o GetIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetIndexRequest) Type(ctx context.Context) attr.Type
- type ListEndpointResponse
- func (a ListEndpointResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListEndpointResponse) GetEndpoints(ctx context.Context) ([]EndpointInfo, bool)
- func (o *ListEndpointResponse) SetEndpoints(ctx context.Context, v []EndpointInfo)
- func (newState *ListEndpointResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListEndpointResponse)
- func (newState *ListEndpointResponse) SyncEffectiveFieldsDuringRead(existingState ListEndpointResponse)
- func (o ListEndpointResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListEndpointResponse) Type(ctx context.Context) attr.Type
- type ListEndpointsRequest
- func (a ListEndpointsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ListEndpointsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListEndpointsRequest)
- func (newState *ListEndpointsRequest) SyncEffectiveFieldsDuringRead(existingState ListEndpointsRequest)
- func (o ListEndpointsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListEndpointsRequest) Type(ctx context.Context) attr.Type
- type ListIndexesRequest
- func (a ListIndexesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ListIndexesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListIndexesRequest)
- func (newState *ListIndexesRequest) SyncEffectiveFieldsDuringRead(existingState ListIndexesRequest)
- func (o ListIndexesRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListIndexesRequest) Type(ctx context.Context) attr.Type
- type ListValue
- func (a ListValue) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListValue) GetValues(ctx context.Context) ([]Value, bool)
- func (o *ListValue) SetValues(ctx context.Context, v []Value)
- func (newState *ListValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListValue)
- func (newState *ListValue) SyncEffectiveFieldsDuringRead(existingState ListValue)
- func (o ListValue) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListValue) Type(ctx context.Context) attr.Type
- type ListVectorIndexesResponse
- func (a ListVectorIndexesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListVectorIndexesResponse) GetVectorIndexes(ctx context.Context) ([]MiniVectorIndex, bool)
- func (o *ListVectorIndexesResponse) SetVectorIndexes(ctx context.Context, v []MiniVectorIndex)
- func (newState *ListVectorIndexesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListVectorIndexesResponse)
- func (newState *ListVectorIndexesResponse) SyncEffectiveFieldsDuringRead(existingState ListVectorIndexesResponse)
- func (o ListVectorIndexesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListVectorIndexesResponse) Type(ctx context.Context) attr.Type
- type MapStringValueEntry
- func (a MapStringValueEntry) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *MapStringValueEntry) GetValue(ctx context.Context) (Value, bool)
- func (o *MapStringValueEntry) SetValue(ctx context.Context, v Value)
- func (newState *MapStringValueEntry) SyncEffectiveFieldsDuringCreateOrUpdate(plan MapStringValueEntry)
- func (newState *MapStringValueEntry) SyncEffectiveFieldsDuringRead(existingState MapStringValueEntry)
- func (o MapStringValueEntry) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o MapStringValueEntry) Type(ctx context.Context) attr.Type
- type MiniVectorIndex
- func (a MiniVectorIndex) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *MiniVectorIndex) SyncEffectiveFieldsDuringCreateOrUpdate(plan MiniVectorIndex)
- func (newState *MiniVectorIndex) SyncEffectiveFieldsDuringRead(existingState MiniVectorIndex)
- func (o MiniVectorIndex) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o MiniVectorIndex) Type(ctx context.Context) attr.Type
- type QueryVectorIndexNextPageRequest
- func (a QueryVectorIndexNextPageRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *QueryVectorIndexNextPageRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryVectorIndexNextPageRequest)
- func (newState *QueryVectorIndexNextPageRequest) SyncEffectiveFieldsDuringRead(existingState QueryVectorIndexNextPageRequest)
- func (o QueryVectorIndexNextPageRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o QueryVectorIndexNextPageRequest) Type(ctx context.Context) attr.Type
- type QueryVectorIndexRequest
- func (o *QueryVectorIndexRequest) GetColumns(ctx context.Context) ([]types.String, bool)
- func (a QueryVectorIndexRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *QueryVectorIndexRequest) GetQueryVector(ctx context.Context) ([]types.Float64, bool)
- func (o *QueryVectorIndexRequest) SetColumns(ctx context.Context, v []types.String)
- func (o *QueryVectorIndexRequest) SetQueryVector(ctx context.Context, v []types.Float64)
- func (newState *QueryVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryVectorIndexRequest)
- func (newState *QueryVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState QueryVectorIndexRequest)
- func (o QueryVectorIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o QueryVectorIndexRequest) Type(ctx context.Context) attr.Type
- type QueryVectorIndexResponse
- func (a QueryVectorIndexResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *QueryVectorIndexResponse) GetManifest(ctx context.Context) (ResultManifest, bool)
- func (o *QueryVectorIndexResponse) GetResult(ctx context.Context) (ResultData, bool)
- func (o *QueryVectorIndexResponse) SetManifest(ctx context.Context, v ResultManifest)
- func (o *QueryVectorIndexResponse) SetResult(ctx context.Context, v ResultData)
- func (newState *QueryVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryVectorIndexResponse)
- func (newState *QueryVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState QueryVectorIndexResponse)
- func (o QueryVectorIndexResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o QueryVectorIndexResponse) Type(ctx context.Context) attr.Type
- type ResultData
- func (a ResultData) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResultData) GetDataArray(ctx context.Context) ([]types.String, bool)
- func (o *ResultData) SetDataArray(ctx context.Context, v []types.String)
- func (newState *ResultData) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResultData)
- func (newState *ResultData) SyncEffectiveFieldsDuringRead(existingState ResultData)
- func (o ResultData) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResultData) Type(ctx context.Context) attr.Type
- type ResultManifest
- func (o *ResultManifest) GetColumns(ctx context.Context) ([]ColumnInfo, bool)
- func (a ResultManifest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ResultManifest) SetColumns(ctx context.Context, v []ColumnInfo)
- func (newState *ResultManifest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResultManifest)
- func (newState *ResultManifest) SyncEffectiveFieldsDuringRead(existingState ResultManifest)
- func (o ResultManifest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResultManifest) Type(ctx context.Context) attr.Type
- type ScanVectorIndexRequest
- func (a ScanVectorIndexRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ScanVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ScanVectorIndexRequest)
- func (newState *ScanVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState ScanVectorIndexRequest)
- func (o ScanVectorIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ScanVectorIndexRequest) Type(ctx context.Context) attr.Type
- type ScanVectorIndexResponse
- func (a ScanVectorIndexResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ScanVectorIndexResponse) GetData(ctx context.Context) ([]Struct, bool)
- func (o *ScanVectorIndexResponse) SetData(ctx context.Context, v []Struct)
- func (newState *ScanVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ScanVectorIndexResponse)
- func (newState *ScanVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState ScanVectorIndexResponse)
- func (o ScanVectorIndexResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ScanVectorIndexResponse) Type(ctx context.Context) attr.Type
- type Struct
- func (a Struct) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Struct) GetFields(ctx context.Context) ([]MapStringValueEntry, bool)
- func (o *Struct) SetFields(ctx context.Context, v []MapStringValueEntry)
- func (newState *Struct) SyncEffectiveFieldsDuringCreateOrUpdate(plan Struct)
- func (newState *Struct) SyncEffectiveFieldsDuringRead(existingState Struct)
- func (o Struct) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Struct) Type(ctx context.Context) attr.Type
- type SyncIndexRequest
- func (a SyncIndexRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SyncIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan SyncIndexRequest)
- func (newState *SyncIndexRequest) SyncEffectiveFieldsDuringRead(existingState SyncIndexRequest)
- func (o SyncIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SyncIndexRequest) Type(ctx context.Context) attr.Type
- type SyncIndexResponse
- func (a SyncIndexResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *SyncIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SyncIndexResponse)
- func (newState *SyncIndexResponse) SyncEffectiveFieldsDuringRead(existingState SyncIndexResponse)
- func (o SyncIndexResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o SyncIndexResponse) Type(ctx context.Context) attr.Type
- type UpsertDataResult
- func (a UpsertDataResult) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *UpsertDataResult) GetFailedPrimaryKeys(ctx context.Context) ([]types.String, bool)
- func (o *UpsertDataResult) SetFailedPrimaryKeys(ctx context.Context, v []types.String)
- func (newState *UpsertDataResult) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpsertDataResult)
- func (newState *UpsertDataResult) SyncEffectiveFieldsDuringRead(existingState UpsertDataResult)
- func (o UpsertDataResult) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UpsertDataResult) Type(ctx context.Context) attr.Type
- type UpsertDataVectorIndexRequest
- func (a UpsertDataVectorIndexRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *UpsertDataVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpsertDataVectorIndexRequest)
- func (newState *UpsertDataVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState UpsertDataVectorIndexRequest)
- func (o UpsertDataVectorIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UpsertDataVectorIndexRequest) Type(ctx context.Context) attr.Type
- type UpsertDataVectorIndexResponse
- func (a UpsertDataVectorIndexResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *UpsertDataVectorIndexResponse) GetResult(ctx context.Context) (UpsertDataResult, bool)
- func (o *UpsertDataVectorIndexResponse) SetResult(ctx context.Context, v UpsertDataResult)
- func (newState *UpsertDataVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpsertDataVectorIndexResponse)
- func (newState *UpsertDataVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState UpsertDataVectorIndexResponse)
- func (o UpsertDataVectorIndexResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UpsertDataVectorIndexResponse) Type(ctx context.Context) attr.Type
- type Value
- func (a Value) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Value) GetListValue(ctx context.Context) (ListValue, bool)
- func (o *Value) GetStructValue(ctx context.Context) (Struct, bool)
- func (o *Value) SetListValue(ctx context.Context, v ListValue)
- func (o *Value) SetStructValue(ctx context.Context, v Struct)
- func (newState *Value) SyncEffectiveFieldsDuringCreateOrUpdate(plan Value)
- func (newState *Value) SyncEffectiveFieldsDuringRead(existingState Value)
- func (o Value) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Value) Type(ctx context.Context) attr.Type
- type VectorIndex
- func (a VectorIndex) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *VectorIndex) GetDeltaSyncIndexSpec(ctx context.Context) (DeltaSyncVectorIndexSpecResponse, bool)
- func (o *VectorIndex) GetDirectAccessIndexSpec(ctx context.Context) (DirectAccessVectorIndexSpec, bool)
- func (o *VectorIndex) GetStatus(ctx context.Context) (VectorIndexStatus, bool)
- func (o *VectorIndex) SetDeltaSyncIndexSpec(ctx context.Context, v DeltaSyncVectorIndexSpecResponse)
- func (o *VectorIndex) SetDirectAccessIndexSpec(ctx context.Context, v DirectAccessVectorIndexSpec)
- func (o *VectorIndex) SetStatus(ctx context.Context, v VectorIndexStatus)
- func (newState *VectorIndex) SyncEffectiveFieldsDuringCreateOrUpdate(plan VectorIndex)
- func (newState *VectorIndex) SyncEffectiveFieldsDuringRead(existingState VectorIndex)
- func (o VectorIndex) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o VectorIndex) Type(ctx context.Context) attr.Type
- type VectorIndexStatus
- func (a VectorIndexStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *VectorIndexStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan VectorIndexStatus)
- func (newState *VectorIndexStatus) SyncEffectiveFieldsDuringRead(existingState VectorIndexStatus)
- func (o VectorIndexStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o VectorIndexStatus) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnInfo ¶
func (ColumnInfo) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ColumnInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ColumnInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ColumnInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ColumnInfo)
func (*ColumnInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ColumnInfo) SyncEffectiveFieldsDuringRead(existingState ColumnInfo)
func (ColumnInfo) ToObjectValue ¶ added in v1.61.0
func (o ColumnInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ColumnInfo only implements ToObjectValue() and Type().
type CreateEndpoint ¶
type CreateEndpoint struct { // Type of endpoint. EndpointType types.String `tfsdk:"endpoint_type" tf:""` // Name of endpoint Name types.String `tfsdk:"name" tf:""` }
func (CreateEndpoint) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateEndpoint. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateEndpoint)
func (*CreateEndpoint) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateEndpoint) SyncEffectiveFieldsDuringRead(existingState CreateEndpoint)
func (CreateEndpoint) ToObjectValue ¶ added in v1.61.0
func (o CreateEndpoint) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateEndpoint only implements ToObjectValue() and Type().
type CreateVectorIndexRequest ¶
type CreateVectorIndexRequest struct { // Specification for Delta Sync Index. Required if `index_type` is // `DELTA_SYNC`. DeltaSyncIndexSpec types.List `tfsdk:"delta_sync_index_spec" tf:"optional,object"` // Specification for Direct Vector Access Index. Required if `index_type` is // `DIRECT_ACCESS`. DirectAccessIndexSpec types.List `tfsdk:"direct_access_index_spec" tf:"optional,object"` // Name of the endpoint to be used for serving the index EndpointName types.String `tfsdk:"endpoint_name" tf:""` // There are 2 types of Vector Search indexes: // // - `DELTA_SYNC`: An index that automatically syncs with a source Delta // Table, automatically and incrementally updating the index as the // underlying data in the Delta Table changes. - `DIRECT_ACCESS`: An index // that supports direct read and write of vectors and metadata through our // REST and SDK APIs. With this model, the user manages index updates. IndexType types.String `tfsdk:"index_type" tf:""` // Name of the index Name types.String `tfsdk:"name" tf:""` // Primary key of the index PrimaryKey types.String `tfsdk:"primary_key" tf:""` }
func (CreateVectorIndexRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateVectorIndexRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateVectorIndexRequest) GetDeltaSyncIndexSpec ¶ added in v1.61.0
func (o *CreateVectorIndexRequest) GetDeltaSyncIndexSpec(ctx context.Context) (DeltaSyncVectorIndexSpecRequest, bool)
GetDeltaSyncIndexSpec returns the value of the DeltaSyncIndexSpec field in CreateVectorIndexRequest as a DeltaSyncVectorIndexSpecRequest value. If the field is unknown or null, the boolean return value is false.
func (*CreateVectorIndexRequest) GetDirectAccessIndexSpec ¶ added in v1.61.0
func (o *CreateVectorIndexRequest) GetDirectAccessIndexSpec(ctx context.Context) (DirectAccessVectorIndexSpec, bool)
GetDirectAccessIndexSpec returns the value of the DirectAccessIndexSpec field in CreateVectorIndexRequest as a DirectAccessVectorIndexSpec value. If the field is unknown or null, the boolean return value is false.
func (*CreateVectorIndexRequest) SetDeltaSyncIndexSpec ¶ added in v1.61.0
func (o *CreateVectorIndexRequest) SetDeltaSyncIndexSpec(ctx context.Context, v DeltaSyncVectorIndexSpecRequest)
SetDeltaSyncIndexSpec sets the value of the DeltaSyncIndexSpec field in CreateVectorIndexRequest.
func (*CreateVectorIndexRequest) SetDirectAccessIndexSpec ¶ added in v1.61.0
func (o *CreateVectorIndexRequest) SetDirectAccessIndexSpec(ctx context.Context, v DirectAccessVectorIndexSpec)
SetDirectAccessIndexSpec sets the value of the DirectAccessIndexSpec field in CreateVectorIndexRequest.
func (*CreateVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateVectorIndexRequest)
func (*CreateVectorIndexRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState CreateVectorIndexRequest)
func (CreateVectorIndexRequest) ToObjectValue ¶ added in v1.61.0
func (o CreateVectorIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateVectorIndexRequest only implements ToObjectValue() and Type().
type CreateVectorIndexResponse ¶
type CreateVectorIndexResponse struct {
VectorIndex types.List `tfsdk:"vector_index" tf:"optional,object"`
}
func (CreateVectorIndexResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a CreateVectorIndexResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateVectorIndexResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateVectorIndexResponse) GetVectorIndex ¶ added in v1.61.0
func (o *CreateVectorIndexResponse) GetVectorIndex(ctx context.Context) (VectorIndex, bool)
GetVectorIndex returns the value of the VectorIndex field in CreateVectorIndexResponse as a VectorIndex value. If the field is unknown or null, the boolean return value is false.
func (*CreateVectorIndexResponse) SetVectorIndex ¶ added in v1.61.0
func (o *CreateVectorIndexResponse) SetVectorIndex(ctx context.Context, v VectorIndex)
SetVectorIndex sets the value of the VectorIndex field in CreateVectorIndexResponse.
func (*CreateVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateVectorIndexResponse)
func (*CreateVectorIndexResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState CreateVectorIndexResponse)
func (CreateVectorIndexResponse) ToObjectValue ¶ added in v1.61.0
func (o CreateVectorIndexResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateVectorIndexResponse only implements ToObjectValue() and Type().
type DeleteDataResult ¶
type DeleteDataResult struct { // List of primary keys for rows that failed to process. FailedPrimaryKeys types.List `tfsdk:"failed_primary_keys" tf:"optional"` // Count of successfully processed rows. SuccessRowCount types.Int64 `tfsdk:"success_row_count" tf:"optional"` }
Result of the upsert or delete operation.
func (DeleteDataResult) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDataResult. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteDataResult) GetFailedPrimaryKeys ¶ added in v1.61.0
GetFailedPrimaryKeys returns the value of the FailedPrimaryKeys field in DeleteDataResult as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*DeleteDataResult) SetFailedPrimaryKeys ¶ added in v1.61.0
func (o *DeleteDataResult) SetFailedPrimaryKeys(ctx context.Context, v []types.String)
SetFailedPrimaryKeys sets the value of the FailedPrimaryKeys field in DeleteDataResult.
func (*DeleteDataResult) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteDataResult) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDataResult)
func (*DeleteDataResult) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteDataResult) SyncEffectiveFieldsDuringRead(existingState DeleteDataResult)
func (DeleteDataResult) ToObjectValue ¶ added in v1.61.0
func (o DeleteDataResult) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteDataResult only implements ToObjectValue() and Type().
type DeleteDataVectorIndexRequest ¶
type DeleteDataVectorIndexRequest struct { // Name of the vector index where data is to be deleted. Must be a Direct // Vector Access Index. IndexName types.String `tfsdk:"-"` // List of primary keys for the data to be deleted. PrimaryKeys types.List `tfsdk:"primary_keys" tf:""` }
Request payload for deleting data from a vector index.
func (DeleteDataVectorIndexRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a DeleteDataVectorIndexRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDataVectorIndexRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteDataVectorIndexRequest) GetPrimaryKeys ¶ added in v1.61.0
GetPrimaryKeys returns the value of the PrimaryKeys field in DeleteDataVectorIndexRequest as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*DeleteDataVectorIndexRequest) SetPrimaryKeys ¶ added in v1.61.0
func (o *DeleteDataVectorIndexRequest) SetPrimaryKeys(ctx context.Context, v []types.String)
SetPrimaryKeys sets the value of the PrimaryKeys field in DeleteDataVectorIndexRequest.
func (*DeleteDataVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteDataVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDataVectorIndexRequest)
func (*DeleteDataVectorIndexRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteDataVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState DeleteDataVectorIndexRequest)
func (DeleteDataVectorIndexRequest) ToObjectValue ¶ added in v1.61.0
func (o DeleteDataVectorIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteDataVectorIndexRequest only implements ToObjectValue() and Type().
type DeleteDataVectorIndexResponse ¶
type DeleteDataVectorIndexResponse struct { // Result of the upsert or delete operation. Result types.List `tfsdk:"result" tf:"optional,object"` // Status of the delete operation. Status types.String `tfsdk:"status" tf:"optional"` }
Response to a delete data vector index request.
func (DeleteDataVectorIndexResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a DeleteDataVectorIndexResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDataVectorIndexResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteDataVectorIndexResponse) GetResult ¶ added in v1.61.0
func (o *DeleteDataVectorIndexResponse) GetResult(ctx context.Context) (DeleteDataResult, bool)
GetResult returns the value of the Result field in DeleteDataVectorIndexResponse as a DeleteDataResult value. If the field is unknown or null, the boolean return value is false.
func (*DeleteDataVectorIndexResponse) SetResult ¶ added in v1.61.0
func (o *DeleteDataVectorIndexResponse) SetResult(ctx context.Context, v DeleteDataResult)
SetResult sets the value of the Result field in DeleteDataVectorIndexResponse.
func (*DeleteDataVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteDataVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDataVectorIndexResponse)
func (*DeleteDataVectorIndexResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteDataVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState DeleteDataVectorIndexResponse)
func (DeleteDataVectorIndexResponse) ToObjectValue ¶ added in v1.61.0
func (o DeleteDataVectorIndexResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteDataVectorIndexResponse only implements ToObjectValue() and Type().
type DeleteEndpointRequest ¶
Delete an endpoint
func (DeleteEndpointRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteEndpointRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteEndpointRequest)
func (*DeleteEndpointRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteEndpointRequest) SyncEffectiveFieldsDuringRead(existingState DeleteEndpointRequest)
func (DeleteEndpointRequest) ToObjectValue ¶ added in v1.61.0
func (o DeleteEndpointRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteEndpointRequest only implements ToObjectValue() and Type().
type DeleteEndpointResponse ¶
type DeleteEndpointResponse struct { }
func (DeleteEndpointResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteEndpointResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteEndpointResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteEndpointResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteEndpointResponse)
func (*DeleteEndpointResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteEndpointResponse) SyncEffectiveFieldsDuringRead(existingState DeleteEndpointResponse)
func (DeleteEndpointResponse) ToObjectValue ¶ added in v1.61.0
func (o DeleteEndpointResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteEndpointResponse only implements ToObjectValue() and Type().
type DeleteIndexRequest ¶
Delete an index
func (DeleteIndexRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteIndexRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteIndexRequest)
func (*DeleteIndexRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteIndexRequest) SyncEffectiveFieldsDuringRead(existingState DeleteIndexRequest)
func (DeleteIndexRequest) ToObjectValue ¶ added in v1.61.0
func (o DeleteIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteIndexRequest only implements ToObjectValue() and Type().
type DeleteIndexResponse ¶
type DeleteIndexResponse struct { }
func (DeleteIndexResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteIndexResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteIndexResponse)
func (*DeleteIndexResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteIndexResponse) SyncEffectiveFieldsDuringRead(existingState DeleteIndexResponse)
func (DeleteIndexResponse) ToObjectValue ¶ added in v1.61.0
func (o DeleteIndexResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteIndexResponse only implements ToObjectValue() and Type().
type DeltaSyncVectorIndexSpecRequest ¶
type DeltaSyncVectorIndexSpecRequest struct { // [Optional] Select the columns to sync with the vector index. If you leave // this field blank, all columns from the source table are synced with the // index. The primary key column and embedding source column or embedding // vector column are always synced. ColumnsToSync types.List `tfsdk:"columns_to_sync" tf:"optional"` // The columns that contain the embedding source. EmbeddingSourceColumns types.List `tfsdk:"embedding_source_columns" tf:"optional"` // The columns that contain the embedding vectors. The format should be // array[double]. EmbeddingVectorColumns types.List `tfsdk:"embedding_vector_columns" tf:"optional"` // [Optional] Automatically sync the vector index contents and computed // embeddings to the specified Delta table. The only supported table name is // the index name with the suffix `_writeback_table`. EmbeddingWritebackTable types.String `tfsdk:"embedding_writeback_table" tf:"optional"` // Pipeline execution mode. // // - `TRIGGERED`: If the pipeline uses the triggered execution mode, the // system stops processing after successfully refreshing the source table in // the pipeline once, ensuring the table is updated based on the data // available when the update started. - `CONTINUOUS`: If the pipeline uses // continuous execution, the pipeline processes new data as it arrives in // the source table to keep vector index fresh. PipelineType types.String `tfsdk:"pipeline_type" tf:"optional"` // The name of the source table. SourceTable types.String `tfsdk:"source_table" tf:"optional"` }
func (*DeltaSyncVectorIndexSpecRequest) GetColumnsToSync ¶ added in v1.61.0
func (o *DeltaSyncVectorIndexSpecRequest) GetColumnsToSync(ctx context.Context) ([]types.String, bool)
GetColumnsToSync returns the value of the ColumnsToSync field in DeltaSyncVectorIndexSpecRequest as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (DeltaSyncVectorIndexSpecRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a DeltaSyncVectorIndexSpecRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeltaSyncVectorIndexSpecRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeltaSyncVectorIndexSpecRequest) GetEmbeddingSourceColumns ¶ added in v1.61.0
func (o *DeltaSyncVectorIndexSpecRequest) GetEmbeddingSourceColumns(ctx context.Context) ([]EmbeddingSourceColumn, bool)
GetEmbeddingSourceColumns returns the value of the EmbeddingSourceColumns field in DeltaSyncVectorIndexSpecRequest as a slice of EmbeddingSourceColumn values. If the field is unknown or null, the boolean return value is false.
func (*DeltaSyncVectorIndexSpecRequest) GetEmbeddingVectorColumns ¶ added in v1.61.0
func (o *DeltaSyncVectorIndexSpecRequest) GetEmbeddingVectorColumns(ctx context.Context) ([]EmbeddingVectorColumn, bool)
GetEmbeddingVectorColumns returns the value of the EmbeddingVectorColumns field in DeltaSyncVectorIndexSpecRequest as a slice of EmbeddingVectorColumn values. If the field is unknown or null, the boolean return value is false.
func (*DeltaSyncVectorIndexSpecRequest) SetColumnsToSync ¶ added in v1.61.0
func (o *DeltaSyncVectorIndexSpecRequest) SetColumnsToSync(ctx context.Context, v []types.String)
SetColumnsToSync sets the value of the ColumnsToSync field in DeltaSyncVectorIndexSpecRequest.
func (*DeltaSyncVectorIndexSpecRequest) SetEmbeddingSourceColumns ¶ added in v1.61.0
func (o *DeltaSyncVectorIndexSpecRequest) SetEmbeddingSourceColumns(ctx context.Context, v []EmbeddingSourceColumn)
SetEmbeddingSourceColumns sets the value of the EmbeddingSourceColumns field in DeltaSyncVectorIndexSpecRequest.
func (*DeltaSyncVectorIndexSpecRequest) SetEmbeddingVectorColumns ¶ added in v1.61.0
func (o *DeltaSyncVectorIndexSpecRequest) SetEmbeddingVectorColumns(ctx context.Context, v []EmbeddingVectorColumn)
SetEmbeddingVectorColumns sets the value of the EmbeddingVectorColumns field in DeltaSyncVectorIndexSpecRequest.
func (*DeltaSyncVectorIndexSpecRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeltaSyncVectorIndexSpecRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeltaSyncVectorIndexSpecRequest)
func (*DeltaSyncVectorIndexSpecRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeltaSyncVectorIndexSpecRequest) SyncEffectiveFieldsDuringRead(existingState DeltaSyncVectorIndexSpecRequest)
func (DeltaSyncVectorIndexSpecRequest) ToObjectValue ¶ added in v1.61.0
func (o DeltaSyncVectorIndexSpecRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeltaSyncVectorIndexSpecRequest only implements ToObjectValue() and Type().
type DeltaSyncVectorIndexSpecResponse ¶
type DeltaSyncVectorIndexSpecResponse struct { // The columns that contain the embedding source. EmbeddingSourceColumns types.List `tfsdk:"embedding_source_columns" tf:"optional"` // The columns that contain the embedding vectors. EmbeddingVectorColumns types.List `tfsdk:"embedding_vector_columns" tf:"optional"` // [Optional] Name of the Delta table to sync the vector index contents and // computed embeddings to. EmbeddingWritebackTable types.String `tfsdk:"embedding_writeback_table" tf:"optional"` // The ID of the pipeline that is used to sync the index. PipelineId types.String `tfsdk:"pipeline_id" tf:"optional"` // Pipeline execution mode. // // - `TRIGGERED`: If the pipeline uses the triggered execution mode, the // system stops processing after successfully refreshing the source table in // the pipeline once, ensuring the table is updated based on the data // available when the update started. - `CONTINUOUS`: If the pipeline uses // continuous execution, the pipeline processes new data as it arrives in // the source table to keep vector index fresh. PipelineType types.String `tfsdk:"pipeline_type" tf:"optional"` // The name of the source table. SourceTable types.String `tfsdk:"source_table" tf:"optional"` }
func (DeltaSyncVectorIndexSpecResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a DeltaSyncVectorIndexSpecResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeltaSyncVectorIndexSpecResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeltaSyncVectorIndexSpecResponse) GetEmbeddingSourceColumns ¶ added in v1.61.0
func (o *DeltaSyncVectorIndexSpecResponse) GetEmbeddingSourceColumns(ctx context.Context) ([]EmbeddingSourceColumn, bool)
GetEmbeddingSourceColumns returns the value of the EmbeddingSourceColumns field in DeltaSyncVectorIndexSpecResponse as a slice of EmbeddingSourceColumn values. If the field is unknown or null, the boolean return value is false.
func (*DeltaSyncVectorIndexSpecResponse) GetEmbeddingVectorColumns ¶ added in v1.61.0
func (o *DeltaSyncVectorIndexSpecResponse) GetEmbeddingVectorColumns(ctx context.Context) ([]EmbeddingVectorColumn, bool)
GetEmbeddingVectorColumns returns the value of the EmbeddingVectorColumns field in DeltaSyncVectorIndexSpecResponse as a slice of EmbeddingVectorColumn values. If the field is unknown or null, the boolean return value is false.
func (*DeltaSyncVectorIndexSpecResponse) SetEmbeddingSourceColumns ¶ added in v1.61.0
func (o *DeltaSyncVectorIndexSpecResponse) SetEmbeddingSourceColumns(ctx context.Context, v []EmbeddingSourceColumn)
SetEmbeddingSourceColumns sets the value of the EmbeddingSourceColumns field in DeltaSyncVectorIndexSpecResponse.
func (*DeltaSyncVectorIndexSpecResponse) SetEmbeddingVectorColumns ¶ added in v1.61.0
func (o *DeltaSyncVectorIndexSpecResponse) SetEmbeddingVectorColumns(ctx context.Context, v []EmbeddingVectorColumn)
SetEmbeddingVectorColumns sets the value of the EmbeddingVectorColumns field in DeltaSyncVectorIndexSpecResponse.
func (*DeltaSyncVectorIndexSpecResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeltaSyncVectorIndexSpecResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeltaSyncVectorIndexSpecResponse)
func (*DeltaSyncVectorIndexSpecResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeltaSyncVectorIndexSpecResponse) SyncEffectiveFieldsDuringRead(existingState DeltaSyncVectorIndexSpecResponse)
func (DeltaSyncVectorIndexSpecResponse) ToObjectValue ¶ added in v1.61.0
func (o DeltaSyncVectorIndexSpecResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeltaSyncVectorIndexSpecResponse only implements ToObjectValue() and Type().
type DirectAccessVectorIndexSpec ¶
type DirectAccessVectorIndexSpec struct { // Contains the optional model endpoint to use during query time. EmbeddingSourceColumns types.List `tfsdk:"embedding_source_columns" tf:"optional"` EmbeddingVectorColumns types.List `tfsdk:"embedding_vector_columns" tf:"optional"` // The schema of the index in JSON format. // // Supported types are `integer`, `long`, `float`, `double`, `boolean`, // `string`, `date`, `timestamp`. // // Supported types for vector column: `array<float>`, `array<double>`,`. SchemaJson types.String `tfsdk:"schema_json" tf:"optional"` }
func (DirectAccessVectorIndexSpec) GetComplexFieldTypes ¶ added in v1.61.0
func (a DirectAccessVectorIndexSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DirectAccessVectorIndexSpec. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DirectAccessVectorIndexSpec) GetEmbeddingSourceColumns ¶ added in v1.61.0
func (o *DirectAccessVectorIndexSpec) GetEmbeddingSourceColumns(ctx context.Context) ([]EmbeddingSourceColumn, bool)
GetEmbeddingSourceColumns returns the value of the EmbeddingSourceColumns field in DirectAccessVectorIndexSpec as a slice of EmbeddingSourceColumn values. If the field is unknown or null, the boolean return value is false.
func (*DirectAccessVectorIndexSpec) GetEmbeddingVectorColumns ¶ added in v1.61.0
func (o *DirectAccessVectorIndexSpec) GetEmbeddingVectorColumns(ctx context.Context) ([]EmbeddingVectorColumn, bool)
GetEmbeddingVectorColumns returns the value of the EmbeddingVectorColumns field in DirectAccessVectorIndexSpec as a slice of EmbeddingVectorColumn values. If the field is unknown or null, the boolean return value is false.
func (*DirectAccessVectorIndexSpec) SetEmbeddingSourceColumns ¶ added in v1.61.0
func (o *DirectAccessVectorIndexSpec) SetEmbeddingSourceColumns(ctx context.Context, v []EmbeddingSourceColumn)
SetEmbeddingSourceColumns sets the value of the EmbeddingSourceColumns field in DirectAccessVectorIndexSpec.
func (*DirectAccessVectorIndexSpec) SetEmbeddingVectorColumns ¶ added in v1.61.0
func (o *DirectAccessVectorIndexSpec) SetEmbeddingVectorColumns(ctx context.Context, v []EmbeddingVectorColumn)
SetEmbeddingVectorColumns sets the value of the EmbeddingVectorColumns field in DirectAccessVectorIndexSpec.
func (*DirectAccessVectorIndexSpec) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DirectAccessVectorIndexSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan DirectAccessVectorIndexSpec)
func (*DirectAccessVectorIndexSpec) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DirectAccessVectorIndexSpec) SyncEffectiveFieldsDuringRead(existingState DirectAccessVectorIndexSpec)
func (DirectAccessVectorIndexSpec) ToObjectValue ¶ added in v1.61.0
func (o DirectAccessVectorIndexSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DirectAccessVectorIndexSpec only implements ToObjectValue() and Type().
type EmbeddingSourceColumn ¶
type EmbeddingSourceColumn struct { // Name of the embedding model endpoint EmbeddingModelEndpointName types.String `tfsdk:"embedding_model_endpoint_name" tf:"optional"` // Name of the column Name types.String `tfsdk:"name" tf:"optional"` }
func (EmbeddingSourceColumn) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EmbeddingSourceColumn. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EmbeddingSourceColumn) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EmbeddingSourceColumn) SyncEffectiveFieldsDuringCreateOrUpdate(plan EmbeddingSourceColumn)
func (*EmbeddingSourceColumn) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EmbeddingSourceColumn) SyncEffectiveFieldsDuringRead(existingState EmbeddingSourceColumn)
func (EmbeddingSourceColumn) ToObjectValue ¶ added in v1.61.0
func (o EmbeddingSourceColumn) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EmbeddingSourceColumn only implements ToObjectValue() and Type().
type EmbeddingVectorColumn ¶
type EmbeddingVectorColumn struct { // Dimension of the embedding vector EmbeddingDimension types.Int64 `tfsdk:"embedding_dimension" tf:"optional"` // Name of the column Name types.String `tfsdk:"name" tf:"optional"` }
func (EmbeddingVectorColumn) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EmbeddingVectorColumn. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EmbeddingVectorColumn) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EmbeddingVectorColumn) SyncEffectiveFieldsDuringCreateOrUpdate(plan EmbeddingVectorColumn)
func (*EmbeddingVectorColumn) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EmbeddingVectorColumn) SyncEffectiveFieldsDuringRead(existingState EmbeddingVectorColumn)
func (EmbeddingVectorColumn) ToObjectValue ¶ added in v1.61.0
func (o EmbeddingVectorColumn) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EmbeddingVectorColumn only implements ToObjectValue() and Type().
type EndpointInfo ¶
type EndpointInfo struct { // Timestamp of endpoint creation CreationTimestamp types.Int64 `tfsdk:"creation_timestamp" tf:"optional"` // Creator of the endpoint Creator types.String `tfsdk:"creator" tf:"optional"` // Current status of the endpoint EndpointStatus types.List `tfsdk:"endpoint_status" tf:"optional,object"` // Type of endpoint. EndpointType types.String `tfsdk:"endpoint_type" tf:"optional"` // Unique identifier of the endpoint Id types.String `tfsdk:"id" tf:"optional"` // Timestamp of last update to the endpoint LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp" tf:"optional"` // User who last updated the endpoint LastUpdatedUser types.String `tfsdk:"last_updated_user" tf:"optional"` // Name of endpoint Name types.String `tfsdk:"name" tf:"optional"` // Number of indexes on the endpoint NumIndexes types.Int64 `tfsdk:"num_indexes" tf:"optional"` }
func (EndpointInfo) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EndpointInfo) GetEndpointStatus ¶ added in v1.61.0
func (o *EndpointInfo) GetEndpointStatus(ctx context.Context) (EndpointStatus, bool)
GetEndpointStatus returns the value of the EndpointStatus field in EndpointInfo as a EndpointStatus value. If the field is unknown or null, the boolean return value is false.
func (*EndpointInfo) SetEndpointStatus ¶ added in v1.61.0
func (o *EndpointInfo) SetEndpointStatus(ctx context.Context, v EndpointStatus)
SetEndpointStatus sets the value of the EndpointStatus field in EndpointInfo.
func (*EndpointInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EndpointInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointInfo)
func (*EndpointInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EndpointInfo) SyncEffectiveFieldsDuringRead(existingState EndpointInfo)
func (EndpointInfo) ToObjectValue ¶ added in v1.61.0
func (o EndpointInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EndpointInfo only implements ToObjectValue() and Type().
type EndpointStatus ¶
type EndpointStatus struct { // Additional status message Message types.String `tfsdk:"message" tf:"optional"` // Current state of the endpoint State types.String `tfsdk:"state" tf:"optional"` }
Status information of an endpoint
func (EndpointStatus) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EndpointStatus) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EndpointStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointStatus)
func (*EndpointStatus) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EndpointStatus) SyncEffectiveFieldsDuringRead(existingState EndpointStatus)
func (EndpointStatus) ToObjectValue ¶ added in v1.61.0
func (o EndpointStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EndpointStatus only implements ToObjectValue() and Type().
type GetEndpointRequest ¶
Get an endpoint
func (GetEndpointRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEndpointRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEndpointRequest)
func (*GetEndpointRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetEndpointRequest) SyncEffectiveFieldsDuringRead(existingState GetEndpointRequest)
func (GetEndpointRequest) ToObjectValue ¶ added in v1.61.0
func (o GetEndpointRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetEndpointRequest only implements ToObjectValue() and Type().
type GetIndexRequest ¶
Get an index
func (GetIndexRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetIndexRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetIndexRequest)
func (*GetIndexRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetIndexRequest) SyncEffectiveFieldsDuringRead(existingState GetIndexRequest)
func (GetIndexRequest) ToObjectValue ¶ added in v1.61.0
func (o GetIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetIndexRequest only implements ToObjectValue() and Type().
type ListEndpointResponse ¶
type ListEndpointResponse struct { // An array of Endpoint objects Endpoints types.List `tfsdk:"endpoints" tf:"optional"` // A token that can be used to get the next page of results. If not present, // there are no more results to show. NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"` }
func (ListEndpointResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListEndpointResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListEndpointResponse) GetEndpoints ¶ added in v1.61.0
func (o *ListEndpointResponse) GetEndpoints(ctx context.Context) ([]EndpointInfo, bool)
GetEndpoints returns the value of the Endpoints field in ListEndpointResponse as a slice of EndpointInfo values. If the field is unknown or null, the boolean return value is false.
func (*ListEndpointResponse) SetEndpoints ¶ added in v1.61.0
func (o *ListEndpointResponse) SetEndpoints(ctx context.Context, v []EndpointInfo)
SetEndpoints sets the value of the Endpoints field in ListEndpointResponse.
func (*ListEndpointResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListEndpointResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListEndpointResponse)
func (*ListEndpointResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListEndpointResponse) SyncEffectiveFieldsDuringRead(existingState ListEndpointResponse)
func (ListEndpointResponse) ToObjectValue ¶ added in v1.61.0
func (o ListEndpointResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListEndpointResponse only implements ToObjectValue() and Type().
type ListEndpointsRequest ¶
List all endpoints
func (ListEndpointsRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListEndpointsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListEndpointsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListEndpointsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListEndpointsRequest)
func (*ListEndpointsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListEndpointsRequest) SyncEffectiveFieldsDuringRead(existingState ListEndpointsRequest)
func (ListEndpointsRequest) ToObjectValue ¶ added in v1.61.0
func (o ListEndpointsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListEndpointsRequest only implements ToObjectValue() and Type().
type ListIndexesRequest ¶
type ListIndexesRequest struct { // Name of the endpoint EndpointName types.String `tfsdk:"-"` // Token for pagination PageToken types.String `tfsdk:"-"` }
List indexes
func (ListIndexesRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListIndexesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListIndexesRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListIndexesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListIndexesRequest)
func (*ListIndexesRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListIndexesRequest) SyncEffectiveFieldsDuringRead(existingState ListIndexesRequest)
func (ListIndexesRequest) ToObjectValue ¶ added in v1.61.0
func (o ListIndexesRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListIndexesRequest only implements ToObjectValue() and Type().
type ListValue ¶
func (ListValue) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListValue. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListValue) GetValues ¶ added in v1.61.0
GetValues returns the value of the Values field in ListValue as a slice of Value values. If the field is unknown or null, the boolean return value is false.
func (*ListValue) SetValues ¶ added in v1.61.0
SetValues sets the value of the Values field in ListValue.
func (*ListValue) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*ListValue) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (ListValue) ToObjectValue ¶ added in v1.61.0
func (o ListValue) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListValue only implements ToObjectValue() and Type().
type ListVectorIndexesResponse ¶
type ListVectorIndexesResponse struct { // A token that can be used to get the next page of results. If not present, // there are no more results to show. NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"` VectorIndexes types.List `tfsdk:"vector_indexes" tf:"optional"` }
func (ListVectorIndexesResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListVectorIndexesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVectorIndexesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListVectorIndexesResponse) GetVectorIndexes ¶ added in v1.61.0
func (o *ListVectorIndexesResponse) GetVectorIndexes(ctx context.Context) ([]MiniVectorIndex, bool)
GetVectorIndexes returns the value of the VectorIndexes field in ListVectorIndexesResponse as a slice of MiniVectorIndex values. If the field is unknown or null, the boolean return value is false.
func (*ListVectorIndexesResponse) SetVectorIndexes ¶ added in v1.61.0
func (o *ListVectorIndexesResponse) SetVectorIndexes(ctx context.Context, v []MiniVectorIndex)
SetVectorIndexes sets the value of the VectorIndexes field in ListVectorIndexesResponse.
func (*ListVectorIndexesResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListVectorIndexesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListVectorIndexesResponse)
func (*ListVectorIndexesResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListVectorIndexesResponse) SyncEffectiveFieldsDuringRead(existingState ListVectorIndexesResponse)
func (ListVectorIndexesResponse) ToObjectValue ¶ added in v1.61.0
func (o ListVectorIndexesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListVectorIndexesResponse only implements ToObjectValue() and Type().
type MapStringValueEntry ¶
type MapStringValueEntry struct { // Column name. Key types.String `tfsdk:"key" tf:"optional"` // Column value, nullable. Value types.List `tfsdk:"value" tf:"optional,object"` }
Key-value pair.
func (MapStringValueEntry) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in MapStringValueEntry. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*MapStringValueEntry) GetValue ¶ added in v1.61.0
func (o *MapStringValueEntry) GetValue(ctx context.Context) (Value, bool)
GetValue returns the value of the Value field in MapStringValueEntry as a Value value. If the field is unknown or null, the boolean return value is false.
func (*MapStringValueEntry) SetValue ¶ added in v1.61.0
func (o *MapStringValueEntry) SetValue(ctx context.Context, v Value)
SetValue sets the value of the Value field in MapStringValueEntry.
func (*MapStringValueEntry) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *MapStringValueEntry) SyncEffectiveFieldsDuringCreateOrUpdate(plan MapStringValueEntry)
func (*MapStringValueEntry) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *MapStringValueEntry) SyncEffectiveFieldsDuringRead(existingState MapStringValueEntry)
func (MapStringValueEntry) ToObjectValue ¶ added in v1.61.0
func (o MapStringValueEntry) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, MapStringValueEntry only implements ToObjectValue() and Type().
type MiniVectorIndex ¶
type MiniVectorIndex struct { // The user who created the index. Creator types.String `tfsdk:"creator" tf:"optional"` // Name of the endpoint associated with the index EndpointName types.String `tfsdk:"endpoint_name" tf:"optional"` // There are 2 types of Vector Search indexes: // // - `DELTA_SYNC`: An index that automatically syncs with a source Delta // Table, automatically and incrementally updating the index as the // underlying data in the Delta Table changes. - `DIRECT_ACCESS`: An index // that supports direct read and write of vectors and metadata through our // REST and SDK APIs. With this model, the user manages index updates. IndexType types.String `tfsdk:"index_type" tf:"optional"` // Name of the index Name types.String `tfsdk:"name" tf:"optional"` // Primary key of the index PrimaryKey types.String `tfsdk:"primary_key" tf:"optional"` }
func (MiniVectorIndex) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in MiniVectorIndex. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*MiniVectorIndex) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *MiniVectorIndex) SyncEffectiveFieldsDuringCreateOrUpdate(plan MiniVectorIndex)
func (*MiniVectorIndex) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *MiniVectorIndex) SyncEffectiveFieldsDuringRead(existingState MiniVectorIndex)
func (MiniVectorIndex) ToObjectValue ¶ added in v1.61.0
func (o MiniVectorIndex) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, MiniVectorIndex only implements ToObjectValue() and Type().
type QueryVectorIndexNextPageRequest ¶
type QueryVectorIndexNextPageRequest struct { // Name of the endpoint. EndpointName types.String `tfsdk:"endpoint_name" tf:"optional"` // Name of the vector index to query. IndexName types.String `tfsdk:"-"` // Page token returned from previous `QueryVectorIndex` or // `QueryVectorIndexNextPage` API. PageToken types.String `tfsdk:"page_token" tf:"optional"` }
Request payload for getting next page of results.
func (QueryVectorIndexNextPageRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a QueryVectorIndexNextPageRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryVectorIndexNextPageRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*QueryVectorIndexNextPageRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *QueryVectorIndexNextPageRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryVectorIndexNextPageRequest)
func (*QueryVectorIndexNextPageRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *QueryVectorIndexNextPageRequest) SyncEffectiveFieldsDuringRead(existingState QueryVectorIndexNextPageRequest)
func (QueryVectorIndexNextPageRequest) ToObjectValue ¶ added in v1.61.0
func (o QueryVectorIndexNextPageRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, QueryVectorIndexNextPageRequest only implements ToObjectValue() and Type().
type QueryVectorIndexRequest ¶
type QueryVectorIndexRequest struct { // List of column names to include in the response. Columns types.List `tfsdk:"columns" tf:""` // JSON string representing query filters. // // Example filters: - `{"id <": 5}`: Filter for id less than 5. - `{"id >": // 5}`: Filter for id greater than 5. - `{"id <=": 5}`: Filter for id less // than equal to 5. - `{"id >=": 5}`: Filter for id greater than equal to 5. // - `{"id": 5}`: Filter for id equal to 5. FiltersJson types.String `tfsdk:"filters_json" tf:"optional"` // Name of the vector index to query. IndexName types.String `tfsdk:"-"` // Number of results to return. Defaults to 10. NumResults types.Int64 `tfsdk:"num_results" tf:"optional"` // Query text. Required for Delta Sync Index using model endpoint. QueryText types.String `tfsdk:"query_text" tf:"optional"` // The query type to use. Choices are `ANN` and `HYBRID`. Defaults to `ANN`. QueryType types.String `tfsdk:"query_type" tf:"optional"` // Query vector. Required for Direct Vector Access Index and Delta Sync // Index using self-managed vectors. QueryVector types.List `tfsdk:"query_vector" tf:"optional"` // Threshold for the approximate nearest neighbor search. Defaults to 0.0. ScoreThreshold types.Float64 `tfsdk:"score_threshold" tf:"optional"` }
func (*QueryVectorIndexRequest) GetColumns ¶ added in v1.61.0
GetColumns returns the value of the Columns field in QueryVectorIndexRequest as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (QueryVectorIndexRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryVectorIndexRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*QueryVectorIndexRequest) GetQueryVector ¶ added in v1.61.0
GetQueryVector returns the value of the QueryVector field in QueryVectorIndexRequest as a slice of types.Float64 values. If the field is unknown or null, the boolean return value is false.
func (*QueryVectorIndexRequest) SetColumns ¶ added in v1.61.0
func (o *QueryVectorIndexRequest) SetColumns(ctx context.Context, v []types.String)
SetColumns sets the value of the Columns field in QueryVectorIndexRequest.
func (*QueryVectorIndexRequest) SetQueryVector ¶ added in v1.61.0
func (o *QueryVectorIndexRequest) SetQueryVector(ctx context.Context, v []types.Float64)
SetQueryVector sets the value of the QueryVector field in QueryVectorIndexRequest.
func (*QueryVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *QueryVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryVectorIndexRequest)
func (*QueryVectorIndexRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *QueryVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState QueryVectorIndexRequest)
func (QueryVectorIndexRequest) ToObjectValue ¶ added in v1.61.0
func (o QueryVectorIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, QueryVectorIndexRequest only implements ToObjectValue() and Type().
type QueryVectorIndexResponse ¶
type QueryVectorIndexResponse struct { // Metadata about the result set. Manifest types.List `tfsdk:"manifest" tf:"optional,object"` // [Optional] Token that can be used in `QueryVectorIndexNextPage` API to // get next page of results. If more than 1000 results satisfy the query, // they are returned in groups of 1000. Empty value means no more results. NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"` // Data returned in the query result. Result types.List `tfsdk:"result" tf:"optional,object"` }
func (QueryVectorIndexResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryVectorIndexResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*QueryVectorIndexResponse) GetManifest ¶ added in v1.61.0
func (o *QueryVectorIndexResponse) GetManifest(ctx context.Context) (ResultManifest, bool)
GetManifest returns the value of the Manifest field in QueryVectorIndexResponse as a ResultManifest value. If the field is unknown or null, the boolean return value is false.
func (*QueryVectorIndexResponse) GetResult ¶ added in v1.61.0
func (o *QueryVectorIndexResponse) GetResult(ctx context.Context) (ResultData, bool)
GetResult returns the value of the Result field in QueryVectorIndexResponse as a ResultData value. If the field is unknown or null, the boolean return value is false.
func (*QueryVectorIndexResponse) SetManifest ¶ added in v1.61.0
func (o *QueryVectorIndexResponse) SetManifest(ctx context.Context, v ResultManifest)
SetManifest sets the value of the Manifest field in QueryVectorIndexResponse.
func (*QueryVectorIndexResponse) SetResult ¶ added in v1.61.0
func (o *QueryVectorIndexResponse) SetResult(ctx context.Context, v ResultData)
SetResult sets the value of the Result field in QueryVectorIndexResponse.
func (*QueryVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *QueryVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryVectorIndexResponse)
func (*QueryVectorIndexResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *QueryVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState QueryVectorIndexResponse)
func (QueryVectorIndexResponse) ToObjectValue ¶ added in v1.61.0
func (o QueryVectorIndexResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, QueryVectorIndexResponse only implements ToObjectValue() and Type().
type ResultData ¶
type ResultData struct { // Data rows returned in the query. DataArray types.List `tfsdk:"data_array" tf:"optional"` // Number of rows in the result set. RowCount types.Int64 `tfsdk:"row_count" tf:"optional"` }
Data returned in the query result.
func (ResultData) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultData. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResultData) GetDataArray ¶ added in v1.61.0
GetDataArray returns the value of the DataArray field in ResultData as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ResultData) SetDataArray ¶ added in v1.61.0
func (o *ResultData) SetDataArray(ctx context.Context, v []types.String)
SetDataArray sets the value of the DataArray field in ResultData.
func (*ResultData) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ResultData) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResultData)
func (*ResultData) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ResultData) SyncEffectiveFieldsDuringRead(existingState ResultData)
func (ResultData) ToObjectValue ¶ added in v1.61.0
func (o ResultData) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResultData only implements ToObjectValue() and Type().
type ResultManifest ¶
type ResultManifest struct { // Number of columns in the result set. ColumnCount types.Int64 `tfsdk:"column_count" tf:"optional"` // Information about each column in the result set. Columns types.List `tfsdk:"columns" tf:"optional"` }
Metadata about the result set.
func (*ResultManifest) GetColumns ¶ added in v1.61.0
func (o *ResultManifest) GetColumns(ctx context.Context) ([]ColumnInfo, bool)
GetColumns returns the value of the Columns field in ResultManifest as a slice of ColumnInfo values. If the field is unknown or null, the boolean return value is false.
func (ResultManifest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultManifest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResultManifest) SetColumns ¶ added in v1.61.0
func (o *ResultManifest) SetColumns(ctx context.Context, v []ColumnInfo)
SetColumns sets the value of the Columns field in ResultManifest.
func (*ResultManifest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ResultManifest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResultManifest)
func (*ResultManifest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ResultManifest) SyncEffectiveFieldsDuringRead(existingState ResultManifest)
func (ResultManifest) ToObjectValue ¶ added in v1.61.0
func (o ResultManifest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResultManifest only implements ToObjectValue() and Type().
type ScanVectorIndexRequest ¶
type ScanVectorIndexRequest struct { // Name of the vector index to scan. IndexName types.String `tfsdk:"-"` // Primary key of the last entry returned in the previous scan. LastPrimaryKey types.String `tfsdk:"last_primary_key" tf:"optional"` // Number of results to return. Defaults to 10. NumResults types.Int64 `tfsdk:"num_results" tf:"optional"` }
Request payload for scanning data from a vector index.
func (ScanVectorIndexRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ScanVectorIndexRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ScanVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ScanVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ScanVectorIndexRequest)
func (*ScanVectorIndexRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ScanVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState ScanVectorIndexRequest)
func (ScanVectorIndexRequest) ToObjectValue ¶ added in v1.61.0
func (o ScanVectorIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ScanVectorIndexRequest only implements ToObjectValue() and Type().
type ScanVectorIndexResponse ¶
type ScanVectorIndexResponse struct { // List of data entries Data types.List `tfsdk:"data" tf:"optional"` // Primary key of the last entry. LastPrimaryKey types.String `tfsdk:"last_primary_key" tf:"optional"` }
Response to a scan vector index request.
func (ScanVectorIndexResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ScanVectorIndexResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ScanVectorIndexResponse) GetData ¶ added in v1.61.0
func (o *ScanVectorIndexResponse) GetData(ctx context.Context) ([]Struct, bool)
GetData returns the value of the Data field in ScanVectorIndexResponse as a slice of Struct values. If the field is unknown or null, the boolean return value is false.
func (*ScanVectorIndexResponse) SetData ¶ added in v1.61.0
func (o *ScanVectorIndexResponse) SetData(ctx context.Context, v []Struct)
SetData sets the value of the Data field in ScanVectorIndexResponse.
func (*ScanVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ScanVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ScanVectorIndexResponse)
func (*ScanVectorIndexResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ScanVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState ScanVectorIndexResponse)
func (ScanVectorIndexResponse) ToObjectValue ¶ added in v1.61.0
func (o ScanVectorIndexResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ScanVectorIndexResponse only implements ToObjectValue() and Type().
type Struct ¶
type Struct struct { // Data entry, corresponding to a row in a vector index. Fields types.List `tfsdk:"fields" tf:"optional"` }
func (Struct) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Struct. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Struct) GetFields ¶ added in v1.61.0
func (o *Struct) GetFields(ctx context.Context) ([]MapStringValueEntry, bool)
GetFields returns the value of the Fields field in Struct as a slice of MapStringValueEntry values. If the field is unknown or null, the boolean return value is false.
func (*Struct) SetFields ¶ added in v1.61.0
func (o *Struct) SetFields(ctx context.Context, v []MapStringValueEntry)
SetFields sets the value of the Fields field in Struct.
func (*Struct) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Struct) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Struct) ToObjectValue ¶ added in v1.61.0
func (o Struct) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Struct only implements ToObjectValue() and Type().
type SyncIndexRequest ¶
type SyncIndexRequest struct { // Name of the vector index to synchronize. Must be a Delta Sync Index. IndexName types.String `tfsdk:"-"` }
Synchronize an index
func (SyncIndexRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncIndexRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SyncIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SyncIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan SyncIndexRequest)
func (*SyncIndexRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SyncIndexRequest) SyncEffectiveFieldsDuringRead(existingState SyncIndexRequest)
func (SyncIndexRequest) ToObjectValue ¶ added in v1.61.0
func (o SyncIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SyncIndexRequest only implements ToObjectValue() and Type().
type SyncIndexResponse ¶
type SyncIndexResponse struct { }
func (SyncIndexResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncIndexResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*SyncIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *SyncIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SyncIndexResponse)
func (*SyncIndexResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *SyncIndexResponse) SyncEffectiveFieldsDuringRead(existingState SyncIndexResponse)
func (SyncIndexResponse) ToObjectValue ¶ added in v1.61.0
func (o SyncIndexResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SyncIndexResponse only implements ToObjectValue() and Type().
type UpsertDataResult ¶
type UpsertDataResult struct { // List of primary keys for rows that failed to process. FailedPrimaryKeys types.List `tfsdk:"failed_primary_keys" tf:"optional"` // Count of successfully processed rows. SuccessRowCount types.Int64 `tfsdk:"success_row_count" tf:"optional"` }
Result of the upsert or delete operation.
func (UpsertDataResult) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpsertDataResult. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UpsertDataResult) GetFailedPrimaryKeys ¶ added in v1.61.0
GetFailedPrimaryKeys returns the value of the FailedPrimaryKeys field in UpsertDataResult as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*UpsertDataResult) SetFailedPrimaryKeys ¶ added in v1.61.0
func (o *UpsertDataResult) SetFailedPrimaryKeys(ctx context.Context, v []types.String)
SetFailedPrimaryKeys sets the value of the FailedPrimaryKeys field in UpsertDataResult.
func (*UpsertDataResult) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpsertDataResult) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpsertDataResult)
func (*UpsertDataResult) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpsertDataResult) SyncEffectiveFieldsDuringRead(existingState UpsertDataResult)
func (UpsertDataResult) ToObjectValue ¶ added in v1.61.0
func (o UpsertDataResult) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpsertDataResult only implements ToObjectValue() and Type().
type UpsertDataVectorIndexRequest ¶
type UpsertDataVectorIndexRequest struct { // Name of the vector index where data is to be upserted. Must be a Direct // Vector Access Index. IndexName types.String `tfsdk:"-"` // JSON string representing the data to be upserted. InputsJson types.String `tfsdk:"inputs_json" tf:""` }
Request payload for upserting data into a vector index.
func (UpsertDataVectorIndexRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a UpsertDataVectorIndexRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpsertDataVectorIndexRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UpsertDataVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpsertDataVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpsertDataVectorIndexRequest)
func (*UpsertDataVectorIndexRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpsertDataVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState UpsertDataVectorIndexRequest)
func (UpsertDataVectorIndexRequest) ToObjectValue ¶ added in v1.61.0
func (o UpsertDataVectorIndexRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpsertDataVectorIndexRequest only implements ToObjectValue() and Type().
type UpsertDataVectorIndexResponse ¶
type UpsertDataVectorIndexResponse struct { // Result of the upsert or delete operation. Result types.List `tfsdk:"result" tf:"optional,object"` // Status of the upsert operation. Status types.String `tfsdk:"status" tf:"optional"` }
Response to an upsert data vector index request.
func (UpsertDataVectorIndexResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a UpsertDataVectorIndexResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpsertDataVectorIndexResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UpsertDataVectorIndexResponse) GetResult ¶ added in v1.61.0
func (o *UpsertDataVectorIndexResponse) GetResult(ctx context.Context) (UpsertDataResult, bool)
GetResult returns the value of the Result field in UpsertDataVectorIndexResponse as a UpsertDataResult value. If the field is unknown or null, the boolean return value is false.
func (*UpsertDataVectorIndexResponse) SetResult ¶ added in v1.61.0
func (o *UpsertDataVectorIndexResponse) SetResult(ctx context.Context, v UpsertDataResult)
SetResult sets the value of the Result field in UpsertDataVectorIndexResponse.
func (*UpsertDataVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpsertDataVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpsertDataVectorIndexResponse)
func (*UpsertDataVectorIndexResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpsertDataVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState UpsertDataVectorIndexResponse)
func (UpsertDataVectorIndexResponse) ToObjectValue ¶ added in v1.61.0
func (o UpsertDataVectorIndexResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpsertDataVectorIndexResponse only implements ToObjectValue() and Type().
type Value ¶
type Value struct { BoolValue types.Bool `tfsdk:"bool_value" tf:"optional"` ListValue types.List `tfsdk:"list_value" tf:"optional,object"` NullValue types.String `tfsdk:"null_value" tf:"optional"` NumberValue types.Float64 `tfsdk:"number_value" tf:"optional"` StringValue types.String `tfsdk:"string_value" tf:"optional"` StructValue types.List `tfsdk:"struct_value" tf:"optional,object"` }
func (Value) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Value. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Value) GetListValue ¶ added in v1.61.0
GetListValue returns the value of the ListValue field in Value as a ListValue value. If the field is unknown or null, the boolean return value is false.
func (*Value) GetStructValue ¶ added in v1.61.0
GetStructValue returns the value of the StructValue field in Value as a Struct value. If the field is unknown or null, the boolean return value is false.
func (*Value) SetListValue ¶ added in v1.61.0
SetListValue sets the value of the ListValue field in Value.
func (*Value) SetStructValue ¶ added in v1.61.0
SetStructValue sets the value of the StructValue field in Value.
func (*Value) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Value) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Value) ToObjectValue ¶ added in v1.61.0
func (o Value) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Value only implements ToObjectValue() and Type().
type VectorIndex ¶
type VectorIndex struct { // The user who created the index. Creator types.String `tfsdk:"creator" tf:"optional"` DeltaSyncIndexSpec types.List `tfsdk:"delta_sync_index_spec" tf:"optional,object"` DirectAccessIndexSpec types.List `tfsdk:"direct_access_index_spec" tf:"optional,object"` // Name of the endpoint associated with the index EndpointName types.String `tfsdk:"endpoint_name" tf:"optional"` // There are 2 types of Vector Search indexes: // // - `DELTA_SYNC`: An index that automatically syncs with a source Delta // Table, automatically and incrementally updating the index as the // underlying data in the Delta Table changes. - `DIRECT_ACCESS`: An index // that supports direct read and write of vectors and metadata through our // REST and SDK APIs. With this model, the user manages index updates. IndexType types.String `tfsdk:"index_type" tf:"optional"` // Name of the index Name types.String `tfsdk:"name" tf:"optional"` // Primary key of the index PrimaryKey types.String `tfsdk:"primary_key" tf:"optional"` Status types.List `tfsdk:"status" tf:"optional,object"` }
func (VectorIndex) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in VectorIndex. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*VectorIndex) GetDeltaSyncIndexSpec ¶ added in v1.61.0
func (o *VectorIndex) GetDeltaSyncIndexSpec(ctx context.Context) (DeltaSyncVectorIndexSpecResponse, bool)
GetDeltaSyncIndexSpec returns the value of the DeltaSyncIndexSpec field in VectorIndex as a DeltaSyncVectorIndexSpecResponse value. If the field is unknown or null, the boolean return value is false.
func (*VectorIndex) GetDirectAccessIndexSpec ¶ added in v1.61.0
func (o *VectorIndex) GetDirectAccessIndexSpec(ctx context.Context) (DirectAccessVectorIndexSpec, bool)
GetDirectAccessIndexSpec returns the value of the DirectAccessIndexSpec field in VectorIndex as a DirectAccessVectorIndexSpec value. If the field is unknown or null, the boolean return value is false.
func (*VectorIndex) GetStatus ¶ added in v1.61.0
func (o *VectorIndex) GetStatus(ctx context.Context) (VectorIndexStatus, bool)
GetStatus returns the value of the Status field in VectorIndex as a VectorIndexStatus value. If the field is unknown or null, the boolean return value is false.
func (*VectorIndex) SetDeltaSyncIndexSpec ¶ added in v1.61.0
func (o *VectorIndex) SetDeltaSyncIndexSpec(ctx context.Context, v DeltaSyncVectorIndexSpecResponse)
SetDeltaSyncIndexSpec sets the value of the DeltaSyncIndexSpec field in VectorIndex.
func (*VectorIndex) SetDirectAccessIndexSpec ¶ added in v1.61.0
func (o *VectorIndex) SetDirectAccessIndexSpec(ctx context.Context, v DirectAccessVectorIndexSpec)
SetDirectAccessIndexSpec sets the value of the DirectAccessIndexSpec field in VectorIndex.
func (*VectorIndex) SetStatus ¶ added in v1.61.0
func (o *VectorIndex) SetStatus(ctx context.Context, v VectorIndexStatus)
SetStatus sets the value of the Status field in VectorIndex.
func (*VectorIndex) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *VectorIndex) SyncEffectiveFieldsDuringCreateOrUpdate(plan VectorIndex)
func (*VectorIndex) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *VectorIndex) SyncEffectiveFieldsDuringRead(existingState VectorIndex)
func (VectorIndex) ToObjectValue ¶ added in v1.61.0
func (o VectorIndex) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, VectorIndex only implements ToObjectValue() and Type().
type VectorIndexStatus ¶
type VectorIndexStatus struct { // Index API Url to be used to perform operations on the index IndexUrl types.String `tfsdk:"index_url" tf:"optional"` // Number of rows indexed IndexedRowCount types.Int64 `tfsdk:"indexed_row_count" tf:"optional"` // Message associated with the index status Message types.String `tfsdk:"message" tf:"optional"` // Whether the index is ready for search Ready types.Bool `tfsdk:"ready" tf:"optional"` }
func (VectorIndexStatus) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in VectorIndexStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*VectorIndexStatus) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *VectorIndexStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan VectorIndexStatus)
func (*VectorIndexStatus) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *VectorIndexStatus) SyncEffectiveFieldsDuringRead(existingState VectorIndexStatus)
func (VectorIndexStatus) ToObjectValue ¶ added in v1.61.0
func (o VectorIndexStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, VectorIndexStatus only implements ToObjectValue() and Type().