Documentation
¶
Index ¶
- type CancelCustomLlmOptimizationRunRequest
- func (m CancelCustomLlmOptimizationRunRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m CancelCustomLlmOptimizationRunRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *CancelCustomLlmOptimizationRunRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CancelCustomLlmOptimizationRunRequest)
- func (to *CancelCustomLlmOptimizationRunRequest) SyncFieldsDuringRead(ctx context.Context, from CancelCustomLlmOptimizationRunRequest)
- func (m CancelCustomLlmOptimizationRunRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m CancelCustomLlmOptimizationRunRequest) Type(ctx context.Context) attr.Type
- type CancelCustomLlmOptimizationRunRequest_SdkV2
- func (m CancelCustomLlmOptimizationRunRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m CancelCustomLlmOptimizationRunRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *CancelCustomLlmOptimizationRunRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CancelCustomLlmOptimizationRunRequest_SdkV2)
- func (to *CancelCustomLlmOptimizationRunRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CancelCustomLlmOptimizationRunRequest_SdkV2)
- func (m CancelCustomLlmOptimizationRunRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m CancelCustomLlmOptimizationRunRequest_SdkV2) Type(ctx context.Context) attr.Type
- type CreateCustomLlmRequest
- func (m CreateCustomLlmRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m CreateCustomLlmRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *CreateCustomLlmRequest) GetDatasets(ctx context.Context) ([]Dataset, bool)
- func (m *CreateCustomLlmRequest) GetGuidelines(ctx context.Context) ([]types.String, bool)
- func (m *CreateCustomLlmRequest) SetDatasets(ctx context.Context, v []Dataset)
- func (m *CreateCustomLlmRequest) SetGuidelines(ctx context.Context, v []types.String)
- func (to *CreateCustomLlmRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateCustomLlmRequest)
- func (to *CreateCustomLlmRequest) SyncFieldsDuringRead(ctx context.Context, from CreateCustomLlmRequest)
- func (m CreateCustomLlmRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m CreateCustomLlmRequest) Type(ctx context.Context) attr.Type
- type CreateCustomLlmRequest_SdkV2
- func (m CreateCustomLlmRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m CreateCustomLlmRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *CreateCustomLlmRequest_SdkV2) GetDatasets(ctx context.Context) ([]Dataset_SdkV2, bool)
- func (m *CreateCustomLlmRequest_SdkV2) GetGuidelines(ctx context.Context) ([]types.String, bool)
- func (m *CreateCustomLlmRequest_SdkV2) SetDatasets(ctx context.Context, v []Dataset_SdkV2)
- func (m *CreateCustomLlmRequest_SdkV2) SetGuidelines(ctx context.Context, v []types.String)
- func (to *CreateCustomLlmRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateCustomLlmRequest_SdkV2)
- func (to *CreateCustomLlmRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateCustomLlmRequest_SdkV2)
- func (m CreateCustomLlmRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m CreateCustomLlmRequest_SdkV2) Type(ctx context.Context) attr.Type
- type CustomLlm
- func (m CustomLlm) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m CustomLlm) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *CustomLlm) GetDatasets(ctx context.Context) ([]Dataset, bool)
- func (m *CustomLlm) GetGuidelines(ctx context.Context) ([]types.String, bool)
- func (m *CustomLlm) SetDatasets(ctx context.Context, v []Dataset)
- func (m *CustomLlm) SetGuidelines(ctx context.Context, v []types.String)
- func (to *CustomLlm) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CustomLlm)
- func (to *CustomLlm) SyncFieldsDuringRead(ctx context.Context, from CustomLlm)
- func (m CustomLlm) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m CustomLlm) Type(ctx context.Context) attr.Type
- type CustomLlm_SdkV2
- func (m CustomLlm_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m CustomLlm_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *CustomLlm_SdkV2) GetDatasets(ctx context.Context) ([]Dataset_SdkV2, bool)
- func (m *CustomLlm_SdkV2) GetGuidelines(ctx context.Context) ([]types.String, bool)
- func (m *CustomLlm_SdkV2) SetDatasets(ctx context.Context, v []Dataset_SdkV2)
- func (m *CustomLlm_SdkV2) SetGuidelines(ctx context.Context, v []types.String)
- func (to *CustomLlm_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CustomLlm_SdkV2)
- func (to *CustomLlm_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CustomLlm_SdkV2)
- func (m CustomLlm_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m CustomLlm_SdkV2) Type(ctx context.Context) attr.Type
- type Dataset
- func (m Dataset) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m Dataset) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *Dataset) GetTable(ctx context.Context) (Table, bool)
- func (m *Dataset) SetTable(ctx context.Context, v Table)
- func (to *Dataset) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Dataset)
- func (to *Dataset) SyncFieldsDuringRead(ctx context.Context, from Dataset)
- func (m Dataset) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m Dataset) Type(ctx context.Context) attr.Type
- type Dataset_SdkV2
- func (m Dataset_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m Dataset_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *Dataset_SdkV2) GetTable(ctx context.Context) (Table_SdkV2, bool)
- func (m *Dataset_SdkV2) SetTable(ctx context.Context, v Table_SdkV2)
- func (to *Dataset_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Dataset_SdkV2)
- func (to *Dataset_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Dataset_SdkV2)
- func (m Dataset_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m Dataset_SdkV2) Type(ctx context.Context) attr.Type
- type DeleteCustomLlmRequest
- func (m DeleteCustomLlmRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m DeleteCustomLlmRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *DeleteCustomLlmRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteCustomLlmRequest)
- func (to *DeleteCustomLlmRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteCustomLlmRequest)
- func (m DeleteCustomLlmRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m DeleteCustomLlmRequest) Type(ctx context.Context) attr.Type
- type DeleteCustomLlmRequest_SdkV2
- func (m DeleteCustomLlmRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m DeleteCustomLlmRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *DeleteCustomLlmRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteCustomLlmRequest_SdkV2)
- func (to *DeleteCustomLlmRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteCustomLlmRequest_SdkV2)
- func (m DeleteCustomLlmRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m DeleteCustomLlmRequest_SdkV2) Type(ctx context.Context) attr.Type
- type GetCustomLlmRequest
- func (m GetCustomLlmRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m GetCustomLlmRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *GetCustomLlmRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetCustomLlmRequest)
- func (to *GetCustomLlmRequest) SyncFieldsDuringRead(ctx context.Context, from GetCustomLlmRequest)
- func (m GetCustomLlmRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m GetCustomLlmRequest) Type(ctx context.Context) attr.Type
- type GetCustomLlmRequest_SdkV2
- func (m GetCustomLlmRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m GetCustomLlmRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *GetCustomLlmRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetCustomLlmRequest_SdkV2)
- func (to *GetCustomLlmRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetCustomLlmRequest_SdkV2)
- func (m GetCustomLlmRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m GetCustomLlmRequest_SdkV2) Type(ctx context.Context) attr.Type
- type StartCustomLlmOptimizationRunRequest
- func (m StartCustomLlmOptimizationRunRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m StartCustomLlmOptimizationRunRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *StartCustomLlmOptimizationRunRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartCustomLlmOptimizationRunRequest)
- func (to *StartCustomLlmOptimizationRunRequest) SyncFieldsDuringRead(ctx context.Context, from StartCustomLlmOptimizationRunRequest)
- func (m StartCustomLlmOptimizationRunRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m StartCustomLlmOptimizationRunRequest) Type(ctx context.Context) attr.Type
- type StartCustomLlmOptimizationRunRequest_SdkV2
- func (m StartCustomLlmOptimizationRunRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m StartCustomLlmOptimizationRunRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *StartCustomLlmOptimizationRunRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartCustomLlmOptimizationRunRequest_SdkV2)
- func (to *StartCustomLlmOptimizationRunRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from StartCustomLlmOptimizationRunRequest_SdkV2)
- func (m StartCustomLlmOptimizationRunRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m StartCustomLlmOptimizationRunRequest_SdkV2) Type(ctx context.Context) attr.Type
- type Table
- func (m Table) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m Table) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *Table) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Table)
- func (to *Table) SyncFieldsDuringRead(ctx context.Context, from Table)
- func (m Table) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m Table) Type(ctx context.Context) attr.Type
- type Table_SdkV2
- func (m Table_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m Table_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *Table_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Table_SdkV2)
- func (to *Table_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Table_SdkV2)
- func (m Table_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m Table_SdkV2) Type(ctx context.Context) attr.Type
- type UpdateCustomLlmRequest
- func (m UpdateCustomLlmRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m UpdateCustomLlmRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *UpdateCustomLlmRequest) GetCustomLlm(ctx context.Context) (CustomLlm, bool)
- func (m *UpdateCustomLlmRequest) SetCustomLlm(ctx context.Context, v CustomLlm)
- func (to *UpdateCustomLlmRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateCustomLlmRequest)
- func (to *UpdateCustomLlmRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateCustomLlmRequest)
- func (m UpdateCustomLlmRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m UpdateCustomLlmRequest) Type(ctx context.Context) attr.Type
- type UpdateCustomLlmRequest_SdkV2
- func (m UpdateCustomLlmRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m UpdateCustomLlmRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *UpdateCustomLlmRequest_SdkV2) GetCustomLlm(ctx context.Context) (CustomLlm_SdkV2, bool)
- func (m *UpdateCustomLlmRequest_SdkV2) SetCustomLlm(ctx context.Context, v CustomLlm_SdkV2)
- func (to *UpdateCustomLlmRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateCustomLlmRequest_SdkV2)
- func (to *UpdateCustomLlmRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateCustomLlmRequest_SdkV2)
- func (m UpdateCustomLlmRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m UpdateCustomLlmRequest_SdkV2) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelCustomLlmOptimizationRunRequest ¶
func (CancelCustomLlmOptimizationRunRequest) ApplySchemaCustomizations ¶ added in v1.91.0
func (m CancelCustomLlmOptimizationRunRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CancelCustomLlmOptimizationRunRequest) GetComplexFieldTypes ¶
func (m CancelCustomLlmOptimizationRunRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelCustomLlmOptimizationRunRequest. 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 (*CancelCustomLlmOptimizationRunRequest) SyncFieldsDuringCreateOrUpdate ¶ added in v1.91.0
func (to *CancelCustomLlmOptimizationRunRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CancelCustomLlmOptimizationRunRequest)
func (*CancelCustomLlmOptimizationRunRequest) SyncFieldsDuringRead ¶ added in v1.91.0
func (to *CancelCustomLlmOptimizationRunRequest) SyncFieldsDuringRead(ctx context.Context, from CancelCustomLlmOptimizationRunRequest)
func (CancelCustomLlmOptimizationRunRequest) ToObjectValue ¶
func (m CancelCustomLlmOptimizationRunRequest) 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, CancelCustomLlmOptimizationRunRequest only implements ToObjectValue() and Type().
type CancelCustomLlmOptimizationRunRequest_SdkV2 ¶
func (CancelCustomLlmOptimizationRunRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.91.0
func (m CancelCustomLlmOptimizationRunRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CancelCustomLlmOptimizationRunRequest_SdkV2) GetComplexFieldTypes ¶
func (m CancelCustomLlmOptimizationRunRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelCustomLlmOptimizationRunRequest. 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 (*CancelCustomLlmOptimizationRunRequest_SdkV2) SyncFieldsDuringCreateOrUpdate ¶ added in v1.91.0
func (to *CancelCustomLlmOptimizationRunRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CancelCustomLlmOptimizationRunRequest_SdkV2)
func (*CancelCustomLlmOptimizationRunRequest_SdkV2) SyncFieldsDuringRead ¶ added in v1.91.0
func (to *CancelCustomLlmOptimizationRunRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CancelCustomLlmOptimizationRunRequest_SdkV2)
func (CancelCustomLlmOptimizationRunRequest_SdkV2) ToObjectValue ¶
func (m CancelCustomLlmOptimizationRunRequest_SdkV2) 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, CancelCustomLlmOptimizationRunRequest_SdkV2 only implements ToObjectValue() and Type().
type CreateCustomLlmRequest ¶
type CreateCustomLlmRequest struct {
// This will soon be deprecated!! Optional: UC path for agent artifacts. If
// you are using a dataset that you only have read permissions, please
// provide a destination path where you have write permissions. Please
// provide this in catalog.schema format.
AgentArtifactPath types.String `tfsdk:"agent_artifact_path"`
// Datasets used for training and evaluating the model, not for inference.
// Currently, only 1 dataset is accepted.
Datasets types.List `tfsdk:"datasets"`
// Guidelines for the custom LLM to adhere to
Guidelines types.List `tfsdk:"guidelines"`
// Instructions for the custom LLM to follow
Instructions types.String `tfsdk:"instructions"`
// Name of the custom LLM. Only alphanumeric characters and dashes allowed.
Name types.String `tfsdk:"name"`
}
func (CreateCustomLlmRequest) ApplySchemaCustomizations ¶ added in v1.91.0
func (m CreateCustomLlmRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CreateCustomLlmRequest) GetComplexFieldTypes ¶
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCustomLlmRequest. 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 (*CreateCustomLlmRequest) GetDatasets ¶
func (m *CreateCustomLlmRequest) GetDatasets(ctx context.Context) ([]Dataset, bool)
GetDatasets returns the value of the Datasets field in CreateCustomLlmRequest as a slice of Dataset values. If the field is unknown or null, the boolean return value is false.
func (*CreateCustomLlmRequest) GetGuidelines ¶
GetGuidelines returns the value of the Guidelines field in CreateCustomLlmRequest as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateCustomLlmRequest) SetDatasets ¶
func (m *CreateCustomLlmRequest) SetDatasets(ctx context.Context, v []Dataset)
SetDatasets sets the value of the Datasets field in CreateCustomLlmRequest.
func (*CreateCustomLlmRequest) SetGuidelines ¶
func (m *CreateCustomLlmRequest) SetGuidelines(ctx context.Context, v []types.String)
SetGuidelines sets the value of the Guidelines field in CreateCustomLlmRequest.
func (*CreateCustomLlmRequest) SyncFieldsDuringCreateOrUpdate ¶ added in v1.91.0
func (to *CreateCustomLlmRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateCustomLlmRequest)
func (*CreateCustomLlmRequest) SyncFieldsDuringRead ¶ added in v1.91.0
func (to *CreateCustomLlmRequest) SyncFieldsDuringRead(ctx context.Context, from CreateCustomLlmRequest)
func (CreateCustomLlmRequest) ToObjectValue ¶
func (m CreateCustomLlmRequest) 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, CreateCustomLlmRequest only implements ToObjectValue() and Type().
type CreateCustomLlmRequest_SdkV2 ¶
type CreateCustomLlmRequest_SdkV2 struct {
// This will soon be deprecated!! Optional: UC path for agent artifacts. If
// you are using a dataset that you only have read permissions, please
// provide a destination path where you have write permissions. Please
// provide this in catalog.schema format.
AgentArtifactPath types.String `tfsdk:"agent_artifact_path"`
// Datasets used for training and evaluating the model, not for inference.
// Currently, only 1 dataset is accepted.
Datasets types.List `tfsdk:"datasets"`
// Guidelines for the custom LLM to adhere to
Guidelines types.List `tfsdk:"guidelines"`
// Instructions for the custom LLM to follow
Instructions types.String `tfsdk:"instructions"`
// Name of the custom LLM. Only alphanumeric characters and dashes allowed.
Name types.String `tfsdk:"name"`
}
func (CreateCustomLlmRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.91.0
func (m CreateCustomLlmRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CreateCustomLlmRequest_SdkV2) GetComplexFieldTypes ¶
func (m CreateCustomLlmRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCustomLlmRequest. 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 (*CreateCustomLlmRequest_SdkV2) GetDatasets ¶
func (m *CreateCustomLlmRequest_SdkV2) GetDatasets(ctx context.Context) ([]Dataset_SdkV2, bool)
GetDatasets returns the value of the Datasets field in CreateCustomLlmRequest_SdkV2 as a slice of Dataset_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*CreateCustomLlmRequest_SdkV2) GetGuidelines ¶
GetGuidelines returns the value of the Guidelines field in CreateCustomLlmRequest_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*CreateCustomLlmRequest_SdkV2) SetDatasets ¶
func (m *CreateCustomLlmRequest_SdkV2) SetDatasets(ctx context.Context, v []Dataset_SdkV2)
SetDatasets sets the value of the Datasets field in CreateCustomLlmRequest_SdkV2.
func (*CreateCustomLlmRequest_SdkV2) SetGuidelines ¶
func (m *CreateCustomLlmRequest_SdkV2) SetGuidelines(ctx context.Context, v []types.String)
SetGuidelines sets the value of the Guidelines field in CreateCustomLlmRequest_SdkV2.
func (*CreateCustomLlmRequest_SdkV2) SyncFieldsDuringCreateOrUpdate ¶ added in v1.91.0
func (to *CreateCustomLlmRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateCustomLlmRequest_SdkV2)
func (*CreateCustomLlmRequest_SdkV2) SyncFieldsDuringRead ¶ added in v1.91.0
func (to *CreateCustomLlmRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateCustomLlmRequest_SdkV2)
func (CreateCustomLlmRequest_SdkV2) ToObjectValue ¶
func (m CreateCustomLlmRequest_SdkV2) 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, CreateCustomLlmRequest_SdkV2 only implements ToObjectValue() and Type().
type CustomLlm ¶
type CustomLlm struct {
AgentArtifactPath types.String `tfsdk:"agent_artifact_path"`
// Creation timestamp of the custom LLM
CreationTime types.String `tfsdk:"creation_time"`
// Creator of the custom LLM
Creator types.String `tfsdk:"creator"`
// Datasets used for training and evaluating the model, not for inference
Datasets types.List `tfsdk:"datasets"`
// Name of the endpoint that will be used to serve the custom LLM
EndpointName types.String `tfsdk:"endpoint_name"`
// Guidelines for the custom LLM to adhere to
Guidelines types.List `tfsdk:"guidelines"`
Id types.String `tfsdk:"id"`
// Instructions for the custom LLM to follow
Instructions types.String `tfsdk:"instructions"`
// Name of the custom LLM
Name types.String `tfsdk:"name"`
// If optimization is kicked off, tracks the state of the custom LLM
OptimizationState types.String `tfsdk:"optimization_state"`
}
func (CustomLlm) ApplySchemaCustomizations ¶
func (m CustomLlm) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CustomLlm) GetComplexFieldTypes ¶
GetComplexFieldTypes returns a map of the types of elements in complex fields in CustomLlm. 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 (*CustomLlm) GetDatasets ¶
GetDatasets returns the value of the Datasets field in CustomLlm as a slice of Dataset values. If the field is unknown or null, the boolean return value is false.
func (*CustomLlm) GetGuidelines ¶
GetGuidelines returns the value of the Guidelines field in CustomLlm as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*CustomLlm) SetDatasets ¶
SetDatasets sets the value of the Datasets field in CustomLlm.
func (*CustomLlm) SetGuidelines ¶
SetGuidelines sets the value of the Guidelines field in CustomLlm.
func (*CustomLlm) SyncFieldsDuringCreateOrUpdate ¶
func (*CustomLlm) SyncFieldsDuringRead ¶
func (CustomLlm) ToObjectValue ¶
func (m CustomLlm) 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, CustomLlm only implements ToObjectValue() and Type().
type CustomLlm_SdkV2 ¶
type CustomLlm_SdkV2 struct {
AgentArtifactPath types.String `tfsdk:"agent_artifact_path"`
// Creation timestamp of the custom LLM
CreationTime types.String `tfsdk:"creation_time"`
// Creator of the custom LLM
Creator types.String `tfsdk:"creator"`
// Datasets used for training and evaluating the model, not for inference
Datasets types.List `tfsdk:"datasets"`
// Name of the endpoint that will be used to serve the custom LLM
EndpointName types.String `tfsdk:"endpoint_name"`
// Guidelines for the custom LLM to adhere to
Guidelines types.List `tfsdk:"guidelines"`
Id types.String `tfsdk:"id"`
// Instructions for the custom LLM to follow
Instructions types.String `tfsdk:"instructions"`
// Name of the custom LLM
Name types.String `tfsdk:"name"`
// If optimization is kicked off, tracks the state of the custom LLM
OptimizationState types.String `tfsdk:"optimization_state"`
}
func (CustomLlm_SdkV2) ApplySchemaCustomizations ¶
func (m CustomLlm_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (CustomLlm_SdkV2) GetComplexFieldTypes ¶
GetComplexFieldTypes returns a map of the types of elements in complex fields in CustomLlm. 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 (*CustomLlm_SdkV2) GetDatasets ¶
func (m *CustomLlm_SdkV2) GetDatasets(ctx context.Context) ([]Dataset_SdkV2, bool)
GetDatasets returns the value of the Datasets field in CustomLlm_SdkV2 as a slice of Dataset_SdkV2 values. If the field is unknown or null, the boolean return value is false.
func (*CustomLlm_SdkV2) GetGuidelines ¶
GetGuidelines returns the value of the Guidelines field in CustomLlm_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*CustomLlm_SdkV2) SetDatasets ¶
func (m *CustomLlm_SdkV2) SetDatasets(ctx context.Context, v []Dataset_SdkV2)
SetDatasets sets the value of the Datasets field in CustomLlm_SdkV2.
func (*CustomLlm_SdkV2) SetGuidelines ¶
func (m *CustomLlm_SdkV2) SetGuidelines(ctx context.Context, v []types.String)
SetGuidelines sets the value of the Guidelines field in CustomLlm_SdkV2.
func (*CustomLlm_SdkV2) SyncFieldsDuringCreateOrUpdate ¶
func (to *CustomLlm_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CustomLlm_SdkV2)
func (*CustomLlm_SdkV2) SyncFieldsDuringRead ¶
func (to *CustomLlm_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CustomLlm_SdkV2)
func (CustomLlm_SdkV2) ToObjectValue ¶
func (m CustomLlm_SdkV2) 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, CustomLlm_SdkV2 only implements ToObjectValue() and Type().
type Dataset ¶
func (Dataset) ApplySchemaCustomizations ¶
func (m Dataset) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Dataset) GetComplexFieldTypes ¶
GetComplexFieldTypes returns a map of the types of elements in complex fields in Dataset. 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 (*Dataset) GetTable ¶
GetTable returns the value of the Table field in Dataset as a Table value. If the field is unknown or null, the boolean return value is false.
func (*Dataset) SyncFieldsDuringCreateOrUpdate ¶
func (*Dataset) SyncFieldsDuringRead ¶
func (Dataset) ToObjectValue ¶
func (m Dataset) 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, Dataset only implements ToObjectValue() and Type().
type Dataset_SdkV2 ¶
func (Dataset_SdkV2) ApplySchemaCustomizations ¶
func (m Dataset_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Dataset_SdkV2) GetComplexFieldTypes ¶
GetComplexFieldTypes returns a map of the types of elements in complex fields in Dataset. 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 (*Dataset_SdkV2) GetTable ¶
func (m *Dataset_SdkV2) GetTable(ctx context.Context) (Table_SdkV2, bool)
GetTable returns the value of the Table field in Dataset_SdkV2 as a Table_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*Dataset_SdkV2) SetTable ¶
func (m *Dataset_SdkV2) SetTable(ctx context.Context, v Table_SdkV2)
SetTable sets the value of the Table field in Dataset_SdkV2.
func (*Dataset_SdkV2) SyncFieldsDuringCreateOrUpdate ¶
func (to *Dataset_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Dataset_SdkV2)
func (*Dataset_SdkV2) SyncFieldsDuringRead ¶
func (to *Dataset_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Dataset_SdkV2)
func (Dataset_SdkV2) ToObjectValue ¶
func (m Dataset_SdkV2) 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, Dataset_SdkV2 only implements ToObjectValue() and Type().
type DeleteCustomLlmRequest ¶
func (DeleteCustomLlmRequest) ApplySchemaCustomizations ¶ added in v1.91.0
func (m DeleteCustomLlmRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeleteCustomLlmRequest) GetComplexFieldTypes ¶
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCustomLlmRequest. 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 (*DeleteCustomLlmRequest) SyncFieldsDuringCreateOrUpdate ¶ added in v1.91.0
func (to *DeleteCustomLlmRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteCustomLlmRequest)
func (*DeleteCustomLlmRequest) SyncFieldsDuringRead ¶ added in v1.91.0
func (to *DeleteCustomLlmRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteCustomLlmRequest)
func (DeleteCustomLlmRequest) ToObjectValue ¶
func (m DeleteCustomLlmRequest) 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, DeleteCustomLlmRequest only implements ToObjectValue() and Type().
type DeleteCustomLlmRequest_SdkV2 ¶
type DeleteCustomLlmRequest_SdkV2 struct {
// The id of the custom llm
Id types.String `tfsdk:"-"`
}
func (DeleteCustomLlmRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.91.0
func (m DeleteCustomLlmRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DeleteCustomLlmRequest_SdkV2) GetComplexFieldTypes ¶
func (m DeleteCustomLlmRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCustomLlmRequest. 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 (*DeleteCustomLlmRequest_SdkV2) SyncFieldsDuringCreateOrUpdate ¶ added in v1.91.0
func (to *DeleteCustomLlmRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteCustomLlmRequest_SdkV2)
func (*DeleteCustomLlmRequest_SdkV2) SyncFieldsDuringRead ¶ added in v1.91.0
func (to *DeleteCustomLlmRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteCustomLlmRequest_SdkV2)
func (DeleteCustomLlmRequest_SdkV2) ToObjectValue ¶
func (m DeleteCustomLlmRequest_SdkV2) 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, DeleteCustomLlmRequest_SdkV2 only implements ToObjectValue() and Type().
type GetCustomLlmRequest ¶
func (GetCustomLlmRequest) ApplySchemaCustomizations ¶ added in v1.91.0
func (m GetCustomLlmRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetCustomLlmRequest) GetComplexFieldTypes ¶
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCustomLlmRequest. 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 (*GetCustomLlmRequest) SyncFieldsDuringCreateOrUpdate ¶ added in v1.91.0
func (to *GetCustomLlmRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetCustomLlmRequest)
func (*GetCustomLlmRequest) SyncFieldsDuringRead ¶ added in v1.91.0
func (to *GetCustomLlmRequest) SyncFieldsDuringRead(ctx context.Context, from GetCustomLlmRequest)
func (GetCustomLlmRequest) ToObjectValue ¶
func (m GetCustomLlmRequest) 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, GetCustomLlmRequest only implements ToObjectValue() and Type().
type GetCustomLlmRequest_SdkV2 ¶
func (GetCustomLlmRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.91.0
func (m GetCustomLlmRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (GetCustomLlmRequest_SdkV2) GetComplexFieldTypes ¶
func (m GetCustomLlmRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCustomLlmRequest. 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 (*GetCustomLlmRequest_SdkV2) SyncFieldsDuringCreateOrUpdate ¶ added in v1.91.0
func (to *GetCustomLlmRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetCustomLlmRequest_SdkV2)
func (*GetCustomLlmRequest_SdkV2) SyncFieldsDuringRead ¶ added in v1.91.0
func (to *GetCustomLlmRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetCustomLlmRequest_SdkV2)
func (GetCustomLlmRequest_SdkV2) ToObjectValue ¶
func (m GetCustomLlmRequest_SdkV2) 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, GetCustomLlmRequest_SdkV2 only implements ToObjectValue() and Type().
type StartCustomLlmOptimizationRunRequest ¶
type StartCustomLlmOptimizationRunRequest struct {
// The Id of the tile.
Id types.String `tfsdk:"-"`
}
func (StartCustomLlmOptimizationRunRequest) ApplySchemaCustomizations ¶ added in v1.91.0
func (m StartCustomLlmOptimizationRunRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (StartCustomLlmOptimizationRunRequest) GetComplexFieldTypes ¶
func (m StartCustomLlmOptimizationRunRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in StartCustomLlmOptimizationRunRequest. 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 (*StartCustomLlmOptimizationRunRequest) SyncFieldsDuringCreateOrUpdate ¶ added in v1.91.0
func (to *StartCustomLlmOptimizationRunRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartCustomLlmOptimizationRunRequest)
func (*StartCustomLlmOptimizationRunRequest) SyncFieldsDuringRead ¶ added in v1.91.0
func (to *StartCustomLlmOptimizationRunRequest) SyncFieldsDuringRead(ctx context.Context, from StartCustomLlmOptimizationRunRequest)
func (StartCustomLlmOptimizationRunRequest) ToObjectValue ¶
func (m StartCustomLlmOptimizationRunRequest) 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, StartCustomLlmOptimizationRunRequest only implements ToObjectValue() and Type().
type StartCustomLlmOptimizationRunRequest_SdkV2 ¶
type StartCustomLlmOptimizationRunRequest_SdkV2 struct {
// The Id of the tile.
Id types.String `tfsdk:"-"`
}
func (StartCustomLlmOptimizationRunRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.91.0
func (m StartCustomLlmOptimizationRunRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (StartCustomLlmOptimizationRunRequest_SdkV2) GetComplexFieldTypes ¶
func (m StartCustomLlmOptimizationRunRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in StartCustomLlmOptimizationRunRequest. 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 (*StartCustomLlmOptimizationRunRequest_SdkV2) SyncFieldsDuringCreateOrUpdate ¶ added in v1.91.0
func (to *StartCustomLlmOptimizationRunRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartCustomLlmOptimizationRunRequest_SdkV2)
func (*StartCustomLlmOptimizationRunRequest_SdkV2) SyncFieldsDuringRead ¶ added in v1.91.0
func (to *StartCustomLlmOptimizationRunRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from StartCustomLlmOptimizationRunRequest_SdkV2)
func (StartCustomLlmOptimizationRunRequest_SdkV2) ToObjectValue ¶
func (m StartCustomLlmOptimizationRunRequest_SdkV2) 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, StartCustomLlmOptimizationRunRequest_SdkV2 only implements ToObjectValue() and Type().
type Table ¶
type Table struct {
// Name of the request column
RequestCol types.String `tfsdk:"request_col"`
// Optional: Name of the response column if the data is labeled
ResponseCol types.String `tfsdk:"response_col"`
// Full UC table path in catalog.schema.table_name format
TablePath types.String `tfsdk:"table_path"`
}
func (Table) ApplySchemaCustomizations ¶
func (m Table) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Table) GetComplexFieldTypes ¶
GetComplexFieldTypes returns a map of the types of elements in complex fields in Table. 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 (*Table) SyncFieldsDuringCreateOrUpdate ¶
func (*Table) SyncFieldsDuringRead ¶
func (Table) ToObjectValue ¶
func (m Table) 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, Table only implements ToObjectValue() and Type().
type Table_SdkV2 ¶
type Table_SdkV2 struct {
// Name of the request column
RequestCol types.String `tfsdk:"request_col"`
// Optional: Name of the response column if the data is labeled
ResponseCol types.String `tfsdk:"response_col"`
// Full UC table path in catalog.schema.table_name format
TablePath types.String `tfsdk:"table_path"`
}
func (Table_SdkV2) ApplySchemaCustomizations ¶
func (m Table_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (Table_SdkV2) GetComplexFieldTypes ¶
GetComplexFieldTypes returns a map of the types of elements in complex fields in Table. 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 (*Table_SdkV2) SyncFieldsDuringCreateOrUpdate ¶
func (to *Table_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Table_SdkV2)
func (*Table_SdkV2) SyncFieldsDuringRead ¶
func (to *Table_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Table_SdkV2)
func (Table_SdkV2) ToObjectValue ¶
func (m Table_SdkV2) 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, Table_SdkV2 only implements ToObjectValue() and Type().
type UpdateCustomLlmRequest ¶
type UpdateCustomLlmRequest struct {
// The CustomLlm containing the fields which should be updated.
CustomLlm types.Object `tfsdk:"custom_llm"`
// The id of the custom llm
Id types.String `tfsdk:"-"`
// The list of the CustomLlm fields to update. These should correspond to
// the values (or lack thereof) present in `custom_llm`.
//
// The field mask must be a single string, with multiple fields separated by
// commas (no spaces). The field path is relative to the resource object,
// using a dot (`.`) to navigate sub-fields (e.g., `author.given_name`).
// Specification of elements in sequence or map fields is not allowed, as
// only the entire collection field can be specified. Field names must
// exactly match the resource field names.
//
// A field mask of `*` indicates full replacement. It’s recommended to
// always explicitly list the fields being updated and avoid using `*`
// wildcards, as it can lead to unintended results if the API changes in the
// future.
UpdateMask types.String `tfsdk:"update_mask"`
}
func (UpdateCustomLlmRequest) ApplySchemaCustomizations ¶ added in v1.91.0
func (m UpdateCustomLlmRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (UpdateCustomLlmRequest) GetComplexFieldTypes ¶
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCustomLlmRequest. 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 (*UpdateCustomLlmRequest) GetCustomLlm ¶
func (m *UpdateCustomLlmRequest) GetCustomLlm(ctx context.Context) (CustomLlm, bool)
GetCustomLlm returns the value of the CustomLlm field in UpdateCustomLlmRequest as a CustomLlm value. If the field is unknown or null, the boolean return value is false.
func (*UpdateCustomLlmRequest) SetCustomLlm ¶
func (m *UpdateCustomLlmRequest) SetCustomLlm(ctx context.Context, v CustomLlm)
SetCustomLlm sets the value of the CustomLlm field in UpdateCustomLlmRequest.
func (*UpdateCustomLlmRequest) SyncFieldsDuringCreateOrUpdate ¶ added in v1.91.0
func (to *UpdateCustomLlmRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateCustomLlmRequest)
func (*UpdateCustomLlmRequest) SyncFieldsDuringRead ¶ added in v1.91.0
func (to *UpdateCustomLlmRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateCustomLlmRequest)
func (UpdateCustomLlmRequest) ToObjectValue ¶
func (m UpdateCustomLlmRequest) 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, UpdateCustomLlmRequest only implements ToObjectValue() and Type().
type UpdateCustomLlmRequest_SdkV2 ¶
type UpdateCustomLlmRequest_SdkV2 struct {
// The CustomLlm containing the fields which should be updated.
CustomLlm types.List `tfsdk:"custom_llm"`
// The id of the custom llm
Id types.String `tfsdk:"-"`
// The list of the CustomLlm fields to update. These should correspond to
// the values (or lack thereof) present in `custom_llm`.
//
// The field mask must be a single string, with multiple fields separated by
// commas (no spaces). The field path is relative to the resource object,
// using a dot (`.`) to navigate sub-fields (e.g., `author.given_name`).
// Specification of elements in sequence or map fields is not allowed, as
// only the entire collection field can be specified. Field names must
// exactly match the resource field names.
//
// A field mask of `*` indicates full replacement. It’s recommended to
// always explicitly list the fields being updated and avoid using `*`
// wildcards, as it can lead to unintended results if the API changes in the
// future.
UpdateMask types.String `tfsdk:"update_mask"`
}
func (UpdateCustomLlmRequest_SdkV2) ApplySchemaCustomizations ¶ added in v1.91.0
func (m UpdateCustomLlmRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (UpdateCustomLlmRequest_SdkV2) GetComplexFieldTypes ¶
func (m UpdateCustomLlmRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCustomLlmRequest. 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 (*UpdateCustomLlmRequest_SdkV2) GetCustomLlm ¶
func (m *UpdateCustomLlmRequest_SdkV2) GetCustomLlm(ctx context.Context) (CustomLlm_SdkV2, bool)
GetCustomLlm returns the value of the CustomLlm field in UpdateCustomLlmRequest_SdkV2 as a CustomLlm_SdkV2 value. If the field is unknown or null, the boolean return value is false.
func (*UpdateCustomLlmRequest_SdkV2) SetCustomLlm ¶
func (m *UpdateCustomLlmRequest_SdkV2) SetCustomLlm(ctx context.Context, v CustomLlm_SdkV2)
SetCustomLlm sets the value of the CustomLlm field in UpdateCustomLlmRequest_SdkV2.
func (*UpdateCustomLlmRequest_SdkV2) SyncFieldsDuringCreateOrUpdate ¶ added in v1.91.0
func (to *UpdateCustomLlmRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateCustomLlmRequest_SdkV2)
func (*UpdateCustomLlmRequest_SdkV2) SyncFieldsDuringRead ¶ added in v1.91.0
func (to *UpdateCustomLlmRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateCustomLlmRequest_SdkV2)
func (UpdateCustomLlmRequest_SdkV2) ToObjectValue ¶
func (m UpdateCustomLlmRequest_SdkV2) 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, UpdateCustomLlmRequest_SdkV2 only implements ToObjectValue() and Type().