postgres_tf

package
v1.143.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcknowledgeAssessmentWarningsRequest

type AcknowledgeAssessmentWarningsRequest struct {
	// Required. The assessment resource name, in the format
	// `migrations/{migration}/assessments/{assessment}`.
	Name types.String `tfsdk:"-"`
}

Request to acknowledge assessment warnings.

func (AcknowledgeAssessmentWarningsRequest) ApplySchemaCustomizations

func (AcknowledgeAssessmentWarningsRequest) GetComplexFieldTypes

func (m AcknowledgeAssessmentWarningsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in AcknowledgeAssessmentWarningsRequest. 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 (*AcknowledgeAssessmentWarningsRequest) SyncFieldsDuringCreateOrUpdate

func (to *AcknowledgeAssessmentWarningsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AcknowledgeAssessmentWarningsRequest)

func (*AcknowledgeAssessmentWarningsRequest) SyncFieldsDuringRead

func (AcknowledgeAssessmentWarningsRequest) ToObjectValue

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, AcknowledgeAssessmentWarningsRequest only implements ToObjectValue() and Type().

func (AcknowledgeAssessmentWarningsRequest) Type

Type implements basetypes.ObjectValuable.

type AcknowledgeAssessmentWarningsRequest_SdkV2

type AcknowledgeAssessmentWarningsRequest_SdkV2 struct {
	// Required. The assessment resource name, in the format
	// `migrations/{migration}/assessments/{assessment}`.
	Name types.String `tfsdk:"-"`
}

Request to acknowledge assessment warnings.

func (AcknowledgeAssessmentWarningsRequest_SdkV2) ApplySchemaCustomizations

func (AcknowledgeAssessmentWarningsRequest_SdkV2) GetComplexFieldTypes

GetComplexFieldTypes returns a map of the types of elements in complex fields in AcknowledgeAssessmentWarningsRequest. 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 (*AcknowledgeAssessmentWarningsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (*AcknowledgeAssessmentWarningsRequest_SdkV2) SyncFieldsDuringRead

func (AcknowledgeAssessmentWarningsRequest_SdkV2) ToObjectValue

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, AcknowledgeAssessmentWarningsRequest_SdkV2 only implements ToObjectValue() and Type().

func (AcknowledgeAssessmentWarningsRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type AcknowledgeAssessmentWarningsResponse

type AcknowledgeAssessmentWarningsResponse struct {
	// The assessment after its warnings are acknowledged.
	Assessment types.Object `tfsdk:"assessment"`
}

Response produced after assessment warnings are acknowledged.

func (AcknowledgeAssessmentWarningsResponse) ApplySchemaCustomizations

func (*AcknowledgeAssessmentWarningsResponse) GetAssessment

GetAssessment returns the value of the Assessment field in AcknowledgeAssessmentWarningsResponse as a Assessment value. If the field is unknown or null, the boolean return value is false.

func (AcknowledgeAssessmentWarningsResponse) GetComplexFieldTypes

func (m AcknowledgeAssessmentWarningsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in AcknowledgeAssessmentWarningsResponse. 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 (*AcknowledgeAssessmentWarningsResponse) SetAssessment

SetAssessment sets the value of the Assessment field in AcknowledgeAssessmentWarningsResponse.

func (*AcknowledgeAssessmentWarningsResponse) SyncFieldsDuringCreateOrUpdate

func (*AcknowledgeAssessmentWarningsResponse) SyncFieldsDuringRead

func (AcknowledgeAssessmentWarningsResponse) ToObjectValue

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, AcknowledgeAssessmentWarningsResponse only implements ToObjectValue() and Type().

func (AcknowledgeAssessmentWarningsResponse) Type

Type implements basetypes.ObjectValuable.

type AcknowledgeAssessmentWarningsResponse_SdkV2

type AcknowledgeAssessmentWarningsResponse_SdkV2 struct {
	// The assessment after its warnings are acknowledged.
	Assessment types.List `tfsdk:"assessment"`
}

Response produced after assessment warnings are acknowledged.

func (AcknowledgeAssessmentWarningsResponse_SdkV2) ApplySchemaCustomizations

func (*AcknowledgeAssessmentWarningsResponse_SdkV2) GetAssessment

GetAssessment returns the value of the Assessment field in AcknowledgeAssessmentWarningsResponse_SdkV2 as a Assessment_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (AcknowledgeAssessmentWarningsResponse_SdkV2) GetComplexFieldTypes

GetComplexFieldTypes returns a map of the types of elements in complex fields in AcknowledgeAssessmentWarningsResponse. 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 (*AcknowledgeAssessmentWarningsResponse_SdkV2) SetAssessment

SetAssessment sets the value of the Assessment field in AcknowledgeAssessmentWarningsResponse_SdkV2.

func (*AcknowledgeAssessmentWarningsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate

func (*AcknowledgeAssessmentWarningsResponse_SdkV2) SyncFieldsDuringRead

func (AcknowledgeAssessmentWarningsResponse_SdkV2) ToObjectValue

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, AcknowledgeAssessmentWarningsResponse_SdkV2 only implements ToObjectValue() and Type().

func (AcknowledgeAssessmentWarningsResponse_SdkV2) Type

Type implements basetypes.ObjectValuable.

type AssessMigrationRequest

type AssessMigrationRequest struct {
	// Required. The migration resource name, in the format
	// `migrations/{migration}`.
	Name types.String `tfsdk:"-"`
}

Request to assess a migration.

func (AssessMigrationRequest) ApplySchemaCustomizations

func (m AssessMigrationRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AssessMigrationRequest) GetComplexFieldTypes

func (m AssessMigrationRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in AssessMigrationRequest. 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 (*AssessMigrationRequest) SyncFieldsDuringCreateOrUpdate

func (to *AssessMigrationRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AssessMigrationRequest)

func (*AssessMigrationRequest) SyncFieldsDuringRead

func (to *AssessMigrationRequest) SyncFieldsDuringRead(ctx context.Context, from AssessMigrationRequest)

func (AssessMigrationRequest) ToObjectValue

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, AssessMigrationRequest only implements ToObjectValue() and Type().

func (AssessMigrationRequest) Type

Type implements basetypes.ObjectValuable.

type AssessMigrationRequest_SdkV2

type AssessMigrationRequest_SdkV2 struct {
	// Required. The migration resource name, in the format
	// `migrations/{migration}`.
	Name types.String `tfsdk:"-"`
}

Request to assess a migration.

func (AssessMigrationRequest_SdkV2) ApplySchemaCustomizations

func (AssessMigrationRequest_SdkV2) GetComplexFieldTypes

func (m AssessMigrationRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in AssessMigrationRequest. 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 (*AssessMigrationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *AssessMigrationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AssessMigrationRequest_SdkV2)

func (*AssessMigrationRequest_SdkV2) SyncFieldsDuringRead

func (to *AssessMigrationRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from AssessMigrationRequest_SdkV2)

func (AssessMigrationRequest_SdkV2) ToObjectValue

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, AssessMigrationRequest_SdkV2 only implements ToObjectValue() and Type().

func (AssessMigrationRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type AssessMigrationResponse

type AssessMigrationResponse struct {
	// The assessment run created for the migration.
	Assessment types.Object `tfsdk:"assessment"`
}

Response produced after an assessment run is created.

func (AssessMigrationResponse) ApplySchemaCustomizations

func (m AssessMigrationResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*AssessMigrationResponse) GetAssessment

func (m *AssessMigrationResponse) GetAssessment(ctx context.Context) (Assessment, bool)

GetAssessment returns the value of the Assessment field in AssessMigrationResponse as a Assessment value. If the field is unknown or null, the boolean return value is false.

func (AssessMigrationResponse) GetComplexFieldTypes

func (m AssessMigrationResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in AssessMigrationResponse. 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 (*AssessMigrationResponse) SetAssessment

func (m *AssessMigrationResponse) SetAssessment(ctx context.Context, v Assessment)

SetAssessment sets the value of the Assessment field in AssessMigrationResponse.

func (*AssessMigrationResponse) SyncFieldsDuringCreateOrUpdate

func (to *AssessMigrationResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AssessMigrationResponse)

func (*AssessMigrationResponse) SyncFieldsDuringRead

func (to *AssessMigrationResponse) SyncFieldsDuringRead(ctx context.Context, from AssessMigrationResponse)

func (AssessMigrationResponse) ToObjectValue

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, AssessMigrationResponse only implements ToObjectValue() and Type().

func (AssessMigrationResponse) Type

Type implements basetypes.ObjectValuable.

type AssessMigrationResponse_SdkV2

type AssessMigrationResponse_SdkV2 struct {
	// The assessment run created for the migration.
	Assessment types.List `tfsdk:"assessment"`
}

Response produced after an assessment run is created.

func (AssessMigrationResponse_SdkV2) ApplySchemaCustomizations

func (*AssessMigrationResponse_SdkV2) GetAssessment

GetAssessment returns the value of the Assessment field in AssessMigrationResponse_SdkV2 as a Assessment_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (AssessMigrationResponse_SdkV2) GetComplexFieldTypes

func (m AssessMigrationResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in AssessMigrationResponse. 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 (*AssessMigrationResponse_SdkV2) SetAssessment

SetAssessment sets the value of the Assessment field in AssessMigrationResponse_SdkV2.

func (*AssessMigrationResponse_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *AssessMigrationResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AssessMigrationResponse_SdkV2)

func (*AssessMigrationResponse_SdkV2) SyncFieldsDuringRead

func (to *AssessMigrationResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from AssessMigrationResponse_SdkV2)

func (AssessMigrationResponse_SdkV2) ToObjectValue

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, AssessMigrationResponse_SdkV2 only implements ToObjectValue() and Type().

func (AssessMigrationResponse_SdkV2) Type

Type implements basetypes.ObjectValuable.

type Assessment

type Assessment struct {
	// Output-only. Results of the checks performed by this assessment.
	Checks types.List `tfsdk:"checks"`
	// Output-only. The time when the assessment completed.
	CompleteTime timetypes.RFC3339 `tfsdk:"complete_time"`
	// Output-only. The time when the assessment started.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Output-only. The time when the assessment expires.
	ExpireTime timetypes.RFC3339 `tfsdk:"expire_time"`
	// The assessment resource name, in the format
	// `migrations/{migration}/assessments/{assessment}`.
	Name types.String `tfsdk:"name"`
	// Output-only. The aggregate assessment state.
	State types.String `tfsdk:"state"`
}

A server-managed assessment of a migration's source configuration. Completed check results are immutable.

func (Assessment) ApplySchemaCustomizations

func (m Assessment) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*Assessment) GetChecks

func (m *Assessment) GetChecks(ctx context.Context) ([]AssessmentCheck, bool)

GetChecks returns the value of the Checks field in Assessment as a slice of AssessmentCheck values. If the field is unknown or null, the boolean return value is false.

func (Assessment) GetComplexFieldTypes

func (m Assessment) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Assessment. 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 (*Assessment) SetChecks

func (m *Assessment) SetChecks(ctx context.Context, v []AssessmentCheck)

SetChecks sets the value of the Checks field in Assessment.

func (*Assessment) SyncFieldsDuringCreateOrUpdate

func (to *Assessment) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Assessment)

func (*Assessment) SyncFieldsDuringRead

func (to *Assessment) SyncFieldsDuringRead(ctx context.Context, from Assessment)

func (Assessment) ToObjectValue

func (m Assessment) 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, Assessment only implements ToObjectValue() and Type().

func (Assessment) Type

func (m Assessment) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type AssessmentCheck

type AssessmentCheck struct {
	// Output-only. Whether this result blocks migration from starting.
	BlocksMigration types.Bool `tfsdk:"blocks_migration"`
	// Output-only. Stable identifier of the check.
	CheckId types.String `tfsdk:"check_id"`
	// Output-only. The source database the check evaluated. Unset for checks
	// that assess the whole source server rather than a single database.
	Database types.String `tfsdk:"database"`
	// Output-only. Measurements observed by this check. Absent when
	// unavailable.
	Details types.Object `tfsdk:"details"`
	// Output-only. Explanation of the result.
	Reason types.String `tfsdk:"reason"`
	// Output-only. The check verdict.
	Verdict types.String `tfsdk:"verdict"`
}

The result of one assessment check.

func (AssessmentCheck) ApplySchemaCustomizations

func (m AssessmentCheck) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AssessmentCheck) GetComplexFieldTypes

func (m AssessmentCheck) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in AssessmentCheck. 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 (*AssessmentCheck) GetDetails

GetDetails returns the value of the Details field in AssessmentCheck as a AssessmentCheckDetails value. If the field is unknown or null, the boolean return value is false.

func (*AssessmentCheck) SetDetails

func (m *AssessmentCheck) SetDetails(ctx context.Context, v AssessmentCheckDetails)

SetDetails sets the value of the Details field in AssessmentCheck.

func (*AssessmentCheck) SyncFieldsDuringCreateOrUpdate

func (to *AssessmentCheck) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AssessmentCheck)

func (*AssessmentCheck) SyncFieldsDuringRead

func (to *AssessmentCheck) SyncFieldsDuringRead(ctx context.Context, from AssessmentCheck)

func (AssessmentCheck) ToObjectValue

func (m AssessmentCheck) 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, AssessmentCheck only implements ToObjectValue() and Type().

func (AssessmentCheck) Type

func (m AssessmentCheck) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type AssessmentCheckDetails

type AssessmentCheckDetails struct {
	// Output-only. Physical size of the source database observed by this check.
	DatabaseSize types.Object `tfsdk:"database_size"`
	// Output-only. Age of the oldest source transaction observed by this check.
	LongTransaction types.Object `tfsdk:"long_transaction"`
}

Measurements observed when an assessment check ran. Unset for older assessments.

func (AssessmentCheckDetails) ApplySchemaCustomizations

func (m AssessmentCheckDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AssessmentCheckDetails) GetComplexFieldTypes

func (m AssessmentCheckDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in AssessmentCheckDetails. 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 (*AssessmentCheckDetails) GetDatabaseSize

func (m *AssessmentCheckDetails) GetDatabaseSize(ctx context.Context) (DatabaseSizeDetails, bool)

GetDatabaseSize returns the value of the DatabaseSize field in AssessmentCheckDetails as a DatabaseSizeDetails value. If the field is unknown or null, the boolean return value is false.

func (*AssessmentCheckDetails) GetLongTransaction

func (m *AssessmentCheckDetails) GetLongTransaction(ctx context.Context) (LongTransactionDetails, bool)

GetLongTransaction returns the value of the LongTransaction field in AssessmentCheckDetails as a LongTransactionDetails value. If the field is unknown or null, the boolean return value is false.

func (*AssessmentCheckDetails) SetDatabaseSize

func (m *AssessmentCheckDetails) SetDatabaseSize(ctx context.Context, v DatabaseSizeDetails)

SetDatabaseSize sets the value of the DatabaseSize field in AssessmentCheckDetails.

func (*AssessmentCheckDetails) SetLongTransaction

func (m *AssessmentCheckDetails) SetLongTransaction(ctx context.Context, v LongTransactionDetails)

SetLongTransaction sets the value of the LongTransaction field in AssessmentCheckDetails.

func (*AssessmentCheckDetails) SyncFieldsDuringCreateOrUpdate

func (to *AssessmentCheckDetails) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AssessmentCheckDetails)

func (*AssessmentCheckDetails) SyncFieldsDuringRead

func (to *AssessmentCheckDetails) SyncFieldsDuringRead(ctx context.Context, from AssessmentCheckDetails)

func (AssessmentCheckDetails) ToObjectValue

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, AssessmentCheckDetails only implements ToObjectValue() and Type().

func (AssessmentCheckDetails) Type

Type implements basetypes.ObjectValuable.

type AssessmentCheckDetails_SdkV2

type AssessmentCheckDetails_SdkV2 struct {
	// Output-only. Physical size of the source database observed by this check.
	DatabaseSize types.List `tfsdk:"database_size"`
	// Output-only. Age of the oldest source transaction observed by this check.
	LongTransaction types.List `tfsdk:"long_transaction"`
}

Measurements observed when an assessment check ran. Unset for older assessments.

func (AssessmentCheckDetails_SdkV2) ApplySchemaCustomizations

func (AssessmentCheckDetails_SdkV2) GetComplexFieldTypes

func (m AssessmentCheckDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in AssessmentCheckDetails. 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 (*AssessmentCheckDetails_SdkV2) GetDatabaseSize

GetDatabaseSize returns the value of the DatabaseSize field in AssessmentCheckDetails_SdkV2 as a DatabaseSizeDetails_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AssessmentCheckDetails_SdkV2) GetLongTransaction

GetLongTransaction returns the value of the LongTransaction field in AssessmentCheckDetails_SdkV2 as a LongTransactionDetails_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AssessmentCheckDetails_SdkV2) SetDatabaseSize

SetDatabaseSize sets the value of the DatabaseSize field in AssessmentCheckDetails_SdkV2.

func (*AssessmentCheckDetails_SdkV2) SetLongTransaction

SetLongTransaction sets the value of the LongTransaction field in AssessmentCheckDetails_SdkV2.

func (*AssessmentCheckDetails_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *AssessmentCheckDetails_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AssessmentCheckDetails_SdkV2)

func (*AssessmentCheckDetails_SdkV2) SyncFieldsDuringRead

func (to *AssessmentCheckDetails_SdkV2) SyncFieldsDuringRead(ctx context.Context, from AssessmentCheckDetails_SdkV2)

func (AssessmentCheckDetails_SdkV2) ToObjectValue

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, AssessmentCheckDetails_SdkV2 only implements ToObjectValue() and Type().

func (AssessmentCheckDetails_SdkV2) Type

Type implements basetypes.ObjectValuable.

type AssessmentCheck_SdkV2

type AssessmentCheck_SdkV2 struct {
	// Output-only. Whether this result blocks migration from starting.
	BlocksMigration types.Bool `tfsdk:"blocks_migration"`
	// Output-only. Stable identifier of the check.
	CheckId types.String `tfsdk:"check_id"`
	// Output-only. The source database the check evaluated. Unset for checks
	// that assess the whole source server rather than a single database.
	Database types.String `tfsdk:"database"`
	// Output-only. Measurements observed by this check. Absent when
	// unavailable.
	Details types.List `tfsdk:"details"`
	// Output-only. Explanation of the result.
	Reason types.String `tfsdk:"reason"`
	// Output-only. The check verdict.
	Verdict types.String `tfsdk:"verdict"`
}

The result of one assessment check.

func (AssessmentCheck_SdkV2) ApplySchemaCustomizations

func (m AssessmentCheck_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AssessmentCheck_SdkV2) GetComplexFieldTypes

func (m AssessmentCheck_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in AssessmentCheck. 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 (*AssessmentCheck_SdkV2) GetDetails

GetDetails returns the value of the Details field in AssessmentCheck_SdkV2 as a AssessmentCheckDetails_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AssessmentCheck_SdkV2) SetDetails

SetDetails sets the value of the Details field in AssessmentCheck_SdkV2.

func (*AssessmentCheck_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *AssessmentCheck_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AssessmentCheck_SdkV2)

func (*AssessmentCheck_SdkV2) SyncFieldsDuringRead

func (to *AssessmentCheck_SdkV2) SyncFieldsDuringRead(ctx context.Context, from AssessmentCheck_SdkV2)

func (AssessmentCheck_SdkV2) ToObjectValue

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, AssessmentCheck_SdkV2 only implements ToObjectValue() and Type().

func (AssessmentCheck_SdkV2) Type

Type implements basetypes.ObjectValuable.

type Assessment_SdkV2

type Assessment_SdkV2 struct {
	// Output-only. Results of the checks performed by this assessment.
	Checks types.List `tfsdk:"checks"`
	// Output-only. The time when the assessment completed.
	CompleteTime timetypes.RFC3339 `tfsdk:"complete_time"`
	// Output-only. The time when the assessment started.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Output-only. The time when the assessment expires.
	ExpireTime timetypes.RFC3339 `tfsdk:"expire_time"`
	// The assessment resource name, in the format
	// `migrations/{migration}/assessments/{assessment}`.
	Name types.String `tfsdk:"name"`
	// Output-only. The aggregate assessment state.
	State types.String `tfsdk:"state"`
}

A server-managed assessment of a migration's source configuration. Completed check results are immutable.

func (Assessment_SdkV2) ApplySchemaCustomizations

func (m Assessment_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*Assessment_SdkV2) GetChecks

GetChecks returns the value of the Checks field in Assessment_SdkV2 as a slice of AssessmentCheck_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (Assessment_SdkV2) GetComplexFieldTypes

func (m Assessment_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Assessment. 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 (*Assessment_SdkV2) SetChecks

func (m *Assessment_SdkV2) SetChecks(ctx context.Context, v []AssessmentCheck_SdkV2)

SetChecks sets the value of the Checks field in Assessment_SdkV2.

func (*Assessment_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *Assessment_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Assessment_SdkV2)

func (*Assessment_SdkV2) SyncFieldsDuringRead

func (to *Assessment_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Assessment_SdkV2)

func (Assessment_SdkV2) ToObjectValue

func (m Assessment_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, Assessment_SdkV2 only implements ToObjectValue() and Type().

func (Assessment_SdkV2) Type

Type implements basetypes.ObjectValuable.

type Branch

type Branch struct {
	// The part of the name, chosen by the user when the resource was created.
	BranchId types.String `tfsdk:"branch_id"`
	// A timestamp indicating when the branch was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Output only. The full resource path of the branch. Format:
	// projects/{project_id}/branches/{branch_id}
	Name types.String `tfsdk:"name"`
	// The project containing this branch (API resource hierarchy). Format:
	// projects/{project_id}
	//
	// Note: This field indicates where the branch exists in the resource
	// hierarchy. For point-in-time branching from another branch, see
	// `status.source_branch`.
	Parent types.String `tfsdk:"parent"`
	// The spec contains the branch configuration.
	//
	// Read the resource's current values from `status`, rather than `spec`.
	// `spec` tracks field ownership for infrastructure-as-code tools and may
	// omit unmanaged fields.
	Spec types.Object `tfsdk:"spec"`
	// The current status of a Branch.
	Status types.Object `tfsdk:"status"`
	// System-generated unique ID for the branch.
	Uid types.String `tfsdk:"uid"`
	// A timestamp indicating when the branch was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

func (Branch) ApplySchemaCustomizations

func (m Branch) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Branch) GetComplexFieldTypes

func (m Branch) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Branch. 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 (*Branch) GetSpec

func (m *Branch) GetSpec(ctx context.Context) (BranchSpec, bool)

GetSpec returns the value of the Spec field in Branch as a BranchSpec value. If the field is unknown or null, the boolean return value is false.

func (*Branch) GetStatus

func (m *Branch) GetStatus(ctx context.Context) (BranchStatus, bool)

GetStatus returns the value of the Status field in Branch as a BranchStatus value. If the field is unknown or null, the boolean return value is false.

func (*Branch) SetSpec

func (m *Branch) SetSpec(ctx context.Context, v BranchSpec)

SetSpec sets the value of the Spec field in Branch.

func (*Branch) SetStatus

func (m *Branch) SetStatus(ctx context.Context, v BranchStatus)

SetStatus sets the value of the Status field in Branch.

func (*Branch) SyncFieldsDuringCreateOrUpdate

func (to *Branch) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Branch)

func (*Branch) SyncFieldsDuringRead

func (to *Branch) SyncFieldsDuringRead(ctx context.Context, from Branch)

func (Branch) ToObjectValue

func (m Branch) 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, Branch only implements ToObjectValue() and Type().

func (Branch) Type

func (m Branch) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type BranchOperationMetadata

type BranchOperationMetadata struct {
}

func (BranchOperationMetadata) ApplySchemaCustomizations

func (m BranchOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (BranchOperationMetadata) GetComplexFieldTypes

func (m BranchOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in BranchOperationMetadata. 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 (*BranchOperationMetadata) SyncFieldsDuringCreateOrUpdate

func (to *BranchOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BranchOperationMetadata)

func (*BranchOperationMetadata) SyncFieldsDuringRead

func (to *BranchOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from BranchOperationMetadata)

func (BranchOperationMetadata) ToObjectValue

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, BranchOperationMetadata only implements ToObjectValue() and Type().

func (BranchOperationMetadata) Type

Type implements basetypes.ObjectValuable.

type BranchOperationMetadata_SdkV2

type BranchOperationMetadata_SdkV2 struct {
}

func (BranchOperationMetadata_SdkV2) ApplySchemaCustomizations

func (BranchOperationMetadata_SdkV2) GetComplexFieldTypes

func (m BranchOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in BranchOperationMetadata. 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 (*BranchOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *BranchOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BranchOperationMetadata_SdkV2)

func (*BranchOperationMetadata_SdkV2) SyncFieldsDuringRead

func (to *BranchOperationMetadata_SdkV2) SyncFieldsDuringRead(ctx context.Context, from BranchOperationMetadata_SdkV2)

func (BranchOperationMetadata_SdkV2) ToObjectValue

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, BranchOperationMetadata_SdkV2 only implements ToObjectValue() and Type().

func (BranchOperationMetadata_SdkV2) Type

Type implements basetypes.ObjectValuable.

type BranchSpec

type BranchSpec struct {
	// Absolute expiration timestamp. When set, the branch will expire at this
	// time. Mutually exclusive with `ttl` and `no_expiry`.
	ExpireTime timetypes.RFC3339 `tfsdk:"expire_time"`
	// When set to true, protects the branch from deletion and reset. Associated
	// compute endpoints and the project cannot be deleted while the branch is
	// protected.
	IsProtected types.Bool `tfsdk:"is_protected"`
	// Explicitly disable expiration. When set to true, the branch will not
	// expire. If set to false, the request is invalid; provide either ttl or
	// expire_time instead. Mutually exclusive with `expire_time` and `ttl`.
	NoExpiry types.Bool `tfsdk:"no_expiry"`
	// The name of the source branch from which this branch was created (data
	// lineage for point-in-time recovery). If not specified, defaults to the
	// project's default branch. Format:
	// projects/{project_id}/branches/{branch_id}
	SourceBranch types.String `tfsdk:"source_branch"`
	// The Log Sequence Number (LSN) on the source branch from which this branch
	// was created.
	SourceBranchLsn types.String `tfsdk:"source_branch_lsn"`
	// The point in time on the source branch from which this branch was
	// created.
	SourceBranchTime timetypes.RFC3339 `tfsdk:"source_branch_time"`
	// The snapshot this branch was created from. When set, the branch's data
	// comes from the snapshot rather than a source branch, so source_branch,
	// source_branch_lsn, and source_branch_time must be empty. The snapshot
	// must be AVAILABLE and belong to this branch's project. Format:
	// projects/{project_id}/snapshots/{snapshot_id}
	SourceSnapshot types.String `tfsdk:"source_snapshot"`
	// Relative time-to-live duration. When set, the branch will expire at
	// creation_time + ttl. Mutually exclusive with `expire_time` and
	// `no_expiry`.
	Ttl timetypes.GoDuration `tfsdk:"ttl"`
}

func (BranchSpec) ApplySchemaCustomizations

func (m BranchSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (BranchSpec) GetComplexFieldTypes

func (m BranchSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in BranchSpec. 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 (*BranchSpec) SyncFieldsDuringCreateOrUpdate

func (to *BranchSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BranchSpec)

func (*BranchSpec) SyncFieldsDuringRead

func (to *BranchSpec) SyncFieldsDuringRead(ctx context.Context, from BranchSpec)

func (BranchSpec) ToObjectValue

func (m BranchSpec) 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, BranchSpec only implements ToObjectValue() and Type().

func (BranchSpec) Type

func (m BranchSpec) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type BranchSpec_SdkV2

type BranchSpec_SdkV2 struct {
	// Absolute expiration timestamp. When set, the branch will expire at this
	// time. Mutually exclusive with `ttl` and `no_expiry`.
	ExpireTime timetypes.RFC3339 `tfsdk:"expire_time"`
	// When set to true, protects the branch from deletion and reset. Associated
	// compute endpoints and the project cannot be deleted while the branch is
	// protected.
	IsProtected types.Bool `tfsdk:"is_protected"`
	// Explicitly disable expiration. When set to true, the branch will not
	// expire. If set to false, the request is invalid; provide either ttl or
	// expire_time instead. Mutually exclusive with `expire_time` and `ttl`.
	NoExpiry types.Bool `tfsdk:"no_expiry"`
	// The name of the source branch from which this branch was created (data
	// lineage for point-in-time recovery). If not specified, defaults to the
	// project's default branch. Format:
	// projects/{project_id}/branches/{branch_id}
	SourceBranch types.String `tfsdk:"source_branch"`
	// The Log Sequence Number (LSN) on the source branch from which this branch
	// was created.
	SourceBranchLsn types.String `tfsdk:"source_branch_lsn"`
	// The point in time on the source branch from which this branch was
	// created.
	SourceBranchTime timetypes.RFC3339 `tfsdk:"source_branch_time"`
	// The snapshot this branch was created from. When set, the branch's data
	// comes from the snapshot rather than a source branch, so source_branch,
	// source_branch_lsn, and source_branch_time must be empty. The snapshot
	// must be AVAILABLE and belong to this branch's project. Format:
	// projects/{project_id}/snapshots/{snapshot_id}
	SourceSnapshot types.String `tfsdk:"source_snapshot"`
	// Relative time-to-live duration. When set, the branch will expire at
	// creation_time + ttl. Mutually exclusive with `expire_time` and
	// `no_expiry`.
	Ttl timetypes.GoDuration `tfsdk:"ttl"`
}

func (BranchSpec_SdkV2) ApplySchemaCustomizations

func (m BranchSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (BranchSpec_SdkV2) GetComplexFieldTypes

func (m BranchSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in BranchSpec. 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 (*BranchSpec_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *BranchSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BranchSpec_SdkV2)

func (*BranchSpec_SdkV2) SyncFieldsDuringRead

func (to *BranchSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from BranchSpec_SdkV2)

func (BranchSpec_SdkV2) ToObjectValue

func (m BranchSpec_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, BranchSpec_SdkV2 only implements ToObjectValue() and Type().

func (BranchSpec_SdkV2) Type

Type implements basetypes.ObjectValuable.

type BranchStatus

type BranchStatus struct {
	// Part of the resource name.
	BranchId types.String `tfsdk:"branch_id"`
	// The branch's state, indicating if it is initializing, ready for use, or
	// archived.
	CurrentState types.String `tfsdk:"current_state"`
	// Whether the branch is the project's default branch.
	Default types.Bool `tfsdk:"default"`
	// A timestamp indicating when the branch was deleted. Empty if the branch
	// is not deleted.
	DeleteTime timetypes.RFC3339 `tfsdk:"delete_time"`
	// Absolute expiration time for the branch. Empty if expiration is disabled.
	ExpireTime timetypes.RFC3339 `tfsdk:"expire_time"`
	// Whether the branch is protected.
	IsProtected types.Bool `tfsdk:"is_protected"`
	// The logical size of the branch.
	LogicalSizeBytes types.Int64 `tfsdk:"logical_size_bytes"`
	// The pending state of the branch, if a state transition is in progress.
	PendingState types.String `tfsdk:"pending_state"`
	// A timestamp indicating when the branch is scheduled to be purged. Empty
	// if the branch is not deleted, otherwise set to a timestamp in the future.
	PurgeTime timetypes.RFC3339 `tfsdk:"purge_time"`
	// The name of the source branch from which this branch was created. Format:
	// projects/{project_id}/branches/{branch_id}
	SourceBranch types.String `tfsdk:"source_branch"`
	// The Log Sequence Number (LSN) on the source branch from which this branch
	// was created.
	SourceBranchLsn types.String `tfsdk:"source_branch_lsn"`
	// The point in time on the source branch from which this branch was
	// created.
	SourceBranchTime timetypes.RFC3339 `tfsdk:"source_branch_time"`
	// The snapshot this branch was restored from. Set only for branches created
	// by restoring a snapshot; unset for all other branches. Format:
	// projects/{project_id}/snapshots/{snapshot_id}
	SourceSnapshot types.String `tfsdk:"source_snapshot"`
	// A timestamp indicating when the `current_state` began.
	StateChangeTime timetypes.RFC3339 `tfsdk:"state_change_time"`
}

func (BranchStatus) ApplySchemaCustomizations

func (m BranchStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (BranchStatus) GetComplexFieldTypes

func (m BranchStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in BranchStatus. 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 (*BranchStatus) SyncFieldsDuringCreateOrUpdate

func (to *BranchStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BranchStatus)

func (*BranchStatus) SyncFieldsDuringRead

func (to *BranchStatus) SyncFieldsDuringRead(ctx context.Context, from BranchStatus)

func (BranchStatus) ToObjectValue

func (m BranchStatus) 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, BranchStatus only implements ToObjectValue() and Type().

func (BranchStatus) Type

func (m BranchStatus) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type BranchStatus_SdkV2

type BranchStatus_SdkV2 struct {
	// Part of the resource name.
	BranchId types.String `tfsdk:"branch_id"`
	// The branch's state, indicating if it is initializing, ready for use, or
	// archived.
	CurrentState types.String `tfsdk:"current_state"`
	// Whether the branch is the project's default branch.
	Default types.Bool `tfsdk:"default"`
	// A timestamp indicating when the branch was deleted. Empty if the branch
	// is not deleted.
	DeleteTime timetypes.RFC3339 `tfsdk:"delete_time"`
	// Absolute expiration time for the branch. Empty if expiration is disabled.
	ExpireTime timetypes.RFC3339 `tfsdk:"expire_time"`
	// Whether the branch is protected.
	IsProtected types.Bool `tfsdk:"is_protected"`
	// The logical size of the branch.
	LogicalSizeBytes types.Int64 `tfsdk:"logical_size_bytes"`
	// The pending state of the branch, if a state transition is in progress.
	PendingState types.String `tfsdk:"pending_state"`
	// A timestamp indicating when the branch is scheduled to be purged. Empty
	// if the branch is not deleted, otherwise set to a timestamp in the future.
	PurgeTime timetypes.RFC3339 `tfsdk:"purge_time"`
	// The name of the source branch from which this branch was created. Format:
	// projects/{project_id}/branches/{branch_id}
	SourceBranch types.String `tfsdk:"source_branch"`
	// The Log Sequence Number (LSN) on the source branch from which this branch
	// was created.
	SourceBranchLsn types.String `tfsdk:"source_branch_lsn"`
	// The point in time on the source branch from which this branch was
	// created.
	SourceBranchTime timetypes.RFC3339 `tfsdk:"source_branch_time"`
	// The snapshot this branch was restored from. Set only for branches created
	// by restoring a snapshot; unset for all other branches. Format:
	// projects/{project_id}/snapshots/{snapshot_id}
	SourceSnapshot types.String `tfsdk:"source_snapshot"`
	// A timestamp indicating when the `current_state` began.
	StateChangeTime timetypes.RFC3339 `tfsdk:"state_change_time"`
}

func (BranchStatus_SdkV2) ApplySchemaCustomizations

func (m BranchStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (BranchStatus_SdkV2) GetComplexFieldTypes

func (m BranchStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in BranchStatus. 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 (*BranchStatus_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *BranchStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BranchStatus_SdkV2)

func (*BranchStatus_SdkV2) SyncFieldsDuringRead

func (to *BranchStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from BranchStatus_SdkV2)

func (BranchStatus_SdkV2) ToObjectValue

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, BranchStatus_SdkV2 only implements ToObjectValue() and Type().

func (BranchStatus_SdkV2) Type

Type implements basetypes.ObjectValuable.

type Branch_SdkV2

type Branch_SdkV2 struct {
	// The part of the name, chosen by the user when the resource was created.
	BranchId types.String `tfsdk:"branch_id"`
	// A timestamp indicating when the branch was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Output only. The full resource path of the branch. Format:
	// projects/{project_id}/branches/{branch_id}
	Name types.String `tfsdk:"name"`
	// The project containing this branch (API resource hierarchy). Format:
	// projects/{project_id}
	//
	// Note: This field indicates where the branch exists in the resource
	// hierarchy. For point-in-time branching from another branch, see
	// `status.source_branch`.
	Parent types.String `tfsdk:"parent"`
	// The spec contains the branch configuration.
	//
	// Read the resource's current values from `status`, rather than `spec`.
	// `spec` tracks field ownership for infrastructure-as-code tools and may
	// omit unmanaged fields.
	Spec types.List `tfsdk:"spec"`
	// The current status of a Branch.
	Status types.List `tfsdk:"status"`
	// System-generated unique ID for the branch.
	Uid types.String `tfsdk:"uid"`
	// A timestamp indicating when the branch was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

func (Branch_SdkV2) ApplySchemaCustomizations

func (m Branch_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Branch_SdkV2) GetComplexFieldTypes

func (m Branch_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Branch. 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 (*Branch_SdkV2) GetSpec

func (m *Branch_SdkV2) GetSpec(ctx context.Context) (BranchSpec_SdkV2, bool)

GetSpec returns the value of the Spec field in Branch_SdkV2 as a BranchSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Branch_SdkV2) GetStatus

func (m *Branch_SdkV2) GetStatus(ctx context.Context) (BranchStatus_SdkV2, bool)

GetStatus returns the value of the Status field in Branch_SdkV2 as a BranchStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Branch_SdkV2) SetSpec

func (m *Branch_SdkV2) SetSpec(ctx context.Context, v BranchSpec_SdkV2)

SetSpec sets the value of the Spec field in Branch_SdkV2.

func (*Branch_SdkV2) SetStatus

func (m *Branch_SdkV2) SetStatus(ctx context.Context, v BranchStatus_SdkV2)

SetStatus sets the value of the Status field in Branch_SdkV2.

func (*Branch_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *Branch_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Branch_SdkV2)

func (*Branch_SdkV2) SyncFieldsDuringRead

func (to *Branch_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Branch_SdkV2)

func (Branch_SdkV2) ToObjectValue

func (m Branch_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, Branch_SdkV2 only implements ToObjectValue() and Type().

func (Branch_SdkV2) Type

func (m Branch_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type Catalog added in v1.113.0

type Catalog struct {
	// The ID chosen when the catalog was created, which is also its name in
	// Unity Catalog. It is the last segment of the name field.
	CatalogId types.String `tfsdk:"catalog_id"`
	// A timestamp indicating when the catalog was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Output only. The full resource path of the catalog.
	//
	// Format: "catalogs/{catalog_id}".
	Name types.String `tfsdk:"name"`
	// The desired state of the Catalog. The catalog has no update method, so
	// the spec is fixed when the catalog is created.
	Spec types.Object `tfsdk:"spec"`
	// The observed state of the Catalog.
	Status types.Object `tfsdk:"status"`
	// The immutable UUID that identifies the catalog, assigned when the catalog
	// is created.
	Uid types.String `tfsdk:"uid"`
	// A timestamp indicating when the catalog was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

func (Catalog) ApplySchemaCustomizations added in v1.113.0

func (m Catalog) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Catalog) GetComplexFieldTypes added in v1.113.0

func (m Catalog) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Catalog. 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 (*Catalog) GetSpec added in v1.113.0

func (m *Catalog) GetSpec(ctx context.Context) (CatalogCatalogSpec, bool)

GetSpec returns the value of the Spec field in Catalog as a CatalogCatalogSpec value. If the field is unknown or null, the boolean return value is false.

func (*Catalog) GetStatus added in v1.113.0

func (m *Catalog) GetStatus(ctx context.Context) (CatalogCatalogStatus, bool)

GetStatus returns the value of the Status field in Catalog as a CatalogCatalogStatus value. If the field is unknown or null, the boolean return value is false.

func (*Catalog) SetSpec added in v1.113.0

func (m *Catalog) SetSpec(ctx context.Context, v CatalogCatalogSpec)

SetSpec sets the value of the Spec field in Catalog.

func (*Catalog) SetStatus added in v1.113.0

func (m *Catalog) SetStatus(ctx context.Context, v CatalogCatalogStatus)

SetStatus sets the value of the Status field in Catalog.

func (*Catalog) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *Catalog) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Catalog)

func (*Catalog) SyncFieldsDuringRead added in v1.113.0

func (to *Catalog) SyncFieldsDuringRead(ctx context.Context, from Catalog)

func (Catalog) ToObjectValue added in v1.113.0

func (m Catalog) 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, Catalog only implements ToObjectValue() and Type().

func (Catalog) Type added in v1.113.0

func (m Catalog) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type CatalogCatalogSpec added in v1.113.0

type CatalogCatalogSpec struct {
	// The resource path of the branch that holds the Postgres database. The
	// branch must have a read-write compute endpoint.
	//
	// Format: projects/{project_id}/branches/{branch_id}.
	Branch types.String `tfsdk:"branch"`
	// If set to true, the specified postgres_database is created on behalf of
	// the calling user if it does not already exist. In this case, the calling
	// user has a role created for them in Postgres if they do not already have
	// one.
	//
	// Defaults to false, meaning that the request fails if the specified
	// postgres_database does not already exist.
	CreateDatabaseIfMissing types.Bool `tfsdk:"create_database_if_missing"`
	// The name of the Postgres database inside the specified Lakebase project
	// and branch to be associated with the UC catalog. This database must
	// already exist, unless create_database_if_missing is set to true on
	// creation. The system databases postgres, databricks_system, template0 and
	// template1 cannot be registered.
	//
	// A database can only be registered with one UC catalog at a time. To
	// re-register a database with a different catalog, the existing catalog
	// must be deleted first.
	//
	// A child branch inherits the fact of parent's registration. This means the
	// same-named database in a child branch cannot be registered with a second
	// catalog while the parent's registration exists. To allow registering the
	// database of a child branch, drop and recreate the database on the child
	// branch. This removes the fact of parent's registration from this branch
	// only.
	//
	// Doing Point In Time Restore (PITR) prior to the moment before the
	// Postgres DB was registered in the Catalog drops the fact of registration
	// of the database. So the user should avoid doing so.
	PostgresDatabase types.String `tfsdk:"postgres_database"`
}

The desired state of the Catalog.

func (CatalogCatalogSpec) ApplySchemaCustomizations added in v1.113.0

func (m CatalogCatalogSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CatalogCatalogSpec) GetComplexFieldTypes added in v1.113.0

func (m CatalogCatalogSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CatalogCatalogSpec. 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 (*CatalogCatalogSpec) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *CatalogCatalogSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CatalogCatalogSpec)

func (*CatalogCatalogSpec) SyncFieldsDuringRead added in v1.113.0

func (to *CatalogCatalogSpec) SyncFieldsDuringRead(ctx context.Context, from CatalogCatalogSpec)

func (CatalogCatalogSpec) ToObjectValue added in v1.113.0

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, CatalogCatalogSpec only implements ToObjectValue() and Type().

func (CatalogCatalogSpec) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type CatalogCatalogSpec_SdkV2 added in v1.113.0

type CatalogCatalogSpec_SdkV2 struct {
	// The resource path of the branch that holds the Postgres database. The
	// branch must have a read-write compute endpoint.
	//
	// Format: projects/{project_id}/branches/{branch_id}.
	Branch types.String `tfsdk:"branch"`
	// If set to true, the specified postgres_database is created on behalf of
	// the calling user if it does not already exist. In this case, the calling
	// user has a role created for them in Postgres if they do not already have
	// one.
	//
	// Defaults to false, meaning that the request fails if the specified
	// postgres_database does not already exist.
	CreateDatabaseIfMissing types.Bool `tfsdk:"create_database_if_missing"`
	// The name of the Postgres database inside the specified Lakebase project
	// and branch to be associated with the UC catalog. This database must
	// already exist, unless create_database_if_missing is set to true on
	// creation. The system databases postgres, databricks_system, template0 and
	// template1 cannot be registered.
	//
	// A database can only be registered with one UC catalog at a time. To
	// re-register a database with a different catalog, the existing catalog
	// must be deleted first.
	//
	// A child branch inherits the fact of parent's registration. This means the
	// same-named database in a child branch cannot be registered with a second
	// catalog while the parent's registration exists. To allow registering the
	// database of a child branch, drop and recreate the database on the child
	// branch. This removes the fact of parent's registration from this branch
	// only.
	//
	// Doing Point In Time Restore (PITR) prior to the moment before the
	// Postgres DB was registered in the Catalog drops the fact of registration
	// of the database. So the user should avoid doing so.
	PostgresDatabase types.String `tfsdk:"postgres_database"`
}

The desired state of the Catalog.

func (CatalogCatalogSpec_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (m CatalogCatalogSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CatalogCatalogSpec_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m CatalogCatalogSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CatalogCatalogSpec. 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 (*CatalogCatalogSpec_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *CatalogCatalogSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CatalogCatalogSpec_SdkV2)

func (*CatalogCatalogSpec_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (to *CatalogCatalogSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CatalogCatalogSpec_SdkV2)

func (CatalogCatalogSpec_SdkV2) ToObjectValue added in v1.113.0

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, CatalogCatalogSpec_SdkV2 only implements ToObjectValue() and Type().

func (CatalogCatalogSpec_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type CatalogCatalogStatus added in v1.113.0

type CatalogCatalogStatus struct {
	// The resource path of the branch associated with the catalog.
	//
	// Format: projects/{project_id}/branches/{branch_id}.
	Branch types.String `tfsdk:"branch"`
	// The name of the Postgres database associated with the catalog.
	PostgresDatabase types.String `tfsdk:"postgres_database"`
	// The resource path of the project associated with the catalog.
	//
	// Format: projects/{project_id}.
	Project types.String `tfsdk:"project"`
}

The observed state of the Catalog.

func (CatalogCatalogStatus) ApplySchemaCustomizations added in v1.113.0

func (m CatalogCatalogStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CatalogCatalogStatus) GetComplexFieldTypes added in v1.113.0

func (m CatalogCatalogStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CatalogCatalogStatus. 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 (*CatalogCatalogStatus) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *CatalogCatalogStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CatalogCatalogStatus)

func (*CatalogCatalogStatus) SyncFieldsDuringRead added in v1.113.0

func (to *CatalogCatalogStatus) SyncFieldsDuringRead(ctx context.Context, from CatalogCatalogStatus)

func (CatalogCatalogStatus) ToObjectValue added in v1.113.0

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, CatalogCatalogStatus only implements ToObjectValue() and Type().

func (CatalogCatalogStatus) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type CatalogCatalogStatus_SdkV2 added in v1.113.0

type CatalogCatalogStatus_SdkV2 struct {
	// The resource path of the branch associated with the catalog.
	//
	// Format: projects/{project_id}/branches/{branch_id}.
	Branch types.String `tfsdk:"branch"`
	// The name of the Postgres database associated with the catalog.
	PostgresDatabase types.String `tfsdk:"postgres_database"`
	// The resource path of the project associated with the catalog.
	//
	// Format: projects/{project_id}.
	Project types.String `tfsdk:"project"`
}

The observed state of the Catalog.

func (CatalogCatalogStatus_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (m CatalogCatalogStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CatalogCatalogStatus_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m CatalogCatalogStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CatalogCatalogStatus. 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 (*CatalogCatalogStatus_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *CatalogCatalogStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CatalogCatalogStatus_SdkV2)

func (*CatalogCatalogStatus_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (to *CatalogCatalogStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CatalogCatalogStatus_SdkV2)

func (CatalogCatalogStatus_SdkV2) ToObjectValue added in v1.113.0

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, CatalogCatalogStatus_SdkV2 only implements ToObjectValue() and Type().

func (CatalogCatalogStatus_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type CatalogOperationMetadata added in v1.113.0

type CatalogOperationMetadata struct {
}

func (CatalogOperationMetadata) ApplySchemaCustomizations added in v1.113.0

func (m CatalogOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CatalogOperationMetadata) GetComplexFieldTypes added in v1.113.0

func (m CatalogOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CatalogOperationMetadata. 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 (*CatalogOperationMetadata) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *CatalogOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CatalogOperationMetadata)

func (*CatalogOperationMetadata) SyncFieldsDuringRead added in v1.113.0

func (to *CatalogOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from CatalogOperationMetadata)

func (CatalogOperationMetadata) ToObjectValue added in v1.113.0

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, CatalogOperationMetadata only implements ToObjectValue() and Type().

func (CatalogOperationMetadata) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type CatalogOperationMetadata_SdkV2 added in v1.113.0

type CatalogOperationMetadata_SdkV2 struct {
}

func (CatalogOperationMetadata_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (CatalogOperationMetadata_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m CatalogOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CatalogOperationMetadata. 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 (*CatalogOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *CatalogOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CatalogOperationMetadata_SdkV2)

func (*CatalogOperationMetadata_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (CatalogOperationMetadata_SdkV2) ToObjectValue added in v1.113.0

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, CatalogOperationMetadata_SdkV2 only implements ToObjectValue() and Type().

func (CatalogOperationMetadata_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type Catalog_SdkV2 added in v1.113.0

type Catalog_SdkV2 struct {
	// The ID chosen when the catalog was created, which is also its name in
	// Unity Catalog. It is the last segment of the name field.
	CatalogId types.String `tfsdk:"catalog_id"`
	// A timestamp indicating when the catalog was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Output only. The full resource path of the catalog.
	//
	// Format: "catalogs/{catalog_id}".
	Name types.String `tfsdk:"name"`
	// The desired state of the Catalog. The catalog has no update method, so
	// the spec is fixed when the catalog is created.
	Spec types.List `tfsdk:"spec"`
	// The observed state of the Catalog.
	Status types.List `tfsdk:"status"`
	// The immutable UUID that identifies the catalog, assigned when the catalog
	// is created.
	Uid types.String `tfsdk:"uid"`
	// A timestamp indicating when the catalog was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

func (Catalog_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (m Catalog_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Catalog_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m Catalog_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Catalog. 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 (*Catalog_SdkV2) GetSpec added in v1.113.0

GetSpec returns the value of the Spec field in Catalog_SdkV2 as a CatalogCatalogSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Catalog_SdkV2) GetStatus added in v1.113.0

GetStatus returns the value of the Status field in Catalog_SdkV2 as a CatalogCatalogStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Catalog_SdkV2) SetSpec added in v1.113.0

SetSpec sets the value of the Spec field in Catalog_SdkV2.

func (*Catalog_SdkV2) SetStatus added in v1.113.0

SetStatus sets the value of the Status field in Catalog_SdkV2.

func (*Catalog_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *Catalog_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Catalog_SdkV2)

func (*Catalog_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (to *Catalog_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Catalog_SdkV2)

func (Catalog_SdkV2) ToObjectValue added in v1.113.0

func (m Catalog_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, Catalog_SdkV2 only implements ToObjectValue() and Type().

func (Catalog_SdkV2) Type added in v1.113.0

func (m Catalog_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type CdfConfig added in v1.122.0

type CdfConfig struct {
	// The Unity Catalog catalog that replicated tables are written into. Set at
	// creation; the CdfConfig is immutable.
	Catalog types.String `tfsdk:"catalog"`
	// The user-specified id; equals the final segment of `name`. Defaults to
	// the Postgres schema name for configs without an explicit id.
	CdfConfigId types.String `tfsdk:"cdf_config_id"`
	// When the CdfConfig was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Output only. The full resource name of the CdfConfig. Format:
	// projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
	Name types.String `tfsdk:"name"`
	// The Postgres schema this CdfConfig replicates from. Unique within the
	// parent database. Set at creation; the CdfConfig is immutable.
	PostgresSchema types.String `tfsdk:"postgres_schema"`
	// The Unity Catalog schema that replicated tables are written into. Set at
	// creation; the CdfConfig is immutable.
	Schema types.String `tfsdk:"schema"`
	// The service principal (application id) whose identity authorizes this
	// change data feed's ongoing writes to Unity Catalog. When unset, writes
	// are authorized as the creating identity. Changing it requires a new
	// CdfConfig, which writes to new Delta tables.
	ServicePrincipal types.String `tfsdk:"service_principal"`
}

A Lakebase CDF configuration (CdfConfig): one per Postgres schema per database, replicating that schema's tables into a Unity Catalog schema. Immutable once created.

func (CdfConfig) ApplySchemaCustomizations added in v1.122.0

func (m CdfConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CdfConfig) GetComplexFieldTypes added in v1.122.0

func (m CdfConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CdfConfig. 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 (*CdfConfig) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *CdfConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CdfConfig)

func (*CdfConfig) SyncFieldsDuringRead added in v1.122.0

func (to *CdfConfig) SyncFieldsDuringRead(ctx context.Context, from CdfConfig)

func (CdfConfig) ToObjectValue added in v1.122.0

func (m CdfConfig) 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, CdfConfig only implements ToObjectValue() and Type().

func (CdfConfig) Type added in v1.122.0

func (m CdfConfig) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type CdfConfigOperationMetadata added in v1.122.0

type CdfConfigOperationMetadata struct {
}

Metadata for CdfConfig long-running operations. Intentionally empty today; fields (e.g. progress) may be added as the operation contract grows.

func (CdfConfigOperationMetadata) ApplySchemaCustomizations added in v1.122.0

func (m CdfConfigOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CdfConfigOperationMetadata) GetComplexFieldTypes added in v1.122.0

func (m CdfConfigOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CdfConfigOperationMetadata. 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 (*CdfConfigOperationMetadata) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *CdfConfigOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CdfConfigOperationMetadata)

func (*CdfConfigOperationMetadata) SyncFieldsDuringRead added in v1.122.0

func (to *CdfConfigOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from CdfConfigOperationMetadata)

func (CdfConfigOperationMetadata) ToObjectValue added in v1.122.0

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, CdfConfigOperationMetadata only implements ToObjectValue() and Type().

func (CdfConfigOperationMetadata) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type CdfConfigOperationMetadata_SdkV2 added in v1.122.0

type CdfConfigOperationMetadata_SdkV2 struct {
}

Metadata for CdfConfig long-running operations. Intentionally empty today; fields (e.g. progress) may be added as the operation contract grows.

func (CdfConfigOperationMetadata_SdkV2) ApplySchemaCustomizations added in v1.122.0

func (CdfConfigOperationMetadata_SdkV2) GetComplexFieldTypes added in v1.122.0

func (m CdfConfigOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CdfConfigOperationMetadata. 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 (*CdfConfigOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *CdfConfigOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CdfConfigOperationMetadata_SdkV2)

func (*CdfConfigOperationMetadata_SdkV2) SyncFieldsDuringRead added in v1.122.0

func (CdfConfigOperationMetadata_SdkV2) ToObjectValue added in v1.122.0

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, CdfConfigOperationMetadata_SdkV2 only implements ToObjectValue() and Type().

func (CdfConfigOperationMetadata_SdkV2) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type CdfConfig_SdkV2 added in v1.122.0

type CdfConfig_SdkV2 struct {
	// The Unity Catalog catalog that replicated tables are written into. Set at
	// creation; the CdfConfig is immutable.
	Catalog types.String `tfsdk:"catalog"`
	// The user-specified id; equals the final segment of `name`. Defaults to
	// the Postgres schema name for configs without an explicit id.
	CdfConfigId types.String `tfsdk:"cdf_config_id"`
	// When the CdfConfig was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Output only. The full resource name of the CdfConfig. Format:
	// projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
	Name types.String `tfsdk:"name"`
	// The Postgres schema this CdfConfig replicates from. Unique within the
	// parent database. Set at creation; the CdfConfig is immutable.
	PostgresSchema types.String `tfsdk:"postgres_schema"`
	// The Unity Catalog schema that replicated tables are written into. Set at
	// creation; the CdfConfig is immutable.
	Schema types.String `tfsdk:"schema"`
	// The service principal (application id) whose identity authorizes this
	// change data feed's ongoing writes to Unity Catalog. When unset, writes
	// are authorized as the creating identity. Changing it requires a new
	// CdfConfig, which writes to new Delta tables.
	ServicePrincipal types.String `tfsdk:"service_principal"`
}

A Lakebase CDF configuration (CdfConfig): one per Postgres schema per database, replicating that schema's tables into a Unity Catalog schema. Immutable once created.

func (CdfConfig_SdkV2) ApplySchemaCustomizations added in v1.122.0

func (m CdfConfig_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CdfConfig_SdkV2) GetComplexFieldTypes added in v1.122.0

func (m CdfConfig_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CdfConfig. 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 (*CdfConfig_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *CdfConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CdfConfig_SdkV2)

func (*CdfConfig_SdkV2) SyncFieldsDuringRead added in v1.122.0

func (to *CdfConfig_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CdfConfig_SdkV2)

func (CdfConfig_SdkV2) ToObjectValue added in v1.122.0

func (m CdfConfig_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, CdfConfig_SdkV2 only implements ToObjectValue() and Type().

func (CdfConfig_SdkV2) Type added in v1.122.0

func (m CdfConfig_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type CdfStatus added in v1.122.0

type CdfStatus struct {
	// The high-watermark Log Sequence Number (LSN) committed to Delta Lake.
	CommittedLsn types.String `tfsdk:"committed_lsn"`
	// When replication for this table was first established.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// The last time changes for this table were written to Delta Lake.
	LastSyncTime timetypes.RFC3339 `tfsdk:"last_sync_time"`
	// Output only. The full resource name of the CdfStatus. Format:
	// projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status}
	// The {cdf_status} segment is the Postgres table name.
	Name types.String `tfsdk:"name"`
	// The Postgres table being replicated.
	PostgresTable types.String `tfsdk:"postgres_table"`
	// The current replication state of this table.
	State types.String `tfsdk:"state"`
	// Human-readable detail for the current state (e.g. the skip/error reason).
	// Empty for healthy states.
	StatusDetail types.String `tfsdk:"status_detail"`
	// The Unity Catalog table receiving replicated data.
	UcTable types.String `tfsdk:"uc_table"`
}

The read-only replication status of a single Postgres table replicated under a CdfConfig. One status exists per replicated table. It is created automatically and cannot be modified.

func (CdfStatus) ApplySchemaCustomizations added in v1.122.0

func (m CdfStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CdfStatus) GetComplexFieldTypes added in v1.122.0

func (m CdfStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CdfStatus. 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 (*CdfStatus) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *CdfStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CdfStatus)

func (*CdfStatus) SyncFieldsDuringRead added in v1.122.0

func (to *CdfStatus) SyncFieldsDuringRead(ctx context.Context, from CdfStatus)

func (CdfStatus) ToObjectValue added in v1.122.0

func (m CdfStatus) 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, CdfStatus only implements ToObjectValue() and Type().

func (CdfStatus) Type added in v1.122.0

func (m CdfStatus) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type CdfStatus_SdkV2 added in v1.122.0

type CdfStatus_SdkV2 struct {
	// The high-watermark Log Sequence Number (LSN) committed to Delta Lake.
	CommittedLsn types.String `tfsdk:"committed_lsn"`
	// When replication for this table was first established.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// The last time changes for this table were written to Delta Lake.
	LastSyncTime timetypes.RFC3339 `tfsdk:"last_sync_time"`
	// Output only. The full resource name of the CdfStatus. Format:
	// projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status}
	// The {cdf_status} segment is the Postgres table name.
	Name types.String `tfsdk:"name"`
	// The Postgres table being replicated.
	PostgresTable types.String `tfsdk:"postgres_table"`
	// The current replication state of this table.
	State types.String `tfsdk:"state"`
	// Human-readable detail for the current state (e.g. the skip/error reason).
	// Empty for healthy states.
	StatusDetail types.String `tfsdk:"status_detail"`
	// The Unity Catalog table receiving replicated data.
	UcTable types.String `tfsdk:"uc_table"`
}

The read-only replication status of a single Postgres table replicated under a CdfConfig. One status exists per replicated table. It is created automatically and cannot be modified.

func (CdfStatus_SdkV2) ApplySchemaCustomizations added in v1.122.0

func (m CdfStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CdfStatus_SdkV2) GetComplexFieldTypes added in v1.122.0

func (m CdfStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CdfStatus. 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 (*CdfStatus_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *CdfStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CdfStatus_SdkV2)

func (*CdfStatus_SdkV2) SyncFieldsDuringRead added in v1.122.0

func (to *CdfStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CdfStatus_SdkV2)

func (CdfStatus_SdkV2) ToObjectValue added in v1.122.0

func (m CdfStatus_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, CdfStatus_SdkV2 only implements ToObjectValue() and Type().

func (CdfStatus_SdkV2) Type added in v1.122.0

func (m CdfStatus_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type CreateBranchRequest

type CreateBranchRequest struct {
	// The Branch to create.
	Branch types.Object `tfsdk:"branch"`
	// The ID to use for the Branch. This becomes the final component of the
	// branch's resource name. The ID is required and must be 1-63 characters
	// long, start with a lowercase letter, and contain only lowercase letters,
	// numbers, and hyphens. For example, `development` becomes
	// `projects/my-app/branches/development`.
	BranchId types.String `tfsdk:"-"`
	// The Project where this Branch will be created. Format:
	// projects/{project_id}
	Parent types.String `tfsdk:"-"`
	// If true, update the branch if it already exists instead of returning an
	// error.
	ReplaceExisting types.Bool `tfsdk:"-"`
}

func (CreateBranchRequest) ApplySchemaCustomizations

func (m CreateBranchRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*CreateBranchRequest) GetBranch

func (m *CreateBranchRequest) GetBranch(ctx context.Context) (Branch, bool)

GetBranch returns the value of the Branch field in CreateBranchRequest as a Branch value. If the field is unknown or null, the boolean return value is false.

func (CreateBranchRequest) GetComplexFieldTypes

func (m CreateBranchRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBranchRequest. 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 (*CreateBranchRequest) SetBranch

func (m *CreateBranchRequest) SetBranch(ctx context.Context, v Branch)

SetBranch sets the value of the Branch field in CreateBranchRequest.

func (*CreateBranchRequest) SyncFieldsDuringCreateOrUpdate

func (to *CreateBranchRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateBranchRequest)

func (*CreateBranchRequest) SyncFieldsDuringRead

func (to *CreateBranchRequest) SyncFieldsDuringRead(ctx context.Context, from CreateBranchRequest)

func (CreateBranchRequest) ToObjectValue

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, CreateBranchRequest only implements ToObjectValue() and Type().

func (CreateBranchRequest) Type

Type implements basetypes.ObjectValuable.

type CreateBranchRequest_SdkV2

type CreateBranchRequest_SdkV2 struct {
	// The Branch to create.
	Branch types.List `tfsdk:"branch"`
	// The ID to use for the Branch. This becomes the final component of the
	// branch's resource name. The ID is required and must be 1-63 characters
	// long, start with a lowercase letter, and contain only lowercase letters,
	// numbers, and hyphens. For example, `development` becomes
	// `projects/my-app/branches/development`.
	BranchId types.String `tfsdk:"-"`
	// The Project where this Branch will be created. Format:
	// projects/{project_id}
	Parent types.String `tfsdk:"-"`
	// If true, update the branch if it already exists instead of returning an
	// error.
	ReplaceExisting types.Bool `tfsdk:"-"`
}

func (CreateBranchRequest_SdkV2) ApplySchemaCustomizations

func (m CreateBranchRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*CreateBranchRequest_SdkV2) GetBranch

GetBranch returns the value of the Branch field in CreateBranchRequest_SdkV2 as a Branch_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (CreateBranchRequest_SdkV2) GetComplexFieldTypes

func (m CreateBranchRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBranchRequest. 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 (*CreateBranchRequest_SdkV2) SetBranch

SetBranch sets the value of the Branch field in CreateBranchRequest_SdkV2.

func (*CreateBranchRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *CreateBranchRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateBranchRequest_SdkV2)

func (*CreateBranchRequest_SdkV2) SyncFieldsDuringRead

func (to *CreateBranchRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateBranchRequest_SdkV2)

func (CreateBranchRequest_SdkV2) ToObjectValue

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, CreateBranchRequest_SdkV2 only implements ToObjectValue() and Type().

func (CreateBranchRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type CreateCatalogRequest added in v1.113.0

type CreateCatalogRequest struct {
	Catalog types.Object `tfsdk:"catalog"`
	// The ID of the catalog to create, which is also its name in Unity Catalog.
	// It becomes the last segment of the catalog's resource name,
	// catalogs/{catalog_id}.
	CatalogId types.String `tfsdk:"-"`
}

func (CreateCatalogRequest) ApplySchemaCustomizations added in v1.113.0

func (m CreateCatalogRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*CreateCatalogRequest) GetCatalog added in v1.113.0

func (m *CreateCatalogRequest) GetCatalog(ctx context.Context) (Catalog, bool)

GetCatalog returns the value of the Catalog field in CreateCatalogRequest as a Catalog value. If the field is unknown or null, the boolean return value is false.

func (CreateCatalogRequest) GetComplexFieldTypes added in v1.113.0

func (m CreateCatalogRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCatalogRequest. 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 (*CreateCatalogRequest) SetCatalog added in v1.113.0

func (m *CreateCatalogRequest) SetCatalog(ctx context.Context, v Catalog)

SetCatalog sets the value of the Catalog field in CreateCatalogRequest.

func (*CreateCatalogRequest) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *CreateCatalogRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateCatalogRequest)

func (*CreateCatalogRequest) SyncFieldsDuringRead added in v1.113.0

func (to *CreateCatalogRequest) SyncFieldsDuringRead(ctx context.Context, from CreateCatalogRequest)

func (CreateCatalogRequest) ToObjectValue added in v1.113.0

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, CreateCatalogRequest only implements ToObjectValue() and Type().

func (CreateCatalogRequest) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type CreateCatalogRequest_SdkV2 added in v1.113.0

type CreateCatalogRequest_SdkV2 struct {
	Catalog types.List `tfsdk:"catalog"`
	// The ID of the catalog to create, which is also its name in Unity Catalog.
	// It becomes the last segment of the catalog's resource name,
	// catalogs/{catalog_id}.
	CatalogId types.String `tfsdk:"-"`
}

func (CreateCatalogRequest_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (m CreateCatalogRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*CreateCatalogRequest_SdkV2) GetCatalog added in v1.113.0

GetCatalog returns the value of the Catalog field in CreateCatalogRequest_SdkV2 as a Catalog_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (CreateCatalogRequest_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m CreateCatalogRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCatalogRequest. 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 (*CreateCatalogRequest_SdkV2) SetCatalog added in v1.113.0

SetCatalog sets the value of the Catalog field in CreateCatalogRequest_SdkV2.

func (*CreateCatalogRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *CreateCatalogRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateCatalogRequest_SdkV2)

func (*CreateCatalogRequest_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (to *CreateCatalogRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateCatalogRequest_SdkV2)

func (CreateCatalogRequest_SdkV2) ToObjectValue added in v1.113.0

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, CreateCatalogRequest_SdkV2 only implements ToObjectValue() and Type().

func (CreateCatalogRequest_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type CreateCdfConfigRequest added in v1.122.0

type CreateCdfConfigRequest struct {
	// The CdfConfig to create. The catalog, schema, and postgres_schema fields
	// are required; service_principal is optional. All other fields are output
	// only and ignored on input.
	CdfConfig types.Object `tfsdk:"cdf_config"`
	// The user-specified id for the CdfConfig, forming the final segment of its
	// resource name. Must match the pattern `[a-z][a-z0-9_]{0,62}`. Defaults to
	// the Postgres schema name when omitted.
	CdfConfigId types.String `tfsdk:"-"`
	// The parent database under which to create the CdfConfig. Format:
	// projects/{project}/branches/{branch}/databases/{database}
	Parent types.String `tfsdk:"-"`
}

func (CreateCdfConfigRequest) ApplySchemaCustomizations added in v1.122.0

func (m CreateCdfConfigRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*CreateCdfConfigRequest) GetCdfConfig added in v1.122.0

func (m *CreateCdfConfigRequest) GetCdfConfig(ctx context.Context) (CdfConfig, bool)

GetCdfConfig returns the value of the CdfConfig field in CreateCdfConfigRequest as a CdfConfig value. If the field is unknown or null, the boolean return value is false.

func (CreateCdfConfigRequest) GetComplexFieldTypes added in v1.122.0

func (m CreateCdfConfigRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCdfConfigRequest. 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 (*CreateCdfConfigRequest) SetCdfConfig added in v1.122.0

func (m *CreateCdfConfigRequest) SetCdfConfig(ctx context.Context, v CdfConfig)

SetCdfConfig sets the value of the CdfConfig field in CreateCdfConfigRequest.

func (*CreateCdfConfigRequest) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *CreateCdfConfigRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateCdfConfigRequest)

func (*CreateCdfConfigRequest) SyncFieldsDuringRead added in v1.122.0

func (to *CreateCdfConfigRequest) SyncFieldsDuringRead(ctx context.Context, from CreateCdfConfigRequest)

func (CreateCdfConfigRequest) ToObjectValue added in v1.122.0

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, CreateCdfConfigRequest only implements ToObjectValue() and Type().

func (CreateCdfConfigRequest) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type CreateCdfConfigRequest_SdkV2 added in v1.122.0

type CreateCdfConfigRequest_SdkV2 struct {
	// The CdfConfig to create. The catalog, schema, and postgres_schema fields
	// are required; service_principal is optional. All other fields are output
	// only and ignored on input.
	CdfConfig types.List `tfsdk:"cdf_config"`
	// The user-specified id for the CdfConfig, forming the final segment of its
	// resource name. Must match the pattern `[a-z][a-z0-9_]{0,62}`. Defaults to
	// the Postgres schema name when omitted.
	CdfConfigId types.String `tfsdk:"-"`
	// The parent database under which to create the CdfConfig. Format:
	// projects/{project}/branches/{branch}/databases/{database}
	Parent types.String `tfsdk:"-"`
}

func (CreateCdfConfigRequest_SdkV2) ApplySchemaCustomizations added in v1.122.0

func (*CreateCdfConfigRequest_SdkV2) GetCdfConfig added in v1.122.0

GetCdfConfig returns the value of the CdfConfig field in CreateCdfConfigRequest_SdkV2 as a CdfConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (CreateCdfConfigRequest_SdkV2) GetComplexFieldTypes added in v1.122.0

func (m CreateCdfConfigRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCdfConfigRequest. 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 (*CreateCdfConfigRequest_SdkV2) SetCdfConfig added in v1.122.0

SetCdfConfig sets the value of the CdfConfig field in CreateCdfConfigRequest_SdkV2.

func (*CreateCdfConfigRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *CreateCdfConfigRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateCdfConfigRequest_SdkV2)

func (*CreateCdfConfigRequest_SdkV2) SyncFieldsDuringRead added in v1.122.0

func (to *CreateCdfConfigRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateCdfConfigRequest_SdkV2)

func (CreateCdfConfigRequest_SdkV2) ToObjectValue added in v1.122.0

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, CreateCdfConfigRequest_SdkV2 only implements ToObjectValue() and Type().

func (CreateCdfConfigRequest_SdkV2) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type CreateDataApiRequest added in v1.120.0

type CreateDataApiRequest struct {
	// The Data API configuration to create.
	DataApi types.Object `tfsdk:"data_api"`
	// Parent database:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}
	Parent types.String `tfsdk:"-"`
}

func (CreateDataApiRequest) ApplySchemaCustomizations added in v1.120.0

func (m CreateDataApiRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateDataApiRequest) GetComplexFieldTypes added in v1.120.0

func (m CreateDataApiRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateDataApiRequest. 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 (*CreateDataApiRequest) GetDataApi added in v1.120.0

func (m *CreateDataApiRequest) GetDataApi(ctx context.Context) (DataApi, bool)

GetDataApi returns the value of the DataApi field in CreateDataApiRequest as a DataApi value. If the field is unknown or null, the boolean return value is false.

func (*CreateDataApiRequest) SetDataApi added in v1.120.0

func (m *CreateDataApiRequest) SetDataApi(ctx context.Context, v DataApi)

SetDataApi sets the value of the DataApi field in CreateDataApiRequest.

func (*CreateDataApiRequest) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *CreateDataApiRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateDataApiRequest)

func (*CreateDataApiRequest) SyncFieldsDuringRead added in v1.120.0

func (to *CreateDataApiRequest) SyncFieldsDuringRead(ctx context.Context, from CreateDataApiRequest)

func (CreateDataApiRequest) ToObjectValue added in v1.120.0

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, CreateDataApiRequest only implements ToObjectValue() and Type().

func (CreateDataApiRequest) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type CreateDataApiRequest_SdkV2 added in v1.120.0

type CreateDataApiRequest_SdkV2 struct {
	// The Data API configuration to create.
	DataApi types.List `tfsdk:"data_api"`
	// Parent database:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}
	Parent types.String `tfsdk:"-"`
}

func (CreateDataApiRequest_SdkV2) ApplySchemaCustomizations added in v1.120.0

func (m CreateDataApiRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateDataApiRequest_SdkV2) GetComplexFieldTypes added in v1.120.0

func (m CreateDataApiRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateDataApiRequest. 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 (*CreateDataApiRequest_SdkV2) GetDataApi added in v1.120.0

GetDataApi returns the value of the DataApi field in CreateDataApiRequest_SdkV2 as a DataApi_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateDataApiRequest_SdkV2) SetDataApi added in v1.120.0

SetDataApi sets the value of the DataApi field in CreateDataApiRequest_SdkV2.

func (*CreateDataApiRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *CreateDataApiRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateDataApiRequest_SdkV2)

func (*CreateDataApiRequest_SdkV2) SyncFieldsDuringRead added in v1.120.0

func (to *CreateDataApiRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateDataApiRequest_SdkV2)

func (CreateDataApiRequest_SdkV2) ToObjectValue added in v1.120.0

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, CreateDataApiRequest_SdkV2 only implements ToObjectValue() and Type().

func (CreateDataApiRequest_SdkV2) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type CreateDatabaseRequest added in v1.111.0

type CreateDatabaseRequest struct {
	// The desired specification of a Database.
	Database types.Object `tfsdk:"database"`
	// The ID used to identify and manage the Database resource through the API.
	// The Postgres database name is specified in `spec.postgres_database`.
	//
	// This value should be 4-63 characters, and only use characters available
	// in DNS names, as defined by RFC-1123
	//
	// If database_id is not specified in the request, it is generated
	// automatically.
	DatabaseId types.String `tfsdk:"-"`
	// The Branch where this Database will be created. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"-"`
	// If true, update the database if it already exists instead of returning an
	// error.
	ReplaceExisting types.Bool `tfsdk:"-"`
}

func (CreateDatabaseRequest) ApplySchemaCustomizations added in v1.111.0

func (m CreateDatabaseRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateDatabaseRequest) GetComplexFieldTypes added in v1.111.0

func (m CreateDatabaseRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateDatabaseRequest. 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 (*CreateDatabaseRequest) GetDatabase added in v1.111.0

func (m *CreateDatabaseRequest) GetDatabase(ctx context.Context) (Database, bool)

GetDatabase returns the value of the Database field in CreateDatabaseRequest as a Database value. If the field is unknown or null, the boolean return value is false.

func (*CreateDatabaseRequest) SetDatabase added in v1.111.0

func (m *CreateDatabaseRequest) SetDatabase(ctx context.Context, v Database)

SetDatabase sets the value of the Database field in CreateDatabaseRequest.

func (*CreateDatabaseRequest) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *CreateDatabaseRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateDatabaseRequest)

func (*CreateDatabaseRequest) SyncFieldsDuringRead added in v1.111.0

func (to *CreateDatabaseRequest) SyncFieldsDuringRead(ctx context.Context, from CreateDatabaseRequest)

func (CreateDatabaseRequest) ToObjectValue added in v1.111.0

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, CreateDatabaseRequest only implements ToObjectValue() and Type().

func (CreateDatabaseRequest) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type CreateDatabaseRequest_SdkV2 added in v1.111.0

type CreateDatabaseRequest_SdkV2 struct {
	// The desired specification of a Database.
	Database types.List `tfsdk:"database"`
	// The ID used to identify and manage the Database resource through the API.
	// The Postgres database name is specified in `spec.postgres_database`.
	//
	// This value should be 4-63 characters, and only use characters available
	// in DNS names, as defined by RFC-1123
	//
	// If database_id is not specified in the request, it is generated
	// automatically.
	DatabaseId types.String `tfsdk:"-"`
	// The Branch where this Database will be created. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"-"`
	// If true, update the database if it already exists instead of returning an
	// error.
	ReplaceExisting types.Bool `tfsdk:"-"`
}

func (CreateDatabaseRequest_SdkV2) ApplySchemaCustomizations added in v1.111.0

func (m CreateDatabaseRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateDatabaseRequest_SdkV2) GetComplexFieldTypes added in v1.111.0

func (m CreateDatabaseRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateDatabaseRequest. 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 (*CreateDatabaseRequest_SdkV2) GetDatabase added in v1.111.0

GetDatabase returns the value of the Database field in CreateDatabaseRequest_SdkV2 as a Database_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateDatabaseRequest_SdkV2) SetDatabase added in v1.111.0

SetDatabase sets the value of the Database field in CreateDatabaseRequest_SdkV2.

func (*CreateDatabaseRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *CreateDatabaseRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateDatabaseRequest_SdkV2)

func (*CreateDatabaseRequest_SdkV2) SyncFieldsDuringRead added in v1.111.0

func (to *CreateDatabaseRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateDatabaseRequest_SdkV2)

func (CreateDatabaseRequest_SdkV2) ToObjectValue added in v1.111.0

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, CreateDatabaseRequest_SdkV2 only implements ToObjectValue() and Type().

func (CreateDatabaseRequest_SdkV2) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type CreateEndpointRequest

type CreateEndpointRequest struct {
	// The endpoint to create. Only `spec` is read from this message; the system
	// sets the other fields.
	Endpoint types.Object `tfsdk:"endpoint"`
	// The ID to use for the endpoint. It becomes the final segment of the
	// endpoint's resource name,
	// `projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}`. The
	// ID must be 3 to 63 characters long, start with a lowercase letter, end
	// with a lowercase letter or digit, and contain only lowercase letters,
	// digits, and hyphens.
	EndpointId types.String `tfsdk:"-"`
	// The Branch where this Endpoint will be created. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"-"`
	// If true, update the endpoint if it already exists instead of returning an
	// error. The request's `spec.endpoint_type` must match the existing
	// endpoint's type, and the other `spec` fields are applied as an update.
	// Use this to configure the read-write endpoint that was created together
	// with the branch.
	ReplaceExisting types.Bool `tfsdk:"-"`
}

func (CreateEndpointRequest) ApplySchemaCustomizations

func (m CreateEndpointRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateEndpointRequest) GetComplexFieldTypes

func (m CreateEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateEndpointRequest. 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 (*CreateEndpointRequest) GetEndpoint

func (m *CreateEndpointRequest) GetEndpoint(ctx context.Context) (Endpoint, bool)

GetEndpoint returns the value of the Endpoint field in CreateEndpointRequest as a Endpoint value. If the field is unknown or null, the boolean return value is false.

func (*CreateEndpointRequest) SetEndpoint

func (m *CreateEndpointRequest) SetEndpoint(ctx context.Context, v Endpoint)

SetEndpoint sets the value of the Endpoint field in CreateEndpointRequest.

func (*CreateEndpointRequest) SyncFieldsDuringCreateOrUpdate

func (to *CreateEndpointRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateEndpointRequest)

func (*CreateEndpointRequest) SyncFieldsDuringRead

func (to *CreateEndpointRequest) SyncFieldsDuringRead(ctx context.Context, from CreateEndpointRequest)

func (CreateEndpointRequest) ToObjectValue

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, CreateEndpointRequest only implements ToObjectValue() and Type().

func (CreateEndpointRequest) Type

Type implements basetypes.ObjectValuable.

type CreateEndpointRequest_SdkV2

type CreateEndpointRequest_SdkV2 struct {
	// The endpoint to create. Only `spec` is read from this message; the system
	// sets the other fields.
	Endpoint types.List `tfsdk:"endpoint"`
	// The ID to use for the endpoint. It becomes the final segment of the
	// endpoint's resource name,
	// `projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}`. The
	// ID must be 3 to 63 characters long, start with a lowercase letter, end
	// with a lowercase letter or digit, and contain only lowercase letters,
	// digits, and hyphens.
	EndpointId types.String `tfsdk:"-"`
	// The Branch where this Endpoint will be created. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"-"`
	// If true, update the endpoint if it already exists instead of returning an
	// error. The request's `spec.endpoint_type` must match the existing
	// endpoint's type, and the other `spec` fields are applied as an update.
	// Use this to configure the read-write endpoint that was created together
	// with the branch.
	ReplaceExisting types.Bool `tfsdk:"-"`
}

func (CreateEndpointRequest_SdkV2) ApplySchemaCustomizations

func (m CreateEndpointRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateEndpointRequest_SdkV2) GetComplexFieldTypes

func (m CreateEndpointRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateEndpointRequest. 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 (*CreateEndpointRequest_SdkV2) GetEndpoint

GetEndpoint returns the value of the Endpoint field in CreateEndpointRequest_SdkV2 as a Endpoint_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateEndpointRequest_SdkV2) SetEndpoint

SetEndpoint sets the value of the Endpoint field in CreateEndpointRequest_SdkV2.

func (*CreateEndpointRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *CreateEndpointRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateEndpointRequest_SdkV2)

func (*CreateEndpointRequest_SdkV2) SyncFieldsDuringRead

func (to *CreateEndpointRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateEndpointRequest_SdkV2)

func (CreateEndpointRequest_SdkV2) ToObjectValue

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, CreateEndpointRequest_SdkV2 only implements ToObjectValue() and Type().

func (CreateEndpointRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type CreateMigrationRequest

type CreateMigrationRequest struct {
	// Required. The migration to create.
	Migration types.Object `tfsdk:"migration"`
	// Required. The ID to use for the migration. It becomes the final component
	// of the resource name (`migrations/{migration_id}`). It must be 1-63
	// characters long, start with a lowercase letter, and contain only
	// lowercase letters, numbers, and hyphens.
	MigrationId types.String `tfsdk:"-"`
}

func (CreateMigrationRequest) ApplySchemaCustomizations

func (m CreateMigrationRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateMigrationRequest) GetComplexFieldTypes

func (m CreateMigrationRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateMigrationRequest. 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 (*CreateMigrationRequest) GetMigration

func (m *CreateMigrationRequest) GetMigration(ctx context.Context) (Migration, bool)

GetMigration returns the value of the Migration field in CreateMigrationRequest as a Migration value. If the field is unknown or null, the boolean return value is false.

func (*CreateMigrationRequest) SetMigration

func (m *CreateMigrationRequest) SetMigration(ctx context.Context, v Migration)

SetMigration sets the value of the Migration field in CreateMigrationRequest.

func (*CreateMigrationRequest) SyncFieldsDuringCreateOrUpdate

func (to *CreateMigrationRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateMigrationRequest)

func (*CreateMigrationRequest) SyncFieldsDuringRead

func (to *CreateMigrationRequest) SyncFieldsDuringRead(ctx context.Context, from CreateMigrationRequest)

func (CreateMigrationRequest) ToObjectValue

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, CreateMigrationRequest only implements ToObjectValue() and Type().

func (CreateMigrationRequest) Type

Type implements basetypes.ObjectValuable.

type CreateMigrationRequest_SdkV2

type CreateMigrationRequest_SdkV2 struct {
	// Required. The migration to create.
	Migration types.List `tfsdk:"migration"`
	// Required. The ID to use for the migration. It becomes the final component
	// of the resource name (`migrations/{migration_id}`). It must be 1-63
	// characters long, start with a lowercase letter, and contain only
	// lowercase letters, numbers, and hyphens.
	MigrationId types.String `tfsdk:"-"`
}

func (CreateMigrationRequest_SdkV2) ApplySchemaCustomizations

func (CreateMigrationRequest_SdkV2) GetComplexFieldTypes

func (m CreateMigrationRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateMigrationRequest. 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 (*CreateMigrationRequest_SdkV2) GetMigration

GetMigration returns the value of the Migration field in CreateMigrationRequest_SdkV2 as a Migration_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateMigrationRequest_SdkV2) SetMigration

SetMigration sets the value of the Migration field in CreateMigrationRequest_SdkV2.

func (*CreateMigrationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *CreateMigrationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateMigrationRequest_SdkV2)

func (*CreateMigrationRequest_SdkV2) SyncFieldsDuringRead

func (to *CreateMigrationRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateMigrationRequest_SdkV2)

func (CreateMigrationRequest_SdkV2) ToObjectValue

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, CreateMigrationRequest_SdkV2 only implements ToObjectValue() and Type().

func (CreateMigrationRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type CreateProjectRequest

type CreateProjectRequest struct {
	// The Project to create.
	Project types.Object `tfsdk:"project"`
	// The ID to use for the project. It becomes the final segment of the
	// project's resource name, `projects/{project_id}`. The ID must be 3 to 63
	// characters long, start with a lowercase letter, end with a lowercase
	// letter or digit, and contain only lowercase letters, digits, and hyphens.
	// The ID of a soft-deleted project stays reserved until that project is
	// permanently deleted.
	ProjectId types.String `tfsdk:"-"`
}

func (CreateProjectRequest) ApplySchemaCustomizations

func (m CreateProjectRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateProjectRequest) GetComplexFieldTypes

func (m CreateProjectRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateProjectRequest. 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 (*CreateProjectRequest) GetProject

func (m *CreateProjectRequest) GetProject(ctx context.Context) (Project, bool)

GetProject returns the value of the Project field in CreateProjectRequest as a Project value. If the field is unknown or null, the boolean return value is false.

func (*CreateProjectRequest) SetProject

func (m *CreateProjectRequest) SetProject(ctx context.Context, v Project)

SetProject sets the value of the Project field in CreateProjectRequest.

func (*CreateProjectRequest) SyncFieldsDuringCreateOrUpdate

func (to *CreateProjectRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateProjectRequest)

func (*CreateProjectRequest) SyncFieldsDuringRead

func (to *CreateProjectRequest) SyncFieldsDuringRead(ctx context.Context, from CreateProjectRequest)

func (CreateProjectRequest) ToObjectValue

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, CreateProjectRequest only implements ToObjectValue() and Type().

func (CreateProjectRequest) Type

Type implements basetypes.ObjectValuable.

type CreateProjectRequest_SdkV2

type CreateProjectRequest_SdkV2 struct {
	// The Project to create.
	Project types.List `tfsdk:"project"`
	// The ID to use for the project. It becomes the final segment of the
	// project's resource name, `projects/{project_id}`. The ID must be 3 to 63
	// characters long, start with a lowercase letter, end with a lowercase
	// letter or digit, and contain only lowercase letters, digits, and hyphens.
	// The ID of a soft-deleted project stays reserved until that project is
	// permanently deleted.
	ProjectId types.String `tfsdk:"-"`
}

func (CreateProjectRequest_SdkV2) ApplySchemaCustomizations

func (m CreateProjectRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateProjectRequest_SdkV2) GetComplexFieldTypes

func (m CreateProjectRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateProjectRequest. 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 (*CreateProjectRequest_SdkV2) GetProject

GetProject returns the value of the Project field in CreateProjectRequest_SdkV2 as a Project_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateProjectRequest_SdkV2) SetProject

SetProject sets the value of the Project field in CreateProjectRequest_SdkV2.

func (*CreateProjectRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *CreateProjectRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateProjectRequest_SdkV2)

func (*CreateProjectRequest_SdkV2) SyncFieldsDuringRead

func (to *CreateProjectRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateProjectRequest_SdkV2)

func (CreateProjectRequest_SdkV2) ToObjectValue

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, CreateProjectRequest_SdkV2 only implements ToObjectValue() and Type().

func (CreateProjectRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type CreateRoleRequest

type CreateRoleRequest struct {
	// The Branch where this Role is created. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"-"`
	// If true, update the role if it already exists instead of returning an
	// error. This requires `role_id` to be set. Without `role_id`, the request
	// follows the normal create path and fails if the role name already exists.
	//
	// When the role already exists, only mutable fields are updated. Attributes
	// omitted from the request retain their current values. Set an attribute
	// explicitly to false to disable it. `identity_type`, `auth_method`, and
	// `postgres_role` retain their existing values. Omit these fields or supply
	// their current values. A differing supplied value returns
	// INVALID_PARAMETER_VALUE and rejects the entire request, including changes
	// to mutable fields. `membership_roles` is overwritten, not merged. Leaving
	// `membership_roles` empty clears all of the role's existing memberships,
	// including `DATABRICKS_SUPERUSER`. Always send the complete desired list
	// of memberships when using this field.
	ReplaceExisting types.Bool `tfsdk:"-"`
	// The desired specification of a Role.
	Role types.Object `tfsdk:"role"`
	// The ID used to identify and manage the Role resource through the API. The
	// Postgres role name is specified in `spec.postgres_role`.
	//
	// This value should be 4-63 characters, and valid characters are lowercase
	// letters, numbers, and hyphens, as defined by RFC 1123.
	//
	// If role_id is not specified in the request, it is generated
	// automatically.
	RoleId types.String `tfsdk:"-"`
}

func (CreateRoleRequest) ApplySchemaCustomizations

func (m CreateRoleRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateRoleRequest) GetComplexFieldTypes

func (m CreateRoleRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRoleRequest. 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 (*CreateRoleRequest) GetRole

func (m *CreateRoleRequest) GetRole(ctx context.Context) (Role, bool)

GetRole returns the value of the Role field in CreateRoleRequest as a Role value. If the field is unknown or null, the boolean return value is false.

func (*CreateRoleRequest) SetRole

func (m *CreateRoleRequest) SetRole(ctx context.Context, v Role)

SetRole sets the value of the Role field in CreateRoleRequest.

func (*CreateRoleRequest) SyncFieldsDuringCreateOrUpdate

func (to *CreateRoleRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateRoleRequest)

func (*CreateRoleRequest) SyncFieldsDuringRead

func (to *CreateRoleRequest) SyncFieldsDuringRead(ctx context.Context, from CreateRoleRequest)

func (CreateRoleRequest) ToObjectValue

func (m CreateRoleRequest) 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, CreateRoleRequest only implements ToObjectValue() and Type().

func (CreateRoleRequest) Type

Type implements basetypes.ObjectValuable.

type CreateRoleRequest_SdkV2

type CreateRoleRequest_SdkV2 struct {
	// The Branch where this Role is created. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"-"`
	// If true, update the role if it already exists instead of returning an
	// error. This requires `role_id` to be set. Without `role_id`, the request
	// follows the normal create path and fails if the role name already exists.
	//
	// When the role already exists, only mutable fields are updated. Attributes
	// omitted from the request retain their current values. Set an attribute
	// explicitly to false to disable it. `identity_type`, `auth_method`, and
	// `postgres_role` retain their existing values. Omit these fields or supply
	// their current values. A differing supplied value returns
	// INVALID_PARAMETER_VALUE and rejects the entire request, including changes
	// to mutable fields. `membership_roles` is overwritten, not merged. Leaving
	// `membership_roles` empty clears all of the role's existing memberships,
	// including `DATABRICKS_SUPERUSER`. Always send the complete desired list
	// of memberships when using this field.
	ReplaceExisting types.Bool `tfsdk:"-"`
	// The desired specification of a Role.
	Role types.List `tfsdk:"role"`
	// The ID used to identify and manage the Role resource through the API. The
	// Postgres role name is specified in `spec.postgres_role`.
	//
	// This value should be 4-63 characters, and valid characters are lowercase
	// letters, numbers, and hyphens, as defined by RFC 1123.
	//
	// If role_id is not specified in the request, it is generated
	// automatically.
	RoleId types.String `tfsdk:"-"`
}

func (CreateRoleRequest_SdkV2) ApplySchemaCustomizations

func (m CreateRoleRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateRoleRequest_SdkV2) GetComplexFieldTypes

func (m CreateRoleRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRoleRequest. 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 (*CreateRoleRequest_SdkV2) GetRole

GetRole returns the value of the Role field in CreateRoleRequest_SdkV2 as a Role_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateRoleRequest_SdkV2) SetRole

SetRole sets the value of the Role field in CreateRoleRequest_SdkV2.

func (*CreateRoleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *CreateRoleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateRoleRequest_SdkV2)

func (*CreateRoleRequest_SdkV2) SyncFieldsDuringRead

func (to *CreateRoleRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateRoleRequest_SdkV2)

func (CreateRoleRequest_SdkV2) ToObjectValue

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, CreateRoleRequest_SdkV2 only implements ToObjectValue() and Type().

func (CreateRoleRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type CreateSnapshotRequest added in v1.131.0

type CreateSnapshotRequest struct {
	// The project in which to create the snapshot. Format:
	// projects/{project_id}
	Parent types.String `tfsdk:"-"`
	// The snapshot to create.
	Snapshot types.Object `tfsdk:"snapshot"`
	// Client-chosen ID for the snapshot. It becomes the final segment of the
	// snapshot resource name and cannot be changed after creation.
	SnapshotId types.String `tfsdk:"-"`
}

func (CreateSnapshotRequest) ApplySchemaCustomizations added in v1.131.0

func (m CreateSnapshotRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateSnapshotRequest) GetComplexFieldTypes added in v1.131.0

func (m CreateSnapshotRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateSnapshotRequest. 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 (*CreateSnapshotRequest) GetSnapshot added in v1.131.0

func (m *CreateSnapshotRequest) GetSnapshot(ctx context.Context) (Snapshot, bool)

GetSnapshot returns the value of the Snapshot field in CreateSnapshotRequest as a Snapshot value. If the field is unknown or null, the boolean return value is false.

func (*CreateSnapshotRequest) SetSnapshot added in v1.131.0

func (m *CreateSnapshotRequest) SetSnapshot(ctx context.Context, v Snapshot)

SetSnapshot sets the value of the Snapshot field in CreateSnapshotRequest.

func (*CreateSnapshotRequest) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *CreateSnapshotRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateSnapshotRequest)

func (*CreateSnapshotRequest) SyncFieldsDuringRead added in v1.131.0

func (to *CreateSnapshotRequest) SyncFieldsDuringRead(ctx context.Context, from CreateSnapshotRequest)

func (CreateSnapshotRequest) ToObjectValue added in v1.131.0

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, CreateSnapshotRequest only implements ToObjectValue() and Type().

func (CreateSnapshotRequest) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type CreateSnapshotRequest_SdkV2 added in v1.131.0

type CreateSnapshotRequest_SdkV2 struct {
	// The project in which to create the snapshot. Format:
	// projects/{project_id}
	Parent types.String `tfsdk:"-"`
	// The snapshot to create.
	Snapshot types.List `tfsdk:"snapshot"`
	// Client-chosen ID for the snapshot. It becomes the final segment of the
	// snapshot resource name and cannot be changed after creation.
	SnapshotId types.String `tfsdk:"-"`
}

func (CreateSnapshotRequest_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (m CreateSnapshotRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateSnapshotRequest_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m CreateSnapshotRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateSnapshotRequest. 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 (*CreateSnapshotRequest_SdkV2) GetSnapshot added in v1.131.0

GetSnapshot returns the value of the Snapshot field in CreateSnapshotRequest_SdkV2 as a Snapshot_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateSnapshotRequest_SdkV2) SetSnapshot added in v1.131.0

SetSnapshot sets the value of the Snapshot field in CreateSnapshotRequest_SdkV2.

func (*CreateSnapshotRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *CreateSnapshotRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateSnapshotRequest_SdkV2)

func (*CreateSnapshotRequest_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (to *CreateSnapshotRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateSnapshotRequest_SdkV2)

func (CreateSnapshotRequest_SdkV2) ToObjectValue added in v1.131.0

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, CreateSnapshotRequest_SdkV2 only implements ToObjectValue() and Type().

func (CreateSnapshotRequest_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type CreateSyncedTableRequest added in v1.113.0

type CreateSyncedTableRequest struct {
	SyncedTable types.Object `tfsdk:"synced_table"`
	// The ID to use for the Synced Table. This becomes the final component of
	// the SyncedTable's resource name. ID is required and is the synced table
	// name, containing (catalog, schema, table) tuple. Elements of the tuple
	// are the UC entity names.
	//
	// Example: "{catalog}.{schema}.{table}"
	//
	// synced_table_id represents both of the following:
	//
	// 1. An online VIEW virtual table in the Unity Catalog accessible via the
	// Lakehouse Federation. 2. Postgres table named "{table}" in schema
	// "{schema}" in the connected Postgres database
	SyncedTableId types.String `tfsdk:"-"`
}

func (CreateSyncedTableRequest) ApplySchemaCustomizations added in v1.113.0

func (m CreateSyncedTableRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateSyncedTableRequest) GetComplexFieldTypes added in v1.113.0

func (m CreateSyncedTableRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateSyncedTableRequest. 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 (*CreateSyncedTableRequest) GetSyncedTable added in v1.113.0

func (m *CreateSyncedTableRequest) GetSyncedTable(ctx context.Context) (SyncedTable, bool)

GetSyncedTable returns the value of the SyncedTable field in CreateSyncedTableRequest as a SyncedTable value. If the field is unknown or null, the boolean return value is false.

func (*CreateSyncedTableRequest) SetSyncedTable added in v1.113.0

func (m *CreateSyncedTableRequest) SetSyncedTable(ctx context.Context, v SyncedTable)

SetSyncedTable sets the value of the SyncedTable field in CreateSyncedTableRequest.

func (*CreateSyncedTableRequest) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *CreateSyncedTableRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateSyncedTableRequest)

func (*CreateSyncedTableRequest) SyncFieldsDuringRead added in v1.113.0

func (to *CreateSyncedTableRequest) SyncFieldsDuringRead(ctx context.Context, from CreateSyncedTableRequest)

func (CreateSyncedTableRequest) ToObjectValue added in v1.113.0

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, CreateSyncedTableRequest only implements ToObjectValue() and Type().

func (CreateSyncedTableRequest) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type CreateSyncedTableRequest_SdkV2 added in v1.113.0

type CreateSyncedTableRequest_SdkV2 struct {
	SyncedTable types.List `tfsdk:"synced_table"`
	// The ID to use for the Synced Table. This becomes the final component of
	// the SyncedTable's resource name. ID is required and is the synced table
	// name, containing (catalog, schema, table) tuple. Elements of the tuple
	// are the UC entity names.
	//
	// Example: "{catalog}.{schema}.{table}"
	//
	// synced_table_id represents both of the following:
	//
	// 1. An online VIEW virtual table in the Unity Catalog accessible via the
	// Lakehouse Federation. 2. Postgres table named "{table}" in schema
	// "{schema}" in the connected Postgres database
	SyncedTableId types.String `tfsdk:"-"`
}

func (CreateSyncedTableRequest_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (CreateSyncedTableRequest_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m CreateSyncedTableRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateSyncedTableRequest. 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 (*CreateSyncedTableRequest_SdkV2) GetSyncedTable added in v1.113.0

GetSyncedTable returns the value of the SyncedTable field in CreateSyncedTableRequest_SdkV2 as a SyncedTable_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateSyncedTableRequest_SdkV2) SetSyncedTable added in v1.113.0

SetSyncedTable sets the value of the SyncedTable field in CreateSyncedTableRequest_SdkV2.

func (*CreateSyncedTableRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *CreateSyncedTableRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateSyncedTableRequest_SdkV2)

func (*CreateSyncedTableRequest_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (CreateSyncedTableRequest_SdkV2) ToObjectValue added in v1.113.0

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, CreateSyncedTableRequest_SdkV2 only implements ToObjectValue() and Type().

func (CreateSyncedTableRequest_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type DailySchedule added in v1.131.0

type DailySchedule struct {
	// The hour of the day, in UTC, at which to take the snapshot, in [0, 23].
	Hour types.Int64 `tfsdk:"hour"`
}

Take a snapshot once per day, at the configured hour.

func (DailySchedule) ApplySchemaCustomizations added in v1.131.0

func (m DailySchedule) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DailySchedule) GetComplexFieldTypes added in v1.131.0

func (m DailySchedule) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DailySchedule. 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 (*DailySchedule) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *DailySchedule) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DailySchedule)

func (*DailySchedule) SyncFieldsDuringRead added in v1.131.0

func (to *DailySchedule) SyncFieldsDuringRead(ctx context.Context, from DailySchedule)

func (DailySchedule) ToObjectValue added in v1.131.0

func (m DailySchedule) 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, DailySchedule only implements ToObjectValue() and Type().

func (DailySchedule) Type added in v1.131.0

func (m DailySchedule) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type DailySchedule_SdkV2 added in v1.131.0

type DailySchedule_SdkV2 struct {
	// The hour of the day, in UTC, at which to take the snapshot, in [0, 23].
	Hour types.Int64 `tfsdk:"hour"`
}

Take a snapshot once per day, at the configured hour.

func (DailySchedule_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (m DailySchedule_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DailySchedule_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m DailySchedule_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DailySchedule. 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 (*DailySchedule_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *DailySchedule_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DailySchedule_SdkV2)

func (*DailySchedule_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (to *DailySchedule_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DailySchedule_SdkV2)

func (DailySchedule_SdkV2) ToObjectValue added in v1.131.0

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, DailySchedule_SdkV2 only implements ToObjectValue() and Type().

func (DailySchedule_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type DataApi added in v1.120.0

type DataApi struct {
	// A timestamp indicating when the Data API was first enabled.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Resource name:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}/data-api
	Name types.String `tfsdk:"name"`
	// The database containing this Data API configuration. Format:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}
	Parent types.String `tfsdk:"parent"`
	// The desired Data API configuration.
	Spec types.Object `tfsdk:"spec"`
	// The observed Data API state (read-only).
	Status types.Object `tfsdk:"status"`
	// A timestamp indicating when the Data API configuration was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

DataApi represents the Data API (PostgREST) configuration for a Database. At most one DataApi per database. Create enables Data API, Delete disables it.

func (DataApi) ApplySchemaCustomizations added in v1.120.0

func (m DataApi) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DataApi) GetComplexFieldTypes added in v1.120.0

func (m DataApi) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DataApi. 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 (*DataApi) GetSpec added in v1.120.0

func (m *DataApi) GetSpec(ctx context.Context) (DataApiDataApiSpec, bool)

GetSpec returns the value of the Spec field in DataApi as a DataApiDataApiSpec value. If the field is unknown or null, the boolean return value is false.

func (*DataApi) GetStatus added in v1.120.0

func (m *DataApi) GetStatus(ctx context.Context) (DataApiDataApiStatus, bool)

GetStatus returns the value of the Status field in DataApi as a DataApiDataApiStatus value. If the field is unknown or null, the boolean return value is false.

func (*DataApi) SetSpec added in v1.120.0

func (m *DataApi) SetSpec(ctx context.Context, v DataApiDataApiSpec)

SetSpec sets the value of the Spec field in DataApi.

func (*DataApi) SetStatus added in v1.120.0

func (m *DataApi) SetStatus(ctx context.Context, v DataApiDataApiStatus)

SetStatus sets the value of the Status field in DataApi.

func (*DataApi) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *DataApi) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DataApi)

func (*DataApi) SyncFieldsDuringRead added in v1.120.0

func (to *DataApi) SyncFieldsDuringRead(ctx context.Context, from DataApi)

func (DataApi) ToObjectValue added in v1.120.0

func (m DataApi) 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, DataApi only implements ToObjectValue() and Type().

func (DataApi) Type added in v1.120.0

func (m DataApi) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type DataApiDataApiSpec added in v1.120.0

type DataApiDataApiSpec struct {
	// Enable aggregate functions (count, sum, avg, etc.) in Data API responses.
	// Default: true.
	DbAggregatesEnabled types.Bool `tfsdk:"db_aggregates_enabled"`
	// Additional schemas to include in the PostgreSQL search path. Each entry
	// must be a valid PostgreSQL schema name.
	DbExtraSearchPath types.List `tfsdk:"db_extra_search_path"`
	// Maximum number of rows returned in a single Data API response. Must be a
	// positive integer.
	DbMaxRows types.Int64 `tfsdk:"db_max_rows"`
	// Database schemas exposed through the Data API. Each entry must be a valid
	// PostgreSQL schema name (1-63 chars, [a-zA-Z_][a-zA-Z0-9_$]*). Maximum 100
	// entries. Default: ["public"].
	DbSchemas types.List `tfsdk:"db_schemas"`
	// Maximum lifetime for cached JWT tokens. Zero duration disables caching.
	JwtCacheMaxLifetime timetypes.GoDuration `tfsdk:"jwt_cache_max_lifetime"`
	// JSON path to the role claim in JWT tokens (e.g., ".sub"). Default:
	// ".sub".
	JwtRoleClaimKey types.String `tfsdk:"jwt_role_claim_key"`
	// OpenAPI documentation mode for the Data API endpoint.
	OpenapiMode types.String `tfsdk:"openapi_mode"`
	// Allowed origins for CORS requests. Each entry should be a valid origin
	// URL, or use "*" to allow all origins.
	ServerCorsAllowedOrigins types.List `tfsdk:"server_cors_allowed_origins"`
	// Enable the Server-Timing header in Data API responses.
	ServerTimingEnabled types.Bool `tfsdk:"server_timing_enabled"`
}

Desired PostgREST configuration (input).

func (DataApiDataApiSpec) ApplySchemaCustomizations added in v1.120.0

func (m DataApiDataApiSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DataApiDataApiSpec) GetComplexFieldTypes added in v1.120.0

func (m DataApiDataApiSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DataApiDataApiSpec. 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 (*DataApiDataApiSpec) GetDbExtraSearchPath added in v1.120.0

func (m *DataApiDataApiSpec) GetDbExtraSearchPath(ctx context.Context) ([]types.String, bool)

GetDbExtraSearchPath returns the value of the DbExtraSearchPath field in DataApiDataApiSpec as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*DataApiDataApiSpec) GetDbSchemas added in v1.120.0

func (m *DataApiDataApiSpec) GetDbSchemas(ctx context.Context) ([]types.String, bool)

GetDbSchemas returns the value of the DbSchemas field in DataApiDataApiSpec as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*DataApiDataApiSpec) GetServerCorsAllowedOrigins added in v1.120.0

func (m *DataApiDataApiSpec) GetServerCorsAllowedOrigins(ctx context.Context) ([]types.String, bool)

GetServerCorsAllowedOrigins returns the value of the ServerCorsAllowedOrigins field in DataApiDataApiSpec as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*DataApiDataApiSpec) SetDbExtraSearchPath added in v1.120.0

func (m *DataApiDataApiSpec) SetDbExtraSearchPath(ctx context.Context, v []types.String)

SetDbExtraSearchPath sets the value of the DbExtraSearchPath field in DataApiDataApiSpec.

func (*DataApiDataApiSpec) SetDbSchemas added in v1.120.0

func (m *DataApiDataApiSpec) SetDbSchemas(ctx context.Context, v []types.String)

SetDbSchemas sets the value of the DbSchemas field in DataApiDataApiSpec.

func (*DataApiDataApiSpec) SetServerCorsAllowedOrigins added in v1.120.0

func (m *DataApiDataApiSpec) SetServerCorsAllowedOrigins(ctx context.Context, v []types.String)

SetServerCorsAllowedOrigins sets the value of the ServerCorsAllowedOrigins field in DataApiDataApiSpec.

func (*DataApiDataApiSpec) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *DataApiDataApiSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DataApiDataApiSpec)

func (*DataApiDataApiSpec) SyncFieldsDuringRead added in v1.120.0

func (to *DataApiDataApiSpec) SyncFieldsDuringRead(ctx context.Context, from DataApiDataApiSpec)

func (DataApiDataApiSpec) ToObjectValue added in v1.120.0

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, DataApiDataApiSpec only implements ToObjectValue() and Type().

func (DataApiDataApiSpec) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type DataApiDataApiSpec_SdkV2 added in v1.120.0

type DataApiDataApiSpec_SdkV2 struct {
	// Enable aggregate functions (count, sum, avg, etc.) in Data API responses.
	// Default: true.
	DbAggregatesEnabled types.Bool `tfsdk:"db_aggregates_enabled"`
	// Additional schemas to include in the PostgreSQL search path. Each entry
	// must be a valid PostgreSQL schema name.
	DbExtraSearchPath types.List `tfsdk:"db_extra_search_path"`
	// Maximum number of rows returned in a single Data API response. Must be a
	// positive integer.
	DbMaxRows types.Int64 `tfsdk:"db_max_rows"`
	// Database schemas exposed through the Data API. Each entry must be a valid
	// PostgreSQL schema name (1-63 chars, [a-zA-Z_][a-zA-Z0-9_$]*). Maximum 100
	// entries. Default: ["public"].
	DbSchemas types.List `tfsdk:"db_schemas"`
	// Maximum lifetime for cached JWT tokens. Zero duration disables caching.
	JwtCacheMaxLifetime timetypes.GoDuration `tfsdk:"jwt_cache_max_lifetime"`
	// JSON path to the role claim in JWT tokens (e.g., ".sub"). Default:
	// ".sub".
	JwtRoleClaimKey types.String `tfsdk:"jwt_role_claim_key"`
	// OpenAPI documentation mode for the Data API endpoint.
	OpenapiMode types.String `tfsdk:"openapi_mode"`
	// Allowed origins for CORS requests. Each entry should be a valid origin
	// URL, or use "*" to allow all origins.
	ServerCorsAllowedOrigins types.List `tfsdk:"server_cors_allowed_origins"`
	// Enable the Server-Timing header in Data API responses.
	ServerTimingEnabled types.Bool `tfsdk:"server_timing_enabled"`
}

Desired PostgREST configuration (input).

func (DataApiDataApiSpec_SdkV2) ApplySchemaCustomizations added in v1.120.0

func (m DataApiDataApiSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DataApiDataApiSpec_SdkV2) GetComplexFieldTypes added in v1.120.0

func (m DataApiDataApiSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DataApiDataApiSpec. 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 (*DataApiDataApiSpec_SdkV2) GetDbExtraSearchPath added in v1.120.0

func (m *DataApiDataApiSpec_SdkV2) GetDbExtraSearchPath(ctx context.Context) ([]types.String, bool)

GetDbExtraSearchPath returns the value of the DbExtraSearchPath field in DataApiDataApiSpec_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*DataApiDataApiSpec_SdkV2) GetDbSchemas added in v1.120.0

func (m *DataApiDataApiSpec_SdkV2) GetDbSchemas(ctx context.Context) ([]types.String, bool)

GetDbSchemas returns the value of the DbSchemas field in DataApiDataApiSpec_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*DataApiDataApiSpec_SdkV2) GetServerCorsAllowedOrigins added in v1.120.0

func (m *DataApiDataApiSpec_SdkV2) GetServerCorsAllowedOrigins(ctx context.Context) ([]types.String, bool)

GetServerCorsAllowedOrigins returns the value of the ServerCorsAllowedOrigins field in DataApiDataApiSpec_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*DataApiDataApiSpec_SdkV2) SetDbExtraSearchPath added in v1.120.0

func (m *DataApiDataApiSpec_SdkV2) SetDbExtraSearchPath(ctx context.Context, v []types.String)

SetDbExtraSearchPath sets the value of the DbExtraSearchPath field in DataApiDataApiSpec_SdkV2.

func (*DataApiDataApiSpec_SdkV2) SetDbSchemas added in v1.120.0

func (m *DataApiDataApiSpec_SdkV2) SetDbSchemas(ctx context.Context, v []types.String)

SetDbSchemas sets the value of the DbSchemas field in DataApiDataApiSpec_SdkV2.

func (*DataApiDataApiSpec_SdkV2) SetServerCorsAllowedOrigins added in v1.120.0

func (m *DataApiDataApiSpec_SdkV2) SetServerCorsAllowedOrigins(ctx context.Context, v []types.String)

SetServerCorsAllowedOrigins sets the value of the ServerCorsAllowedOrigins field in DataApiDataApiSpec_SdkV2.

func (*DataApiDataApiSpec_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *DataApiDataApiSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DataApiDataApiSpec_SdkV2)

func (*DataApiDataApiSpec_SdkV2) SyncFieldsDuringRead added in v1.120.0

func (to *DataApiDataApiSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DataApiDataApiSpec_SdkV2)

func (DataApiDataApiSpec_SdkV2) ToObjectValue added in v1.120.0

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, DataApiDataApiSpec_SdkV2 only implements ToObjectValue() and Type().

func (DataApiDataApiSpec_SdkV2) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type DataApiDataApiStatus added in v1.120.0

type DataApiDataApiStatus struct {
	// Schemas available in the database (for reference when configuring
	// db_schemas).
	AvailableSchemas types.List `tfsdk:"available_schemas"`
	// Actual aggregate function setting read from the database.
	DbAggregatesEnabled types.Bool `tfsdk:"db_aggregates_enabled"`
	// Actual extra search path schemas read from the database.
	DbExtraSearchPath types.List `tfsdk:"db_extra_search_path"`
	// Actual max rows setting read from the database.
	DbMaxRows types.Int64 `tfsdk:"db_max_rows"`
	// Actual exposed schemas read from the database.
	DbSchemas types.List `tfsdk:"db_schemas"`
	// Actual JWT cache max lifetime read from the database.
	JwtCacheMaxLifetime timetypes.GoDuration `tfsdk:"jwt_cache_max_lifetime"`
	// Actual JWT role claim key read from the database.
	JwtRoleClaimKey types.String `tfsdk:"jwt_role_claim_key"`
	// Actual OpenAPI mode read from the database.
	OpenapiMode types.String `tfsdk:"openapi_mode"`
	// Actual CORS allowed origins read from the database.
	ServerCorsAllowedOrigins types.List `tfsdk:"server_cors_allowed_origins"`
	// Actual Server-Timing header setting read from the database.
	ServerTimingEnabled types.Bool `tfsdk:"server_timing_enabled"`
	// Data API endpoint URL.
	Url types.String `tfsdk:"url"`
}

Observed state (output-only).

func (DataApiDataApiStatus) ApplySchemaCustomizations added in v1.120.0

func (m DataApiDataApiStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*DataApiDataApiStatus) GetAvailableSchemas added in v1.120.0

func (m *DataApiDataApiStatus) GetAvailableSchemas(ctx context.Context) ([]types.String, bool)

GetAvailableSchemas returns the value of the AvailableSchemas field in DataApiDataApiStatus as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (DataApiDataApiStatus) GetComplexFieldTypes added in v1.120.0

func (m DataApiDataApiStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DataApiDataApiStatus. 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 (*DataApiDataApiStatus) GetDbExtraSearchPath added in v1.120.0

func (m *DataApiDataApiStatus) GetDbExtraSearchPath(ctx context.Context) ([]types.String, bool)

GetDbExtraSearchPath returns the value of the DbExtraSearchPath field in DataApiDataApiStatus as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*DataApiDataApiStatus) GetDbSchemas added in v1.120.0

func (m *DataApiDataApiStatus) GetDbSchemas(ctx context.Context) ([]types.String, bool)

GetDbSchemas returns the value of the DbSchemas field in DataApiDataApiStatus as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*DataApiDataApiStatus) GetServerCorsAllowedOrigins added in v1.120.0

func (m *DataApiDataApiStatus) GetServerCorsAllowedOrigins(ctx context.Context) ([]types.String, bool)

GetServerCorsAllowedOrigins returns the value of the ServerCorsAllowedOrigins field in DataApiDataApiStatus as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*DataApiDataApiStatus) SetAvailableSchemas added in v1.120.0

func (m *DataApiDataApiStatus) SetAvailableSchemas(ctx context.Context, v []types.String)

SetAvailableSchemas sets the value of the AvailableSchemas field in DataApiDataApiStatus.

func (*DataApiDataApiStatus) SetDbExtraSearchPath added in v1.120.0

func (m *DataApiDataApiStatus) SetDbExtraSearchPath(ctx context.Context, v []types.String)

SetDbExtraSearchPath sets the value of the DbExtraSearchPath field in DataApiDataApiStatus.

func (*DataApiDataApiStatus) SetDbSchemas added in v1.120.0

func (m *DataApiDataApiStatus) SetDbSchemas(ctx context.Context, v []types.String)

SetDbSchemas sets the value of the DbSchemas field in DataApiDataApiStatus.

func (*DataApiDataApiStatus) SetServerCorsAllowedOrigins added in v1.120.0

func (m *DataApiDataApiStatus) SetServerCorsAllowedOrigins(ctx context.Context, v []types.String)

SetServerCorsAllowedOrigins sets the value of the ServerCorsAllowedOrigins field in DataApiDataApiStatus.

func (*DataApiDataApiStatus) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *DataApiDataApiStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DataApiDataApiStatus)

func (*DataApiDataApiStatus) SyncFieldsDuringRead added in v1.120.0

func (to *DataApiDataApiStatus) SyncFieldsDuringRead(ctx context.Context, from DataApiDataApiStatus)

func (DataApiDataApiStatus) ToObjectValue added in v1.120.0

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, DataApiDataApiStatus only implements ToObjectValue() and Type().

func (DataApiDataApiStatus) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type DataApiDataApiStatus_SdkV2 added in v1.120.0

type DataApiDataApiStatus_SdkV2 struct {
	// Schemas available in the database (for reference when configuring
	// db_schemas).
	AvailableSchemas types.List `tfsdk:"available_schemas"`
	// Actual aggregate function setting read from the database.
	DbAggregatesEnabled types.Bool `tfsdk:"db_aggregates_enabled"`
	// Actual extra search path schemas read from the database.
	DbExtraSearchPath types.List `tfsdk:"db_extra_search_path"`
	// Actual max rows setting read from the database.
	DbMaxRows types.Int64 `tfsdk:"db_max_rows"`
	// Actual exposed schemas read from the database.
	DbSchemas types.List `tfsdk:"db_schemas"`
	// Actual JWT cache max lifetime read from the database.
	JwtCacheMaxLifetime timetypes.GoDuration `tfsdk:"jwt_cache_max_lifetime"`
	// Actual JWT role claim key read from the database.
	JwtRoleClaimKey types.String `tfsdk:"jwt_role_claim_key"`
	// Actual OpenAPI mode read from the database.
	OpenapiMode types.String `tfsdk:"openapi_mode"`
	// Actual CORS allowed origins read from the database.
	ServerCorsAllowedOrigins types.List `tfsdk:"server_cors_allowed_origins"`
	// Actual Server-Timing header setting read from the database.
	ServerTimingEnabled types.Bool `tfsdk:"server_timing_enabled"`
	// Data API endpoint URL.
	Url types.String `tfsdk:"url"`
}

Observed state (output-only).

func (DataApiDataApiStatus_SdkV2) ApplySchemaCustomizations added in v1.120.0

func (m DataApiDataApiStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*DataApiDataApiStatus_SdkV2) GetAvailableSchemas added in v1.120.0

func (m *DataApiDataApiStatus_SdkV2) GetAvailableSchemas(ctx context.Context) ([]types.String, bool)

GetAvailableSchemas returns the value of the AvailableSchemas field in DataApiDataApiStatus_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (DataApiDataApiStatus_SdkV2) GetComplexFieldTypes added in v1.120.0

func (m DataApiDataApiStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DataApiDataApiStatus. 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 (*DataApiDataApiStatus_SdkV2) GetDbExtraSearchPath added in v1.120.0

func (m *DataApiDataApiStatus_SdkV2) GetDbExtraSearchPath(ctx context.Context) ([]types.String, bool)

GetDbExtraSearchPath returns the value of the DbExtraSearchPath field in DataApiDataApiStatus_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*DataApiDataApiStatus_SdkV2) GetDbSchemas added in v1.120.0

func (m *DataApiDataApiStatus_SdkV2) GetDbSchemas(ctx context.Context) ([]types.String, bool)

GetDbSchemas returns the value of the DbSchemas field in DataApiDataApiStatus_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*DataApiDataApiStatus_SdkV2) GetServerCorsAllowedOrigins added in v1.120.0

func (m *DataApiDataApiStatus_SdkV2) GetServerCorsAllowedOrigins(ctx context.Context) ([]types.String, bool)

GetServerCorsAllowedOrigins returns the value of the ServerCorsAllowedOrigins field in DataApiDataApiStatus_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*DataApiDataApiStatus_SdkV2) SetAvailableSchemas added in v1.120.0

func (m *DataApiDataApiStatus_SdkV2) SetAvailableSchemas(ctx context.Context, v []types.String)

SetAvailableSchemas sets the value of the AvailableSchemas field in DataApiDataApiStatus_SdkV2.

func (*DataApiDataApiStatus_SdkV2) SetDbExtraSearchPath added in v1.120.0

func (m *DataApiDataApiStatus_SdkV2) SetDbExtraSearchPath(ctx context.Context, v []types.String)

SetDbExtraSearchPath sets the value of the DbExtraSearchPath field in DataApiDataApiStatus_SdkV2.

func (*DataApiDataApiStatus_SdkV2) SetDbSchemas added in v1.120.0

func (m *DataApiDataApiStatus_SdkV2) SetDbSchemas(ctx context.Context, v []types.String)

SetDbSchemas sets the value of the DbSchemas field in DataApiDataApiStatus_SdkV2.

func (*DataApiDataApiStatus_SdkV2) SetServerCorsAllowedOrigins added in v1.120.0

func (m *DataApiDataApiStatus_SdkV2) SetServerCorsAllowedOrigins(ctx context.Context, v []types.String)

SetServerCorsAllowedOrigins sets the value of the ServerCorsAllowedOrigins field in DataApiDataApiStatus_SdkV2.

func (*DataApiDataApiStatus_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *DataApiDataApiStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DataApiDataApiStatus_SdkV2)

func (*DataApiDataApiStatus_SdkV2) SyncFieldsDuringRead added in v1.120.0

func (to *DataApiDataApiStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DataApiDataApiStatus_SdkV2)

func (DataApiDataApiStatus_SdkV2) ToObjectValue added in v1.120.0

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, DataApiDataApiStatus_SdkV2 only implements ToObjectValue() and Type().

func (DataApiDataApiStatus_SdkV2) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type DataApiOperationMetadata added in v1.120.0

type DataApiOperationMetadata struct {
}

func (DataApiOperationMetadata) ApplySchemaCustomizations added in v1.120.0

func (m DataApiOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DataApiOperationMetadata) GetComplexFieldTypes added in v1.120.0

func (m DataApiOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DataApiOperationMetadata. 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 (*DataApiOperationMetadata) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *DataApiOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DataApiOperationMetadata)

func (*DataApiOperationMetadata) SyncFieldsDuringRead added in v1.120.0

func (to *DataApiOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from DataApiOperationMetadata)

func (DataApiOperationMetadata) ToObjectValue added in v1.120.0

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, DataApiOperationMetadata only implements ToObjectValue() and Type().

func (DataApiOperationMetadata) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type DataApiOperationMetadata_SdkV2 added in v1.120.0

type DataApiOperationMetadata_SdkV2 struct {
}

func (DataApiOperationMetadata_SdkV2) ApplySchemaCustomizations added in v1.120.0

func (DataApiOperationMetadata_SdkV2) GetComplexFieldTypes added in v1.120.0

func (m DataApiOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DataApiOperationMetadata. 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 (*DataApiOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *DataApiOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DataApiOperationMetadata_SdkV2)

func (*DataApiOperationMetadata_SdkV2) SyncFieldsDuringRead added in v1.120.0

func (DataApiOperationMetadata_SdkV2) ToObjectValue added in v1.120.0

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, DataApiOperationMetadata_SdkV2 only implements ToObjectValue() and Type().

func (DataApiOperationMetadata_SdkV2) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type DataApi_SdkV2 added in v1.120.0

type DataApi_SdkV2 struct {
	// A timestamp indicating when the Data API was first enabled.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Resource name:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}/data-api
	Name types.String `tfsdk:"name"`
	// The database containing this Data API configuration. Format:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}
	Parent types.String `tfsdk:"parent"`
	// The desired Data API configuration.
	Spec types.List `tfsdk:"spec"`
	// The observed Data API state (read-only).
	Status types.List `tfsdk:"status"`
	// A timestamp indicating when the Data API configuration was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

DataApi represents the Data API (PostgREST) configuration for a Database. At most one DataApi per database. Create enables Data API, Delete disables it.

func (DataApi_SdkV2) ApplySchemaCustomizations added in v1.120.0

func (m DataApi_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DataApi_SdkV2) GetComplexFieldTypes added in v1.120.0

func (m DataApi_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DataApi. 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 (*DataApi_SdkV2) GetSpec added in v1.120.0

GetSpec returns the value of the Spec field in DataApi_SdkV2 as a DataApiDataApiSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*DataApi_SdkV2) GetStatus added in v1.120.0

GetStatus returns the value of the Status field in DataApi_SdkV2 as a DataApiDataApiStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*DataApi_SdkV2) SetSpec added in v1.120.0

SetSpec sets the value of the Spec field in DataApi_SdkV2.

func (*DataApi_SdkV2) SetStatus added in v1.120.0

SetStatus sets the value of the Status field in DataApi_SdkV2.

func (*DataApi_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *DataApi_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DataApi_SdkV2)

func (*DataApi_SdkV2) SyncFieldsDuringRead added in v1.120.0

func (to *DataApi_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DataApi_SdkV2)

func (DataApi_SdkV2) ToObjectValue added in v1.120.0

func (m DataApi_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, DataApi_SdkV2 only implements ToObjectValue() and Type().

func (DataApi_SdkV2) Type added in v1.120.0

func (m DataApi_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type Database added in v1.111.0

type Database struct {
	// A timestamp indicating when the database was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// The part of the name, chosen by the user when the resource was created.
	DatabaseId types.String `tfsdk:"database_id"`
	// The resource name of the database. Format:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}
	Name types.String `tfsdk:"name"`
	// The branch containing this database. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"parent"`
	// The desired state of the Database.
	//
	// Read the resource's current values from `status`, rather than `spec`.
	// `spec` tracks field ownership for infrastructure-as-code tools and may
	// omit unmanaged fields.
	Spec types.Object `tfsdk:"spec"`
	// The observed state of the Database.
	Status types.Object `tfsdk:"status"`
	// A timestamp indicating when the database was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

Database represents a Postgres database within a Branch.

func (Database) ApplySchemaCustomizations added in v1.111.0

func (m Database) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Database) GetComplexFieldTypes added in v1.111.0

func (m Database) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Database. 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 (*Database) GetSpec added in v1.111.0

func (m *Database) GetSpec(ctx context.Context) (DatabaseDatabaseSpec, bool)

GetSpec returns the value of the Spec field in Database as a DatabaseDatabaseSpec value. If the field is unknown or null, the boolean return value is false.

func (*Database) GetStatus added in v1.111.0

func (m *Database) GetStatus(ctx context.Context) (DatabaseDatabaseStatus, bool)

GetStatus returns the value of the Status field in Database as a DatabaseDatabaseStatus value. If the field is unknown or null, the boolean return value is false.

func (*Database) SetSpec added in v1.111.0

func (m *Database) SetSpec(ctx context.Context, v DatabaseDatabaseSpec)

SetSpec sets the value of the Spec field in Database.

func (*Database) SetStatus added in v1.111.0

func (m *Database) SetStatus(ctx context.Context, v DatabaseDatabaseStatus)

SetStatus sets the value of the Status field in Database.

func (*Database) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *Database) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Database)

func (*Database) SyncFieldsDuringRead added in v1.111.0

func (to *Database) SyncFieldsDuringRead(ctx context.Context, from Database)

func (Database) ToObjectValue added in v1.111.0

func (m Database) 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, Database only implements ToObjectValue() and Type().

func (Database) Type added in v1.111.0

func (m Database) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type DatabaseCredential added in v1.104.0

type DatabaseCredential struct {
	// Timestamp in UTC of when this credential expires.
	ExpireTime timetypes.RFC3339 `tfsdk:"expire_time"`
	// The OAuth token that can be used as a password when connecting to a
	// database.
	Token types.String `tfsdk:"token"`
}

func (DatabaseCredential) ApplySchemaCustomizations added in v1.104.0

func (m DatabaseCredential) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DatabaseCredential) GetComplexFieldTypes added in v1.104.0

func (m DatabaseCredential) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabaseCredential. 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 (*DatabaseCredential) SyncFieldsDuringCreateOrUpdate added in v1.104.0

func (to *DatabaseCredential) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabaseCredential)

func (*DatabaseCredential) SyncFieldsDuringRead added in v1.104.0

func (to *DatabaseCredential) SyncFieldsDuringRead(ctx context.Context, from DatabaseCredential)

func (DatabaseCredential) ToObjectValue added in v1.104.0

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, DatabaseCredential only implements ToObjectValue() and Type().

func (DatabaseCredential) Type added in v1.104.0

Type implements basetypes.ObjectValuable.

type DatabaseCredential_SdkV2 added in v1.104.0

type DatabaseCredential_SdkV2 struct {
	// Timestamp in UTC of when this credential expires.
	ExpireTime timetypes.RFC3339 `tfsdk:"expire_time"`
	// The OAuth token that can be used as a password when connecting to a
	// database.
	Token types.String `tfsdk:"token"`
}

func (DatabaseCredential_SdkV2) ApplySchemaCustomizations added in v1.104.0

func (m DatabaseCredential_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DatabaseCredential_SdkV2) GetComplexFieldTypes added in v1.104.0

func (m DatabaseCredential_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabaseCredential. 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 (*DatabaseCredential_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.104.0

func (to *DatabaseCredential_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabaseCredential_SdkV2)

func (*DatabaseCredential_SdkV2) SyncFieldsDuringRead added in v1.104.0

func (to *DatabaseCredential_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DatabaseCredential_SdkV2)

func (DatabaseCredential_SdkV2) ToObjectValue added in v1.104.0

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, DatabaseCredential_SdkV2 only implements ToObjectValue() and Type().

func (DatabaseCredential_SdkV2) Type added in v1.104.0

Type implements basetypes.ObjectValuable.

type DatabaseDatabaseSpec added in v1.111.0

type DatabaseDatabaseSpec struct {
	// The name of the Postgres database.
	//
	// This expects a valid Postgres identifier as specified in the link below.
	// https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS
	// Required when creating the Database.
	//
	// To rename, pass a valid postgres identifier when updating the Database.
	PostgresDatabase types.String `tfsdk:"postgres_database"`
	// The name of the role that owns the database. Format:
	// projects/{project_id}/branches/{branch_id}/roles/{role_id}
	//
	// To change the owner, pass valid existing Role name when updating the
	// Database
	//
	// Required when creating the Database.
	Role types.String `tfsdk:"role"`
}

func (DatabaseDatabaseSpec) ApplySchemaCustomizations added in v1.111.0

func (m DatabaseDatabaseSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DatabaseDatabaseSpec) GetComplexFieldTypes added in v1.111.0

func (m DatabaseDatabaseSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabaseDatabaseSpec. 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 (*DatabaseDatabaseSpec) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *DatabaseDatabaseSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabaseDatabaseSpec)

func (*DatabaseDatabaseSpec) SyncFieldsDuringRead added in v1.111.0

func (to *DatabaseDatabaseSpec) SyncFieldsDuringRead(ctx context.Context, from DatabaseDatabaseSpec)

func (DatabaseDatabaseSpec) ToObjectValue added in v1.111.0

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, DatabaseDatabaseSpec only implements ToObjectValue() and Type().

func (DatabaseDatabaseSpec) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type DatabaseDatabaseSpec_SdkV2 added in v1.111.0

type DatabaseDatabaseSpec_SdkV2 struct {
	// The name of the Postgres database.
	//
	// This expects a valid Postgres identifier as specified in the link below.
	// https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS
	// Required when creating the Database.
	//
	// To rename, pass a valid postgres identifier when updating the Database.
	PostgresDatabase types.String `tfsdk:"postgres_database"`
	// The name of the role that owns the database. Format:
	// projects/{project_id}/branches/{branch_id}/roles/{role_id}
	//
	// To change the owner, pass valid existing Role name when updating the
	// Database
	//
	// Required when creating the Database.
	Role types.String `tfsdk:"role"`
}

func (DatabaseDatabaseSpec_SdkV2) ApplySchemaCustomizations added in v1.111.0

func (m DatabaseDatabaseSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DatabaseDatabaseSpec_SdkV2) GetComplexFieldTypes added in v1.111.0

func (m DatabaseDatabaseSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabaseDatabaseSpec. 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 (*DatabaseDatabaseSpec_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *DatabaseDatabaseSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabaseDatabaseSpec_SdkV2)

func (*DatabaseDatabaseSpec_SdkV2) SyncFieldsDuringRead added in v1.111.0

func (to *DatabaseDatabaseSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DatabaseDatabaseSpec_SdkV2)

func (DatabaseDatabaseSpec_SdkV2) ToObjectValue added in v1.111.0

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, DatabaseDatabaseSpec_SdkV2 only implements ToObjectValue() and Type().

func (DatabaseDatabaseSpec_SdkV2) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type DatabaseDatabaseStatus added in v1.111.0

type DatabaseDatabaseStatus struct {
	// Part of the resource name.
	DatabaseId types.String `tfsdk:"database_id"`
	// The name of the Postgres database.
	PostgresDatabase types.String `tfsdk:"postgres_database"`
	// The name of the role that owns the database. Format:
	// projects/{project_id}/branches/{branch_id}/roles/{role_id}
	Role types.String `tfsdk:"role"`
}

func (DatabaseDatabaseStatus) ApplySchemaCustomizations added in v1.111.0

func (m DatabaseDatabaseStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DatabaseDatabaseStatus) GetComplexFieldTypes added in v1.111.0

func (m DatabaseDatabaseStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabaseDatabaseStatus. 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 (*DatabaseDatabaseStatus) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *DatabaseDatabaseStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabaseDatabaseStatus)

func (*DatabaseDatabaseStatus) SyncFieldsDuringRead added in v1.111.0

func (to *DatabaseDatabaseStatus) SyncFieldsDuringRead(ctx context.Context, from DatabaseDatabaseStatus)

func (DatabaseDatabaseStatus) ToObjectValue added in v1.111.0

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, DatabaseDatabaseStatus only implements ToObjectValue() and Type().

func (DatabaseDatabaseStatus) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type DatabaseDatabaseStatus_SdkV2 added in v1.111.0

type DatabaseDatabaseStatus_SdkV2 struct {
	// Part of the resource name.
	DatabaseId types.String `tfsdk:"database_id"`
	// The name of the Postgres database.
	PostgresDatabase types.String `tfsdk:"postgres_database"`
	// The name of the role that owns the database. Format:
	// projects/{project_id}/branches/{branch_id}/roles/{role_id}
	Role types.String `tfsdk:"role"`
}

func (DatabaseDatabaseStatus_SdkV2) ApplySchemaCustomizations added in v1.111.0

func (DatabaseDatabaseStatus_SdkV2) GetComplexFieldTypes added in v1.111.0

func (m DatabaseDatabaseStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabaseDatabaseStatus. 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 (*DatabaseDatabaseStatus_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *DatabaseDatabaseStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabaseDatabaseStatus_SdkV2)

func (*DatabaseDatabaseStatus_SdkV2) SyncFieldsDuringRead added in v1.111.0

func (to *DatabaseDatabaseStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DatabaseDatabaseStatus_SdkV2)

func (DatabaseDatabaseStatus_SdkV2) ToObjectValue added in v1.111.0

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, DatabaseDatabaseStatus_SdkV2 only implements ToObjectValue() and Type().

func (DatabaseDatabaseStatus_SdkV2) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type DatabaseMapping

type DatabaseMapping struct {
	// Output-only. The resolved target PostgreSQL database name. Equal to
	// `target_database` when provided; otherwise equal to `source_database`.
	EffectiveTargetDatabase types.String `tfsdk:"effective_target_database"`
	// Required. The exact PostgreSQL database name on the source server.
	SourceDatabase types.String `tfsdk:"source_database"`
	// The PostgreSQL database name to create on the target branch. When
	// omitted, the source database name is preserved.
	TargetDatabase types.String `tfsdk:"target_database"`
}

A mapping between one source and target database.

func (DatabaseMapping) ApplySchemaCustomizations

func (m DatabaseMapping) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DatabaseMapping) GetComplexFieldTypes

func (m DatabaseMapping) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabaseMapping. 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 (*DatabaseMapping) SyncFieldsDuringCreateOrUpdate

func (to *DatabaseMapping) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabaseMapping)

func (*DatabaseMapping) SyncFieldsDuringRead

func (to *DatabaseMapping) SyncFieldsDuringRead(ctx context.Context, from DatabaseMapping)

func (DatabaseMapping) ToObjectValue

func (m DatabaseMapping) 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, DatabaseMapping only implements ToObjectValue() and Type().

func (DatabaseMapping) Type

func (m DatabaseMapping) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type DatabaseMapping_SdkV2

type DatabaseMapping_SdkV2 struct {
	// Output-only. The resolved target PostgreSQL database name. Equal to
	// `target_database` when provided; otherwise equal to `source_database`.
	EffectiveTargetDatabase types.String `tfsdk:"effective_target_database"`
	// Required. The exact PostgreSQL database name on the source server.
	SourceDatabase types.String `tfsdk:"source_database"`
	// The PostgreSQL database name to create on the target branch. When
	// omitted, the source database name is preserved.
	TargetDatabase types.String `tfsdk:"target_database"`
}

A mapping between one source and target database.

func (DatabaseMapping_SdkV2) ApplySchemaCustomizations

func (m DatabaseMapping_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DatabaseMapping_SdkV2) GetComplexFieldTypes

func (m DatabaseMapping_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabaseMapping. 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 (*DatabaseMapping_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *DatabaseMapping_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabaseMapping_SdkV2)

func (*DatabaseMapping_SdkV2) SyncFieldsDuringRead

func (to *DatabaseMapping_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DatabaseMapping_SdkV2)

func (DatabaseMapping_SdkV2) ToObjectValue

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, DatabaseMapping_SdkV2 only implements ToObjectValue() and Type().

func (DatabaseMapping_SdkV2) Type

Type implements basetypes.ObjectValuable.

type DatabaseOperationMetadata added in v1.111.0

type DatabaseOperationMetadata struct {
}

func (DatabaseOperationMetadata) ApplySchemaCustomizations added in v1.111.0

func (m DatabaseOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DatabaseOperationMetadata) GetComplexFieldTypes added in v1.111.0

func (m DatabaseOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabaseOperationMetadata. 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 (*DatabaseOperationMetadata) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *DatabaseOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabaseOperationMetadata)

func (*DatabaseOperationMetadata) SyncFieldsDuringRead added in v1.111.0

func (to *DatabaseOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from DatabaseOperationMetadata)

func (DatabaseOperationMetadata) ToObjectValue added in v1.111.0

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, DatabaseOperationMetadata only implements ToObjectValue() and Type().

func (DatabaseOperationMetadata) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type DatabaseOperationMetadata_SdkV2 added in v1.111.0

type DatabaseOperationMetadata_SdkV2 struct {
}

func (DatabaseOperationMetadata_SdkV2) ApplySchemaCustomizations added in v1.111.0

func (DatabaseOperationMetadata_SdkV2) GetComplexFieldTypes added in v1.111.0

func (m DatabaseOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabaseOperationMetadata. 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 (*DatabaseOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *DatabaseOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabaseOperationMetadata_SdkV2)

func (*DatabaseOperationMetadata_SdkV2) SyncFieldsDuringRead added in v1.111.0

func (DatabaseOperationMetadata_SdkV2) ToObjectValue added in v1.111.0

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, DatabaseOperationMetadata_SdkV2 only implements ToObjectValue() and Type().

func (DatabaseOperationMetadata_SdkV2) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type DatabaseSizeDetails

type DatabaseSizeDetails struct {
	// Size reported by pg_database_size, in bytes. Zero is a measured empty
	// size.
	SizeBytes types.Int64 `tfsdk:"size_bytes"`
}

Physical database size, including indexes and bloat; not a dump archive size estimate.

func (DatabaseSizeDetails) ApplySchemaCustomizations

func (m DatabaseSizeDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DatabaseSizeDetails) GetComplexFieldTypes

func (m DatabaseSizeDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabaseSizeDetails. 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 (*DatabaseSizeDetails) SyncFieldsDuringCreateOrUpdate

func (to *DatabaseSizeDetails) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabaseSizeDetails)

func (*DatabaseSizeDetails) SyncFieldsDuringRead

func (to *DatabaseSizeDetails) SyncFieldsDuringRead(ctx context.Context, from DatabaseSizeDetails)

func (DatabaseSizeDetails) ToObjectValue

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, DatabaseSizeDetails only implements ToObjectValue() and Type().

func (DatabaseSizeDetails) Type

Type implements basetypes.ObjectValuable.

type DatabaseSizeDetails_SdkV2

type DatabaseSizeDetails_SdkV2 struct {
	// Size reported by pg_database_size, in bytes. Zero is a measured empty
	// size.
	SizeBytes types.Int64 `tfsdk:"size_bytes"`
}

Physical database size, including indexes and bloat; not a dump archive size estimate.

func (DatabaseSizeDetails_SdkV2) ApplySchemaCustomizations

func (m DatabaseSizeDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DatabaseSizeDetails_SdkV2) GetComplexFieldTypes

func (m DatabaseSizeDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabaseSizeDetails. 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 (*DatabaseSizeDetails_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *DatabaseSizeDetails_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabaseSizeDetails_SdkV2)

func (*DatabaseSizeDetails_SdkV2) SyncFieldsDuringRead

func (to *DatabaseSizeDetails_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DatabaseSizeDetails_SdkV2)

func (DatabaseSizeDetails_SdkV2) ToObjectValue

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, DatabaseSizeDetails_SdkV2 only implements ToObjectValue() and Type().

func (DatabaseSizeDetails_SdkV2) Type

Type implements basetypes.ObjectValuable.

type Database_SdkV2 added in v1.111.0

type Database_SdkV2 struct {
	// A timestamp indicating when the database was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// The part of the name, chosen by the user when the resource was created.
	DatabaseId types.String `tfsdk:"database_id"`
	// The resource name of the database. Format:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}
	Name types.String `tfsdk:"name"`
	// The branch containing this database. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"parent"`
	// The desired state of the Database.
	//
	// Read the resource's current values from `status`, rather than `spec`.
	// `spec` tracks field ownership for infrastructure-as-code tools and may
	// omit unmanaged fields.
	Spec types.List `tfsdk:"spec"`
	// The observed state of the Database.
	Status types.List `tfsdk:"status"`
	// A timestamp indicating when the database was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

Database represents a Postgres database within a Branch.

func (Database_SdkV2) ApplySchemaCustomizations added in v1.111.0

func (m Database_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Database_SdkV2) GetComplexFieldTypes added in v1.111.0

func (m Database_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Database. 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 (*Database_SdkV2) GetSpec added in v1.111.0

GetSpec returns the value of the Spec field in Database_SdkV2 as a DatabaseDatabaseSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Database_SdkV2) GetStatus added in v1.111.0

GetStatus returns the value of the Status field in Database_SdkV2 as a DatabaseDatabaseStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Database_SdkV2) SetSpec added in v1.111.0

SetSpec sets the value of the Spec field in Database_SdkV2.

func (*Database_SdkV2) SetStatus added in v1.111.0

SetStatus sets the value of the Status field in Database_SdkV2.

func (*Database_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *Database_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Database_SdkV2)

func (*Database_SdkV2) SyncFieldsDuringRead added in v1.111.0

func (to *Database_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Database_SdkV2)

func (Database_SdkV2) ToObjectValue added in v1.111.0

func (m Database_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, Database_SdkV2 only implements ToObjectValue() and Type().

func (Database_SdkV2) Type added in v1.111.0

func (m Database_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type DatabricksServiceExceptionWithDetailsProto

type DatabricksServiceExceptionWithDetailsProto struct {
	Details types.List `tfsdk:"details"`

	ErrorCode types.String `tfsdk:"error_code"`

	Message types.String `tfsdk:"message"`

	StackTrace types.String `tfsdk:"stack_trace"`
}

Databricks Error that is returned by all Databricks APIs.

func (DatabricksServiceExceptionWithDetailsProto) ApplySchemaCustomizations

func (DatabricksServiceExceptionWithDetailsProto) GetComplexFieldTypes

GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabricksServiceExceptionWithDetailsProto. 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 (*DatabricksServiceExceptionWithDetailsProto) GetDetails

GetDetails returns the value of the Details field in DatabricksServiceExceptionWithDetailsProto as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.

func (*DatabricksServiceExceptionWithDetailsProto) SetDetails

SetDetails sets the value of the Details field in DatabricksServiceExceptionWithDetailsProto.

func (*DatabricksServiceExceptionWithDetailsProto) SyncFieldsDuringCreateOrUpdate

func (*DatabricksServiceExceptionWithDetailsProto) SyncFieldsDuringRead

func (DatabricksServiceExceptionWithDetailsProto) ToObjectValue

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, DatabricksServiceExceptionWithDetailsProto only implements ToObjectValue() and Type().

func (DatabricksServiceExceptionWithDetailsProto) Type

Type implements basetypes.ObjectValuable.

type DatabricksServiceExceptionWithDetailsProto_SdkV2

type DatabricksServiceExceptionWithDetailsProto_SdkV2 struct {
	Details types.List `tfsdk:"details"`

	ErrorCode types.String `tfsdk:"error_code"`

	Message types.String `tfsdk:"message"`

	StackTrace types.String `tfsdk:"stack_trace"`
}

Databricks Error that is returned by all Databricks APIs.

func (DatabricksServiceExceptionWithDetailsProto_SdkV2) ApplySchemaCustomizations

func (DatabricksServiceExceptionWithDetailsProto_SdkV2) GetComplexFieldTypes

GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabricksServiceExceptionWithDetailsProto. 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 (*DatabricksServiceExceptionWithDetailsProto_SdkV2) GetDetails

GetDetails returns the value of the Details field in DatabricksServiceExceptionWithDetailsProto_SdkV2 as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.

func (*DatabricksServiceExceptionWithDetailsProto_SdkV2) SetDetails

SetDetails sets the value of the Details field in DatabricksServiceExceptionWithDetailsProto_SdkV2.

func (*DatabricksServiceExceptionWithDetailsProto_SdkV2) SyncFieldsDuringCreateOrUpdate

func (*DatabricksServiceExceptionWithDetailsProto_SdkV2) SyncFieldsDuringRead

func (DatabricksServiceExceptionWithDetailsProto_SdkV2) ToObjectValue

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, DatabricksServiceExceptionWithDetailsProto_SdkV2 only implements ToObjectValue() and Type().

func (DatabricksServiceExceptionWithDetailsProto_SdkV2) Type

Type implements basetypes.ObjectValuable.

type DeleteBranchRequest

type DeleteBranchRequest struct {
	// The full resource path of the branch to delete. Format:
	// projects/{project_id}/branches/{branch_id}
	Name types.String `tfsdk:"-"`
	// If true, permanently delete the branch; if false, soft delete.
	Purge types.Bool `tfsdk:"-"`
}

func (DeleteBranchRequest) ApplySchemaCustomizations

func (m DeleteBranchRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteBranchRequest) GetComplexFieldTypes

func (m DeleteBranchRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteBranchRequest. 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 (*DeleteBranchRequest) SyncFieldsDuringCreateOrUpdate

func (to *DeleteBranchRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteBranchRequest)

func (*DeleteBranchRequest) SyncFieldsDuringRead

func (to *DeleteBranchRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteBranchRequest)

func (DeleteBranchRequest) ToObjectValue

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, DeleteBranchRequest only implements ToObjectValue() and Type().

func (DeleteBranchRequest) Type

Type implements basetypes.ObjectValuable.

type DeleteBranchRequest_SdkV2

type DeleteBranchRequest_SdkV2 struct {
	// The full resource path of the branch to delete. Format:
	// projects/{project_id}/branches/{branch_id}
	Name types.String `tfsdk:"-"`
	// If true, permanently delete the branch; if false, soft delete.
	Purge types.Bool `tfsdk:"-"`
}

func (DeleteBranchRequest_SdkV2) ApplySchemaCustomizations

func (m DeleteBranchRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteBranchRequest_SdkV2) GetComplexFieldTypes

func (m DeleteBranchRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteBranchRequest. 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 (*DeleteBranchRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *DeleteBranchRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteBranchRequest_SdkV2)

func (*DeleteBranchRequest_SdkV2) SyncFieldsDuringRead

func (to *DeleteBranchRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteBranchRequest_SdkV2)

func (DeleteBranchRequest_SdkV2) ToObjectValue

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, DeleteBranchRequest_SdkV2 only implements ToObjectValue() and Type().

func (DeleteBranchRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type DeleteCatalogRequest added in v1.113.0

type DeleteCatalogRequest struct {
	// The full resource path of the catalog to delete.
	//
	// Format: "catalogs/{catalog_id}".
	Name types.String `tfsdk:"-"`
}

func (DeleteCatalogRequest) ApplySchemaCustomizations added in v1.113.0

func (m DeleteCatalogRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteCatalogRequest) GetComplexFieldTypes added in v1.113.0

func (m DeleteCatalogRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCatalogRequest. 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 (*DeleteCatalogRequest) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *DeleteCatalogRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteCatalogRequest)

func (*DeleteCatalogRequest) SyncFieldsDuringRead added in v1.113.0

func (to *DeleteCatalogRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteCatalogRequest)

func (DeleteCatalogRequest) ToObjectValue added in v1.113.0

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, DeleteCatalogRequest only implements ToObjectValue() and Type().

func (DeleteCatalogRequest) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type DeleteCatalogRequest_SdkV2 added in v1.113.0

type DeleteCatalogRequest_SdkV2 struct {
	// The full resource path of the catalog to delete.
	//
	// Format: "catalogs/{catalog_id}".
	Name types.String `tfsdk:"-"`
}

func (DeleteCatalogRequest_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (m DeleteCatalogRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteCatalogRequest_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m DeleteCatalogRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCatalogRequest. 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 (*DeleteCatalogRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *DeleteCatalogRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteCatalogRequest_SdkV2)

func (*DeleteCatalogRequest_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (to *DeleteCatalogRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteCatalogRequest_SdkV2)

func (DeleteCatalogRequest_SdkV2) ToObjectValue added in v1.113.0

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, DeleteCatalogRequest_SdkV2 only implements ToObjectValue() and Type().

func (DeleteCatalogRequest_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type DeleteCdfConfigRequest added in v1.122.0

type DeleteCdfConfigRequest struct {
	// When true, also drops the replicated Delta tables in Unity Catalog. When
	// false (the default), the replicated tables are preserved at their last
	// synced state.
	Force types.Bool `tfsdk:"-"`
	// The resource name of the CdfConfig to delete. Format:
	// projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
	Name types.String `tfsdk:"-"`
}

func (DeleteCdfConfigRequest) ApplySchemaCustomizations added in v1.122.0

func (m DeleteCdfConfigRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteCdfConfigRequest) GetComplexFieldTypes added in v1.122.0

func (m DeleteCdfConfigRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCdfConfigRequest. 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 (*DeleteCdfConfigRequest) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *DeleteCdfConfigRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteCdfConfigRequest)

func (*DeleteCdfConfigRequest) SyncFieldsDuringRead added in v1.122.0

func (to *DeleteCdfConfigRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteCdfConfigRequest)

func (DeleteCdfConfigRequest) ToObjectValue added in v1.122.0

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, DeleteCdfConfigRequest only implements ToObjectValue() and Type().

func (DeleteCdfConfigRequest) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type DeleteCdfConfigRequest_SdkV2 added in v1.122.0

type DeleteCdfConfigRequest_SdkV2 struct {
	// When true, also drops the replicated Delta tables in Unity Catalog. When
	// false (the default), the replicated tables are preserved at their last
	// synced state.
	Force types.Bool `tfsdk:"-"`
	// The resource name of the CdfConfig to delete. Format:
	// projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
	Name types.String `tfsdk:"-"`
}

func (DeleteCdfConfigRequest_SdkV2) ApplySchemaCustomizations added in v1.122.0

func (DeleteCdfConfigRequest_SdkV2) GetComplexFieldTypes added in v1.122.0

func (m DeleteCdfConfigRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCdfConfigRequest. 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 (*DeleteCdfConfigRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *DeleteCdfConfigRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteCdfConfigRequest_SdkV2)

func (*DeleteCdfConfigRequest_SdkV2) SyncFieldsDuringRead added in v1.122.0

func (to *DeleteCdfConfigRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteCdfConfigRequest_SdkV2)

func (DeleteCdfConfigRequest_SdkV2) ToObjectValue added in v1.122.0

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, DeleteCdfConfigRequest_SdkV2 only implements ToObjectValue() and Type().

func (DeleteCdfConfigRequest_SdkV2) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type DeleteDataApiRequest added in v1.120.0

type DeleteDataApiRequest struct {
	// Resource name:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}/data-api
	Name types.String `tfsdk:"-"`
}

func (DeleteDataApiRequest) ApplySchemaCustomizations added in v1.120.0

func (m DeleteDataApiRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteDataApiRequest) GetComplexFieldTypes added in v1.120.0

func (m DeleteDataApiRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDataApiRequest. 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 (*DeleteDataApiRequest) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *DeleteDataApiRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteDataApiRequest)

func (*DeleteDataApiRequest) SyncFieldsDuringRead added in v1.120.0

func (to *DeleteDataApiRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteDataApiRequest)

func (DeleteDataApiRequest) ToObjectValue added in v1.120.0

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, DeleteDataApiRequest only implements ToObjectValue() and Type().

func (DeleteDataApiRequest) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type DeleteDataApiRequest_SdkV2 added in v1.120.0

type DeleteDataApiRequest_SdkV2 struct {
	// Resource name:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}/data-api
	Name types.String `tfsdk:"-"`
}

func (DeleteDataApiRequest_SdkV2) ApplySchemaCustomizations added in v1.120.0

func (m DeleteDataApiRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteDataApiRequest_SdkV2) GetComplexFieldTypes added in v1.120.0

func (m DeleteDataApiRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDataApiRequest. 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 (*DeleteDataApiRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *DeleteDataApiRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteDataApiRequest_SdkV2)

func (*DeleteDataApiRequest_SdkV2) SyncFieldsDuringRead added in v1.120.0

func (to *DeleteDataApiRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteDataApiRequest_SdkV2)

func (DeleteDataApiRequest_SdkV2) ToObjectValue added in v1.120.0

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, DeleteDataApiRequest_SdkV2 only implements ToObjectValue() and Type().

func (DeleteDataApiRequest_SdkV2) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type DeleteDatabaseRequest added in v1.111.0

type DeleteDatabaseRequest struct {
	// The resource name of the postgres database. Format:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}
	Name types.String `tfsdk:"-"`
}

func (DeleteDatabaseRequest) ApplySchemaCustomizations added in v1.111.0

func (m DeleteDatabaseRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteDatabaseRequest) GetComplexFieldTypes added in v1.111.0

func (m DeleteDatabaseRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDatabaseRequest. 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 (*DeleteDatabaseRequest) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *DeleteDatabaseRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteDatabaseRequest)

func (*DeleteDatabaseRequest) SyncFieldsDuringRead added in v1.111.0

func (to *DeleteDatabaseRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteDatabaseRequest)

func (DeleteDatabaseRequest) ToObjectValue added in v1.111.0

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, DeleteDatabaseRequest only implements ToObjectValue() and Type().

func (DeleteDatabaseRequest) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type DeleteDatabaseRequest_SdkV2 added in v1.111.0

type DeleteDatabaseRequest_SdkV2 struct {
	// The resource name of the postgres database. Format:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}
	Name types.String `tfsdk:"-"`
}

func (DeleteDatabaseRequest_SdkV2) ApplySchemaCustomizations added in v1.111.0

func (m DeleteDatabaseRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteDatabaseRequest_SdkV2) GetComplexFieldTypes added in v1.111.0

func (m DeleteDatabaseRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDatabaseRequest. 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 (*DeleteDatabaseRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *DeleteDatabaseRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteDatabaseRequest_SdkV2)

func (*DeleteDatabaseRequest_SdkV2) SyncFieldsDuringRead added in v1.111.0

func (to *DeleteDatabaseRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteDatabaseRequest_SdkV2)

func (DeleteDatabaseRequest_SdkV2) ToObjectValue added in v1.111.0

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, DeleteDatabaseRequest_SdkV2 only implements ToObjectValue() and Type().

func (DeleteDatabaseRequest_SdkV2) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type DeleteEndpointRequest

type DeleteEndpointRequest struct {
	// The full resource path of the endpoint to delete. Format:
	// projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
	Name types.String `tfsdk:"-"`
}

func (DeleteEndpointRequest) ApplySchemaCustomizations

func (m DeleteEndpointRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteEndpointRequest) GetComplexFieldTypes

func (m DeleteEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate

func (to *DeleteEndpointRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteEndpointRequest)

func (*DeleteEndpointRequest) SyncFieldsDuringRead

func (to *DeleteEndpointRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteEndpointRequest)

func (DeleteEndpointRequest) ToObjectValue

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().

func (DeleteEndpointRequest) Type

Type implements basetypes.ObjectValuable.

type DeleteEndpointRequest_SdkV2

type DeleteEndpointRequest_SdkV2 struct {
	// The full resource path of the endpoint to delete. Format:
	// projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
	Name types.String `tfsdk:"-"`
}

func (DeleteEndpointRequest_SdkV2) ApplySchemaCustomizations

func (m DeleteEndpointRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteEndpointRequest_SdkV2) GetComplexFieldTypes

func (m DeleteEndpointRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *DeleteEndpointRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteEndpointRequest_SdkV2)

func (*DeleteEndpointRequest_SdkV2) SyncFieldsDuringRead

func (to *DeleteEndpointRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteEndpointRequest_SdkV2)

func (DeleteEndpointRequest_SdkV2) ToObjectValue

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_SdkV2 only implements ToObjectValue() and Type().

func (DeleteEndpointRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type DeleteMigrationRequest

type DeleteMigrationRequest struct {
	// Required. The migration resource name, in the format
	// `migrations/{migration}`.
	Name types.String `tfsdk:"-"`
}

func (DeleteMigrationRequest) ApplySchemaCustomizations

func (m DeleteMigrationRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteMigrationRequest) GetComplexFieldTypes

func (m DeleteMigrationRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteMigrationRequest. 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 (*DeleteMigrationRequest) SyncFieldsDuringCreateOrUpdate

func (to *DeleteMigrationRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteMigrationRequest)

func (*DeleteMigrationRequest) SyncFieldsDuringRead

func (to *DeleteMigrationRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteMigrationRequest)

func (DeleteMigrationRequest) ToObjectValue

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, DeleteMigrationRequest only implements ToObjectValue() and Type().

func (DeleteMigrationRequest) Type

Type implements basetypes.ObjectValuable.

type DeleteMigrationRequest_SdkV2

type DeleteMigrationRequest_SdkV2 struct {
	// Required. The migration resource name, in the format
	// `migrations/{migration}`.
	Name types.String `tfsdk:"-"`
}

func (DeleteMigrationRequest_SdkV2) ApplySchemaCustomizations

func (DeleteMigrationRequest_SdkV2) GetComplexFieldTypes

func (m DeleteMigrationRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteMigrationRequest. 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 (*DeleteMigrationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *DeleteMigrationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteMigrationRequest_SdkV2)

func (*DeleteMigrationRequest_SdkV2) SyncFieldsDuringRead

func (to *DeleteMigrationRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteMigrationRequest_SdkV2)

func (DeleteMigrationRequest_SdkV2) ToObjectValue

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, DeleteMigrationRequest_SdkV2 only implements ToObjectValue() and Type().

func (DeleteMigrationRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type DeleteProjectRequest

type DeleteProjectRequest struct {
	// The full resource path of the project to delete. Format:
	// projects/{project_id}
	Name types.String `tfsdk:"-"`
	// If true, permanently deletes the project and all of its data immediately.
	// If false or unset, the project is soft-deleted: it stops accepting
	// connections and is retained for 7 days, during which it can be restored
	// with Undelete, and is then permanently deleted. Deleting an already
	// soft-deleted project with `purge` set to true removes it immediately. See
	// https://docs.databricks.com/aws/en/oltp/projects/manage-projects for
	// details.
	Purge types.Bool `tfsdk:"-"`
}

func (DeleteProjectRequest) ApplySchemaCustomizations

func (m DeleteProjectRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteProjectRequest) GetComplexFieldTypes

func (m DeleteProjectRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteProjectRequest. 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 (*DeleteProjectRequest) SyncFieldsDuringCreateOrUpdate

func (to *DeleteProjectRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteProjectRequest)

func (*DeleteProjectRequest) SyncFieldsDuringRead

func (to *DeleteProjectRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteProjectRequest)

func (DeleteProjectRequest) ToObjectValue

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, DeleteProjectRequest only implements ToObjectValue() and Type().

func (DeleteProjectRequest) Type

Type implements basetypes.ObjectValuable.

type DeleteProjectRequest_SdkV2

type DeleteProjectRequest_SdkV2 struct {
	// The full resource path of the project to delete. Format:
	// projects/{project_id}
	Name types.String `tfsdk:"-"`
	// If true, permanently deletes the project and all of its data immediately.
	// If false or unset, the project is soft-deleted: it stops accepting
	// connections and is retained for 7 days, during which it can be restored
	// with Undelete, and is then permanently deleted. Deleting an already
	// soft-deleted project with `purge` set to true removes it immediately. See
	// https://docs.databricks.com/aws/en/oltp/projects/manage-projects for
	// details.
	Purge types.Bool `tfsdk:"-"`
}

func (DeleteProjectRequest_SdkV2) ApplySchemaCustomizations

func (m DeleteProjectRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteProjectRequest_SdkV2) GetComplexFieldTypes

func (m DeleteProjectRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteProjectRequest. 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 (*DeleteProjectRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *DeleteProjectRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteProjectRequest_SdkV2)

func (*DeleteProjectRequest_SdkV2) SyncFieldsDuringRead

func (to *DeleteProjectRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteProjectRequest_SdkV2)

func (DeleteProjectRequest_SdkV2) ToObjectValue

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, DeleteProjectRequest_SdkV2 only implements ToObjectValue() and Type().

func (DeleteProjectRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type DeleteRoleRequest

type DeleteRoleRequest struct {
	// The full resource path of the role to delete. Format:
	// projects/{project_id}/branches/{branch_id}/roles/{role_id}
	Name types.String `tfsdk:"-"`
	// Reassign objects. If this is set, all objects owned by the role are
	// reassigned to the role specified in this parameter.
	//
	// NOTE: setting this requires spinning up a compute to succeed, since it
	// involves running SQL queries.
	ReassignOwnedTo types.String `tfsdk:"-"`
}

func (DeleteRoleRequest) ApplySchemaCustomizations

func (m DeleteRoleRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteRoleRequest) GetComplexFieldTypes

func (m DeleteRoleRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRoleRequest. 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 (*DeleteRoleRequest) SyncFieldsDuringCreateOrUpdate

func (to *DeleteRoleRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteRoleRequest)

func (*DeleteRoleRequest) SyncFieldsDuringRead

func (to *DeleteRoleRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteRoleRequest)

func (DeleteRoleRequest) ToObjectValue

func (m DeleteRoleRequest) 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, DeleteRoleRequest only implements ToObjectValue() and Type().

func (DeleteRoleRequest) Type

Type implements basetypes.ObjectValuable.

type DeleteRoleRequest_SdkV2

type DeleteRoleRequest_SdkV2 struct {
	// The full resource path of the role to delete. Format:
	// projects/{project_id}/branches/{branch_id}/roles/{role_id}
	Name types.String `tfsdk:"-"`
	// Reassign objects. If this is set, all objects owned by the role are
	// reassigned to the role specified in this parameter.
	//
	// NOTE: setting this requires spinning up a compute to succeed, since it
	// involves running SQL queries.
	ReassignOwnedTo types.String `tfsdk:"-"`
}

func (DeleteRoleRequest_SdkV2) ApplySchemaCustomizations

func (m DeleteRoleRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteRoleRequest_SdkV2) GetComplexFieldTypes

func (m DeleteRoleRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRoleRequest. 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 (*DeleteRoleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *DeleteRoleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteRoleRequest_SdkV2)

func (*DeleteRoleRequest_SdkV2) SyncFieldsDuringRead

func (to *DeleteRoleRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteRoleRequest_SdkV2)

func (DeleteRoleRequest_SdkV2) ToObjectValue

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, DeleteRoleRequest_SdkV2 only implements ToObjectValue() and Type().

func (DeleteRoleRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type DeleteSnapshotRequest added in v1.131.0

type DeleteSnapshotRequest struct {
	// The resource name of the snapshot to delete. Format:
	// projects/{project_id}/snapshots/{snapshot_id}
	Name types.String `tfsdk:"-"`
}

func (DeleteSnapshotRequest) ApplySchemaCustomizations added in v1.131.0

func (m DeleteSnapshotRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteSnapshotRequest) GetComplexFieldTypes added in v1.131.0

func (m DeleteSnapshotRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteSnapshotRequest. 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 (*DeleteSnapshotRequest) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *DeleteSnapshotRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteSnapshotRequest)

func (*DeleteSnapshotRequest) SyncFieldsDuringRead added in v1.131.0

func (to *DeleteSnapshotRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteSnapshotRequest)

func (DeleteSnapshotRequest) ToObjectValue added in v1.131.0

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, DeleteSnapshotRequest only implements ToObjectValue() and Type().

func (DeleteSnapshotRequest) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type DeleteSnapshotRequest_SdkV2 added in v1.131.0

type DeleteSnapshotRequest_SdkV2 struct {
	// The resource name of the snapshot to delete. Format:
	// projects/{project_id}/snapshots/{snapshot_id}
	Name types.String `tfsdk:"-"`
}

func (DeleteSnapshotRequest_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (m DeleteSnapshotRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteSnapshotRequest_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m DeleteSnapshotRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteSnapshotRequest. 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 (*DeleteSnapshotRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *DeleteSnapshotRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteSnapshotRequest_SdkV2)

func (*DeleteSnapshotRequest_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (to *DeleteSnapshotRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteSnapshotRequest_SdkV2)

func (DeleteSnapshotRequest_SdkV2) ToObjectValue added in v1.131.0

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, DeleteSnapshotRequest_SdkV2 only implements ToObjectValue() and Type().

func (DeleteSnapshotRequest_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type DeleteSyncedTableRequest added in v1.113.0

type DeleteSyncedTableRequest struct {
	// The Full resource name of the synced table, of the format
	// "synced_tables/{catalog}.{schema}.{table}", where (catalog, schema,
	// table) are the UC entity names.
	Name types.String `tfsdk:"-"`
}

func (DeleteSyncedTableRequest) ApplySchemaCustomizations added in v1.113.0

func (m DeleteSyncedTableRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteSyncedTableRequest) GetComplexFieldTypes added in v1.113.0

func (m DeleteSyncedTableRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteSyncedTableRequest. 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 (*DeleteSyncedTableRequest) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *DeleteSyncedTableRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteSyncedTableRequest)

func (*DeleteSyncedTableRequest) SyncFieldsDuringRead added in v1.113.0

func (to *DeleteSyncedTableRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteSyncedTableRequest)

func (DeleteSyncedTableRequest) ToObjectValue added in v1.113.0

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, DeleteSyncedTableRequest only implements ToObjectValue() and Type().

func (DeleteSyncedTableRequest) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type DeleteSyncedTableRequest_SdkV2 added in v1.113.0

type DeleteSyncedTableRequest_SdkV2 struct {
	// The Full resource name of the synced table, of the format
	// "synced_tables/{catalog}.{schema}.{table}", where (catalog, schema,
	// table) are the UC entity names.
	Name types.String `tfsdk:"-"`
}

func (DeleteSyncedTableRequest_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (DeleteSyncedTableRequest_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m DeleteSyncedTableRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteSyncedTableRequest. 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 (*DeleteSyncedTableRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *DeleteSyncedTableRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteSyncedTableRequest_SdkV2)

func (*DeleteSyncedTableRequest_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (DeleteSyncedTableRequest_SdkV2) ToObjectValue added in v1.113.0

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, DeleteSyncedTableRequest_SdkV2 only implements ToObjectValue() and Type().

func (DeleteSyncedTableRequest_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type DeltaTableSyncInfo added in v1.113.0

type DeltaTableSyncInfo struct {
	// The timestamp when the above Delta version was committed in the source
	// Delta table. Note: This is the Delta commit time, not the time the data
	// was written to the synced table.
	DeltaCommitTime timetypes.RFC3339 `tfsdk:"delta_commit_time"`
	// The Delta Lake commit version that was last successfully synced.
	DeltaCommitVersion types.Int64 `tfsdk:"delta_commit_version"`
}

func (DeltaTableSyncInfo) ApplySchemaCustomizations added in v1.113.0

func (m DeltaTableSyncInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeltaTableSyncInfo) GetComplexFieldTypes added in v1.113.0

func (m DeltaTableSyncInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeltaTableSyncInfo. 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 (*DeltaTableSyncInfo) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *DeltaTableSyncInfo) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeltaTableSyncInfo)

func (*DeltaTableSyncInfo) SyncFieldsDuringRead added in v1.113.0

func (to *DeltaTableSyncInfo) SyncFieldsDuringRead(ctx context.Context, from DeltaTableSyncInfo)

func (DeltaTableSyncInfo) ToObjectValue added in v1.113.0

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, DeltaTableSyncInfo only implements ToObjectValue() and Type().

func (DeltaTableSyncInfo) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type DeltaTableSyncInfo_SdkV2 added in v1.113.0

type DeltaTableSyncInfo_SdkV2 struct {
	// The timestamp when the above Delta version was committed in the source
	// Delta table. Note: This is the Delta commit time, not the time the data
	// was written to the synced table.
	DeltaCommitTime timetypes.RFC3339 `tfsdk:"delta_commit_time"`
	// The Delta Lake commit version that was last successfully synced.
	DeltaCommitVersion types.Int64 `tfsdk:"delta_commit_version"`
}

func (DeltaTableSyncInfo_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (m DeltaTableSyncInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeltaTableSyncInfo_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m DeltaTableSyncInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeltaTableSyncInfo. 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 (*DeltaTableSyncInfo_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *DeltaTableSyncInfo_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeltaTableSyncInfo_SdkV2)

func (*DeltaTableSyncInfo_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (to *DeltaTableSyncInfo_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeltaTableSyncInfo_SdkV2)

func (DeltaTableSyncInfo_SdkV2) ToObjectValue added in v1.113.0

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, DeltaTableSyncInfo_SdkV2 only implements ToObjectValue() and Type().

func (DeltaTableSyncInfo_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type Endpoint

type Endpoint struct {
	// A timestamp indicating when the compute endpoint was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// The endpoint ID chosen when the endpoint was created. It is the final
	// segment of `name`.
	EndpointId types.String `tfsdk:"endpoint_id"`
	// Output only. The full resource path of the endpoint. Format:
	// projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
	Name types.String `tfsdk:"name"`
	// The branch containing this endpoint (API resource hierarchy). Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"parent"`
	// The desired configuration of the endpoint. Every field under `spec`
	// except `endpoint_type` can be changed after creation. See `status` for
	// the configuration that is currently in effect.
	//
	// Read the resource's current values from `status`, rather than `spec`.
	// `spec` tracks field ownership for infrastructure-as-code tools and may
	// omit unmanaged fields.
	Spec types.Object `tfsdk:"spec"`
	// The configuration and state of the endpoint that are currently in effect,
	// as reported by the system, including the hostnames to connect to.
	Status types.Object `tfsdk:"status"`
	// A system-generated ID that identifies the endpoint. Unlike `name`, it is
	// not derived from the user-chosen endpoint ID. The endpoint's connection
	// hostnames are based on this ID.
	Uid types.String `tfsdk:"uid"`
	// A timestamp indicating when the compute endpoint was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

A compute endpoint of a Lakebase Postgres branch. An endpoint provides the compute that runs Postgres for the branch's data and the hostnames that clients connect to. Each branch has one read-write endpoint, created together with the branch, and can have additional read-only endpoints (read replicas).

func (Endpoint) ApplySchemaCustomizations

func (m Endpoint) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Endpoint) GetComplexFieldTypes

func (m Endpoint) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Endpoint. 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 (*Endpoint) GetSpec

func (m *Endpoint) GetSpec(ctx context.Context) (EndpointSpec, bool)

GetSpec returns the value of the Spec field in Endpoint as a EndpointSpec value. If the field is unknown or null, the boolean return value is false.

func (*Endpoint) GetStatus

func (m *Endpoint) GetStatus(ctx context.Context) (EndpointStatus, bool)

GetStatus returns the value of the Status field in Endpoint as a EndpointStatus value. If the field is unknown or null, the boolean return value is false.

func (*Endpoint) SetSpec

func (m *Endpoint) SetSpec(ctx context.Context, v EndpointSpec)

SetSpec sets the value of the Spec field in Endpoint.

func (*Endpoint) SetStatus

func (m *Endpoint) SetStatus(ctx context.Context, v EndpointStatus)

SetStatus sets the value of the Status field in Endpoint.

func (*Endpoint) SyncFieldsDuringCreateOrUpdate

func (to *Endpoint) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Endpoint)

func (*Endpoint) SyncFieldsDuringRead

func (to *Endpoint) SyncFieldsDuringRead(ctx context.Context, from Endpoint)

func (Endpoint) ToObjectValue

func (m Endpoint) 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, Endpoint only implements ToObjectValue() and Type().

func (Endpoint) Type

func (m Endpoint) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type EndpointGroupSpec added in v1.110.0

type EndpointGroupSpec struct {
	// Whether to allow read-only connections to read-write endpoints. Only
	// relevant for read-write endpoints where `max` is greater than 1. When
	// enabled, the endpoint also reports a read-only host in `status.hosts`.
	EnableReadableSecondaries types.Bool `tfsdk:"enable_readable_secondaries"`
	// The maximum number of computes in the endpoint group. Currently, this
	// must be equal to min. Set to 1 for single compute endpoints, to disable
	// HA. To manually suspend all computes in an endpoint group, set disabled
	// to true on the EndpointSpec.
	Max types.Int64 `tfsdk:"max"`
	// The minimum number of computes in the endpoint group. Currently, this
	// must be equal to max. This must be greater than or equal to 1.
	Min types.Int64 `tfsdk:"min"`
}

func (EndpointGroupSpec) ApplySchemaCustomizations added in v1.110.0

func (m EndpointGroupSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointGroupSpec) GetComplexFieldTypes added in v1.110.0

func (m EndpointGroupSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointGroupSpec. 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 (*EndpointGroupSpec) SyncFieldsDuringCreateOrUpdate added in v1.110.0

func (to *EndpointGroupSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointGroupSpec)

func (*EndpointGroupSpec) SyncFieldsDuringRead added in v1.110.0

func (to *EndpointGroupSpec) SyncFieldsDuringRead(ctx context.Context, from EndpointGroupSpec)

func (EndpointGroupSpec) ToObjectValue added in v1.110.0

func (m EndpointGroupSpec) 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, EndpointGroupSpec only implements ToObjectValue() and Type().

func (EndpointGroupSpec) Type added in v1.110.0

Type implements basetypes.ObjectValuable.

type EndpointGroupSpec_SdkV2 added in v1.110.0

type EndpointGroupSpec_SdkV2 struct {
	// Whether to allow read-only connections to read-write endpoints. Only
	// relevant for read-write endpoints where `max` is greater than 1. When
	// enabled, the endpoint also reports a read-only host in `status.hosts`.
	EnableReadableSecondaries types.Bool `tfsdk:"enable_readable_secondaries"`
	// The maximum number of computes in the endpoint group. Currently, this
	// must be equal to min. Set to 1 for single compute endpoints, to disable
	// HA. To manually suspend all computes in an endpoint group, set disabled
	// to true on the EndpointSpec.
	Max types.Int64 `tfsdk:"max"`
	// The minimum number of computes in the endpoint group. Currently, this
	// must be equal to max. This must be greater than or equal to 1.
	Min types.Int64 `tfsdk:"min"`
}

func (EndpointGroupSpec_SdkV2) ApplySchemaCustomizations added in v1.110.0

func (m EndpointGroupSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointGroupSpec_SdkV2) GetComplexFieldTypes added in v1.110.0

func (m EndpointGroupSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointGroupSpec. 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 (*EndpointGroupSpec_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.110.0

func (to *EndpointGroupSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointGroupSpec_SdkV2)

func (*EndpointGroupSpec_SdkV2) SyncFieldsDuringRead added in v1.110.0

func (to *EndpointGroupSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointGroupSpec_SdkV2)

func (EndpointGroupSpec_SdkV2) ToObjectValue added in v1.110.0

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, EndpointGroupSpec_SdkV2 only implements ToObjectValue() and Type().

func (EndpointGroupSpec_SdkV2) Type added in v1.110.0

Type implements basetypes.ObjectValuable.

type EndpointGroupStatus added in v1.110.0

type EndpointGroupStatus struct {
	// Whether read-only connections to read-write endpoints are allowed. Only
	// relevant if the endpoint has more than one compute (`max` greater than
	// 1).
	EnableReadableSecondaries types.Bool `tfsdk:"enable_readable_secondaries"`
	// The maximum number of computes in the endpoint group. Currently, this
	// must be equal to min. Set to 1 for single compute endpoints, to disable
	// HA. To manually suspend all computes in an endpoint group, set disabled
	// to true on the EndpointSpec.
	Max types.Int64 `tfsdk:"max"`
	// The minimum number of computes in the endpoint group. Currently, this
	// must be equal to max. This must be greater than or equal to 1.
	Min types.Int64 `tfsdk:"min"`
}

func (EndpointGroupStatus) ApplySchemaCustomizations added in v1.110.0

func (m EndpointGroupStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointGroupStatus) GetComplexFieldTypes added in v1.110.0

func (m EndpointGroupStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointGroupStatus. 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 (*EndpointGroupStatus) SyncFieldsDuringCreateOrUpdate added in v1.110.0

func (to *EndpointGroupStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointGroupStatus)

func (*EndpointGroupStatus) SyncFieldsDuringRead added in v1.110.0

func (to *EndpointGroupStatus) SyncFieldsDuringRead(ctx context.Context, from EndpointGroupStatus)

func (EndpointGroupStatus) ToObjectValue added in v1.110.0

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, EndpointGroupStatus only implements ToObjectValue() and Type().

func (EndpointGroupStatus) Type added in v1.110.0

Type implements basetypes.ObjectValuable.

type EndpointGroupStatus_SdkV2 added in v1.110.0

type EndpointGroupStatus_SdkV2 struct {
	// Whether read-only connections to read-write endpoints are allowed. Only
	// relevant if the endpoint has more than one compute (`max` greater than
	// 1).
	EnableReadableSecondaries types.Bool `tfsdk:"enable_readable_secondaries"`
	// The maximum number of computes in the endpoint group. Currently, this
	// must be equal to min. Set to 1 for single compute endpoints, to disable
	// HA. To manually suspend all computes in an endpoint group, set disabled
	// to true on the EndpointSpec.
	Max types.Int64 `tfsdk:"max"`
	// The minimum number of computes in the endpoint group. Currently, this
	// must be equal to max. This must be greater than or equal to 1.
	Min types.Int64 `tfsdk:"min"`
}

func (EndpointGroupStatus_SdkV2) ApplySchemaCustomizations added in v1.110.0

func (m EndpointGroupStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointGroupStatus_SdkV2) GetComplexFieldTypes added in v1.110.0

func (m EndpointGroupStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointGroupStatus. 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 (*EndpointGroupStatus_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.110.0

func (to *EndpointGroupStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointGroupStatus_SdkV2)

func (*EndpointGroupStatus_SdkV2) SyncFieldsDuringRead added in v1.110.0

func (to *EndpointGroupStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointGroupStatus_SdkV2)

func (EndpointGroupStatus_SdkV2) ToObjectValue added in v1.110.0

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, EndpointGroupStatus_SdkV2 only implements ToObjectValue() and Type().

func (EndpointGroupStatus_SdkV2) Type added in v1.110.0

Type implements basetypes.ObjectValuable.

type EndpointHosts added in v1.104.0

type EndpointHosts struct {
	// The hostname to connect to this endpoint. For read-write endpoints, this
	// is a read-write hostname which connects to the primary compute. For
	// read-only endpoints, this is a read-only hostname which allows read-only
	// operations.
	Host types.String `tfsdk:"host"`
	// An optionally defined read-only host for the endpoint, without pooling.
	// For read-only endpoints, this attribute is always defined and is
	// equivalent to host. For read-write endpoints, this attribute is defined
	// if the enclosing endpoint is a group with greater than 1 computes
	// configured, and has readable secondaries enabled.
	ReadOnlyHost types.String `tfsdk:"read_only_host"`
	// The read-only hostname of the compute endpoint, with pooling. This
	// attribute is always defined for read-only endpoints, and may be defined
	// for read-write endpoints if configured with read replicas and allow
	// read-only connections.
	ReadOnlyPooledHost types.String `tfsdk:"read_only_pooled_host"`
	// The read-write hostname of the compute endpoint, with pooling. This
	// attribute is only defined for read-write endpoints.
	ReadWritePooledHost types.String `tfsdk:"read_write_pooled_host"`
}

Encapsulates various hostnames (r/w or r/o, pooled or not) for an endpoint.

func (EndpointHosts) ApplySchemaCustomizations added in v1.104.0

func (m EndpointHosts) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointHosts) GetComplexFieldTypes added in v1.104.0

func (m EndpointHosts) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointHosts. 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 (*EndpointHosts) SyncFieldsDuringCreateOrUpdate added in v1.104.0

func (to *EndpointHosts) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointHosts)

func (*EndpointHosts) SyncFieldsDuringRead added in v1.104.0

func (to *EndpointHosts) SyncFieldsDuringRead(ctx context.Context, from EndpointHosts)

func (EndpointHosts) ToObjectValue added in v1.104.0

func (m EndpointHosts) 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, EndpointHosts only implements ToObjectValue() and Type().

func (EndpointHosts) Type added in v1.104.0

func (m EndpointHosts) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type EndpointHosts_SdkV2 added in v1.104.0

type EndpointHosts_SdkV2 struct {
	// The hostname to connect to this endpoint. For read-write endpoints, this
	// is a read-write hostname which connects to the primary compute. For
	// read-only endpoints, this is a read-only hostname which allows read-only
	// operations.
	Host types.String `tfsdk:"host"`
	// An optionally defined read-only host for the endpoint, without pooling.
	// For read-only endpoints, this attribute is always defined and is
	// equivalent to host. For read-write endpoints, this attribute is defined
	// if the enclosing endpoint is a group with greater than 1 computes
	// configured, and has readable secondaries enabled.
	ReadOnlyHost types.String `tfsdk:"read_only_host"`
	// The read-only hostname of the compute endpoint, with pooling. This
	// attribute is always defined for read-only endpoints, and may be defined
	// for read-write endpoints if configured with read replicas and allow
	// read-only connections.
	ReadOnlyPooledHost types.String `tfsdk:"read_only_pooled_host"`
	// The read-write hostname of the compute endpoint, with pooling. This
	// attribute is only defined for read-write endpoints.
	ReadWritePooledHost types.String `tfsdk:"read_write_pooled_host"`
}

Encapsulates various hostnames (r/w or r/o, pooled or not) for an endpoint.

func (EndpointHosts_SdkV2) ApplySchemaCustomizations added in v1.104.0

func (m EndpointHosts_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointHosts_SdkV2) GetComplexFieldTypes added in v1.104.0

func (m EndpointHosts_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointHosts. 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 (*EndpointHosts_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.104.0

func (to *EndpointHosts_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointHosts_SdkV2)

func (*EndpointHosts_SdkV2) SyncFieldsDuringRead added in v1.104.0

func (to *EndpointHosts_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointHosts_SdkV2)

func (EndpointHosts_SdkV2) ToObjectValue added in v1.104.0

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, EndpointHosts_SdkV2 only implements ToObjectValue() and Type().

func (EndpointHosts_SdkV2) Type added in v1.104.0

Type implements basetypes.ObjectValuable.

type EndpointOperationMetadata

type EndpointOperationMetadata struct {
}

func (EndpointOperationMetadata) ApplySchemaCustomizations

func (m EndpointOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointOperationMetadata) GetComplexFieldTypes

func (m EndpointOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointOperationMetadata. 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 (*EndpointOperationMetadata) SyncFieldsDuringCreateOrUpdate

func (to *EndpointOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointOperationMetadata)

func (*EndpointOperationMetadata) SyncFieldsDuringRead

func (to *EndpointOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from EndpointOperationMetadata)

func (EndpointOperationMetadata) ToObjectValue

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, EndpointOperationMetadata only implements ToObjectValue() and Type().

func (EndpointOperationMetadata) Type

Type implements basetypes.ObjectValuable.

type EndpointOperationMetadata_SdkV2

type EndpointOperationMetadata_SdkV2 struct {
}

func (EndpointOperationMetadata_SdkV2) ApplySchemaCustomizations

func (EndpointOperationMetadata_SdkV2) GetComplexFieldTypes

func (m EndpointOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointOperationMetadata. 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 (*EndpointOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *EndpointOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointOperationMetadata_SdkV2)

func (*EndpointOperationMetadata_SdkV2) SyncFieldsDuringRead

func (EndpointOperationMetadata_SdkV2) ToObjectValue

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, EndpointOperationMetadata_SdkV2 only implements ToObjectValue() and Type().

func (EndpointOperationMetadata_SdkV2) Type

Type implements basetypes.ObjectValuable.

type EndpointSettings

type EndpointSettings struct {
	// Postgres server parameters to set on the compute endpoint, keyed by
	// parameter name. Each value is given as a string.
	PgSettings types.Map `tfsdk:"pg_settings"`
}

A collection of settings for a compute endpoint.

func (EndpointSettings) ApplySchemaCustomizations

func (m EndpointSettings) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointSettings) GetComplexFieldTypes

func (m EndpointSettings) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointSettings. 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 (*EndpointSettings) GetPgSettings

func (m *EndpointSettings) GetPgSettings(ctx context.Context) (map[string]types.String, bool)

GetPgSettings returns the value of the PgSettings field in EndpointSettings as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EndpointSettings) SetPgSettings

func (m *EndpointSettings) SetPgSettings(ctx context.Context, v map[string]types.String)

SetPgSettings sets the value of the PgSettings field in EndpointSettings.

func (*EndpointSettings) SyncFieldsDuringCreateOrUpdate

func (to *EndpointSettings) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointSettings)

func (*EndpointSettings) SyncFieldsDuringRead

func (to *EndpointSettings) SyncFieldsDuringRead(ctx context.Context, from EndpointSettings)

func (EndpointSettings) ToObjectValue

func (m EndpointSettings) 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, EndpointSettings only implements ToObjectValue() and Type().

func (EndpointSettings) Type

Type implements basetypes.ObjectValuable.

type EndpointSettings_SdkV2

type EndpointSettings_SdkV2 struct {
	// Postgres server parameters to set on the compute endpoint, keyed by
	// parameter name. Each value is given as a string.
	PgSettings types.Map `tfsdk:"pg_settings"`
}

A collection of settings for a compute endpoint.

func (EndpointSettings_SdkV2) ApplySchemaCustomizations

func (m EndpointSettings_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointSettings_SdkV2) GetComplexFieldTypes

func (m EndpointSettings_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointSettings. 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 (*EndpointSettings_SdkV2) GetPgSettings

func (m *EndpointSettings_SdkV2) GetPgSettings(ctx context.Context) (map[string]types.String, bool)

GetPgSettings returns the value of the PgSettings field in EndpointSettings_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EndpointSettings_SdkV2) SetPgSettings

func (m *EndpointSettings_SdkV2) SetPgSettings(ctx context.Context, v map[string]types.String)

SetPgSettings sets the value of the PgSettings field in EndpointSettings_SdkV2.

func (*EndpointSettings_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *EndpointSettings_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointSettings_SdkV2)

func (*EndpointSettings_SdkV2) SyncFieldsDuringRead

func (to *EndpointSettings_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointSettings_SdkV2)

func (EndpointSettings_SdkV2) ToObjectValue

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, EndpointSettings_SdkV2 only implements ToObjectValue() and Type().

func (EndpointSettings_SdkV2) Type

Type implements basetypes.ObjectValuable.

type EndpointSpec

type EndpointSpec struct {
	// The maximum number of Compute Units. The maximum value is 64. The
	// difference between the minimum and maximum Compute Units (max - min) must
	// not exceed 16. Set it equal to `autoscaling_limit_min_cu` for a
	// fixed-size compute. When omitted at creation, the project's default
	// endpoint settings apply.
	AutoscalingLimitMaxCu types.Float64 `tfsdk:"autoscaling_limit_max_cu"`
	// The minimum number of Compute Units. Minimum value is 0.5, and it must
	// not exceed `autoscaling_limit_max_cu`. When omitted at creation, the
	// project's default endpoint settings apply.
	AutoscalingLimitMinCu types.Float64 `tfsdk:"autoscaling_limit_min_cu"`
	// Whether to restrict connections to the compute endpoint. Enabling this
	// option schedules a suspend compute operation. A disabled compute endpoint
	// cannot be enabled by a connection or console action. To accept
	// connections again, set this field back to false.
	Disabled types.Bool `tfsdk:"disabled"`
	// The endpoint type. A branch can only have one READ_WRITE endpoint.
	EndpointType types.String `tfsdk:"endpoint_type"`
	// Settings for optional HA configuration of the endpoint. If unspecified,
	// the endpoint defaults to non HA settings, with a single compute backing
	// the endpoint (and no readable secondaries for Read/Write endpoints).
	// Automatic suspension is not available for an endpoint with more than one
	// compute, so set `no_suspension` to true when configuring one.
	Group types.Object `tfsdk:"group"`
	// When set to true, explicitly disables automatic suspension (never
	// suspend). The value must be true when provided. Mutually exclusive with
	// `suspend_timeout_duration`.
	NoSuspension types.Bool `tfsdk:"no_suspension"`
	// Postgres server parameters for the compute endpoint. On update, an empty
	// `pg_settings` map leaves the current parameters unchanged.
	Settings types.Object `tfsdk:"settings"`
	// Duration of inactivity after which the compute endpoint is automatically
	// suspended. If specified, the value must be between 60s and 604800s (1
	// minute to 1 week). A suspended endpoint keeps its hostnames and
	// configuration, and the next connection attempt restarts it. When neither
	// this field nor `no_suspension` is set at creation, the project's default
	// endpoint settings apply. Mutually exclusive with `no_suspension`.
	SuspendTimeoutDuration timetypes.GoDuration `tfsdk:"suspend_timeout_duration"`
}

func (EndpointSpec) ApplySchemaCustomizations

func (m EndpointSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointSpec) GetComplexFieldTypes

func (m EndpointSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointSpec. 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 (*EndpointSpec) GetGroup added in v1.110.0

func (m *EndpointSpec) GetGroup(ctx context.Context) (EndpointGroupSpec, bool)

GetGroup returns the value of the Group field in EndpointSpec as a EndpointGroupSpec value. If the field is unknown or null, the boolean return value is false.

func (*EndpointSpec) GetSettings

func (m *EndpointSpec) GetSettings(ctx context.Context) (EndpointSettings, bool)

GetSettings returns the value of the Settings field in EndpointSpec as a EndpointSettings value. If the field is unknown or null, the boolean return value is false.

func (*EndpointSpec) SetGroup added in v1.110.0

func (m *EndpointSpec) SetGroup(ctx context.Context, v EndpointGroupSpec)

SetGroup sets the value of the Group field in EndpointSpec.

func (*EndpointSpec) SetSettings

func (m *EndpointSpec) SetSettings(ctx context.Context, v EndpointSettings)

SetSettings sets the value of the Settings field in EndpointSpec.

func (*EndpointSpec) SyncFieldsDuringCreateOrUpdate

func (to *EndpointSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointSpec)

func (*EndpointSpec) SyncFieldsDuringRead

func (to *EndpointSpec) SyncFieldsDuringRead(ctx context.Context, from EndpointSpec)

func (EndpointSpec) ToObjectValue

func (m EndpointSpec) 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, EndpointSpec only implements ToObjectValue() and Type().

func (EndpointSpec) Type

func (m EndpointSpec) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type EndpointSpec_SdkV2

type EndpointSpec_SdkV2 struct {
	// The maximum number of Compute Units. The maximum value is 64. The
	// difference between the minimum and maximum Compute Units (max - min) must
	// not exceed 16. Set it equal to `autoscaling_limit_min_cu` for a
	// fixed-size compute. When omitted at creation, the project's default
	// endpoint settings apply.
	AutoscalingLimitMaxCu types.Float64 `tfsdk:"autoscaling_limit_max_cu"`
	// The minimum number of Compute Units. Minimum value is 0.5, and it must
	// not exceed `autoscaling_limit_max_cu`. When omitted at creation, the
	// project's default endpoint settings apply.
	AutoscalingLimitMinCu types.Float64 `tfsdk:"autoscaling_limit_min_cu"`
	// Whether to restrict connections to the compute endpoint. Enabling this
	// option schedules a suspend compute operation. A disabled compute endpoint
	// cannot be enabled by a connection or console action. To accept
	// connections again, set this field back to false.
	Disabled types.Bool `tfsdk:"disabled"`
	// The endpoint type. A branch can only have one READ_WRITE endpoint.
	EndpointType types.String `tfsdk:"endpoint_type"`
	// Settings for optional HA configuration of the endpoint. If unspecified,
	// the endpoint defaults to non HA settings, with a single compute backing
	// the endpoint (and no readable secondaries for Read/Write endpoints).
	// Automatic suspension is not available for an endpoint with more than one
	// compute, so set `no_suspension` to true when configuring one.
	Group types.List `tfsdk:"group"`
	// When set to true, explicitly disables automatic suspension (never
	// suspend). The value must be true when provided. Mutually exclusive with
	// `suspend_timeout_duration`.
	NoSuspension types.Bool `tfsdk:"no_suspension"`
	// Postgres server parameters for the compute endpoint. On update, an empty
	// `pg_settings` map leaves the current parameters unchanged.
	Settings types.List `tfsdk:"settings"`
	// Duration of inactivity after which the compute endpoint is automatically
	// suspended. If specified, the value must be between 60s and 604800s (1
	// minute to 1 week). A suspended endpoint keeps its hostnames and
	// configuration, and the next connection attempt restarts it. When neither
	// this field nor `no_suspension` is set at creation, the project's default
	// endpoint settings apply. Mutually exclusive with `no_suspension`.
	SuspendTimeoutDuration timetypes.GoDuration `tfsdk:"suspend_timeout_duration"`
}

func (EndpointSpec_SdkV2) ApplySchemaCustomizations

func (m EndpointSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointSpec_SdkV2) GetComplexFieldTypes

func (m EndpointSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointSpec. 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 (*EndpointSpec_SdkV2) GetGroup added in v1.110.0

GetGroup returns the value of the Group field in EndpointSpec_SdkV2 as a EndpointGroupSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EndpointSpec_SdkV2) GetSettings

GetSettings returns the value of the Settings field in EndpointSpec_SdkV2 as a EndpointSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EndpointSpec_SdkV2) SetGroup added in v1.110.0

SetGroup sets the value of the Group field in EndpointSpec_SdkV2.

func (*EndpointSpec_SdkV2) SetSettings

SetSettings sets the value of the Settings field in EndpointSpec_SdkV2.

func (*EndpointSpec_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *EndpointSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointSpec_SdkV2)

func (*EndpointSpec_SdkV2) SyncFieldsDuringRead

func (to *EndpointSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointSpec_SdkV2)

func (EndpointSpec_SdkV2) ToObjectValue

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, EndpointSpec_SdkV2 only implements ToObjectValue() and Type().

func (EndpointSpec_SdkV2) Type

Type implements basetypes.ObjectValuable.

type EndpointStatus

type EndpointStatus struct {
	// The maximum number of Compute Units. The maximum value is 64. The
	// difference between the minimum and maximum Compute Units (max - min) must
	// not exceed 16.
	AutoscalingLimitMaxCu types.Float64 `tfsdk:"autoscaling_limit_max_cu"`
	// The minimum number of Compute Units.
	AutoscalingLimitMinCu types.Float64 `tfsdk:"autoscaling_limit_min_cu"`
	// The state the compute endpoint is in now.
	CurrentState types.String `tfsdk:"current_state"`
	// Whether to restrict connections to the compute endpoint. Enabling this
	// option schedules a suspend compute operation. A disabled compute endpoint
	// cannot be enabled by a connection or console action.
	Disabled types.Bool `tfsdk:"disabled"`
	// The endpoint ID, which is the final segment of the endpoint's resource
	// name.
	EndpointId types.String `tfsdk:"endpoint_id"`
	// The endpoint type. A branch can only have one READ_WRITE endpoint.
	EndpointType types.String `tfsdk:"endpoint_type"`
	// Details on the HA configuration of the endpoint.
	Group types.Object `tfsdk:"group"`
	// Contains host information for connecting to the endpoint.
	Hosts types.Object `tfsdk:"hosts"`
	// A timestamp indicating when the compute endpoint was last active.
	LastActiveTime timetypes.RFC3339 `tfsdk:"last_active_time"`
	// The state the compute endpoint is transitioning to, if a transition is in
	// progress.
	PendingState types.String `tfsdk:"pending_state"`
	// The Postgres server parameters currently set on the compute endpoint.
	Settings types.Object `tfsdk:"settings"`
	// Duration of inactivity after which the compute endpoint is automatically
	// suspended. Absent when automatic suspension is disabled.
	SuspendTimeoutDuration timetypes.GoDuration `tfsdk:"suspend_timeout_duration"`
}

func (EndpointStatus) ApplySchemaCustomizations

func (m EndpointStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointStatus) GetComplexFieldTypes

func (m EndpointStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) GetGroup added in v1.110.0

GetGroup returns the value of the Group field in EndpointStatus as a EndpointGroupStatus value. If the field is unknown or null, the boolean return value is false.

func (*EndpointStatus) GetHosts added in v1.104.0

func (m *EndpointStatus) GetHosts(ctx context.Context) (EndpointHosts, bool)

GetHosts returns the value of the Hosts field in EndpointStatus as a EndpointHosts value. If the field is unknown or null, the boolean return value is false.

func (*EndpointStatus) GetSettings

func (m *EndpointStatus) GetSettings(ctx context.Context) (EndpointSettings, bool)

GetSettings returns the value of the Settings field in EndpointStatus as a EndpointSettings value. If the field is unknown or null, the boolean return value is false.

func (*EndpointStatus) SetGroup added in v1.110.0

func (m *EndpointStatus) SetGroup(ctx context.Context, v EndpointGroupStatus)

SetGroup sets the value of the Group field in EndpointStatus.

func (*EndpointStatus) SetHosts added in v1.104.0

func (m *EndpointStatus) SetHosts(ctx context.Context, v EndpointHosts)

SetHosts sets the value of the Hosts field in EndpointStatus.

func (*EndpointStatus) SetSettings

func (m *EndpointStatus) SetSettings(ctx context.Context, v EndpointSettings)

SetSettings sets the value of the Settings field in EndpointStatus.

func (*EndpointStatus) SyncFieldsDuringCreateOrUpdate

func (to *EndpointStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointStatus)

func (*EndpointStatus) SyncFieldsDuringRead

func (to *EndpointStatus) SyncFieldsDuringRead(ctx context.Context, from EndpointStatus)

func (EndpointStatus) ToObjectValue

func (m 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().

func (EndpointStatus) Type

func (m EndpointStatus) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type EndpointStatus_SdkV2

type EndpointStatus_SdkV2 struct {
	// The maximum number of Compute Units. The maximum value is 64. The
	// difference between the minimum and maximum Compute Units (max - min) must
	// not exceed 16.
	AutoscalingLimitMaxCu types.Float64 `tfsdk:"autoscaling_limit_max_cu"`
	// The minimum number of Compute Units.
	AutoscalingLimitMinCu types.Float64 `tfsdk:"autoscaling_limit_min_cu"`
	// The state the compute endpoint is in now.
	CurrentState types.String `tfsdk:"current_state"`
	// Whether to restrict connections to the compute endpoint. Enabling this
	// option schedules a suspend compute operation. A disabled compute endpoint
	// cannot be enabled by a connection or console action.
	Disabled types.Bool `tfsdk:"disabled"`
	// The endpoint ID, which is the final segment of the endpoint's resource
	// name.
	EndpointId types.String `tfsdk:"endpoint_id"`
	// The endpoint type. A branch can only have one READ_WRITE endpoint.
	EndpointType types.String `tfsdk:"endpoint_type"`
	// Details on the HA configuration of the endpoint.
	Group types.List `tfsdk:"group"`
	// Contains host information for connecting to the endpoint.
	Hosts types.List `tfsdk:"hosts"`
	// A timestamp indicating when the compute endpoint was last active.
	LastActiveTime timetypes.RFC3339 `tfsdk:"last_active_time"`
	// The state the compute endpoint is transitioning to, if a transition is in
	// progress.
	PendingState types.String `tfsdk:"pending_state"`
	// The Postgres server parameters currently set on the compute endpoint.
	Settings types.List `tfsdk:"settings"`
	// Duration of inactivity after which the compute endpoint is automatically
	// suspended. Absent when automatic suspension is disabled.
	SuspendTimeoutDuration timetypes.GoDuration `tfsdk:"suspend_timeout_duration"`
}

func (EndpointStatus_SdkV2) ApplySchemaCustomizations

func (m EndpointStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointStatus_SdkV2) GetComplexFieldTypes

func (m EndpointStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetGroup added in v1.110.0

GetGroup returns the value of the Group field in EndpointStatus_SdkV2 as a EndpointGroupStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EndpointStatus_SdkV2) GetHosts added in v1.104.0

GetHosts returns the value of the Hosts field in EndpointStatus_SdkV2 as a EndpointHosts_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EndpointStatus_SdkV2) GetSettings

GetSettings returns the value of the Settings field in EndpointStatus_SdkV2 as a EndpointSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EndpointStatus_SdkV2) SetGroup added in v1.110.0

SetGroup sets the value of the Group field in EndpointStatus_SdkV2.

func (*EndpointStatus_SdkV2) SetHosts added in v1.104.0

SetHosts sets the value of the Hosts field in EndpointStatus_SdkV2.

func (*EndpointStatus_SdkV2) SetSettings

SetSettings sets the value of the Settings field in EndpointStatus_SdkV2.

func (*EndpointStatus_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *EndpointStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointStatus_SdkV2)

func (*EndpointStatus_SdkV2) SyncFieldsDuringRead

func (to *EndpointStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointStatus_SdkV2)

func (EndpointStatus_SdkV2) ToObjectValue

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_SdkV2 only implements ToObjectValue() and Type().

func (EndpointStatus_SdkV2) Type

Type implements basetypes.ObjectValuable.

type Endpoint_SdkV2

type Endpoint_SdkV2 struct {
	// A timestamp indicating when the compute endpoint was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// The endpoint ID chosen when the endpoint was created. It is the final
	// segment of `name`.
	EndpointId types.String `tfsdk:"endpoint_id"`
	// Output only. The full resource path of the endpoint. Format:
	// projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
	Name types.String `tfsdk:"name"`
	// The branch containing this endpoint (API resource hierarchy). Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"parent"`
	// The desired configuration of the endpoint. Every field under `spec`
	// except `endpoint_type` can be changed after creation. See `status` for
	// the configuration that is currently in effect.
	//
	// Read the resource's current values from `status`, rather than `spec`.
	// `spec` tracks field ownership for infrastructure-as-code tools and may
	// omit unmanaged fields.
	Spec types.List `tfsdk:"spec"`
	// The configuration and state of the endpoint that are currently in effect,
	// as reported by the system, including the hostnames to connect to.
	Status types.List `tfsdk:"status"`
	// A system-generated ID that identifies the endpoint. Unlike `name`, it is
	// not derived from the user-chosen endpoint ID. The endpoint's connection
	// hostnames are based on this ID.
	Uid types.String `tfsdk:"uid"`
	// A timestamp indicating when the compute endpoint was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

A compute endpoint of a Lakebase Postgres branch. An endpoint provides the compute that runs Postgres for the branch's data and the hostnames that clients connect to. Each branch has one read-write endpoint, created together with the branch, and can have additional read-only endpoints (read replicas).

func (Endpoint_SdkV2) ApplySchemaCustomizations

func (m Endpoint_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Endpoint_SdkV2) GetComplexFieldTypes

func (m Endpoint_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Endpoint. 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 (*Endpoint_SdkV2) GetSpec

GetSpec returns the value of the Spec field in Endpoint_SdkV2 as a EndpointSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Endpoint_SdkV2) GetStatus

GetStatus returns the value of the Status field in Endpoint_SdkV2 as a EndpointStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Endpoint_SdkV2) SetSpec

func (m *Endpoint_SdkV2) SetSpec(ctx context.Context, v EndpointSpec_SdkV2)

SetSpec sets the value of the Spec field in Endpoint_SdkV2.

func (*Endpoint_SdkV2) SetStatus

func (m *Endpoint_SdkV2) SetStatus(ctx context.Context, v EndpointStatus_SdkV2)

SetStatus sets the value of the Status field in Endpoint_SdkV2.

func (*Endpoint_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *Endpoint_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Endpoint_SdkV2)

func (*Endpoint_SdkV2) SyncFieldsDuringRead

func (to *Endpoint_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Endpoint_SdkV2)

func (Endpoint_SdkV2) ToObjectValue

func (m Endpoint_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, Endpoint_SdkV2 only implements ToObjectValue() and Type().

func (Endpoint_SdkV2) Type

func (m Endpoint_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type GenerateDatabaseCredentialRequest added in v1.104.0

type GenerateDatabaseCredentialRequest struct {
	// The returned token will be scoped to UC tables with the specified
	// permissions.
	Claims types.List `tfsdk:"claims"`
	// The endpoint resource name for which this credential will be generated.
	// Format:
	// projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
	Endpoint types.String `tfsdk:"endpoint"`
	// Timestamp in UTC of when this credential should expire. Must be at least
	// 300 seconds (5 minutes) and at most 1 hour from the current time.
	ExpireTime timetypes.RFC3339 `tfsdk:"expire_time"`
	// The display name of a `Databricks` workspace group. When set, the
	// returned credential is scoped to this group, so the caller connects
	// directly as the group's Postgres role. The caller must be a member of the
	// group. When omitted, the credential is scoped to the caller's own
	// identity.
	GroupName types.String `tfsdk:"group_name"`
	// The requested time-to-live for the generated credential token. Must be at
	// least 300 seconds (5 minutes) and at most 3600 seconds (1 hour).
	Ttl timetypes.GoDuration `tfsdk:"ttl"`
}

func (GenerateDatabaseCredentialRequest) ApplySchemaCustomizations added in v1.104.0

func (*GenerateDatabaseCredentialRequest) GetClaims added in v1.104.0

GetClaims returns the value of the Claims field in GenerateDatabaseCredentialRequest as a slice of RequestedClaims values. If the field is unknown or null, the boolean return value is false.

func (GenerateDatabaseCredentialRequest) GetComplexFieldTypes added in v1.104.0

func (m GenerateDatabaseCredentialRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GenerateDatabaseCredentialRequest. 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 (*GenerateDatabaseCredentialRequest) SetClaims added in v1.104.0

SetClaims sets the value of the Claims field in GenerateDatabaseCredentialRequest.

func (*GenerateDatabaseCredentialRequest) SyncFieldsDuringCreateOrUpdate added in v1.104.0

func (to *GenerateDatabaseCredentialRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GenerateDatabaseCredentialRequest)

func (*GenerateDatabaseCredentialRequest) SyncFieldsDuringRead added in v1.104.0

func (GenerateDatabaseCredentialRequest) ToObjectValue added in v1.104.0

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, GenerateDatabaseCredentialRequest only implements ToObjectValue() and Type().

func (GenerateDatabaseCredentialRequest) Type added in v1.104.0

Type implements basetypes.ObjectValuable.

type GenerateDatabaseCredentialRequest_SdkV2 added in v1.104.0

type GenerateDatabaseCredentialRequest_SdkV2 struct {
	// The returned token will be scoped to UC tables with the specified
	// permissions.
	Claims types.List `tfsdk:"claims"`
	// The endpoint resource name for which this credential will be generated.
	// Format:
	// projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
	Endpoint types.String `tfsdk:"endpoint"`
	// Timestamp in UTC of when this credential should expire. Must be at least
	// 300 seconds (5 minutes) and at most 1 hour from the current time.
	ExpireTime timetypes.RFC3339 `tfsdk:"expire_time"`
	// The display name of a `Databricks` workspace group. When set, the
	// returned credential is scoped to this group, so the caller connects
	// directly as the group's Postgres role. The caller must be a member of the
	// group. When omitted, the credential is scoped to the caller's own
	// identity.
	GroupName types.String `tfsdk:"group_name"`
	// The requested time-to-live for the generated credential token. Must be at
	// least 300 seconds (5 minutes) and at most 3600 seconds (1 hour).
	Ttl timetypes.GoDuration `tfsdk:"ttl"`
}

func (GenerateDatabaseCredentialRequest_SdkV2) ApplySchemaCustomizations added in v1.104.0

func (*GenerateDatabaseCredentialRequest_SdkV2) GetClaims added in v1.104.0

GetClaims returns the value of the Claims field in GenerateDatabaseCredentialRequest_SdkV2 as a slice of RequestedClaims_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (GenerateDatabaseCredentialRequest_SdkV2) GetComplexFieldTypes added in v1.104.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in GenerateDatabaseCredentialRequest. 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 (*GenerateDatabaseCredentialRequest_SdkV2) SetClaims added in v1.104.0

SetClaims sets the value of the Claims field in GenerateDatabaseCredentialRequest_SdkV2.

func (*GenerateDatabaseCredentialRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.104.0

func (*GenerateDatabaseCredentialRequest_SdkV2) SyncFieldsDuringRead added in v1.104.0

func (GenerateDatabaseCredentialRequest_SdkV2) ToObjectValue added in v1.104.0

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, GenerateDatabaseCredentialRequest_SdkV2 only implements ToObjectValue() and Type().

func (GenerateDatabaseCredentialRequest_SdkV2) Type added in v1.104.0

Type implements basetypes.ObjectValuable.

type GetAssessmentRequest

type GetAssessmentRequest struct {
	// Required. The assessment resource name, in the format
	// `migrations/{migration}/assessments/{assessment}`.
	Name types.String `tfsdk:"-"`
}

func (GetAssessmentRequest) ApplySchemaCustomizations

func (m GetAssessmentRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetAssessmentRequest) GetComplexFieldTypes

func (m GetAssessmentRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAssessmentRequest. 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 (*GetAssessmentRequest) SyncFieldsDuringCreateOrUpdate

func (to *GetAssessmentRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetAssessmentRequest)

func (*GetAssessmentRequest) SyncFieldsDuringRead

func (to *GetAssessmentRequest) SyncFieldsDuringRead(ctx context.Context, from GetAssessmentRequest)

func (GetAssessmentRequest) ToObjectValue

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, GetAssessmentRequest only implements ToObjectValue() and Type().

func (GetAssessmentRequest) Type

Type implements basetypes.ObjectValuable.

type GetAssessmentRequest_SdkV2

type GetAssessmentRequest_SdkV2 struct {
	// Required. The assessment resource name, in the format
	// `migrations/{migration}/assessments/{assessment}`.
	Name types.String `tfsdk:"-"`
}

func (GetAssessmentRequest_SdkV2) ApplySchemaCustomizations

func (m GetAssessmentRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetAssessmentRequest_SdkV2) GetComplexFieldTypes

func (m GetAssessmentRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAssessmentRequest. 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 (*GetAssessmentRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *GetAssessmentRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetAssessmentRequest_SdkV2)

func (*GetAssessmentRequest_SdkV2) SyncFieldsDuringRead

func (to *GetAssessmentRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetAssessmentRequest_SdkV2)

func (GetAssessmentRequest_SdkV2) ToObjectValue

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, GetAssessmentRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetAssessmentRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type GetBranchRequest

type GetBranchRequest struct {
	// The full resource path of the branch to retrieve. Format:
	// projects/{project_id}/branches/{branch_id}
	Name types.String `tfsdk:"-"`
}

func (GetBranchRequest) ApplySchemaCustomizations

func (m GetBranchRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetBranchRequest) GetComplexFieldTypes

func (m GetBranchRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetBranchRequest. 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 (*GetBranchRequest) SyncFieldsDuringCreateOrUpdate

func (to *GetBranchRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetBranchRequest)

func (*GetBranchRequest) SyncFieldsDuringRead

func (to *GetBranchRequest) SyncFieldsDuringRead(ctx context.Context, from GetBranchRequest)

func (GetBranchRequest) ToObjectValue

func (m GetBranchRequest) 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, GetBranchRequest only implements ToObjectValue() and Type().

func (GetBranchRequest) Type

Type implements basetypes.ObjectValuable.

type GetBranchRequest_SdkV2

type GetBranchRequest_SdkV2 struct {
	// The full resource path of the branch to retrieve. Format:
	// projects/{project_id}/branches/{branch_id}
	Name types.String `tfsdk:"-"`
}

func (GetBranchRequest_SdkV2) ApplySchemaCustomizations

func (m GetBranchRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetBranchRequest_SdkV2) GetComplexFieldTypes

func (m GetBranchRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetBranchRequest. 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 (*GetBranchRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *GetBranchRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetBranchRequest_SdkV2)

func (*GetBranchRequest_SdkV2) SyncFieldsDuringRead

func (to *GetBranchRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetBranchRequest_SdkV2)

func (GetBranchRequest_SdkV2) ToObjectValue

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, GetBranchRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetBranchRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type GetCatalogRequest added in v1.113.0

type GetCatalogRequest struct {
	// The full resource path of the catalog to retrieve.
	//
	// Format: "catalogs/{catalog_id}".
	Name types.String `tfsdk:"-"`
}

func (GetCatalogRequest) ApplySchemaCustomizations added in v1.113.0

func (m GetCatalogRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetCatalogRequest) GetComplexFieldTypes added in v1.113.0

func (m GetCatalogRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCatalogRequest. 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 (*GetCatalogRequest) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *GetCatalogRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetCatalogRequest)

func (*GetCatalogRequest) SyncFieldsDuringRead added in v1.113.0

func (to *GetCatalogRequest) SyncFieldsDuringRead(ctx context.Context, from GetCatalogRequest)

func (GetCatalogRequest) ToObjectValue added in v1.113.0

func (m GetCatalogRequest) 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, GetCatalogRequest only implements ToObjectValue() and Type().

func (GetCatalogRequest) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type GetCatalogRequest_SdkV2 added in v1.113.0

type GetCatalogRequest_SdkV2 struct {
	// The full resource path of the catalog to retrieve.
	//
	// Format: "catalogs/{catalog_id}".
	Name types.String `tfsdk:"-"`
}

func (GetCatalogRequest_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (m GetCatalogRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetCatalogRequest_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m GetCatalogRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCatalogRequest. 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 (*GetCatalogRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *GetCatalogRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetCatalogRequest_SdkV2)

func (*GetCatalogRequest_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (to *GetCatalogRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetCatalogRequest_SdkV2)

func (GetCatalogRequest_SdkV2) ToObjectValue added in v1.113.0

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, GetCatalogRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetCatalogRequest_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type GetCdfConfigRequest added in v1.122.0

type GetCdfConfigRequest struct {
	// The resource name of the CdfConfig to retrieve. Format:
	// projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
	Name types.String `tfsdk:"-"`
}

func (GetCdfConfigRequest) ApplySchemaCustomizations added in v1.122.0

func (m GetCdfConfigRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetCdfConfigRequest) GetComplexFieldTypes added in v1.122.0

func (m GetCdfConfigRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCdfConfigRequest. 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 (*GetCdfConfigRequest) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *GetCdfConfigRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetCdfConfigRequest)

func (*GetCdfConfigRequest) SyncFieldsDuringRead added in v1.122.0

func (to *GetCdfConfigRequest) SyncFieldsDuringRead(ctx context.Context, from GetCdfConfigRequest)

func (GetCdfConfigRequest) ToObjectValue added in v1.122.0

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, GetCdfConfigRequest only implements ToObjectValue() and Type().

func (GetCdfConfigRequest) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type GetCdfConfigRequest_SdkV2 added in v1.122.0

type GetCdfConfigRequest_SdkV2 struct {
	// The resource name of the CdfConfig to retrieve. Format:
	// projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
	Name types.String `tfsdk:"-"`
}

func (GetCdfConfigRequest_SdkV2) ApplySchemaCustomizations added in v1.122.0

func (m GetCdfConfigRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetCdfConfigRequest_SdkV2) GetComplexFieldTypes added in v1.122.0

func (m GetCdfConfigRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCdfConfigRequest. 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 (*GetCdfConfigRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *GetCdfConfigRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetCdfConfigRequest_SdkV2)

func (*GetCdfConfigRequest_SdkV2) SyncFieldsDuringRead added in v1.122.0

func (to *GetCdfConfigRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetCdfConfigRequest_SdkV2)

func (GetCdfConfigRequest_SdkV2) ToObjectValue added in v1.122.0

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, GetCdfConfigRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetCdfConfigRequest_SdkV2) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type GetCdfStatusRequest added in v1.122.0

type GetCdfStatusRequest struct {
	// The resource name of the CdfStatus to retrieve. Format:
	// projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status}
	Name types.String `tfsdk:"-"`
}

func (GetCdfStatusRequest) ApplySchemaCustomizations added in v1.122.0

func (m GetCdfStatusRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetCdfStatusRequest) GetComplexFieldTypes added in v1.122.0

func (m GetCdfStatusRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCdfStatusRequest. 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 (*GetCdfStatusRequest) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *GetCdfStatusRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetCdfStatusRequest)

func (*GetCdfStatusRequest) SyncFieldsDuringRead added in v1.122.0

func (to *GetCdfStatusRequest) SyncFieldsDuringRead(ctx context.Context, from GetCdfStatusRequest)

func (GetCdfStatusRequest) ToObjectValue added in v1.122.0

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, GetCdfStatusRequest only implements ToObjectValue() and Type().

func (GetCdfStatusRequest) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type GetCdfStatusRequest_SdkV2 added in v1.122.0

type GetCdfStatusRequest_SdkV2 struct {
	// The resource name of the CdfStatus to retrieve. Format:
	// projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status}
	Name types.String `tfsdk:"-"`
}

func (GetCdfStatusRequest_SdkV2) ApplySchemaCustomizations added in v1.122.0

func (m GetCdfStatusRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetCdfStatusRequest_SdkV2) GetComplexFieldTypes added in v1.122.0

func (m GetCdfStatusRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCdfStatusRequest. 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 (*GetCdfStatusRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *GetCdfStatusRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetCdfStatusRequest_SdkV2)

func (*GetCdfStatusRequest_SdkV2) SyncFieldsDuringRead added in v1.122.0

func (to *GetCdfStatusRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetCdfStatusRequest_SdkV2)

func (GetCdfStatusRequest_SdkV2) ToObjectValue added in v1.122.0

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, GetCdfStatusRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetCdfStatusRequest_SdkV2) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type GetDataApiRequest added in v1.120.0

type GetDataApiRequest struct {
	// Resource name:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}/data-api
	Name types.String `tfsdk:"-"`
}

func (GetDataApiRequest) ApplySchemaCustomizations added in v1.120.0

func (m GetDataApiRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetDataApiRequest) GetComplexFieldTypes added in v1.120.0

func (m GetDataApiRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDataApiRequest. 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 (*GetDataApiRequest) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *GetDataApiRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetDataApiRequest)

func (*GetDataApiRequest) SyncFieldsDuringRead added in v1.120.0

func (to *GetDataApiRequest) SyncFieldsDuringRead(ctx context.Context, from GetDataApiRequest)

func (GetDataApiRequest) ToObjectValue added in v1.120.0

func (m GetDataApiRequest) 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, GetDataApiRequest only implements ToObjectValue() and Type().

func (GetDataApiRequest) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type GetDataApiRequest_SdkV2 added in v1.120.0

type GetDataApiRequest_SdkV2 struct {
	// Resource name:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}/data-api
	Name types.String `tfsdk:"-"`
}

func (GetDataApiRequest_SdkV2) ApplySchemaCustomizations added in v1.120.0

func (m GetDataApiRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetDataApiRequest_SdkV2) GetComplexFieldTypes added in v1.120.0

func (m GetDataApiRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDataApiRequest. 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 (*GetDataApiRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *GetDataApiRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetDataApiRequest_SdkV2)

func (*GetDataApiRequest_SdkV2) SyncFieldsDuringRead added in v1.120.0

func (to *GetDataApiRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetDataApiRequest_SdkV2)

func (GetDataApiRequest_SdkV2) ToObjectValue added in v1.120.0

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, GetDataApiRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetDataApiRequest_SdkV2) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type GetDatabaseRequest added in v1.111.0

type GetDatabaseRequest struct {
	// The name of the Database to retrieve. Format:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}
	Name types.String `tfsdk:"-"`
}

func (GetDatabaseRequest) ApplySchemaCustomizations added in v1.111.0

func (m GetDatabaseRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetDatabaseRequest) GetComplexFieldTypes added in v1.111.0

func (m GetDatabaseRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDatabaseRequest. 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 (*GetDatabaseRequest) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *GetDatabaseRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetDatabaseRequest)

func (*GetDatabaseRequest) SyncFieldsDuringRead added in v1.111.0

func (to *GetDatabaseRequest) SyncFieldsDuringRead(ctx context.Context, from GetDatabaseRequest)

func (GetDatabaseRequest) ToObjectValue added in v1.111.0

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, GetDatabaseRequest only implements ToObjectValue() and Type().

func (GetDatabaseRequest) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type GetDatabaseRequest_SdkV2 added in v1.111.0

type GetDatabaseRequest_SdkV2 struct {
	// The name of the Database to retrieve. Format:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}
	Name types.String `tfsdk:"-"`
}

func (GetDatabaseRequest_SdkV2) ApplySchemaCustomizations added in v1.111.0

func (m GetDatabaseRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetDatabaseRequest_SdkV2) GetComplexFieldTypes added in v1.111.0

func (m GetDatabaseRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDatabaseRequest. 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 (*GetDatabaseRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *GetDatabaseRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetDatabaseRequest_SdkV2)

func (*GetDatabaseRequest_SdkV2) SyncFieldsDuringRead added in v1.111.0

func (to *GetDatabaseRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetDatabaseRequest_SdkV2)

func (GetDatabaseRequest_SdkV2) ToObjectValue added in v1.111.0

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, GetDatabaseRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetDatabaseRequest_SdkV2) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type GetEndpointRequest

type GetEndpointRequest struct {
	// The full resource path of the endpoint to retrieve. Format:
	// projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
	Name types.String `tfsdk:"-"`
}

func (GetEndpointRequest) ApplySchemaCustomizations

func (m GetEndpointRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetEndpointRequest) GetComplexFieldTypes

func (m GetEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate

func (to *GetEndpointRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetEndpointRequest)

func (*GetEndpointRequest) SyncFieldsDuringRead

func (to *GetEndpointRequest) SyncFieldsDuringRead(ctx context.Context, from GetEndpointRequest)

func (GetEndpointRequest) ToObjectValue

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().

func (GetEndpointRequest) Type

Type implements basetypes.ObjectValuable.

type GetEndpointRequest_SdkV2

type GetEndpointRequest_SdkV2 struct {
	// The full resource path of the endpoint to retrieve. Format:
	// projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
	Name types.String `tfsdk:"-"`
}

func (GetEndpointRequest_SdkV2) ApplySchemaCustomizations

func (m GetEndpointRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetEndpointRequest_SdkV2) GetComplexFieldTypes

func (m GetEndpointRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *GetEndpointRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetEndpointRequest_SdkV2)

func (*GetEndpointRequest_SdkV2) SyncFieldsDuringRead

func (to *GetEndpointRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetEndpointRequest_SdkV2)

func (GetEndpointRequest_SdkV2) ToObjectValue

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_SdkV2 only implements ToObjectValue() and Type().

func (GetEndpointRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type GetMigrationRequest

type GetMigrationRequest struct {
	// Required. The migration resource name, in the format
	// `migrations/{migration}`.
	Name types.String `tfsdk:"-"`
}

func (GetMigrationRequest) ApplySchemaCustomizations

func (m GetMigrationRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetMigrationRequest) GetComplexFieldTypes

func (m GetMigrationRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetMigrationRequest. 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 (*GetMigrationRequest) SyncFieldsDuringCreateOrUpdate

func (to *GetMigrationRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetMigrationRequest)

func (*GetMigrationRequest) SyncFieldsDuringRead

func (to *GetMigrationRequest) SyncFieldsDuringRead(ctx context.Context, from GetMigrationRequest)

func (GetMigrationRequest) ToObjectValue

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, GetMigrationRequest only implements ToObjectValue() and Type().

func (GetMigrationRequest) Type

Type implements basetypes.ObjectValuable.

type GetMigrationRequest_SdkV2

type GetMigrationRequest_SdkV2 struct {
	// Required. The migration resource name, in the format
	// `migrations/{migration}`.
	Name types.String `tfsdk:"-"`
}

func (GetMigrationRequest_SdkV2) ApplySchemaCustomizations

func (m GetMigrationRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetMigrationRequest_SdkV2) GetComplexFieldTypes

func (m GetMigrationRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetMigrationRequest. 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 (*GetMigrationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *GetMigrationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetMigrationRequest_SdkV2)

func (*GetMigrationRequest_SdkV2) SyncFieldsDuringRead

func (to *GetMigrationRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetMigrationRequest_SdkV2)

func (GetMigrationRequest_SdkV2) ToObjectValue

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, GetMigrationRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetMigrationRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type GetOperationRequest

type GetOperationRequest struct {
	// The name of the operation resource.
	Name types.String `tfsdk:"-"`
}

func (GetOperationRequest) ApplySchemaCustomizations

func (m GetOperationRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetOperationRequest) GetComplexFieldTypes

func (m GetOperationRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetOperationRequest. 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 (*GetOperationRequest) SyncFieldsDuringCreateOrUpdate

func (to *GetOperationRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetOperationRequest)

func (*GetOperationRequest) SyncFieldsDuringRead

func (to *GetOperationRequest) SyncFieldsDuringRead(ctx context.Context, from GetOperationRequest)

func (GetOperationRequest) ToObjectValue

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, GetOperationRequest only implements ToObjectValue() and Type().

func (GetOperationRequest) Type

Type implements basetypes.ObjectValuable.

type GetOperationRequest_SdkV2

type GetOperationRequest_SdkV2 struct {
	// The name of the operation resource.
	Name types.String `tfsdk:"-"`
}

func (GetOperationRequest_SdkV2) ApplySchemaCustomizations

func (m GetOperationRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetOperationRequest_SdkV2) GetComplexFieldTypes

func (m GetOperationRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetOperationRequest. 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 (*GetOperationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *GetOperationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetOperationRequest_SdkV2)

func (*GetOperationRequest_SdkV2) SyncFieldsDuringRead

func (to *GetOperationRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetOperationRequest_SdkV2)

func (GetOperationRequest_SdkV2) ToObjectValue

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, GetOperationRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetOperationRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type GetProjectRequest

type GetProjectRequest struct {
	// The full resource path of the project to retrieve. Format:
	// projects/{project_id}
	Name types.String `tfsdk:"-"`
}

func (GetProjectRequest) ApplySchemaCustomizations

func (m GetProjectRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetProjectRequest) GetComplexFieldTypes

func (m GetProjectRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetProjectRequest. 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 (*GetProjectRequest) SyncFieldsDuringCreateOrUpdate

func (to *GetProjectRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetProjectRequest)

func (*GetProjectRequest) SyncFieldsDuringRead

func (to *GetProjectRequest) SyncFieldsDuringRead(ctx context.Context, from GetProjectRequest)

func (GetProjectRequest) ToObjectValue

func (m GetProjectRequest) 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, GetProjectRequest only implements ToObjectValue() and Type().

func (GetProjectRequest) Type

Type implements basetypes.ObjectValuable.

type GetProjectRequest_SdkV2

type GetProjectRequest_SdkV2 struct {
	// The full resource path of the project to retrieve. Format:
	// projects/{project_id}
	Name types.String `tfsdk:"-"`
}

func (GetProjectRequest_SdkV2) ApplySchemaCustomizations

func (m GetProjectRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetProjectRequest_SdkV2) GetComplexFieldTypes

func (m GetProjectRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetProjectRequest. 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 (*GetProjectRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *GetProjectRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetProjectRequest_SdkV2)

func (*GetProjectRequest_SdkV2) SyncFieldsDuringRead

func (to *GetProjectRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetProjectRequest_SdkV2)

func (GetProjectRequest_SdkV2) ToObjectValue

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, GetProjectRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetProjectRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type GetRoleRequest

type GetRoleRequest struct {
	// The full resource path of the role to retrieve. Format:
	// projects/{project_id}/branches/{branch_id}/roles/{role_id}
	Name types.String `tfsdk:"-"`
}

func (GetRoleRequest) ApplySchemaCustomizations

func (m GetRoleRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetRoleRequest) GetComplexFieldTypes

func (m GetRoleRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRoleRequest. 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 (*GetRoleRequest) SyncFieldsDuringCreateOrUpdate

func (to *GetRoleRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetRoleRequest)

func (*GetRoleRequest) SyncFieldsDuringRead

func (to *GetRoleRequest) SyncFieldsDuringRead(ctx context.Context, from GetRoleRequest)

func (GetRoleRequest) ToObjectValue

func (m GetRoleRequest) 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, GetRoleRequest only implements ToObjectValue() and Type().

func (GetRoleRequest) Type

func (m GetRoleRequest) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type GetRoleRequest_SdkV2

type GetRoleRequest_SdkV2 struct {
	// The full resource path of the role to retrieve. Format:
	// projects/{project_id}/branches/{branch_id}/roles/{role_id}
	Name types.String `tfsdk:"-"`
}

func (GetRoleRequest_SdkV2) ApplySchemaCustomizations

func (m GetRoleRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetRoleRequest_SdkV2) GetComplexFieldTypes

func (m GetRoleRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRoleRequest. 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 (*GetRoleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *GetRoleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetRoleRequest_SdkV2)

func (*GetRoleRequest_SdkV2) SyncFieldsDuringRead

func (to *GetRoleRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetRoleRequest_SdkV2)

func (GetRoleRequest_SdkV2) ToObjectValue

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, GetRoleRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetRoleRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type GetSnapshotRequest added in v1.131.0

type GetSnapshotRequest struct {
	// The resource name of the snapshot to retrieve. Format:
	// projects/{project_id}/snapshots/{snapshot_id}
	Name types.String `tfsdk:"-"`
}

func (GetSnapshotRequest) ApplySchemaCustomizations added in v1.131.0

func (m GetSnapshotRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetSnapshotRequest) GetComplexFieldTypes added in v1.131.0

func (m GetSnapshotRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSnapshotRequest. 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 (*GetSnapshotRequest) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *GetSnapshotRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetSnapshotRequest)

func (*GetSnapshotRequest) SyncFieldsDuringRead added in v1.131.0

func (to *GetSnapshotRequest) SyncFieldsDuringRead(ctx context.Context, from GetSnapshotRequest)

func (GetSnapshotRequest) ToObjectValue added in v1.131.0

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, GetSnapshotRequest only implements ToObjectValue() and Type().

func (GetSnapshotRequest) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type GetSnapshotRequest_SdkV2 added in v1.131.0

type GetSnapshotRequest_SdkV2 struct {
	// The resource name of the snapshot to retrieve. Format:
	// projects/{project_id}/snapshots/{snapshot_id}
	Name types.String `tfsdk:"-"`
}

func (GetSnapshotRequest_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (m GetSnapshotRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetSnapshotRequest_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m GetSnapshotRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSnapshotRequest. 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 (*GetSnapshotRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *GetSnapshotRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetSnapshotRequest_SdkV2)

func (*GetSnapshotRequest_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (to *GetSnapshotRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetSnapshotRequest_SdkV2)

func (GetSnapshotRequest_SdkV2) ToObjectValue added in v1.131.0

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, GetSnapshotRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetSnapshotRequest_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type GetSnapshotScheduleRequest added in v1.131.0

type GetSnapshotScheduleRequest struct {
	// The resource name of the branch's snapshot schedule. Format:
	// projects/{project_id}/branches/{branch_id}/snapshot-schedule
	Name types.String `tfsdk:"-"`
}

func (GetSnapshotScheduleRequest) ApplySchemaCustomizations added in v1.131.0

func (m GetSnapshotScheduleRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetSnapshotScheduleRequest) GetComplexFieldTypes added in v1.131.0

func (m GetSnapshotScheduleRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSnapshotScheduleRequest. 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 (*GetSnapshotScheduleRequest) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *GetSnapshotScheduleRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetSnapshotScheduleRequest)

func (*GetSnapshotScheduleRequest) SyncFieldsDuringRead added in v1.131.0

func (to *GetSnapshotScheduleRequest) SyncFieldsDuringRead(ctx context.Context, from GetSnapshotScheduleRequest)

func (GetSnapshotScheduleRequest) ToObjectValue added in v1.131.0

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, GetSnapshotScheduleRequest only implements ToObjectValue() and Type().

func (GetSnapshotScheduleRequest) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type GetSnapshotScheduleRequest_SdkV2 added in v1.131.0

type GetSnapshotScheduleRequest_SdkV2 struct {
	// The resource name of the branch's snapshot schedule. Format:
	// projects/{project_id}/branches/{branch_id}/snapshot-schedule
	Name types.String `tfsdk:"-"`
}

func (GetSnapshotScheduleRequest_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (GetSnapshotScheduleRequest_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m GetSnapshotScheduleRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSnapshotScheduleRequest. 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 (*GetSnapshotScheduleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *GetSnapshotScheduleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetSnapshotScheduleRequest_SdkV2)

func (*GetSnapshotScheduleRequest_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (GetSnapshotScheduleRequest_SdkV2) ToObjectValue added in v1.131.0

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, GetSnapshotScheduleRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetSnapshotScheduleRequest_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type GetSyncedTableRequest added in v1.113.0

type GetSyncedTableRequest struct {
	// The Full resource name of the synced table. Format:
	// "synced_tables/{catalog}.{schema}.{table}", where (catalog, schema,
	// table) are the entity names in the Unity Catalog.
	Name types.String `tfsdk:"-"`
}

func (GetSyncedTableRequest) ApplySchemaCustomizations added in v1.113.0

func (m GetSyncedTableRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetSyncedTableRequest) GetComplexFieldTypes added in v1.113.0

func (m GetSyncedTableRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSyncedTableRequest. 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 (*GetSyncedTableRequest) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *GetSyncedTableRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetSyncedTableRequest)

func (*GetSyncedTableRequest) SyncFieldsDuringRead added in v1.113.0

func (to *GetSyncedTableRequest) SyncFieldsDuringRead(ctx context.Context, from GetSyncedTableRequest)

func (GetSyncedTableRequest) ToObjectValue added in v1.113.0

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, GetSyncedTableRequest only implements ToObjectValue() and Type().

func (GetSyncedTableRequest) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type GetSyncedTableRequest_SdkV2 added in v1.113.0

type GetSyncedTableRequest_SdkV2 struct {
	// The Full resource name of the synced table. Format:
	// "synced_tables/{catalog}.{schema}.{table}", where (catalog, schema,
	// table) are the entity names in the Unity Catalog.
	Name types.String `tfsdk:"-"`
}

func (GetSyncedTableRequest_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (m GetSyncedTableRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetSyncedTableRequest_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m GetSyncedTableRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSyncedTableRequest. 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 (*GetSyncedTableRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *GetSyncedTableRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetSyncedTableRequest_SdkV2)

func (*GetSyncedTableRequest_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (to *GetSyncedTableRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetSyncedTableRequest_SdkV2)

func (GetSyncedTableRequest_SdkV2) ToObjectValue added in v1.113.0

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, GetSyncedTableRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetSyncedTableRequest_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type InitialBranchSpec added in v1.120.0

type InitialBranchSpec struct {
	// Whether the initial default branch should be protected from deletion.
	IsProtected types.Bool `tfsdk:"is_protected"`
}

Configuration for the initial default branch created during project creation.

func (InitialBranchSpec) ApplySchemaCustomizations added in v1.120.0

func (m InitialBranchSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InitialBranchSpec) GetComplexFieldTypes added in v1.120.0

func (m InitialBranchSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InitialBranchSpec. 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 (*InitialBranchSpec) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *InitialBranchSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InitialBranchSpec)

func (*InitialBranchSpec) SyncFieldsDuringRead added in v1.120.0

func (to *InitialBranchSpec) SyncFieldsDuringRead(ctx context.Context, from InitialBranchSpec)

func (InitialBranchSpec) ToObjectValue added in v1.120.0

func (m InitialBranchSpec) 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, InitialBranchSpec only implements ToObjectValue() and Type().

func (InitialBranchSpec) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type InitialBranchSpec_SdkV2 added in v1.120.0

type InitialBranchSpec_SdkV2 struct {
	// Whether the initial default branch should be protected from deletion.
	IsProtected types.Bool `tfsdk:"is_protected"`
}

Configuration for the initial default branch created during project creation.

func (InitialBranchSpec_SdkV2) ApplySchemaCustomizations added in v1.120.0

func (m InitialBranchSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InitialBranchSpec_SdkV2) GetComplexFieldTypes added in v1.120.0

func (m InitialBranchSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InitialBranchSpec. 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 (*InitialBranchSpec_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *InitialBranchSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InitialBranchSpec_SdkV2)

func (*InitialBranchSpec_SdkV2) SyncFieldsDuringRead added in v1.120.0

func (to *InitialBranchSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from InitialBranchSpec_SdkV2)

func (InitialBranchSpec_SdkV2) ToObjectValue added in v1.120.0

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, InitialBranchSpec_SdkV2 only implements ToObjectValue() and Type().

func (InitialBranchSpec_SdkV2) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type InitialEndpointSpec added in v1.110.0

type InitialEndpointSpec struct {
	// The maximum number of Compute Units for the initial endpoint. Minimum
	// value is 0.5.
	AutoscalingLimitMaxCu types.Float64 `tfsdk:"autoscaling_limit_max_cu"`
	// The minimum number of Compute Units for the initial endpoint. Minimum
	// value is 0.5, and it must not exceed autoscaling_limit_max_cu.
	AutoscalingLimitMinCu types.Float64 `tfsdk:"autoscaling_limit_min_cu"`
	// Settings for HA configuration of the endpoint.
	Group types.Object `tfsdk:"group"`
	// When set to true, explicitly disables automatic suspension (never
	// suspend). Should be set to true when provided. Mutually exclusive with
	// `suspend_timeout_duration`.
	NoSuspension types.Bool `tfsdk:"no_suspension"`
	// Duration of inactivity after which the initial endpoint is automatically
	// suspended. If specified, should be between 60s and 604800s (1 minute to 1
	// week). Mutually exclusive with `no_suspension`.
	SuspendTimeoutDuration timetypes.GoDuration `tfsdk:"suspend_timeout_duration"`
}

Configuration for the initial Read/Write endpoint created during project creation.

func (InitialEndpointSpec) ApplySchemaCustomizations added in v1.110.0

func (m InitialEndpointSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InitialEndpointSpec) GetComplexFieldTypes added in v1.110.0

func (m InitialEndpointSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InitialEndpointSpec. 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 (*InitialEndpointSpec) GetGroup added in v1.110.0

GetGroup returns the value of the Group field in InitialEndpointSpec as a EndpointGroupSpec value. If the field is unknown or null, the boolean return value is false.

func (*InitialEndpointSpec) SetGroup added in v1.110.0

SetGroup sets the value of the Group field in InitialEndpointSpec.

func (*InitialEndpointSpec) SyncFieldsDuringCreateOrUpdate added in v1.110.0

func (to *InitialEndpointSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InitialEndpointSpec)

func (*InitialEndpointSpec) SyncFieldsDuringRead added in v1.110.0

func (to *InitialEndpointSpec) SyncFieldsDuringRead(ctx context.Context, from InitialEndpointSpec)

func (InitialEndpointSpec) ToObjectValue added in v1.110.0

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, InitialEndpointSpec only implements ToObjectValue() and Type().

func (InitialEndpointSpec) Type added in v1.110.0

Type implements basetypes.ObjectValuable.

type InitialEndpointSpec_SdkV2 added in v1.110.0

type InitialEndpointSpec_SdkV2 struct {
	// The maximum number of Compute Units for the initial endpoint. Minimum
	// value is 0.5.
	AutoscalingLimitMaxCu types.Float64 `tfsdk:"autoscaling_limit_max_cu"`
	// The minimum number of Compute Units for the initial endpoint. Minimum
	// value is 0.5, and it must not exceed autoscaling_limit_max_cu.
	AutoscalingLimitMinCu types.Float64 `tfsdk:"autoscaling_limit_min_cu"`
	// Settings for HA configuration of the endpoint.
	Group types.List `tfsdk:"group"`
	// When set to true, explicitly disables automatic suspension (never
	// suspend). Should be set to true when provided. Mutually exclusive with
	// `suspend_timeout_duration`.
	NoSuspension types.Bool `tfsdk:"no_suspension"`
	// Duration of inactivity after which the initial endpoint is automatically
	// suspended. If specified, should be between 60s and 604800s (1 minute to 1
	// week). Mutually exclusive with `no_suspension`.
	SuspendTimeoutDuration timetypes.GoDuration `tfsdk:"suspend_timeout_duration"`
}

Configuration for the initial Read/Write endpoint created during project creation.

func (InitialEndpointSpec_SdkV2) ApplySchemaCustomizations added in v1.110.0

func (m InitialEndpointSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InitialEndpointSpec_SdkV2) GetComplexFieldTypes added in v1.110.0

func (m InitialEndpointSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InitialEndpointSpec. 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 (*InitialEndpointSpec_SdkV2) GetGroup added in v1.110.0

GetGroup returns the value of the Group field in InitialEndpointSpec_SdkV2 as a EndpointGroupSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitialEndpointSpec_SdkV2) SetGroup added in v1.110.0

SetGroup sets the value of the Group field in InitialEndpointSpec_SdkV2.

func (*InitialEndpointSpec_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.110.0

func (to *InitialEndpointSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InitialEndpointSpec_SdkV2)

func (*InitialEndpointSpec_SdkV2) SyncFieldsDuringRead added in v1.110.0

func (to *InitialEndpointSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from InitialEndpointSpec_SdkV2)

func (InitialEndpointSpec_SdkV2) ToObjectValue added in v1.110.0

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, InitialEndpointSpec_SdkV2 only implements ToObjectValue() and Type().

func (InitialEndpointSpec_SdkV2) Type added in v1.110.0

Type implements basetypes.ObjectValuable.

type ListAssessmentsRequest

type ListAssessmentsRequest struct {
	// The maximum number of assessments to return. The server default is 100;
	// values above 1000 are capped to 1000.
	PageSize types.Int64 `tfsdk:"-"`
	// A page token from a previous call.
	PageToken types.String `tfsdk:"-"`
	// Required. The parent migration resource name, in the format
	// `migrations/{migration}`.
	Parent types.String `tfsdk:"-"`
}

func (ListAssessmentsRequest) ApplySchemaCustomizations

func (m ListAssessmentsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListAssessmentsRequest) GetComplexFieldTypes

func (m ListAssessmentsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAssessmentsRequest. 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 (*ListAssessmentsRequest) SyncFieldsDuringCreateOrUpdate

func (to *ListAssessmentsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAssessmentsRequest)

func (*ListAssessmentsRequest) SyncFieldsDuringRead

func (to *ListAssessmentsRequest) SyncFieldsDuringRead(ctx context.Context, from ListAssessmentsRequest)

func (ListAssessmentsRequest) ToObjectValue

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, ListAssessmentsRequest only implements ToObjectValue() and Type().

func (ListAssessmentsRequest) Type

Type implements basetypes.ObjectValuable.

type ListAssessmentsRequest_SdkV2

type ListAssessmentsRequest_SdkV2 struct {
	// The maximum number of assessments to return. The server default is 100;
	// values above 1000 are capped to 1000.
	PageSize types.Int64 `tfsdk:"-"`
	// A page token from a previous call.
	PageToken types.String `tfsdk:"-"`
	// Required. The parent migration resource name, in the format
	// `migrations/{migration}`.
	Parent types.String `tfsdk:"-"`
}

func (ListAssessmentsRequest_SdkV2) ApplySchemaCustomizations

func (ListAssessmentsRequest_SdkV2) GetComplexFieldTypes

func (m ListAssessmentsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAssessmentsRequest. 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 (*ListAssessmentsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ListAssessmentsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAssessmentsRequest_SdkV2)

func (*ListAssessmentsRequest_SdkV2) SyncFieldsDuringRead

func (to *ListAssessmentsRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListAssessmentsRequest_SdkV2)

func (ListAssessmentsRequest_SdkV2) ToObjectValue

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, ListAssessmentsRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListAssessmentsRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ListAssessmentsResponse

type ListAssessmentsResponse struct {
	// Assessment runs ordered from newest to oldest.
	Assessments types.List `tfsdk:"assessments"`
	// A token for retrieving the next page. Empty when there are no more
	// results.
	NextPageToken types.String `tfsdk:"next_page_token"`
}

Response to list assessments.

func (ListAssessmentsResponse) ApplySchemaCustomizations

func (m ListAssessmentsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ListAssessmentsResponse) GetAssessments

func (m *ListAssessmentsResponse) GetAssessments(ctx context.Context) ([]Assessment, bool)

GetAssessments returns the value of the Assessments field in ListAssessmentsResponse as a slice of Assessment values. If the field is unknown or null, the boolean return value is false.

func (ListAssessmentsResponse) GetComplexFieldTypes

func (m ListAssessmentsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAssessmentsResponse. 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 (*ListAssessmentsResponse) SetAssessments

func (m *ListAssessmentsResponse) SetAssessments(ctx context.Context, v []Assessment)

SetAssessments sets the value of the Assessments field in ListAssessmentsResponse.

func (*ListAssessmentsResponse) SyncFieldsDuringCreateOrUpdate

func (to *ListAssessmentsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAssessmentsResponse)

func (*ListAssessmentsResponse) SyncFieldsDuringRead

func (to *ListAssessmentsResponse) SyncFieldsDuringRead(ctx context.Context, from ListAssessmentsResponse)

func (ListAssessmentsResponse) ToObjectValue

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, ListAssessmentsResponse only implements ToObjectValue() and Type().

func (ListAssessmentsResponse) Type

Type implements basetypes.ObjectValuable.

type ListAssessmentsResponse_SdkV2

type ListAssessmentsResponse_SdkV2 struct {
	// Assessment runs ordered from newest to oldest.
	Assessments types.List `tfsdk:"assessments"`
	// A token for retrieving the next page. Empty when there are no more
	// results.
	NextPageToken types.String `tfsdk:"next_page_token"`
}

Response to list assessments.

func (ListAssessmentsResponse_SdkV2) ApplySchemaCustomizations

func (*ListAssessmentsResponse_SdkV2) GetAssessments

GetAssessments returns the value of the Assessments field in ListAssessmentsResponse_SdkV2 as a slice of Assessment_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ListAssessmentsResponse_SdkV2) GetComplexFieldTypes

func (m ListAssessmentsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAssessmentsResponse. 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 (*ListAssessmentsResponse_SdkV2) SetAssessments

func (m *ListAssessmentsResponse_SdkV2) SetAssessments(ctx context.Context, v []Assessment_SdkV2)

SetAssessments sets the value of the Assessments field in ListAssessmentsResponse_SdkV2.

func (*ListAssessmentsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ListAssessmentsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAssessmentsResponse_SdkV2)

func (*ListAssessmentsResponse_SdkV2) SyncFieldsDuringRead

func (to *ListAssessmentsResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListAssessmentsResponse_SdkV2)

func (ListAssessmentsResponse_SdkV2) ToObjectValue

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, ListAssessmentsResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListAssessmentsResponse_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ListBranchesRequest

type ListBranchesRequest struct {
	// Upper bound for items returned. Cannot be negative.
	PageSize types.Int64 `tfsdk:"-"`
	// Page token from a previous response. If not provided, returns the first
	// page.
	PageToken types.String `tfsdk:"-"`
	// The Project that owns this collection of branches. Format:
	// projects/{project_id}
	Parent types.String `tfsdk:"-"`
	// Whether to include soft-deleted branches in the response. When true,
	// deleted branches are included alongside active branches. Purged branches
	// are never returned.
	ShowDeleted types.Bool `tfsdk:"-"`
}

func (ListBranchesRequest) ApplySchemaCustomizations

func (m ListBranchesRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListBranchesRequest) GetComplexFieldTypes

func (m ListBranchesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListBranchesRequest. 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 (*ListBranchesRequest) SyncFieldsDuringCreateOrUpdate

func (to *ListBranchesRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListBranchesRequest)

func (*ListBranchesRequest) SyncFieldsDuringRead

func (to *ListBranchesRequest) SyncFieldsDuringRead(ctx context.Context, from ListBranchesRequest)

func (ListBranchesRequest) ToObjectValue

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, ListBranchesRequest only implements ToObjectValue() and Type().

func (ListBranchesRequest) Type

Type implements basetypes.ObjectValuable.

type ListBranchesRequest_SdkV2

type ListBranchesRequest_SdkV2 struct {
	// Upper bound for items returned. Cannot be negative.
	PageSize types.Int64 `tfsdk:"-"`
	// Page token from a previous response. If not provided, returns the first
	// page.
	PageToken types.String `tfsdk:"-"`
	// The Project that owns this collection of branches. Format:
	// projects/{project_id}
	Parent types.String `tfsdk:"-"`
	// Whether to include soft-deleted branches in the response. When true,
	// deleted branches are included alongside active branches. Purged branches
	// are never returned.
	ShowDeleted types.Bool `tfsdk:"-"`
}

func (ListBranchesRequest_SdkV2) ApplySchemaCustomizations

func (m ListBranchesRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListBranchesRequest_SdkV2) GetComplexFieldTypes

func (m ListBranchesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListBranchesRequest. 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 (*ListBranchesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ListBranchesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListBranchesRequest_SdkV2)

func (*ListBranchesRequest_SdkV2) SyncFieldsDuringRead

func (to *ListBranchesRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListBranchesRequest_SdkV2)

func (ListBranchesRequest_SdkV2) ToObjectValue

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, ListBranchesRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListBranchesRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ListBranchesResponse

type ListBranchesResponse struct {
	// List of branches in the project.
	Branches types.List `tfsdk:"branches"`
	// Token to request the next page of branches.
	NextPageToken types.String `tfsdk:"next_page_token"`
}

func (ListBranchesResponse) ApplySchemaCustomizations

func (m ListBranchesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ListBranchesResponse) GetBranches

func (m *ListBranchesResponse) GetBranches(ctx context.Context) ([]Branch, bool)

GetBranches returns the value of the Branches field in ListBranchesResponse as a slice of Branch values. If the field is unknown or null, the boolean return value is false.

func (ListBranchesResponse) GetComplexFieldTypes

func (m ListBranchesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListBranchesResponse. 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 (*ListBranchesResponse) SetBranches

func (m *ListBranchesResponse) SetBranches(ctx context.Context, v []Branch)

SetBranches sets the value of the Branches field in ListBranchesResponse.

func (*ListBranchesResponse) SyncFieldsDuringCreateOrUpdate

func (to *ListBranchesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListBranchesResponse)

func (*ListBranchesResponse) SyncFieldsDuringRead

func (to *ListBranchesResponse) SyncFieldsDuringRead(ctx context.Context, from ListBranchesResponse)

func (ListBranchesResponse) ToObjectValue

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, ListBranchesResponse only implements ToObjectValue() and Type().

func (ListBranchesResponse) Type

Type implements basetypes.ObjectValuable.

type ListBranchesResponse_SdkV2

type ListBranchesResponse_SdkV2 struct {
	// List of branches in the project.
	Branches types.List `tfsdk:"branches"`
	// Token to request the next page of branches.
	NextPageToken types.String `tfsdk:"next_page_token"`
}

func (ListBranchesResponse_SdkV2) ApplySchemaCustomizations

func (m ListBranchesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ListBranchesResponse_SdkV2) GetBranches

func (m *ListBranchesResponse_SdkV2) GetBranches(ctx context.Context) ([]Branch_SdkV2, bool)

GetBranches returns the value of the Branches field in ListBranchesResponse_SdkV2 as a slice of Branch_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ListBranchesResponse_SdkV2) GetComplexFieldTypes

func (m ListBranchesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListBranchesResponse. 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 (*ListBranchesResponse_SdkV2) SetBranches

func (m *ListBranchesResponse_SdkV2) SetBranches(ctx context.Context, v []Branch_SdkV2)

SetBranches sets the value of the Branches field in ListBranchesResponse_SdkV2.

func (*ListBranchesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ListBranchesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListBranchesResponse_SdkV2)

func (*ListBranchesResponse_SdkV2) SyncFieldsDuringRead

func (to *ListBranchesResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListBranchesResponse_SdkV2)

func (ListBranchesResponse_SdkV2) ToObjectValue

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, ListBranchesResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListBranchesResponse_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ListCdfConfigsRequest added in v1.122.0

type ListCdfConfigsRequest struct {
	// Maximum number of CdfConfigs to return.
	PageSize types.Int64 `tfsdk:"-"`
	// Pagination token returned by a previous ListCdfConfigs call. Empty on the
	// first page.
	PageToken types.String `tfsdk:"-"`
	// The parent database to list CdfConfigs for. Format:
	// projects/{project}/branches/{branch}/databases/{database}
	Parent types.String `tfsdk:"-"`
}

func (ListCdfConfigsRequest) ApplySchemaCustomizations added in v1.122.0

func (m ListCdfConfigsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListCdfConfigsRequest) GetComplexFieldTypes added in v1.122.0

func (m ListCdfConfigsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCdfConfigsRequest. 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 (*ListCdfConfigsRequest) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *ListCdfConfigsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListCdfConfigsRequest)

func (*ListCdfConfigsRequest) SyncFieldsDuringRead added in v1.122.0

func (to *ListCdfConfigsRequest) SyncFieldsDuringRead(ctx context.Context, from ListCdfConfigsRequest)

func (ListCdfConfigsRequest) ToObjectValue added in v1.122.0

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, ListCdfConfigsRequest only implements ToObjectValue() and Type().

func (ListCdfConfigsRequest) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type ListCdfConfigsRequest_SdkV2 added in v1.122.0

type ListCdfConfigsRequest_SdkV2 struct {
	// Maximum number of CdfConfigs to return.
	PageSize types.Int64 `tfsdk:"-"`
	// Pagination token returned by a previous ListCdfConfigs call. Empty on the
	// first page.
	PageToken types.String `tfsdk:"-"`
	// The parent database to list CdfConfigs for. Format:
	// projects/{project}/branches/{branch}/databases/{database}
	Parent types.String `tfsdk:"-"`
}

func (ListCdfConfigsRequest_SdkV2) ApplySchemaCustomizations added in v1.122.0

func (m ListCdfConfigsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListCdfConfigsRequest_SdkV2) GetComplexFieldTypes added in v1.122.0

func (m ListCdfConfigsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCdfConfigsRequest. 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 (*ListCdfConfigsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *ListCdfConfigsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListCdfConfigsRequest_SdkV2)

func (*ListCdfConfigsRequest_SdkV2) SyncFieldsDuringRead added in v1.122.0

func (to *ListCdfConfigsRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListCdfConfigsRequest_SdkV2)

func (ListCdfConfigsRequest_SdkV2) ToObjectValue added in v1.122.0

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, ListCdfConfigsRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListCdfConfigsRequest_SdkV2) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type ListCdfConfigsResponse added in v1.122.0

type ListCdfConfigsResponse struct {
	// The CdfConfigs under the parent database.
	CdfConfigs types.List `tfsdk:"cdf_configs"`
	// Token to retrieve the next page of results; empty when there are no more.
	NextPageToken types.String `tfsdk:"next_page_token"`
}

Response to a ListCdfConfigs request, containing a page of CdfConfigs and a token for fetching the next page.

func (ListCdfConfigsResponse) ApplySchemaCustomizations added in v1.122.0

func (m ListCdfConfigsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ListCdfConfigsResponse) GetCdfConfigs added in v1.122.0

func (m *ListCdfConfigsResponse) GetCdfConfigs(ctx context.Context) ([]CdfConfig, bool)

GetCdfConfigs returns the value of the CdfConfigs field in ListCdfConfigsResponse as a slice of CdfConfig values. If the field is unknown or null, the boolean return value is false.

func (ListCdfConfigsResponse) GetComplexFieldTypes added in v1.122.0

func (m ListCdfConfigsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCdfConfigsResponse. 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 (*ListCdfConfigsResponse) SetCdfConfigs added in v1.122.0

func (m *ListCdfConfigsResponse) SetCdfConfigs(ctx context.Context, v []CdfConfig)

SetCdfConfigs sets the value of the CdfConfigs field in ListCdfConfigsResponse.

func (*ListCdfConfigsResponse) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *ListCdfConfigsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListCdfConfigsResponse)

func (*ListCdfConfigsResponse) SyncFieldsDuringRead added in v1.122.0

func (to *ListCdfConfigsResponse) SyncFieldsDuringRead(ctx context.Context, from ListCdfConfigsResponse)

func (ListCdfConfigsResponse) ToObjectValue added in v1.122.0

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, ListCdfConfigsResponse only implements ToObjectValue() and Type().

func (ListCdfConfigsResponse) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type ListCdfConfigsResponse_SdkV2 added in v1.122.0

type ListCdfConfigsResponse_SdkV2 struct {
	// The CdfConfigs under the parent database.
	CdfConfigs types.List `tfsdk:"cdf_configs"`
	// Token to retrieve the next page of results; empty when there are no more.
	NextPageToken types.String `tfsdk:"next_page_token"`
}

Response to a ListCdfConfigs request, containing a page of CdfConfigs and a token for fetching the next page.

func (ListCdfConfigsResponse_SdkV2) ApplySchemaCustomizations added in v1.122.0

func (*ListCdfConfigsResponse_SdkV2) GetCdfConfigs added in v1.122.0

GetCdfConfigs returns the value of the CdfConfigs field in ListCdfConfigsResponse_SdkV2 as a slice of CdfConfig_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ListCdfConfigsResponse_SdkV2) GetComplexFieldTypes added in v1.122.0

func (m ListCdfConfigsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCdfConfigsResponse. 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 (*ListCdfConfigsResponse_SdkV2) SetCdfConfigs added in v1.122.0

func (m *ListCdfConfigsResponse_SdkV2) SetCdfConfigs(ctx context.Context, v []CdfConfig_SdkV2)

SetCdfConfigs sets the value of the CdfConfigs field in ListCdfConfigsResponse_SdkV2.

func (*ListCdfConfigsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *ListCdfConfigsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListCdfConfigsResponse_SdkV2)

func (*ListCdfConfigsResponse_SdkV2) SyncFieldsDuringRead added in v1.122.0

func (to *ListCdfConfigsResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListCdfConfigsResponse_SdkV2)

func (ListCdfConfigsResponse_SdkV2) ToObjectValue added in v1.122.0

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, ListCdfConfigsResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListCdfConfigsResponse_SdkV2) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type ListCdfStatusesRequest added in v1.122.0

type ListCdfStatusesRequest struct {
	// Maximum number of CdfStatuses to return.
	PageSize types.Int64 `tfsdk:"-"`
	// Pagination token returned by a previous ListCdfStatuses call. Empty on
	// the first page.
	PageToken types.String `tfsdk:"-"`
	// The parent CdfConfig to list CdfStatuses for. Format:
	// projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
	Parent types.String `tfsdk:"-"`
}

func (ListCdfStatusesRequest) ApplySchemaCustomizations added in v1.122.0

func (m ListCdfStatusesRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListCdfStatusesRequest) GetComplexFieldTypes added in v1.122.0

func (m ListCdfStatusesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCdfStatusesRequest. 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 (*ListCdfStatusesRequest) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *ListCdfStatusesRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListCdfStatusesRequest)

func (*ListCdfStatusesRequest) SyncFieldsDuringRead added in v1.122.0

func (to *ListCdfStatusesRequest) SyncFieldsDuringRead(ctx context.Context, from ListCdfStatusesRequest)

func (ListCdfStatusesRequest) ToObjectValue added in v1.122.0

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, ListCdfStatusesRequest only implements ToObjectValue() and Type().

func (ListCdfStatusesRequest) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type ListCdfStatusesRequest_SdkV2 added in v1.122.0

type ListCdfStatusesRequest_SdkV2 struct {
	// Maximum number of CdfStatuses to return.
	PageSize types.Int64 `tfsdk:"-"`
	// Pagination token returned by a previous ListCdfStatuses call. Empty on
	// the first page.
	PageToken types.String `tfsdk:"-"`
	// The parent CdfConfig to list CdfStatuses for. Format:
	// projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
	Parent types.String `tfsdk:"-"`
}

func (ListCdfStatusesRequest_SdkV2) ApplySchemaCustomizations added in v1.122.0

func (ListCdfStatusesRequest_SdkV2) GetComplexFieldTypes added in v1.122.0

func (m ListCdfStatusesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCdfStatusesRequest. 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 (*ListCdfStatusesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *ListCdfStatusesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListCdfStatusesRequest_SdkV2)

func (*ListCdfStatusesRequest_SdkV2) SyncFieldsDuringRead added in v1.122.0

func (to *ListCdfStatusesRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListCdfStatusesRequest_SdkV2)

func (ListCdfStatusesRequest_SdkV2) ToObjectValue added in v1.122.0

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, ListCdfStatusesRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListCdfStatusesRequest_SdkV2) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type ListCdfStatusesResponse added in v1.122.0

type ListCdfStatusesResponse struct {
	// The replicated tables under the parent CdfConfig.
	CdfStatuses types.List `tfsdk:"cdf_statuses"`
	// Token to retrieve the next page of results; empty when there are no more.
	NextPageToken types.String `tfsdk:"next_page_token"`
}

Response to a ListCdfStatuses request, containing a page of replicated table statuses and a token for fetching the next page.

func (ListCdfStatusesResponse) ApplySchemaCustomizations added in v1.122.0

func (m ListCdfStatusesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ListCdfStatusesResponse) GetCdfStatuses added in v1.122.0

func (m *ListCdfStatusesResponse) GetCdfStatuses(ctx context.Context) ([]CdfStatus, bool)

GetCdfStatuses returns the value of the CdfStatuses field in ListCdfStatusesResponse as a slice of CdfStatus values. If the field is unknown or null, the boolean return value is false.

func (ListCdfStatusesResponse) GetComplexFieldTypes added in v1.122.0

func (m ListCdfStatusesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCdfStatusesResponse. 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 (*ListCdfStatusesResponse) SetCdfStatuses added in v1.122.0

func (m *ListCdfStatusesResponse) SetCdfStatuses(ctx context.Context, v []CdfStatus)

SetCdfStatuses sets the value of the CdfStatuses field in ListCdfStatusesResponse.

func (*ListCdfStatusesResponse) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *ListCdfStatusesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListCdfStatusesResponse)

func (*ListCdfStatusesResponse) SyncFieldsDuringRead added in v1.122.0

func (to *ListCdfStatusesResponse) SyncFieldsDuringRead(ctx context.Context, from ListCdfStatusesResponse)

func (ListCdfStatusesResponse) ToObjectValue added in v1.122.0

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, ListCdfStatusesResponse only implements ToObjectValue() and Type().

func (ListCdfStatusesResponse) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type ListCdfStatusesResponse_SdkV2 added in v1.122.0

type ListCdfStatusesResponse_SdkV2 struct {
	// The replicated tables under the parent CdfConfig.
	CdfStatuses types.List `tfsdk:"cdf_statuses"`
	// Token to retrieve the next page of results; empty when there are no more.
	NextPageToken types.String `tfsdk:"next_page_token"`
}

Response to a ListCdfStatuses request, containing a page of replicated table statuses and a token for fetching the next page.

func (ListCdfStatusesResponse_SdkV2) ApplySchemaCustomizations added in v1.122.0

func (*ListCdfStatusesResponse_SdkV2) GetCdfStatuses added in v1.122.0

GetCdfStatuses returns the value of the CdfStatuses field in ListCdfStatusesResponse_SdkV2 as a slice of CdfStatus_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ListCdfStatusesResponse_SdkV2) GetComplexFieldTypes added in v1.122.0

func (m ListCdfStatusesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCdfStatusesResponse. 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 (*ListCdfStatusesResponse_SdkV2) SetCdfStatuses added in v1.122.0

func (m *ListCdfStatusesResponse_SdkV2) SetCdfStatuses(ctx context.Context, v []CdfStatus_SdkV2)

SetCdfStatuses sets the value of the CdfStatuses field in ListCdfStatusesResponse_SdkV2.

func (*ListCdfStatusesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.122.0

func (to *ListCdfStatusesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListCdfStatusesResponse_SdkV2)

func (*ListCdfStatusesResponse_SdkV2) SyncFieldsDuringRead added in v1.122.0

func (to *ListCdfStatusesResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListCdfStatusesResponse_SdkV2)

func (ListCdfStatusesResponse_SdkV2) ToObjectValue added in v1.122.0

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, ListCdfStatusesResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListCdfStatusesResponse_SdkV2) Type added in v1.122.0

Type implements basetypes.ObjectValuable.

type ListDatabasesRequest added in v1.111.0

type ListDatabasesRequest struct {
	// Upper bound for items returned.
	PageSize types.Int64 `tfsdk:"-"`
	// Pagination token to go to the next page of Databases. Requests first page
	// if absent.
	PageToken types.String `tfsdk:"-"`
	// The Branch that owns this collection of databases. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"-"`
}

func (ListDatabasesRequest) ApplySchemaCustomizations added in v1.111.0

func (m ListDatabasesRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListDatabasesRequest) GetComplexFieldTypes added in v1.111.0

func (m ListDatabasesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDatabasesRequest. 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 (*ListDatabasesRequest) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *ListDatabasesRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListDatabasesRequest)

func (*ListDatabasesRequest) SyncFieldsDuringRead added in v1.111.0

func (to *ListDatabasesRequest) SyncFieldsDuringRead(ctx context.Context, from ListDatabasesRequest)

func (ListDatabasesRequest) ToObjectValue added in v1.111.0

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, ListDatabasesRequest only implements ToObjectValue() and Type().

func (ListDatabasesRequest) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type ListDatabasesRequest_SdkV2 added in v1.111.0

type ListDatabasesRequest_SdkV2 struct {
	// Upper bound for items returned.
	PageSize types.Int64 `tfsdk:"-"`
	// Pagination token to go to the next page of Databases. Requests first page
	// if absent.
	PageToken types.String `tfsdk:"-"`
	// The Branch that owns this collection of databases. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"-"`
}

func (ListDatabasesRequest_SdkV2) ApplySchemaCustomizations added in v1.111.0

func (m ListDatabasesRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListDatabasesRequest_SdkV2) GetComplexFieldTypes added in v1.111.0

func (m ListDatabasesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDatabasesRequest. 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 (*ListDatabasesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *ListDatabasesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListDatabasesRequest_SdkV2)

func (*ListDatabasesRequest_SdkV2) SyncFieldsDuringRead added in v1.111.0

func (to *ListDatabasesRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListDatabasesRequest_SdkV2)

func (ListDatabasesRequest_SdkV2) ToObjectValue added in v1.111.0

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, ListDatabasesRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListDatabasesRequest_SdkV2) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type ListDatabasesResponse added in v1.111.0

type ListDatabasesResponse struct {
	// List of databases.
	Databases types.List `tfsdk:"databases"`
	// Pagination token to request the next page of databases.
	NextPageToken types.String `tfsdk:"next_page_token"`
}

func (ListDatabasesResponse) ApplySchemaCustomizations added in v1.111.0

func (m ListDatabasesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListDatabasesResponse) GetComplexFieldTypes added in v1.111.0

func (m ListDatabasesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDatabasesResponse. 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 (*ListDatabasesResponse) GetDatabases added in v1.111.0

func (m *ListDatabasesResponse) GetDatabases(ctx context.Context) ([]Database, bool)

GetDatabases returns the value of the Databases field in ListDatabasesResponse as a slice of Database values. If the field is unknown or null, the boolean return value is false.

func (*ListDatabasesResponse) SetDatabases added in v1.111.0

func (m *ListDatabasesResponse) SetDatabases(ctx context.Context, v []Database)

SetDatabases sets the value of the Databases field in ListDatabasesResponse.

func (*ListDatabasesResponse) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *ListDatabasesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListDatabasesResponse)

func (*ListDatabasesResponse) SyncFieldsDuringRead added in v1.111.0

func (to *ListDatabasesResponse) SyncFieldsDuringRead(ctx context.Context, from ListDatabasesResponse)

func (ListDatabasesResponse) ToObjectValue added in v1.111.0

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, ListDatabasesResponse only implements ToObjectValue() and Type().

func (ListDatabasesResponse) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type ListDatabasesResponse_SdkV2 added in v1.111.0

type ListDatabasesResponse_SdkV2 struct {
	// List of databases.
	Databases types.List `tfsdk:"databases"`
	// Pagination token to request the next page of databases.
	NextPageToken types.String `tfsdk:"next_page_token"`
}

func (ListDatabasesResponse_SdkV2) ApplySchemaCustomizations added in v1.111.0

func (m ListDatabasesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListDatabasesResponse_SdkV2) GetComplexFieldTypes added in v1.111.0

func (m ListDatabasesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDatabasesResponse. 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 (*ListDatabasesResponse_SdkV2) GetDatabases added in v1.111.0

GetDatabases returns the value of the Databases field in ListDatabasesResponse_SdkV2 as a slice of Database_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListDatabasesResponse_SdkV2) SetDatabases added in v1.111.0

func (m *ListDatabasesResponse_SdkV2) SetDatabases(ctx context.Context, v []Database_SdkV2)

SetDatabases sets the value of the Databases field in ListDatabasesResponse_SdkV2.

func (*ListDatabasesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *ListDatabasesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListDatabasesResponse_SdkV2)

func (*ListDatabasesResponse_SdkV2) SyncFieldsDuringRead added in v1.111.0

func (to *ListDatabasesResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListDatabasesResponse_SdkV2)

func (ListDatabasesResponse_SdkV2) ToObjectValue added in v1.111.0

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, ListDatabasesResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListDatabasesResponse_SdkV2) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type ListEndpointsRequest

type ListEndpointsRequest struct {
	// Upper bound for the number of endpoints returned. If set, the value must
	// be at least 10.
	PageSize types.Int64 `tfsdk:"-"`
	// Page token from a previous response. If not provided, returns the first
	// page.
	PageToken types.String `tfsdk:"-"`
	// The Branch that owns this collection of endpoints. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"-"`
}

func (ListEndpointsRequest) ApplySchemaCustomizations

func (m ListEndpointsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListEndpointsRequest) GetComplexFieldTypes

func (m ListEndpointsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate

func (to *ListEndpointsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListEndpointsRequest)

func (*ListEndpointsRequest) SyncFieldsDuringRead

func (to *ListEndpointsRequest) SyncFieldsDuringRead(ctx context.Context, from ListEndpointsRequest)

func (ListEndpointsRequest) ToObjectValue

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().

func (ListEndpointsRequest) Type

Type implements basetypes.ObjectValuable.

type ListEndpointsRequest_SdkV2

type ListEndpointsRequest_SdkV2 struct {
	// Upper bound for the number of endpoints returned. If set, the value must
	// be at least 10.
	PageSize types.Int64 `tfsdk:"-"`
	// Page token from a previous response. If not provided, returns the first
	// page.
	PageToken types.String `tfsdk:"-"`
	// The Branch that owns this collection of endpoints. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"-"`
}

func (ListEndpointsRequest_SdkV2) ApplySchemaCustomizations

func (m ListEndpointsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListEndpointsRequest_SdkV2) GetComplexFieldTypes

func (m ListEndpointsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ListEndpointsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListEndpointsRequest_SdkV2)

func (*ListEndpointsRequest_SdkV2) SyncFieldsDuringRead

func (to *ListEndpointsRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListEndpointsRequest_SdkV2)

func (ListEndpointsRequest_SdkV2) ToObjectValue

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_SdkV2 only implements ToObjectValue() and Type().

func (ListEndpointsRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ListEndpointsResponse

type ListEndpointsResponse struct {
	// List of compute endpoints in the branch.
	Endpoints types.List `tfsdk:"endpoints"`
	// Token to request the next page of compute endpoints.
	NextPageToken types.String `tfsdk:"next_page_token"`
}

func (ListEndpointsResponse) ApplySchemaCustomizations

func (m ListEndpointsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListEndpointsResponse) GetComplexFieldTypes

func (m ListEndpointsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListEndpointsResponse. 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 (*ListEndpointsResponse) GetEndpoints

func (m *ListEndpointsResponse) GetEndpoints(ctx context.Context) ([]Endpoint, bool)

GetEndpoints returns the value of the Endpoints field in ListEndpointsResponse as a slice of Endpoint values. If the field is unknown or null, the boolean return value is false.

func (*ListEndpointsResponse) SetEndpoints

func (m *ListEndpointsResponse) SetEndpoints(ctx context.Context, v []Endpoint)

SetEndpoints sets the value of the Endpoints field in ListEndpointsResponse.

func (*ListEndpointsResponse) SyncFieldsDuringCreateOrUpdate

func (to *ListEndpointsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListEndpointsResponse)

func (*ListEndpointsResponse) SyncFieldsDuringRead

func (to *ListEndpointsResponse) SyncFieldsDuringRead(ctx context.Context, from ListEndpointsResponse)

func (ListEndpointsResponse) ToObjectValue

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, ListEndpointsResponse only implements ToObjectValue() and Type().

func (ListEndpointsResponse) Type

Type implements basetypes.ObjectValuable.

type ListEndpointsResponse_SdkV2

type ListEndpointsResponse_SdkV2 struct {
	// List of compute endpoints in the branch.
	Endpoints types.List `tfsdk:"endpoints"`
	// Token to request the next page of compute endpoints.
	NextPageToken types.String `tfsdk:"next_page_token"`
}

func (ListEndpointsResponse_SdkV2) ApplySchemaCustomizations

func (m ListEndpointsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListEndpointsResponse_SdkV2) GetComplexFieldTypes

func (m ListEndpointsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListEndpointsResponse. 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 (*ListEndpointsResponse_SdkV2) GetEndpoints

GetEndpoints returns the value of the Endpoints field in ListEndpointsResponse_SdkV2 as a slice of Endpoint_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListEndpointsResponse_SdkV2) SetEndpoints

func (m *ListEndpointsResponse_SdkV2) SetEndpoints(ctx context.Context, v []Endpoint_SdkV2)

SetEndpoints sets the value of the Endpoints field in ListEndpointsResponse_SdkV2.

func (*ListEndpointsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ListEndpointsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListEndpointsResponse_SdkV2)

func (*ListEndpointsResponse_SdkV2) SyncFieldsDuringRead

func (to *ListEndpointsResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListEndpointsResponse_SdkV2)

func (ListEndpointsResponse_SdkV2) ToObjectValue

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, ListEndpointsResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListEndpointsResponse_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ListMigrationsRequest

type ListMigrationsRequest struct {
	// The maximum number of migrations to return. The server default is 100;
	// values above 1000 are capped to 1000.
	PageSize types.Int64 `tfsdk:"-"`
	// A page token from a previous call.
	PageToken types.String `tfsdk:"-"`
	// Whether to include soft-deleted migrations in the response. Hard-deleted
	// and already-purged migrations are never returned.
	ShowDeleted types.Bool `tfsdk:"-"`
}

func (ListMigrationsRequest) ApplySchemaCustomizations

func (m ListMigrationsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListMigrationsRequest) GetComplexFieldTypes

func (m ListMigrationsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListMigrationsRequest. 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 (*ListMigrationsRequest) SyncFieldsDuringCreateOrUpdate

func (to *ListMigrationsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListMigrationsRequest)

func (*ListMigrationsRequest) SyncFieldsDuringRead

func (to *ListMigrationsRequest) SyncFieldsDuringRead(ctx context.Context, from ListMigrationsRequest)

func (ListMigrationsRequest) ToObjectValue

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, ListMigrationsRequest only implements ToObjectValue() and Type().

func (ListMigrationsRequest) Type

Type implements basetypes.ObjectValuable.

type ListMigrationsRequest_SdkV2

type ListMigrationsRequest_SdkV2 struct {
	// The maximum number of migrations to return. The server default is 100;
	// values above 1000 are capped to 1000.
	PageSize types.Int64 `tfsdk:"-"`
	// A page token from a previous call.
	PageToken types.String `tfsdk:"-"`
	// Whether to include soft-deleted migrations in the response. Hard-deleted
	// and already-purged migrations are never returned.
	ShowDeleted types.Bool `tfsdk:"-"`
}

func (ListMigrationsRequest_SdkV2) ApplySchemaCustomizations

func (m ListMigrationsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListMigrationsRequest_SdkV2) GetComplexFieldTypes

func (m ListMigrationsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListMigrationsRequest. 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 (*ListMigrationsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ListMigrationsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListMigrationsRequest_SdkV2)

func (*ListMigrationsRequest_SdkV2) SyncFieldsDuringRead

func (to *ListMigrationsRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListMigrationsRequest_SdkV2)

func (ListMigrationsRequest_SdkV2) ToObjectValue

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, ListMigrationsRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListMigrationsRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ListMigrationsResponse

type ListMigrationsResponse struct {
	// Migrations visible to the caller.
	Migrations types.List `tfsdk:"migrations"`
	// A token for retrieving the next page. Empty when there are no more
	// results.
	NextPageToken types.String `tfsdk:"next_page_token"`
}

Response to list migrations.

func (ListMigrationsResponse) ApplySchemaCustomizations

func (m ListMigrationsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListMigrationsResponse) GetComplexFieldTypes

func (m ListMigrationsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListMigrationsResponse. 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 (*ListMigrationsResponse) GetMigrations

func (m *ListMigrationsResponse) GetMigrations(ctx context.Context) ([]Migration, bool)

GetMigrations returns the value of the Migrations field in ListMigrationsResponse as a slice of Migration values. If the field is unknown or null, the boolean return value is false.

func (*ListMigrationsResponse) SetMigrations

func (m *ListMigrationsResponse) SetMigrations(ctx context.Context, v []Migration)

SetMigrations sets the value of the Migrations field in ListMigrationsResponse.

func (*ListMigrationsResponse) SyncFieldsDuringCreateOrUpdate

func (to *ListMigrationsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListMigrationsResponse)

func (*ListMigrationsResponse) SyncFieldsDuringRead

func (to *ListMigrationsResponse) SyncFieldsDuringRead(ctx context.Context, from ListMigrationsResponse)

func (ListMigrationsResponse) ToObjectValue

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, ListMigrationsResponse only implements ToObjectValue() and Type().

func (ListMigrationsResponse) Type

Type implements basetypes.ObjectValuable.

type ListMigrationsResponse_SdkV2

type ListMigrationsResponse_SdkV2 struct {
	// Migrations visible to the caller.
	Migrations types.List `tfsdk:"migrations"`
	// A token for retrieving the next page. Empty when there are no more
	// results.
	NextPageToken types.String `tfsdk:"next_page_token"`
}

Response to list migrations.

func (ListMigrationsResponse_SdkV2) ApplySchemaCustomizations

func (ListMigrationsResponse_SdkV2) GetComplexFieldTypes

func (m ListMigrationsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListMigrationsResponse. 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 (*ListMigrationsResponse_SdkV2) GetMigrations

GetMigrations returns the value of the Migrations field in ListMigrationsResponse_SdkV2 as a slice of Migration_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListMigrationsResponse_SdkV2) SetMigrations

func (m *ListMigrationsResponse_SdkV2) SetMigrations(ctx context.Context, v []Migration_SdkV2)

SetMigrations sets the value of the Migrations field in ListMigrationsResponse_SdkV2.

func (*ListMigrationsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ListMigrationsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListMigrationsResponse_SdkV2)

func (*ListMigrationsResponse_SdkV2) SyncFieldsDuringRead

func (to *ListMigrationsResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListMigrationsResponse_SdkV2)

func (ListMigrationsResponse_SdkV2) ToObjectValue

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, ListMigrationsResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListMigrationsResponse_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ListProjectsRequest

type ListProjectsRequest struct {
	// Upper bound for the number of projects returned. Cannot be negative.
	// Values above the maximum page size are reduced to that maximum.
	PageSize types.Int64 `tfsdk:"-"`
	// Page token from a previous response. If not provided, returns the first
	// page.
	PageToken types.String `tfsdk:"-"`
	// Whether to include soft-deleted projects in the response. When true,
	// soft-deleted projects are included alongside active projects.
	// Hard-deleted and already-purged projects are never returned.
	ShowDeleted types.Bool `tfsdk:"-"`
}

func (ListProjectsRequest) ApplySchemaCustomizations

func (m ListProjectsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListProjectsRequest) GetComplexFieldTypes

func (m ListProjectsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProjectsRequest. 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 (*ListProjectsRequest) SyncFieldsDuringCreateOrUpdate

func (to *ListProjectsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListProjectsRequest)

func (*ListProjectsRequest) SyncFieldsDuringRead

func (to *ListProjectsRequest) SyncFieldsDuringRead(ctx context.Context, from ListProjectsRequest)

func (ListProjectsRequest) ToObjectValue

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, ListProjectsRequest only implements ToObjectValue() and Type().

func (ListProjectsRequest) Type

Type implements basetypes.ObjectValuable.

type ListProjectsRequest_SdkV2

type ListProjectsRequest_SdkV2 struct {
	// Upper bound for the number of projects returned. Cannot be negative.
	// Values above the maximum page size are reduced to that maximum.
	PageSize types.Int64 `tfsdk:"-"`
	// Page token from a previous response. If not provided, returns the first
	// page.
	PageToken types.String `tfsdk:"-"`
	// Whether to include soft-deleted projects in the response. When true,
	// soft-deleted projects are included alongside active projects.
	// Hard-deleted and already-purged projects are never returned.
	ShowDeleted types.Bool `tfsdk:"-"`
}

func (ListProjectsRequest_SdkV2) ApplySchemaCustomizations

func (m ListProjectsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListProjectsRequest_SdkV2) GetComplexFieldTypes

func (m ListProjectsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProjectsRequest. 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 (*ListProjectsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ListProjectsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListProjectsRequest_SdkV2)

func (*ListProjectsRequest_SdkV2) SyncFieldsDuringRead

func (to *ListProjectsRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListProjectsRequest_SdkV2)

func (ListProjectsRequest_SdkV2) ToObjectValue

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, ListProjectsRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListProjectsRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ListProjectsResponse

type ListProjectsResponse struct {
	// Token to request the next page of projects.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// List of all projects in the workspace that the user has permission to
	// access.
	Projects types.List `tfsdk:"projects"`
}

func (ListProjectsResponse) ApplySchemaCustomizations

func (m ListProjectsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListProjectsResponse) GetComplexFieldTypes

func (m ListProjectsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProjectsResponse. 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 (*ListProjectsResponse) GetProjects

func (m *ListProjectsResponse) GetProjects(ctx context.Context) ([]Project, bool)

GetProjects returns the value of the Projects field in ListProjectsResponse as a slice of Project values. If the field is unknown or null, the boolean return value is false.

func (*ListProjectsResponse) SetProjects

func (m *ListProjectsResponse) SetProjects(ctx context.Context, v []Project)

SetProjects sets the value of the Projects field in ListProjectsResponse.

func (*ListProjectsResponse) SyncFieldsDuringCreateOrUpdate

func (to *ListProjectsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListProjectsResponse)

func (*ListProjectsResponse) SyncFieldsDuringRead

func (to *ListProjectsResponse) SyncFieldsDuringRead(ctx context.Context, from ListProjectsResponse)

func (ListProjectsResponse) ToObjectValue

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, ListProjectsResponse only implements ToObjectValue() and Type().

func (ListProjectsResponse) Type

Type implements basetypes.ObjectValuable.

type ListProjectsResponse_SdkV2

type ListProjectsResponse_SdkV2 struct {
	// Token to request the next page of projects.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// List of all projects in the workspace that the user has permission to
	// access.
	Projects types.List `tfsdk:"projects"`
}

func (ListProjectsResponse_SdkV2) ApplySchemaCustomizations

func (m ListProjectsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListProjectsResponse_SdkV2) GetComplexFieldTypes

func (m ListProjectsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProjectsResponse. 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 (*ListProjectsResponse_SdkV2) GetProjects

func (m *ListProjectsResponse_SdkV2) GetProjects(ctx context.Context) ([]Project_SdkV2, bool)

GetProjects returns the value of the Projects field in ListProjectsResponse_SdkV2 as a slice of Project_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListProjectsResponse_SdkV2) SetProjects

func (m *ListProjectsResponse_SdkV2) SetProjects(ctx context.Context, v []Project_SdkV2)

SetProjects sets the value of the Projects field in ListProjectsResponse_SdkV2.

func (*ListProjectsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ListProjectsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListProjectsResponse_SdkV2)

func (*ListProjectsResponse_SdkV2) SyncFieldsDuringRead

func (to *ListProjectsResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListProjectsResponse_SdkV2)

func (ListProjectsResponse_SdkV2) ToObjectValue

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, ListProjectsResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListProjectsResponse_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ListRolesRequest

type ListRolesRequest struct {
	// Upper bound for items returned. Cannot be negative.
	PageSize types.Int64 `tfsdk:"-"`
	// Page token from a previous response. If not provided, returns the first
	// page.
	PageToken types.String `tfsdk:"-"`
	// The Branch that owns this collection of roles. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"-"`
}

func (ListRolesRequest) ApplySchemaCustomizations

func (m ListRolesRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListRolesRequest) GetComplexFieldTypes

func (m ListRolesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRolesRequest. 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 (*ListRolesRequest) SyncFieldsDuringCreateOrUpdate

func (to *ListRolesRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListRolesRequest)

func (*ListRolesRequest) SyncFieldsDuringRead

func (to *ListRolesRequest) SyncFieldsDuringRead(ctx context.Context, from ListRolesRequest)

func (ListRolesRequest) ToObjectValue

func (m ListRolesRequest) 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, ListRolesRequest only implements ToObjectValue() and Type().

func (ListRolesRequest) Type

Type implements basetypes.ObjectValuable.

type ListRolesRequest_SdkV2

type ListRolesRequest_SdkV2 struct {
	// Upper bound for items returned. Cannot be negative.
	PageSize types.Int64 `tfsdk:"-"`
	// Page token from a previous response. If not provided, returns the first
	// page.
	PageToken types.String `tfsdk:"-"`
	// The Branch that owns this collection of roles. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"-"`
}

func (ListRolesRequest_SdkV2) ApplySchemaCustomizations

func (m ListRolesRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListRolesRequest_SdkV2) GetComplexFieldTypes

func (m ListRolesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRolesRequest. 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 (*ListRolesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ListRolesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListRolesRequest_SdkV2)

func (*ListRolesRequest_SdkV2) SyncFieldsDuringRead

func (to *ListRolesRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListRolesRequest_SdkV2)

func (ListRolesRequest_SdkV2) ToObjectValue

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, ListRolesRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListRolesRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ListRolesResponse

type ListRolesResponse struct {
	// Token to request the next page of Postgres roles.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// List of Postgres roles in the branch.
	Roles types.List `tfsdk:"roles"`
}

func (ListRolesResponse) ApplySchemaCustomizations

func (m ListRolesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListRolesResponse) GetComplexFieldTypes

func (m ListRolesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRolesResponse. 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 (*ListRolesResponse) GetRoles

func (m *ListRolesResponse) GetRoles(ctx context.Context) ([]Role, bool)

GetRoles returns the value of the Roles field in ListRolesResponse as a slice of Role values. If the field is unknown or null, the boolean return value is false.

func (*ListRolesResponse) SetRoles

func (m *ListRolesResponse) SetRoles(ctx context.Context, v []Role)

SetRoles sets the value of the Roles field in ListRolesResponse.

func (*ListRolesResponse) SyncFieldsDuringCreateOrUpdate

func (to *ListRolesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListRolesResponse)

func (*ListRolesResponse) SyncFieldsDuringRead

func (to *ListRolesResponse) SyncFieldsDuringRead(ctx context.Context, from ListRolesResponse)

func (ListRolesResponse) ToObjectValue

func (m ListRolesResponse) 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, ListRolesResponse only implements ToObjectValue() and Type().

func (ListRolesResponse) Type

Type implements basetypes.ObjectValuable.

type ListRolesResponse_SdkV2

type ListRolesResponse_SdkV2 struct {
	// Token to request the next page of Postgres roles.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// List of Postgres roles in the branch.
	Roles types.List `tfsdk:"roles"`
}

func (ListRolesResponse_SdkV2) ApplySchemaCustomizations

func (m ListRolesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListRolesResponse_SdkV2) GetComplexFieldTypes

func (m ListRolesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRolesResponse. 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 (*ListRolesResponse_SdkV2) GetRoles

func (m *ListRolesResponse_SdkV2) GetRoles(ctx context.Context) ([]Role_SdkV2, bool)

GetRoles returns the value of the Roles field in ListRolesResponse_SdkV2 as a slice of Role_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListRolesResponse_SdkV2) SetRoles

func (m *ListRolesResponse_SdkV2) SetRoles(ctx context.Context, v []Role_SdkV2)

SetRoles sets the value of the Roles field in ListRolesResponse_SdkV2.

func (*ListRolesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ListRolesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListRolesResponse_SdkV2)

func (*ListRolesResponse_SdkV2) SyncFieldsDuringRead

func (to *ListRolesResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListRolesResponse_SdkV2)

func (ListRolesResponse_SdkV2) ToObjectValue

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, ListRolesResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListRolesResponse_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ListSnapshotsRequest added in v1.131.0

type ListSnapshotsRequest struct {
	// Maximum number of snapshots to return per page.
	PageSize types.Int64 `tfsdk:"-"`
	// Page token from a previous response; omit for the first page.
	PageToken types.String `tfsdk:"-"`
	// The project that owns the snapshots. Format: projects/{project_id}
	Parent types.String `tfsdk:"-"`
}

func (ListSnapshotsRequest) ApplySchemaCustomizations added in v1.131.0

func (m ListSnapshotsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListSnapshotsRequest) GetComplexFieldTypes added in v1.131.0

func (m ListSnapshotsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSnapshotsRequest. 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 (*ListSnapshotsRequest) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *ListSnapshotsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListSnapshotsRequest)

func (*ListSnapshotsRequest) SyncFieldsDuringRead added in v1.131.0

func (to *ListSnapshotsRequest) SyncFieldsDuringRead(ctx context.Context, from ListSnapshotsRequest)

func (ListSnapshotsRequest) ToObjectValue added in v1.131.0

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, ListSnapshotsRequest only implements ToObjectValue() and Type().

func (ListSnapshotsRequest) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type ListSnapshotsRequest_SdkV2 added in v1.131.0

type ListSnapshotsRequest_SdkV2 struct {
	// Maximum number of snapshots to return per page.
	PageSize types.Int64 `tfsdk:"-"`
	// Page token from a previous response; omit for the first page.
	PageToken types.String `tfsdk:"-"`
	// The project that owns the snapshots. Format: projects/{project_id}
	Parent types.String `tfsdk:"-"`
}

func (ListSnapshotsRequest_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (m ListSnapshotsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListSnapshotsRequest_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m ListSnapshotsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSnapshotsRequest. 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 (*ListSnapshotsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *ListSnapshotsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListSnapshotsRequest_SdkV2)

func (*ListSnapshotsRequest_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (to *ListSnapshotsRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListSnapshotsRequest_SdkV2)

func (ListSnapshotsRequest_SdkV2) ToObjectValue added in v1.131.0

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, ListSnapshotsRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListSnapshotsRequest_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type ListSnapshotsResponse added in v1.131.0

type ListSnapshotsResponse struct {
	// Token to retrieve the next page; empty if there are no more pages.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// The snapshots in the project.
	Snapshots types.List `tfsdk:"snapshots"`
}

func (ListSnapshotsResponse) ApplySchemaCustomizations added in v1.131.0

func (m ListSnapshotsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListSnapshotsResponse) GetComplexFieldTypes added in v1.131.0

func (m ListSnapshotsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSnapshotsResponse. 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 (*ListSnapshotsResponse) GetSnapshots added in v1.131.0

func (m *ListSnapshotsResponse) GetSnapshots(ctx context.Context) ([]Snapshot, bool)

GetSnapshots returns the value of the Snapshots field in ListSnapshotsResponse as a slice of Snapshot values. If the field is unknown or null, the boolean return value is false.

func (*ListSnapshotsResponse) SetSnapshots added in v1.131.0

func (m *ListSnapshotsResponse) SetSnapshots(ctx context.Context, v []Snapshot)

SetSnapshots sets the value of the Snapshots field in ListSnapshotsResponse.

func (*ListSnapshotsResponse) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *ListSnapshotsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListSnapshotsResponse)

func (*ListSnapshotsResponse) SyncFieldsDuringRead added in v1.131.0

func (to *ListSnapshotsResponse) SyncFieldsDuringRead(ctx context.Context, from ListSnapshotsResponse)

func (ListSnapshotsResponse) ToObjectValue added in v1.131.0

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, ListSnapshotsResponse only implements ToObjectValue() and Type().

func (ListSnapshotsResponse) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type ListSnapshotsResponse_SdkV2 added in v1.131.0

type ListSnapshotsResponse_SdkV2 struct {
	// Token to retrieve the next page; empty if there are no more pages.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// The snapshots in the project.
	Snapshots types.List `tfsdk:"snapshots"`
}

func (ListSnapshotsResponse_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (m ListSnapshotsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListSnapshotsResponse_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m ListSnapshotsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSnapshotsResponse. 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 (*ListSnapshotsResponse_SdkV2) GetSnapshots added in v1.131.0

GetSnapshots returns the value of the Snapshots field in ListSnapshotsResponse_SdkV2 as a slice of Snapshot_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListSnapshotsResponse_SdkV2) SetSnapshots added in v1.131.0

func (m *ListSnapshotsResponse_SdkV2) SetSnapshots(ctx context.Context, v []Snapshot_SdkV2)

SetSnapshots sets the value of the Snapshots field in ListSnapshotsResponse_SdkV2.

func (*ListSnapshotsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *ListSnapshotsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListSnapshotsResponse_SdkV2)

func (*ListSnapshotsResponse_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (to *ListSnapshotsResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListSnapshotsResponse_SdkV2)

func (ListSnapshotsResponse_SdkV2) ToObjectValue added in v1.131.0

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, ListSnapshotsResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListSnapshotsResponse_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type LongTransactionDetails

type LongTransactionDetails struct {
	// Age of the oldest active transaction when assessed. Zero when none is
	// active.
	OldestTransactionAge timetypes.GoDuration `tfsdk:"oldest_transaction_age"`
}

Oldest active source transaction at assessment time.

func (LongTransactionDetails) ApplySchemaCustomizations

func (m LongTransactionDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LongTransactionDetails) GetComplexFieldTypes

func (m LongTransactionDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LongTransactionDetails. 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 (*LongTransactionDetails) SyncFieldsDuringCreateOrUpdate

func (to *LongTransactionDetails) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LongTransactionDetails)

func (*LongTransactionDetails) SyncFieldsDuringRead

func (to *LongTransactionDetails) SyncFieldsDuringRead(ctx context.Context, from LongTransactionDetails)

func (LongTransactionDetails) ToObjectValue

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, LongTransactionDetails only implements ToObjectValue() and Type().

func (LongTransactionDetails) Type

Type implements basetypes.ObjectValuable.

type LongTransactionDetails_SdkV2

type LongTransactionDetails_SdkV2 struct {
	// Age of the oldest active transaction when assessed. Zero when none is
	// active.
	OldestTransactionAge timetypes.GoDuration `tfsdk:"oldest_transaction_age"`
}

Oldest active source transaction at assessment time.

func (LongTransactionDetails_SdkV2) ApplySchemaCustomizations

func (LongTransactionDetails_SdkV2) GetComplexFieldTypes

func (m LongTransactionDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LongTransactionDetails. 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 (*LongTransactionDetails_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *LongTransactionDetails_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LongTransactionDetails_SdkV2)

func (*LongTransactionDetails_SdkV2) SyncFieldsDuringRead

func (to *LongTransactionDetails_SdkV2) SyncFieldsDuringRead(ctx context.Context, from LongTransactionDetails_SdkV2)

func (LongTransactionDetails_SdkV2) ToObjectValue

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, LongTransactionDetails_SdkV2 only implements ToObjectValue() and Type().

func (LongTransactionDetails_SdkV2) Type

Type implements basetypes.ObjectValuable.

type Migration

type Migration struct {
	// Output-only. The time when the migration was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Required. Mappings from source databases to target databases.
	DatabaseMappings types.List `tfsdk:"database_mappings"`
	// Output-only. The time when the migration was soft-deleted. Empty if the
	// migration is active.
	DeleteTime timetypes.RFC3339 `tfsdk:"delete_time"`
	// Output-only. The current error preventing migration progress, if any.
	Error types.Object `tfsdk:"error"`
	// Required. Immutable. The intended migration mode, selected when the
	// migration is created.
	MigrationType types.String `tfsdk:"migration_type"`
	// The migration resource name, in the format `migrations/{migration}`.
	Name types.String `tfsdk:"name"`
	// Output-only. The time when the soft-deleted migration is scheduled for
	// permanent deletion. Empty if the migration is active or permanent
	// deletion is not scheduled.
	PurgeTime timetypes.RFC3339 `tfsdk:"purge_time"`
	// Required. The name of the Unity Catalog connection (a UC securable name,
	// such as `my_postgres_connection`) used to connect to the source
	// PostgreSQL server.
	SourceConnection types.String `tfsdk:"source_connection"`
	// Output-only. The authoritative migration lifecycle state.
	State types.String `tfsdk:"state"`
	// The Lakebase branch receiving the migrated databases, in the format
	// `projects/{project_id}/branches/{branch_id}`. May be omitted during
	// assessment, but must be set before the migration starts, and may be
	// changed until then.
	TargetBranch types.String `tfsdk:"target_branch"`
	// Output-only. The time when the migration was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

A managed migration of PostgreSQL databases into a Lakebase branch.

func (Migration) ApplySchemaCustomizations

func (m Migration) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Migration) GetComplexFieldTypes

func (m Migration) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Migration. 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 (*Migration) GetDatabaseMappings

func (m *Migration) GetDatabaseMappings(ctx context.Context) ([]DatabaseMapping, bool)

GetDatabaseMappings returns the value of the DatabaseMappings field in Migration as a slice of DatabaseMapping values. If the field is unknown or null, the boolean return value is false.

func (*Migration) GetError

func (m *Migration) GetError(ctx context.Context) (MigrationError, bool)

GetError returns the value of the Error field in Migration as a MigrationError value. If the field is unknown or null, the boolean return value is false.

func (*Migration) SetDatabaseMappings

func (m *Migration) SetDatabaseMappings(ctx context.Context, v []DatabaseMapping)

SetDatabaseMappings sets the value of the DatabaseMappings field in Migration.

func (*Migration) SetError

func (m *Migration) SetError(ctx context.Context, v MigrationError)

SetError sets the value of the Error field in Migration.

func (*Migration) SyncFieldsDuringCreateOrUpdate

func (to *Migration) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Migration)

func (*Migration) SyncFieldsDuringRead

func (to *Migration) SyncFieldsDuringRead(ctx context.Context, from Migration)

func (Migration) ToObjectValue

func (m Migration) 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, Migration only implements ToObjectValue() and Type().

func (Migration) Type

func (m Migration) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type MigrationError

type MigrationError struct {
	// A stable machine-readable error code.
	Code types.String `tfsdk:"code"`
	// A concise explanation of the failure.
	Message types.String `tfsdk:"message"`
}

An error that prevents migration progress.

func (MigrationError) ApplySchemaCustomizations

func (m MigrationError) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (MigrationError) GetComplexFieldTypes

func (m MigrationError) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in MigrationError. 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 (*MigrationError) SyncFieldsDuringCreateOrUpdate

func (to *MigrationError) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from MigrationError)

func (*MigrationError) SyncFieldsDuringRead

func (to *MigrationError) SyncFieldsDuringRead(ctx context.Context, from MigrationError)

func (MigrationError) ToObjectValue

func (m MigrationError) 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, MigrationError only implements ToObjectValue() and Type().

func (MigrationError) Type

func (m MigrationError) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type MigrationError_SdkV2

type MigrationError_SdkV2 struct {
	// A stable machine-readable error code.
	Code types.String `tfsdk:"code"`
	// A concise explanation of the failure.
	Message types.String `tfsdk:"message"`
}

An error that prevents migration progress.

func (MigrationError_SdkV2) ApplySchemaCustomizations

func (m MigrationError_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (MigrationError_SdkV2) GetComplexFieldTypes

func (m MigrationError_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in MigrationError. 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 (*MigrationError_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *MigrationError_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from MigrationError_SdkV2)

func (*MigrationError_SdkV2) SyncFieldsDuringRead

func (to *MigrationError_SdkV2) SyncFieldsDuringRead(ctx context.Context, from MigrationError_SdkV2)

func (MigrationError_SdkV2) ToObjectValue

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, MigrationError_SdkV2 only implements ToObjectValue() and Type().

func (MigrationError_SdkV2) Type

Type implements basetypes.ObjectValuable.

type MigrationOperationMetadata

type MigrationOperationMetadata struct {
}

Metadata for a long-running operation that applies an action to a migration.

func (MigrationOperationMetadata) ApplySchemaCustomizations

func (m MigrationOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (MigrationOperationMetadata) GetComplexFieldTypes

func (m MigrationOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in MigrationOperationMetadata. 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 (*MigrationOperationMetadata) SyncFieldsDuringCreateOrUpdate

func (to *MigrationOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from MigrationOperationMetadata)

func (*MigrationOperationMetadata) SyncFieldsDuringRead

func (to *MigrationOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from MigrationOperationMetadata)

func (MigrationOperationMetadata) ToObjectValue

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, MigrationOperationMetadata only implements ToObjectValue() and Type().

func (MigrationOperationMetadata) Type

Type implements basetypes.ObjectValuable.

type MigrationOperationMetadata_SdkV2

type MigrationOperationMetadata_SdkV2 struct {
}

Metadata for a long-running operation that applies an action to a migration.

func (MigrationOperationMetadata_SdkV2) ApplySchemaCustomizations

func (MigrationOperationMetadata_SdkV2) GetComplexFieldTypes

func (m MigrationOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in MigrationOperationMetadata. 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 (*MigrationOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *MigrationOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from MigrationOperationMetadata_SdkV2)

func (*MigrationOperationMetadata_SdkV2) SyncFieldsDuringRead

func (MigrationOperationMetadata_SdkV2) ToObjectValue

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, MigrationOperationMetadata_SdkV2 only implements ToObjectValue() and Type().

func (MigrationOperationMetadata_SdkV2) Type

Type implements basetypes.ObjectValuable.

type Migration_SdkV2

type Migration_SdkV2 struct {
	// Output-only. The time when the migration was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Required. Mappings from source databases to target databases.
	DatabaseMappings types.List `tfsdk:"database_mappings"`
	// Output-only. The time when the migration was soft-deleted. Empty if the
	// migration is active.
	DeleteTime timetypes.RFC3339 `tfsdk:"delete_time"`
	// Output-only. The current error preventing migration progress, if any.
	Error types.List `tfsdk:"error"`
	// Required. Immutable. The intended migration mode, selected when the
	// migration is created.
	MigrationType types.String `tfsdk:"migration_type"`
	// The migration resource name, in the format `migrations/{migration}`.
	Name types.String `tfsdk:"name"`
	// Output-only. The time when the soft-deleted migration is scheduled for
	// permanent deletion. Empty if the migration is active or permanent
	// deletion is not scheduled.
	PurgeTime timetypes.RFC3339 `tfsdk:"purge_time"`
	// Required. The name of the Unity Catalog connection (a UC securable name,
	// such as `my_postgres_connection`) used to connect to the source
	// PostgreSQL server.
	SourceConnection types.String `tfsdk:"source_connection"`
	// Output-only. The authoritative migration lifecycle state.
	State types.String `tfsdk:"state"`
	// The Lakebase branch receiving the migrated databases, in the format
	// `projects/{project_id}/branches/{branch_id}`. May be omitted during
	// assessment, but must be set before the migration starts, and may be
	// changed until then.
	TargetBranch types.String `tfsdk:"target_branch"`
	// Output-only. The time when the migration was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

A managed migration of PostgreSQL databases into a Lakebase branch.

func (Migration_SdkV2) ApplySchemaCustomizations

func (m Migration_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Migration_SdkV2) GetComplexFieldTypes

func (m Migration_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Migration. 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 (*Migration_SdkV2) GetDatabaseMappings

func (m *Migration_SdkV2) GetDatabaseMappings(ctx context.Context) ([]DatabaseMapping_SdkV2, bool)

GetDatabaseMappings returns the value of the DatabaseMappings field in Migration_SdkV2 as a slice of DatabaseMapping_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*Migration_SdkV2) GetError

GetError returns the value of the Error field in Migration_SdkV2 as a MigrationError_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Migration_SdkV2) SetDatabaseMappings

func (m *Migration_SdkV2) SetDatabaseMappings(ctx context.Context, v []DatabaseMapping_SdkV2)

SetDatabaseMappings sets the value of the DatabaseMappings field in Migration_SdkV2.

func (*Migration_SdkV2) SetError

SetError sets the value of the Error field in Migration_SdkV2.

func (*Migration_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *Migration_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Migration_SdkV2)

func (*Migration_SdkV2) SyncFieldsDuringRead

func (to *Migration_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Migration_SdkV2)

func (Migration_SdkV2) ToObjectValue

func (m Migration_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, Migration_SdkV2 only implements ToObjectValue() and Type().

func (Migration_SdkV2) Type

func (m Migration_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type MonthlySchedule added in v1.131.0

type MonthlySchedule struct {
	// The day of the month on which to take the snapshot, in [1, 31]. In
	// shorter months the snapshot is taken on the last day instead (day 31 runs
	// on Feb 28 or 29, and on Apr 30), so every month gets exactly one
	// snapshot.
	Day types.Int64 `tfsdk:"day"`
	// The hour of the day, in UTC, at which to take the snapshot, in [0, 23].
	Hour types.Int64 `tfsdk:"hour"`
}

Take a snapshot once per month, on the configured day at the configured hour.

func (MonthlySchedule) ApplySchemaCustomizations added in v1.131.0

func (m MonthlySchedule) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (MonthlySchedule) GetComplexFieldTypes added in v1.131.0

func (m MonthlySchedule) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in MonthlySchedule. 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 (*MonthlySchedule) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *MonthlySchedule) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from MonthlySchedule)

func (*MonthlySchedule) SyncFieldsDuringRead added in v1.131.0

func (to *MonthlySchedule) SyncFieldsDuringRead(ctx context.Context, from MonthlySchedule)

func (MonthlySchedule) ToObjectValue added in v1.131.0

func (m MonthlySchedule) 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, MonthlySchedule only implements ToObjectValue() and Type().

func (MonthlySchedule) Type added in v1.131.0

func (m MonthlySchedule) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type MonthlySchedule_SdkV2 added in v1.131.0

type MonthlySchedule_SdkV2 struct {
	// The day of the month on which to take the snapshot, in [1, 31]. In
	// shorter months the snapshot is taken on the last day instead (day 31 runs
	// on Feb 28 or 29, and on Apr 30), so every month gets exactly one
	// snapshot.
	Day types.Int64 `tfsdk:"day"`
	// The hour of the day, in UTC, at which to take the snapshot, in [0, 23].
	Hour types.Int64 `tfsdk:"hour"`
}

Take a snapshot once per month, on the configured day at the configured hour.

func (MonthlySchedule_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (m MonthlySchedule_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (MonthlySchedule_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m MonthlySchedule_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in MonthlySchedule. 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 (*MonthlySchedule_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *MonthlySchedule_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from MonthlySchedule_SdkV2)

func (*MonthlySchedule_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (to *MonthlySchedule_SdkV2) SyncFieldsDuringRead(ctx context.Context, from MonthlySchedule_SdkV2)

func (MonthlySchedule_SdkV2) ToObjectValue added in v1.131.0

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, MonthlySchedule_SdkV2 only implements ToObjectValue() and Type().

func (MonthlySchedule_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type NewPipelineSpec added in v1.113.0

type NewPipelineSpec struct {
	// Budget policy to set on the newly created pipeline.
	BudgetPolicyId types.String `tfsdk:"budget_policy_id"`
	// Release channel of the underlying pipeline's runtime. Some source table
	// configurations (e.g., read-time CDF) require PREVIEW. Defaults to CURRENT
	// if not specified.
	PipelineChannel types.String `tfsdk:"pipeline_channel"`
	// UC catalog for the pipeline to store intermediate files (checkpoints,
	// event logs etc). This needs to be a standard catalog where the user has
	// permissions to create Delta tables.
	StorageCatalog types.String `tfsdk:"storage_catalog"`
	// UC schema for the pipeline to store intermediate files (checkpoints,
	// event logs etc). This needs to be in the standard catalog where the user
	// has permissions to create Delta tables.
	StorageSchema types.String `tfsdk:"storage_schema"`
}

func (NewPipelineSpec) ApplySchemaCustomizations added in v1.113.0

func (m NewPipelineSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (NewPipelineSpec) GetComplexFieldTypes added in v1.113.0

func (m NewPipelineSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in NewPipelineSpec. 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 (*NewPipelineSpec) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *NewPipelineSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from NewPipelineSpec)

func (*NewPipelineSpec) SyncFieldsDuringRead added in v1.113.0

func (to *NewPipelineSpec) SyncFieldsDuringRead(ctx context.Context, from NewPipelineSpec)

func (NewPipelineSpec) ToObjectValue added in v1.113.0

func (m NewPipelineSpec) 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, NewPipelineSpec only implements ToObjectValue() and Type().

func (NewPipelineSpec) Type added in v1.113.0

func (m NewPipelineSpec) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type NewPipelineSpec_SdkV2 added in v1.113.0

type NewPipelineSpec_SdkV2 struct {
	// Budget policy to set on the newly created pipeline.
	BudgetPolicyId types.String `tfsdk:"budget_policy_id"`
	// Release channel of the underlying pipeline's runtime. Some source table
	// configurations (e.g., read-time CDF) require PREVIEW. Defaults to CURRENT
	// if not specified.
	PipelineChannel types.String `tfsdk:"pipeline_channel"`
	// UC catalog for the pipeline to store intermediate files (checkpoints,
	// event logs etc). This needs to be a standard catalog where the user has
	// permissions to create Delta tables.
	StorageCatalog types.String `tfsdk:"storage_catalog"`
	// UC schema for the pipeline to store intermediate files (checkpoints,
	// event logs etc). This needs to be in the standard catalog where the user
	// has permissions to create Delta tables.
	StorageSchema types.String `tfsdk:"storage_schema"`
}

func (NewPipelineSpec_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (m NewPipelineSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (NewPipelineSpec_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m NewPipelineSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in NewPipelineSpec. 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 (*NewPipelineSpec_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *NewPipelineSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from NewPipelineSpec_SdkV2)

func (*NewPipelineSpec_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (to *NewPipelineSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from NewPipelineSpec_SdkV2)

func (NewPipelineSpec_SdkV2) ToObjectValue added in v1.113.0

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, NewPipelineSpec_SdkV2 only implements ToObjectValue() and Type().

func (NewPipelineSpec_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type Operation

type Operation struct {
	// If the value is `false`, it means the operation is still in progress. If
	// `true`, the operation is completed, and either `error` or `response` is
	// available.
	Done types.Bool `tfsdk:"done"`
	// The error result of the operation in case of failure or cancellation.
	Error types.Object `tfsdk:"error"`
	// Service-specific metadata associated with the operation. It typically
	// contains progress information and common metadata such as create time.
	// Some services might not provide such metadata.
	Metadata types.Object `tfsdk:"metadata"`
	// The server-assigned name, which is only unique within the same service
	// that originally returns it. If you use the default HTTP mapping, the
	// `name` should be a resource name ending with `operations/{unique_id}`.
	Name types.String `tfsdk:"name"`
	// The normal, successful response of the operation.
	Response types.Object `tfsdk:"response"`
}

This resource represents a long-running operation that is the result of a network API call.

func (Operation) ApplySchemaCustomizations

func (m Operation) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Operation) GetComplexFieldTypes

func (m Operation) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Operation. 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 (*Operation) GetError

GetError returns the value of the Error field in Operation as a DatabricksServiceExceptionWithDetailsProto value. If the field is unknown or null, the boolean return value is false.

func (*Operation) SetError

SetError sets the value of the Error field in Operation.

func (*Operation) SyncFieldsDuringCreateOrUpdate

func (to *Operation) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Operation)

func (*Operation) SyncFieldsDuringRead

func (to *Operation) SyncFieldsDuringRead(ctx context.Context, from Operation)

func (Operation) ToObjectValue

func (m Operation) 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, Operation only implements ToObjectValue() and Type().

func (Operation) Type

func (m Operation) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type Operation_SdkV2

type Operation_SdkV2 struct {
	// If the value is `false`, it means the operation is still in progress. If
	// `true`, the operation is completed, and either `error` or `response` is
	// available.
	Done types.Bool `tfsdk:"done"`
	// The error result of the operation in case of failure or cancellation.
	Error types.List `tfsdk:"error"`
	// Service-specific metadata associated with the operation. It typically
	// contains progress information and common metadata such as create time.
	// Some services might not provide such metadata.
	Metadata types.Object `tfsdk:"metadata"`
	// The server-assigned name, which is only unique within the same service
	// that originally returns it. If you use the default HTTP mapping, the
	// `name` should be a resource name ending with `operations/{unique_id}`.
	Name types.String `tfsdk:"name"`
	// The normal, successful response of the operation.
	Response types.Object `tfsdk:"response"`
}

This resource represents a long-running operation that is the result of a network API call.

func (Operation_SdkV2) ApplySchemaCustomizations

func (m Operation_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Operation_SdkV2) GetComplexFieldTypes

func (m Operation_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Operation. 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 (*Operation_SdkV2) GetError

GetError returns the value of the Error field in Operation_SdkV2 as a DatabricksServiceExceptionWithDetailsProto_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Operation_SdkV2) SetError

SetError sets the value of the Error field in Operation_SdkV2.

func (*Operation_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *Operation_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Operation_SdkV2)

func (*Operation_SdkV2) SyncFieldsDuringRead

func (to *Operation_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Operation_SdkV2)

func (Operation_SdkV2) ToObjectValue

func (m Operation_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, Operation_SdkV2 only implements ToObjectValue() and Type().

func (Operation_SdkV2) Type

func (m Operation_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type Project

type Project struct {
	// A timestamp indicating when the project was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// A timestamp indicating when the project was soft-deleted. Empty if the
	// project is not deleted, otherwise set to a timestamp in the past.
	DeleteTime timetypes.RFC3339 `tfsdk:"delete_time"`
	// Configuration for the initial default branch created as part of project
	// creation. Allows overriding branch protection. These settings only apply
	// at creation time and do not affect resources created after project
	// creation.
	InitialBranchSpec types.Object `tfsdk:"initial_branch_spec"`
	// Configuration settings for the initial Read/Write endpoint created inside
	// the initial branch for a newly created project. If omitted, the initial
	// endpoint created will have default settings, without high availability
	// configured. This field does not apply to any endpoints created after
	// project creation. Use spec.default_endpoint_settings to configure default
	// settings for endpoints created after project creation.
	InitialEndpointSpec types.Object `tfsdk:"initial_endpoint_spec"`
	// Output only. The full resource path of the project. Format:
	// projects/{project_id}
	Name types.String `tfsdk:"name"`
	// The project ID chosen when the project was created. It is the final
	// segment of `name`.
	ProjectId types.String `tfsdk:"project_id"`
	// A timestamp indicating when the project is scheduled for permanent
	// deletion. Empty if the project is not deleted, otherwise set to a
	// timestamp in the future.
	PurgeTime timetypes.RFC3339 `tfsdk:"purge_time"`
	// The desired configuration of the project. The fields under `spec` are the
	// ones that can be changed after creation, except `pg_version`, which is
	// fixed when the project is created. See `status` for the configuration
	// that is currently in effect.
	//
	// Read the resource's current values from `status`, rather than `spec`.
	// `spec` tracks field ownership for infrastructure-as-code tools and may
	// omit unmanaged fields.
	Spec types.Object `tfsdk:"spec"`
	// The configuration and state of the project that are currently in effect,
	// as reported by the system.
	Status types.Object `tfsdk:"status"`
	// A system-generated UUID that identifies the project. Unlike `name`, it is
	// not derived from the user-chosen project ID.
	Uid types.String `tfsdk:"uid"`
	// A timestamp indicating when the project was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

func (Project) ApplySchemaCustomizations

func (m Project) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Project) GetComplexFieldTypes

func (m Project) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Project. 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 (*Project) GetInitialBranchSpec added in v1.120.0

func (m *Project) GetInitialBranchSpec(ctx context.Context) (InitialBranchSpec, bool)

GetInitialBranchSpec returns the value of the InitialBranchSpec field in Project as a InitialBranchSpec value. If the field is unknown or null, the boolean return value is false.

func (*Project) GetInitialEndpointSpec added in v1.110.0

func (m *Project) GetInitialEndpointSpec(ctx context.Context) (InitialEndpointSpec, bool)

GetInitialEndpointSpec returns the value of the InitialEndpointSpec field in Project as a InitialEndpointSpec value. If the field is unknown or null, the boolean return value is false.

func (*Project) GetSpec

func (m *Project) GetSpec(ctx context.Context) (ProjectSpec, bool)

GetSpec returns the value of the Spec field in Project as a ProjectSpec value. If the field is unknown or null, the boolean return value is false.

func (*Project) GetStatus

func (m *Project) GetStatus(ctx context.Context) (ProjectStatus, bool)

GetStatus returns the value of the Status field in Project as a ProjectStatus value. If the field is unknown or null, the boolean return value is false.

func (*Project) SetInitialBranchSpec added in v1.120.0

func (m *Project) SetInitialBranchSpec(ctx context.Context, v InitialBranchSpec)

SetInitialBranchSpec sets the value of the InitialBranchSpec field in Project.

func (*Project) SetInitialEndpointSpec added in v1.110.0

func (m *Project) SetInitialEndpointSpec(ctx context.Context, v InitialEndpointSpec)

SetInitialEndpointSpec sets the value of the InitialEndpointSpec field in Project.

func (*Project) SetSpec

func (m *Project) SetSpec(ctx context.Context, v ProjectSpec)

SetSpec sets the value of the Spec field in Project.

func (*Project) SetStatus

func (m *Project) SetStatus(ctx context.Context, v ProjectStatus)

SetStatus sets the value of the Status field in Project.

func (*Project) SyncFieldsDuringCreateOrUpdate

func (to *Project) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Project)

func (*Project) SyncFieldsDuringRead

func (to *Project) SyncFieldsDuringRead(ctx context.Context, from Project)

func (Project) ToObjectValue

func (m Project) 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, Project only implements ToObjectValue() and Type().

func (Project) Type

func (m Project) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ProjectCustomTag added in v1.107.0

type ProjectCustomTag struct {
	// The key of the custom tag.
	Key types.String `tfsdk:"key"`
	// The value of the custom tag.
	Value types.String `tfsdk:"value"`
}

func (ProjectCustomTag) ApplySchemaCustomizations added in v1.107.0

func (m ProjectCustomTag) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ProjectCustomTag) GetComplexFieldTypes added in v1.107.0

func (m ProjectCustomTag) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ProjectCustomTag. 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 (*ProjectCustomTag) SyncFieldsDuringCreateOrUpdate added in v1.107.0

func (to *ProjectCustomTag) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectCustomTag)

func (*ProjectCustomTag) SyncFieldsDuringRead added in v1.107.0

func (to *ProjectCustomTag) SyncFieldsDuringRead(ctx context.Context, from ProjectCustomTag)

func (ProjectCustomTag) ToObjectValue added in v1.107.0

func (m ProjectCustomTag) 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, ProjectCustomTag only implements ToObjectValue() and Type().

func (ProjectCustomTag) Type added in v1.107.0

Type implements basetypes.ObjectValuable.

type ProjectCustomTag_SdkV2 added in v1.107.0

type ProjectCustomTag_SdkV2 struct {
	// The key of the custom tag.
	Key types.String `tfsdk:"key"`
	// The value of the custom tag.
	Value types.String `tfsdk:"value"`
}

func (ProjectCustomTag_SdkV2) ApplySchemaCustomizations added in v1.107.0

func (m ProjectCustomTag_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ProjectCustomTag_SdkV2) GetComplexFieldTypes added in v1.107.0

func (m ProjectCustomTag_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ProjectCustomTag. 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 (*ProjectCustomTag_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.107.0

func (to *ProjectCustomTag_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectCustomTag_SdkV2)

func (*ProjectCustomTag_SdkV2) SyncFieldsDuringRead added in v1.107.0

func (to *ProjectCustomTag_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ProjectCustomTag_SdkV2)

func (ProjectCustomTag_SdkV2) ToObjectValue added in v1.107.0

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, ProjectCustomTag_SdkV2 only implements ToObjectValue() and Type().

func (ProjectCustomTag_SdkV2) Type added in v1.107.0

Type implements basetypes.ObjectValuable.

type ProjectDefaultEndpointSettings

type ProjectDefaultEndpointSettings struct {
	// The maximum number of Compute Units. Minimum value is 0.5.
	AutoscalingLimitMaxCu types.Float64 `tfsdk:"autoscaling_limit_max_cu"`
	// The minimum number of Compute Units. Minimum value is 0.5.
	AutoscalingLimitMinCu types.Float64 `tfsdk:"autoscaling_limit_min_cu"`
	// When set to true, explicitly disables automatic suspension (never
	// suspend). Should be set to true when provided. Mutually exclusive with
	// `suspend_timeout_duration`.
	NoSuspension types.Bool `tfsdk:"no_suspension"`
	// A raw representation of Postgres settings.
	PgSettings types.Map `tfsdk:"pg_settings"`
	// Duration of inactivity after which the compute endpoint is automatically
	// suspended. If specified should be between 60s and 604800s (1 minute to 1
	// week). Mutually exclusive with `no_suspension`.
	SuspendTimeoutDuration timetypes.GoDuration `tfsdk:"suspend_timeout_duration"`
}

A collection of settings for a compute endpoint.

func (ProjectDefaultEndpointSettings) ApplySchemaCustomizations

func (ProjectDefaultEndpointSettings) GetComplexFieldTypes

func (m ProjectDefaultEndpointSettings) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ProjectDefaultEndpointSettings. 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 (*ProjectDefaultEndpointSettings) GetPgSettings

func (m *ProjectDefaultEndpointSettings) GetPgSettings(ctx context.Context) (map[string]types.String, bool)

GetPgSettings returns the value of the PgSettings field in ProjectDefaultEndpointSettings as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ProjectDefaultEndpointSettings) SetPgSettings

func (m *ProjectDefaultEndpointSettings) SetPgSettings(ctx context.Context, v map[string]types.String)

SetPgSettings sets the value of the PgSettings field in ProjectDefaultEndpointSettings.

func (*ProjectDefaultEndpointSettings) SyncFieldsDuringCreateOrUpdate

func (to *ProjectDefaultEndpointSettings) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectDefaultEndpointSettings)

func (*ProjectDefaultEndpointSettings) SyncFieldsDuringRead

func (ProjectDefaultEndpointSettings) ToObjectValue

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, ProjectDefaultEndpointSettings only implements ToObjectValue() and Type().

func (ProjectDefaultEndpointSettings) Type

Type implements basetypes.ObjectValuable.

type ProjectDefaultEndpointSettings_SdkV2

type ProjectDefaultEndpointSettings_SdkV2 struct {
	// The maximum number of Compute Units. Minimum value is 0.5.
	AutoscalingLimitMaxCu types.Float64 `tfsdk:"autoscaling_limit_max_cu"`
	// The minimum number of Compute Units. Minimum value is 0.5.
	AutoscalingLimitMinCu types.Float64 `tfsdk:"autoscaling_limit_min_cu"`
	// When set to true, explicitly disables automatic suspension (never
	// suspend). Should be set to true when provided. Mutually exclusive with
	// `suspend_timeout_duration`.
	NoSuspension types.Bool `tfsdk:"no_suspension"`
	// A raw representation of Postgres settings.
	PgSettings types.Map `tfsdk:"pg_settings"`
	// Duration of inactivity after which the compute endpoint is automatically
	// suspended. If specified should be between 60s and 604800s (1 minute to 1
	// week). Mutually exclusive with `no_suspension`.
	SuspendTimeoutDuration timetypes.GoDuration `tfsdk:"suspend_timeout_duration"`
}

A collection of settings for a compute endpoint.

func (ProjectDefaultEndpointSettings_SdkV2) ApplySchemaCustomizations

func (ProjectDefaultEndpointSettings_SdkV2) GetComplexFieldTypes

func (m ProjectDefaultEndpointSettings_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ProjectDefaultEndpointSettings. 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 (*ProjectDefaultEndpointSettings_SdkV2) GetPgSettings

GetPgSettings returns the value of the PgSettings field in ProjectDefaultEndpointSettings_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ProjectDefaultEndpointSettings_SdkV2) SetPgSettings

SetPgSettings sets the value of the PgSettings field in ProjectDefaultEndpointSettings_SdkV2.

func (*ProjectDefaultEndpointSettings_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ProjectDefaultEndpointSettings_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectDefaultEndpointSettings_SdkV2)

func (*ProjectDefaultEndpointSettings_SdkV2) SyncFieldsDuringRead

func (ProjectDefaultEndpointSettings_SdkV2) ToObjectValue

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, ProjectDefaultEndpointSettings_SdkV2 only implements ToObjectValue() and Type().

func (ProjectDefaultEndpointSettings_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ProjectOperationMetadata

type ProjectOperationMetadata struct {
}

func (ProjectOperationMetadata) ApplySchemaCustomizations

func (m ProjectOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ProjectOperationMetadata) GetComplexFieldTypes

func (m ProjectOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ProjectOperationMetadata. 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 (*ProjectOperationMetadata) SyncFieldsDuringCreateOrUpdate

func (to *ProjectOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectOperationMetadata)

func (*ProjectOperationMetadata) SyncFieldsDuringRead

func (to *ProjectOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from ProjectOperationMetadata)

func (ProjectOperationMetadata) ToObjectValue

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, ProjectOperationMetadata only implements ToObjectValue() and Type().

func (ProjectOperationMetadata) Type

Type implements basetypes.ObjectValuable.

type ProjectOperationMetadata_SdkV2

type ProjectOperationMetadata_SdkV2 struct {
}

func (ProjectOperationMetadata_SdkV2) ApplySchemaCustomizations

func (ProjectOperationMetadata_SdkV2) GetComplexFieldTypes

func (m ProjectOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ProjectOperationMetadata. 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 (*ProjectOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ProjectOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectOperationMetadata_SdkV2)

func (*ProjectOperationMetadata_SdkV2) SyncFieldsDuringRead

func (ProjectOperationMetadata_SdkV2) ToObjectValue

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, ProjectOperationMetadata_SdkV2 only implements ToObjectValue() and Type().

func (ProjectOperationMetadata_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ProjectSpec

type ProjectSpec struct {
	// The desired budget policy to associate with the project. See
	// status.budget_policy_id for the policy that is actually applied to the
	// project.
	BudgetPolicyId types.String `tfsdk:"budget_policy_id"`
	// Custom tags to associate with the project, used for billing and cost
	// tracking. To update tags, provide the new tag list and include
	// "spec.custom_tags" in the update_mask. To clear all tags, provide an
	// empty list and include "spec.custom_tags" in the update_mask. To preserve
	// existing tags, omit this field from the update_mask (or use wildcard "*"
	// which auto-excludes empty tags).
	CustomTags types.List `tfsdk:"custom_tags"`
	// The full resource path of the default branch of the project. Format:
	// projects/{project_id}/branches/{branch_id} At creation time, the branch
	// ID in this path names the initial branch, which is called `production`
	// when the field is omitted. On update, the path must name an existing
	// branch of this project, which then becomes the default branch.
	DefaultBranch types.String `tfsdk:"default_branch"`
	// Settings applied by default to compute endpoints created in this project.
	// The initial endpoint also takes these values for any setting that
	// initial_endpoint_spec does not provide.
	DefaultEndpointSettings types.Object `tfsdk:"default_endpoint_settings"`
	// Human-readable project name. Length should be between 1 and 256
	// characters.
	DisplayName types.String `tfsdk:"display_name"`
	// Whether to enable PG native password login on all endpoints in this
	// project. Defaults to false.
	EnablePgNativeLogin types.Bool `tfsdk:"enable_pg_native_login"`
	// The number of seconds to retain the shared history for point in time
	// recovery for all branches in this project. Value should be between
	// 172800s (2 days) and 3024000s (35 days). Defaults to 604800s (7 days)
	// when omitted.
	HistoryRetentionDuration timetypes.GoDuration `tfsdk:"history_retention_duration"`
	// The major Postgres version number. Defaults to 17 when omitted. The set
	// of versions that new projects can use may change over time.
	PgVersion types.Int64 `tfsdk:"pg_version"`
}

func (ProjectSpec) ApplySchemaCustomizations

func (m ProjectSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ProjectSpec) GetComplexFieldTypes

func (m ProjectSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ProjectSpec. 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 (*ProjectSpec) GetCustomTags added in v1.107.0

func (m *ProjectSpec) GetCustomTags(ctx context.Context) ([]ProjectCustomTag, bool)

GetCustomTags returns the value of the CustomTags field in ProjectSpec as a slice of ProjectCustomTag values. If the field is unknown or null, the boolean return value is false.

func (*ProjectSpec) GetDefaultEndpointSettings

func (m *ProjectSpec) GetDefaultEndpointSettings(ctx context.Context) (ProjectDefaultEndpointSettings, bool)

GetDefaultEndpointSettings returns the value of the DefaultEndpointSettings field in ProjectSpec as a ProjectDefaultEndpointSettings value. If the field is unknown or null, the boolean return value is false.

func (*ProjectSpec) SetCustomTags added in v1.107.0

func (m *ProjectSpec) SetCustomTags(ctx context.Context, v []ProjectCustomTag)

SetCustomTags sets the value of the CustomTags field in ProjectSpec.

func (*ProjectSpec) SetDefaultEndpointSettings

func (m *ProjectSpec) SetDefaultEndpointSettings(ctx context.Context, v ProjectDefaultEndpointSettings)

SetDefaultEndpointSettings sets the value of the DefaultEndpointSettings field in ProjectSpec.

func (*ProjectSpec) SyncFieldsDuringCreateOrUpdate

func (to *ProjectSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectSpec)

func (*ProjectSpec) SyncFieldsDuringRead

func (to *ProjectSpec) SyncFieldsDuringRead(ctx context.Context, from ProjectSpec)

func (ProjectSpec) ToObjectValue

func (m ProjectSpec) 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, ProjectSpec only implements ToObjectValue() and Type().

func (ProjectSpec) Type

func (m ProjectSpec) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ProjectSpec_SdkV2

type ProjectSpec_SdkV2 struct {
	// The desired budget policy to associate with the project. See
	// status.budget_policy_id for the policy that is actually applied to the
	// project.
	BudgetPolicyId types.String `tfsdk:"budget_policy_id"`
	// Custom tags to associate with the project, used for billing and cost
	// tracking. To update tags, provide the new tag list and include
	// "spec.custom_tags" in the update_mask. To clear all tags, provide an
	// empty list and include "spec.custom_tags" in the update_mask. To preserve
	// existing tags, omit this field from the update_mask (or use wildcard "*"
	// which auto-excludes empty tags).
	CustomTags types.List `tfsdk:"custom_tags"`
	// The full resource path of the default branch of the project. Format:
	// projects/{project_id}/branches/{branch_id} At creation time, the branch
	// ID in this path names the initial branch, which is called `production`
	// when the field is omitted. On update, the path must name an existing
	// branch of this project, which then becomes the default branch.
	DefaultBranch types.String `tfsdk:"default_branch"`
	// Settings applied by default to compute endpoints created in this project.
	// The initial endpoint also takes these values for any setting that
	// initial_endpoint_spec does not provide.
	DefaultEndpointSettings types.List `tfsdk:"default_endpoint_settings"`
	// Human-readable project name. Length should be between 1 and 256
	// characters.
	DisplayName types.String `tfsdk:"display_name"`
	// Whether to enable PG native password login on all endpoints in this
	// project. Defaults to false.
	EnablePgNativeLogin types.Bool `tfsdk:"enable_pg_native_login"`
	// The number of seconds to retain the shared history for point in time
	// recovery for all branches in this project. Value should be between
	// 172800s (2 days) and 3024000s (35 days). Defaults to 604800s (7 days)
	// when omitted.
	HistoryRetentionDuration timetypes.GoDuration `tfsdk:"history_retention_duration"`
	// The major Postgres version number. Defaults to 17 when omitted. The set
	// of versions that new projects can use may change over time.
	PgVersion types.Int64 `tfsdk:"pg_version"`
}

func (ProjectSpec_SdkV2) ApplySchemaCustomizations

func (m ProjectSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ProjectSpec_SdkV2) GetComplexFieldTypes

func (m ProjectSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ProjectSpec. 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 (*ProjectSpec_SdkV2) GetCustomTags added in v1.107.0

func (m *ProjectSpec_SdkV2) GetCustomTags(ctx context.Context) ([]ProjectCustomTag_SdkV2, bool)

GetCustomTags returns the value of the CustomTags field in ProjectSpec_SdkV2 as a slice of ProjectCustomTag_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ProjectSpec_SdkV2) GetDefaultEndpointSettings

func (m *ProjectSpec_SdkV2) GetDefaultEndpointSettings(ctx context.Context) (ProjectDefaultEndpointSettings_SdkV2, bool)

GetDefaultEndpointSettings returns the value of the DefaultEndpointSettings field in ProjectSpec_SdkV2 as a ProjectDefaultEndpointSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ProjectSpec_SdkV2) SetCustomTags added in v1.107.0

func (m *ProjectSpec_SdkV2) SetCustomTags(ctx context.Context, v []ProjectCustomTag_SdkV2)

SetCustomTags sets the value of the CustomTags field in ProjectSpec_SdkV2.

func (*ProjectSpec_SdkV2) SetDefaultEndpointSettings

func (m *ProjectSpec_SdkV2) SetDefaultEndpointSettings(ctx context.Context, v ProjectDefaultEndpointSettings_SdkV2)

SetDefaultEndpointSettings sets the value of the DefaultEndpointSettings field in ProjectSpec_SdkV2.

func (*ProjectSpec_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ProjectSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectSpec_SdkV2)

func (*ProjectSpec_SdkV2) SyncFieldsDuringRead

func (to *ProjectSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ProjectSpec_SdkV2)

func (ProjectSpec_SdkV2) ToObjectValue

func (m ProjectSpec_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, ProjectSpec_SdkV2 only implements ToObjectValue() and Type().

func (ProjectSpec_SdkV2) Type

Type implements basetypes.ObjectValuable.

type ProjectStatus

type ProjectStatus struct {
	// The logical size limit for a branch.
	BranchLogicalSizeLimitBytes types.Int64 `tfsdk:"branch_logical_size_limit_bytes"`
	// The budget policy that is applied to the project.
	BudgetPolicyId types.String `tfsdk:"budget_policy_id"`
	// The most recent time when any endpoint of this project was active.
	ComputeLastActiveTime timetypes.RFC3339 `tfsdk:"compute_last_active_time"`
	// The effective custom tags associated with the project.
	CustomTags types.List `tfsdk:"custom_tags"`
	// The full resource path of the default branch of the project.
	DefaultBranch types.String `tfsdk:"default_branch"`
	// The effective default endpoint settings.
	DefaultEndpointSettings types.Object `tfsdk:"default_endpoint_settings"`
	// The effective human-readable project name.
	DisplayName types.String `tfsdk:"display_name"`
	// Whether to enable PG native password login on all endpoints in this
	// project.
	EnablePgNativeLogin types.Bool `tfsdk:"enable_pg_native_login"`
	// The effective number of seconds to retain the shared history for point in
	// time recovery.
	HistoryRetentionDuration timetypes.GoDuration `tfsdk:"history_retention_duration"`
	// The email of the project owner.
	Owner types.String `tfsdk:"owner"`
	// The effective major Postgres version number.
	PgVersion types.Int64 `tfsdk:"pg_version"`
	// The project ID, which is the final segment of the project's resource
	// name.
	ProjectId types.String `tfsdk:"project_id"`
	// The current space occupied by the project in storage.
	SyntheticStorageSizeBytes types.Int64 `tfsdk:"synthetic_storage_size_bytes"`
}

func (ProjectStatus) ApplySchemaCustomizations

func (m ProjectStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ProjectStatus) GetComplexFieldTypes

func (m ProjectStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ProjectStatus. 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 (*ProjectStatus) GetCustomTags added in v1.107.0

func (m *ProjectStatus) GetCustomTags(ctx context.Context) ([]ProjectCustomTag, bool)

GetCustomTags returns the value of the CustomTags field in ProjectStatus as a slice of ProjectCustomTag values. If the field is unknown or null, the boolean return value is false.

func (*ProjectStatus) GetDefaultEndpointSettings

func (m *ProjectStatus) GetDefaultEndpointSettings(ctx context.Context) (ProjectDefaultEndpointSettings, bool)

GetDefaultEndpointSettings returns the value of the DefaultEndpointSettings field in ProjectStatus as a ProjectDefaultEndpointSettings value. If the field is unknown or null, the boolean return value is false.

func (*ProjectStatus) SetCustomTags added in v1.107.0

func (m *ProjectStatus) SetCustomTags(ctx context.Context, v []ProjectCustomTag)

SetCustomTags sets the value of the CustomTags field in ProjectStatus.

func (*ProjectStatus) SetDefaultEndpointSettings

func (m *ProjectStatus) SetDefaultEndpointSettings(ctx context.Context, v ProjectDefaultEndpointSettings)

SetDefaultEndpointSettings sets the value of the DefaultEndpointSettings field in ProjectStatus.

func (*ProjectStatus) SyncFieldsDuringCreateOrUpdate

func (to *ProjectStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectStatus)

func (*ProjectStatus) SyncFieldsDuringRead

func (to *ProjectStatus) SyncFieldsDuringRead(ctx context.Context, from ProjectStatus)

func (ProjectStatus) ToObjectValue

func (m ProjectStatus) 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, ProjectStatus only implements ToObjectValue() and Type().

func (ProjectStatus) Type

func (m ProjectStatus) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ProjectStatus_SdkV2

type ProjectStatus_SdkV2 struct {
	// The logical size limit for a branch.
	BranchLogicalSizeLimitBytes types.Int64 `tfsdk:"branch_logical_size_limit_bytes"`
	// The budget policy that is applied to the project.
	BudgetPolicyId types.String `tfsdk:"budget_policy_id"`
	// The most recent time when any endpoint of this project was active.
	ComputeLastActiveTime timetypes.RFC3339 `tfsdk:"compute_last_active_time"`
	// The effective custom tags associated with the project.
	CustomTags types.List `tfsdk:"custom_tags"`
	// The full resource path of the default branch of the project.
	DefaultBranch types.String `tfsdk:"default_branch"`
	// The effective default endpoint settings.
	DefaultEndpointSettings types.List `tfsdk:"default_endpoint_settings"`
	// The effective human-readable project name.
	DisplayName types.String `tfsdk:"display_name"`
	// Whether to enable PG native password login on all endpoints in this
	// project.
	EnablePgNativeLogin types.Bool `tfsdk:"enable_pg_native_login"`
	// The effective number of seconds to retain the shared history for point in
	// time recovery.
	HistoryRetentionDuration timetypes.GoDuration `tfsdk:"history_retention_duration"`
	// The email of the project owner.
	Owner types.String `tfsdk:"owner"`
	// The effective major Postgres version number.
	PgVersion types.Int64 `tfsdk:"pg_version"`
	// The project ID, which is the final segment of the project's resource
	// name.
	ProjectId types.String `tfsdk:"project_id"`
	// The current space occupied by the project in storage.
	SyntheticStorageSizeBytes types.Int64 `tfsdk:"synthetic_storage_size_bytes"`
}

func (ProjectStatus_SdkV2) ApplySchemaCustomizations

func (m ProjectStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ProjectStatus_SdkV2) GetComplexFieldTypes

func (m ProjectStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ProjectStatus. 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 (*ProjectStatus_SdkV2) GetCustomTags added in v1.107.0

func (m *ProjectStatus_SdkV2) GetCustomTags(ctx context.Context) ([]ProjectCustomTag_SdkV2, bool)

GetCustomTags returns the value of the CustomTags field in ProjectStatus_SdkV2 as a slice of ProjectCustomTag_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ProjectStatus_SdkV2) GetDefaultEndpointSettings

func (m *ProjectStatus_SdkV2) GetDefaultEndpointSettings(ctx context.Context) (ProjectDefaultEndpointSettings_SdkV2, bool)

GetDefaultEndpointSettings returns the value of the DefaultEndpointSettings field in ProjectStatus_SdkV2 as a ProjectDefaultEndpointSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ProjectStatus_SdkV2) SetCustomTags added in v1.107.0

func (m *ProjectStatus_SdkV2) SetCustomTags(ctx context.Context, v []ProjectCustomTag_SdkV2)

SetCustomTags sets the value of the CustomTags field in ProjectStatus_SdkV2.

func (*ProjectStatus_SdkV2) SetDefaultEndpointSettings

func (m *ProjectStatus_SdkV2) SetDefaultEndpointSettings(ctx context.Context, v ProjectDefaultEndpointSettings_SdkV2)

SetDefaultEndpointSettings sets the value of the DefaultEndpointSettings field in ProjectStatus_SdkV2.

func (*ProjectStatus_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *ProjectStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectStatus_SdkV2)

func (*ProjectStatus_SdkV2) SyncFieldsDuringRead

func (to *ProjectStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ProjectStatus_SdkV2)

func (ProjectStatus_SdkV2) ToObjectValue

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, ProjectStatus_SdkV2 only implements ToObjectValue() and Type().

func (ProjectStatus_SdkV2) Type

Type implements basetypes.ObjectValuable.

type Project_SdkV2

type Project_SdkV2 struct {
	// A timestamp indicating when the project was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// A timestamp indicating when the project was soft-deleted. Empty if the
	// project is not deleted, otherwise set to a timestamp in the past.
	DeleteTime timetypes.RFC3339 `tfsdk:"delete_time"`
	// Configuration for the initial default branch created as part of project
	// creation. Allows overriding branch protection. These settings only apply
	// at creation time and do not affect resources created after project
	// creation.
	InitialBranchSpec types.List `tfsdk:"initial_branch_spec"`
	// Configuration settings for the initial Read/Write endpoint created inside
	// the initial branch for a newly created project. If omitted, the initial
	// endpoint created will have default settings, without high availability
	// configured. This field does not apply to any endpoints created after
	// project creation. Use spec.default_endpoint_settings to configure default
	// settings for endpoints created after project creation.
	InitialEndpointSpec types.List `tfsdk:"initial_endpoint_spec"`
	// Output only. The full resource path of the project. Format:
	// projects/{project_id}
	Name types.String `tfsdk:"name"`
	// The project ID chosen when the project was created. It is the final
	// segment of `name`.
	ProjectId types.String `tfsdk:"project_id"`
	// A timestamp indicating when the project is scheduled for permanent
	// deletion. Empty if the project is not deleted, otherwise set to a
	// timestamp in the future.
	PurgeTime timetypes.RFC3339 `tfsdk:"purge_time"`
	// The desired configuration of the project. The fields under `spec` are the
	// ones that can be changed after creation, except `pg_version`, which is
	// fixed when the project is created. See `status` for the configuration
	// that is currently in effect.
	//
	// Read the resource's current values from `status`, rather than `spec`.
	// `spec` tracks field ownership for infrastructure-as-code tools and may
	// omit unmanaged fields.
	Spec types.List `tfsdk:"spec"`
	// The configuration and state of the project that are currently in effect,
	// as reported by the system.
	Status types.List `tfsdk:"status"`
	// A system-generated UUID that identifies the project. Unlike `name`, it is
	// not derived from the user-chosen project ID.
	Uid types.String `tfsdk:"uid"`
	// A timestamp indicating when the project was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

func (Project_SdkV2) ApplySchemaCustomizations

func (m Project_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Project_SdkV2) GetComplexFieldTypes

func (m Project_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Project. 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 (*Project_SdkV2) GetInitialBranchSpec added in v1.120.0

func (m *Project_SdkV2) GetInitialBranchSpec(ctx context.Context) (InitialBranchSpec_SdkV2, bool)

GetInitialBranchSpec returns the value of the InitialBranchSpec field in Project_SdkV2 as a InitialBranchSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Project_SdkV2) GetInitialEndpointSpec added in v1.110.0

func (m *Project_SdkV2) GetInitialEndpointSpec(ctx context.Context) (InitialEndpointSpec_SdkV2, bool)

GetInitialEndpointSpec returns the value of the InitialEndpointSpec field in Project_SdkV2 as a InitialEndpointSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Project_SdkV2) GetSpec

func (m *Project_SdkV2) GetSpec(ctx context.Context) (ProjectSpec_SdkV2, bool)

GetSpec returns the value of the Spec field in Project_SdkV2 as a ProjectSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Project_SdkV2) GetStatus

func (m *Project_SdkV2) GetStatus(ctx context.Context) (ProjectStatus_SdkV2, bool)

GetStatus returns the value of the Status field in Project_SdkV2 as a ProjectStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Project_SdkV2) SetInitialBranchSpec added in v1.120.0

func (m *Project_SdkV2) SetInitialBranchSpec(ctx context.Context, v InitialBranchSpec_SdkV2)

SetInitialBranchSpec sets the value of the InitialBranchSpec field in Project_SdkV2.

func (*Project_SdkV2) SetInitialEndpointSpec added in v1.110.0

func (m *Project_SdkV2) SetInitialEndpointSpec(ctx context.Context, v InitialEndpointSpec_SdkV2)

SetInitialEndpointSpec sets the value of the InitialEndpointSpec field in Project_SdkV2.

func (*Project_SdkV2) SetSpec

func (m *Project_SdkV2) SetSpec(ctx context.Context, v ProjectSpec_SdkV2)

SetSpec sets the value of the Spec field in Project_SdkV2.

func (*Project_SdkV2) SetStatus

func (m *Project_SdkV2) SetStatus(ctx context.Context, v ProjectStatus_SdkV2)

SetStatus sets the value of the Status field in Project_SdkV2.

func (*Project_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *Project_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Project_SdkV2)

func (*Project_SdkV2) SyncFieldsDuringRead

func (to *Project_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Project_SdkV2)

func (Project_SdkV2) ToObjectValue

func (m Project_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, Project_SdkV2 only implements ToObjectValue() and Type().

func (Project_SdkV2) Type

func (m Project_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type RequestedClaims added in v1.104.0

type RequestedClaims struct {
	PermissionSet types.String `tfsdk:"permission_set"`

	Resources types.List `tfsdk:"resources"`
}

func (RequestedClaims) ApplySchemaCustomizations added in v1.104.0

func (m RequestedClaims) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RequestedClaims) GetComplexFieldTypes added in v1.104.0

func (m RequestedClaims) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RequestedClaims. 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 (*RequestedClaims) GetResources added in v1.104.0

func (m *RequestedClaims) GetResources(ctx context.Context) ([]RequestedResource, bool)

GetResources returns the value of the Resources field in RequestedClaims as a slice of RequestedResource values. If the field is unknown or null, the boolean return value is false.

func (*RequestedClaims) SetResources added in v1.104.0

func (m *RequestedClaims) SetResources(ctx context.Context, v []RequestedResource)

SetResources sets the value of the Resources field in RequestedClaims.

func (*RequestedClaims) SyncFieldsDuringCreateOrUpdate added in v1.104.0

func (to *RequestedClaims) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RequestedClaims)

func (*RequestedClaims) SyncFieldsDuringRead added in v1.104.0

func (to *RequestedClaims) SyncFieldsDuringRead(ctx context.Context, from RequestedClaims)

func (RequestedClaims) ToObjectValue added in v1.104.0

func (m RequestedClaims) 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, RequestedClaims only implements ToObjectValue() and Type().

func (RequestedClaims) Type added in v1.104.0

func (m RequestedClaims) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type RequestedClaims_SdkV2 added in v1.104.0

type RequestedClaims_SdkV2 struct {
	PermissionSet types.String `tfsdk:"permission_set"`

	Resources types.List `tfsdk:"resources"`
}

func (RequestedClaims_SdkV2) ApplySchemaCustomizations added in v1.104.0

func (m RequestedClaims_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RequestedClaims_SdkV2) GetComplexFieldTypes added in v1.104.0

func (m RequestedClaims_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RequestedClaims. 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 (*RequestedClaims_SdkV2) GetResources added in v1.104.0

GetResources returns the value of the Resources field in RequestedClaims_SdkV2 as a slice of RequestedResource_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*RequestedClaims_SdkV2) SetResources added in v1.104.0

SetResources sets the value of the Resources field in RequestedClaims_SdkV2.

func (*RequestedClaims_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.104.0

func (to *RequestedClaims_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RequestedClaims_SdkV2)

func (*RequestedClaims_SdkV2) SyncFieldsDuringRead added in v1.104.0

func (to *RequestedClaims_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RequestedClaims_SdkV2)

func (RequestedClaims_SdkV2) ToObjectValue added in v1.104.0

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, RequestedClaims_SdkV2 only implements ToObjectValue() and Type().

func (RequestedClaims_SdkV2) Type added in v1.104.0

Type implements basetypes.ObjectValuable.

type RequestedResource added in v1.104.0

type RequestedResource struct {
	// The full Unity Catalog table name.
	TableName types.String `tfsdk:"table_name"`
}

func (RequestedResource) ApplySchemaCustomizations added in v1.104.0

func (m RequestedResource) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RequestedResource) GetComplexFieldTypes added in v1.104.0

func (m RequestedResource) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RequestedResource. 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 (*RequestedResource) SyncFieldsDuringCreateOrUpdate added in v1.104.0

func (to *RequestedResource) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RequestedResource)

func (*RequestedResource) SyncFieldsDuringRead added in v1.104.0

func (to *RequestedResource) SyncFieldsDuringRead(ctx context.Context, from RequestedResource)

func (RequestedResource) ToObjectValue added in v1.104.0

func (m RequestedResource) 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, RequestedResource only implements ToObjectValue() and Type().

func (RequestedResource) Type added in v1.104.0

Type implements basetypes.ObjectValuable.

type RequestedResource_SdkV2 added in v1.104.0

type RequestedResource_SdkV2 struct {
	// The full Unity Catalog table name.
	TableName types.String `tfsdk:"table_name"`
}

func (RequestedResource_SdkV2) ApplySchemaCustomizations added in v1.104.0

func (m RequestedResource_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RequestedResource_SdkV2) GetComplexFieldTypes added in v1.104.0

func (m RequestedResource_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RequestedResource. 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 (*RequestedResource_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.104.0

func (to *RequestedResource_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RequestedResource_SdkV2)

func (*RequestedResource_SdkV2) SyncFieldsDuringRead added in v1.104.0

func (to *RequestedResource_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RequestedResource_SdkV2)

func (RequestedResource_SdkV2) ToObjectValue added in v1.104.0

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, RequestedResource_SdkV2 only implements ToObjectValue() and Type().

func (RequestedResource_SdkV2) Type added in v1.104.0

Type implements basetypes.ObjectValuable.

type RevealRolePasswordRequest

type RevealRolePasswordRequest struct {
	// The full resource path of the role whose password should be revealed.
	// Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
	Name types.String `tfsdk:"-"`
}

Request to reveal the current password for a password-authenticated Postgres role.

func (RevealRolePasswordRequest) ApplySchemaCustomizations

func (m RevealRolePasswordRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RevealRolePasswordRequest) GetComplexFieldTypes

func (m RevealRolePasswordRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RevealRolePasswordRequest. 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 (*RevealRolePasswordRequest) SyncFieldsDuringCreateOrUpdate

func (to *RevealRolePasswordRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RevealRolePasswordRequest)

func (*RevealRolePasswordRequest) SyncFieldsDuringRead

func (to *RevealRolePasswordRequest) SyncFieldsDuringRead(ctx context.Context, from RevealRolePasswordRequest)

func (RevealRolePasswordRequest) ToObjectValue

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, RevealRolePasswordRequest only implements ToObjectValue() and Type().

func (RevealRolePasswordRequest) Type

Type implements basetypes.ObjectValuable.

type RevealRolePasswordRequest_SdkV2

type RevealRolePasswordRequest_SdkV2 struct {
	// The full resource path of the role whose password should be revealed.
	// Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
	Name types.String `tfsdk:"-"`
}

Request to reveal the current password for a password-authenticated Postgres role.

func (RevealRolePasswordRequest_SdkV2) ApplySchemaCustomizations

func (RevealRolePasswordRequest_SdkV2) GetComplexFieldTypes

func (m RevealRolePasswordRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RevealRolePasswordRequest. 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 (*RevealRolePasswordRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *RevealRolePasswordRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RevealRolePasswordRequest_SdkV2)

func (*RevealRolePasswordRequest_SdkV2) SyncFieldsDuringRead

func (RevealRolePasswordRequest_SdkV2) ToObjectValue

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, RevealRolePasswordRequest_SdkV2 only implements ToObjectValue() and Type().

func (RevealRolePasswordRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type RevealRolePasswordResponse

type RevealRolePasswordResponse struct {
	// The current password for the Postgres role.
	Password types.String `tfsdk:"password"`
}

Response containing the password for a password-authenticated Postgres role.

func (RevealRolePasswordResponse) ApplySchemaCustomizations

func (m RevealRolePasswordResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RevealRolePasswordResponse) GetComplexFieldTypes

func (m RevealRolePasswordResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RevealRolePasswordResponse. 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 (*RevealRolePasswordResponse) SyncFieldsDuringCreateOrUpdate

func (to *RevealRolePasswordResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RevealRolePasswordResponse)

func (*RevealRolePasswordResponse) SyncFieldsDuringRead

func (to *RevealRolePasswordResponse) SyncFieldsDuringRead(ctx context.Context, from RevealRolePasswordResponse)

func (RevealRolePasswordResponse) ToObjectValue

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, RevealRolePasswordResponse only implements ToObjectValue() and Type().

func (RevealRolePasswordResponse) Type

Type implements basetypes.ObjectValuable.

type RevealRolePasswordResponse_SdkV2

type RevealRolePasswordResponse_SdkV2 struct {
	// The current password for the Postgres role.
	Password types.String `tfsdk:"password"`
}

Response containing the password for a password-authenticated Postgres role.

func (RevealRolePasswordResponse_SdkV2) ApplySchemaCustomizations

func (RevealRolePasswordResponse_SdkV2) GetComplexFieldTypes

func (m RevealRolePasswordResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RevealRolePasswordResponse. 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 (*RevealRolePasswordResponse_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *RevealRolePasswordResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RevealRolePasswordResponse_SdkV2)

func (*RevealRolePasswordResponse_SdkV2) SyncFieldsDuringRead

func (RevealRolePasswordResponse_SdkV2) ToObjectValue

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, RevealRolePasswordResponse_SdkV2 only implements ToObjectValue() and Type().

func (RevealRolePasswordResponse_SdkV2) Type

Type implements basetypes.ObjectValuable.

type Role

type Role struct {
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Output only. The full resource path of the role. Format:
	// projects/{project_id}/branches/{branch_id}/roles/{role_id}
	Name types.String `tfsdk:"name"`
	// The Branch where this Role exists. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"parent"`
	// The part of the name, chosen by the user when the resource was created.
	RoleId types.String `tfsdk:"role_id"`
	// The spec contains the role configuration, including identity type,
	// authentication method, and role attributes.
	//
	// Read the resource's current values from `status`, rather than `spec`.
	// `spec` tracks field ownership for infrastructure-as-code tools and may
	// omit unmanaged fields.
	Spec types.Object `tfsdk:"spec"`
	// Current status of the role, including its identity type, authentication
	// method, and role attributes.
	Status types.Object `tfsdk:"status"`

	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

Role represents a Postgres role within a Branch.

func (Role) ApplySchemaCustomizations

func (m Role) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Role) GetComplexFieldTypes

func (m Role) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Role. 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 (*Role) GetSpec

func (m *Role) GetSpec(ctx context.Context) (RoleRoleSpec, bool)

GetSpec returns the value of the Spec field in Role as a RoleRoleSpec value. If the field is unknown or null, the boolean return value is false.

func (*Role) GetStatus

func (m *Role) GetStatus(ctx context.Context) (RoleRoleStatus, bool)

GetStatus returns the value of the Status field in Role as a RoleRoleStatus value. If the field is unknown or null, the boolean return value is false.

func (*Role) SetSpec

func (m *Role) SetSpec(ctx context.Context, v RoleRoleSpec)

SetSpec sets the value of the Spec field in Role.

func (*Role) SetStatus

func (m *Role) SetStatus(ctx context.Context, v RoleRoleStatus)

SetStatus sets the value of the Status field in Role.

func (*Role) SyncFieldsDuringCreateOrUpdate

func (to *Role) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Role)

func (*Role) SyncFieldsDuringRead

func (to *Role) SyncFieldsDuringRead(ctx context.Context, from Role)

func (Role) ToObjectValue

func (m Role) 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, Role only implements ToObjectValue() and Type().

func (Role) Type

func (m Role) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type RoleAttributes added in v1.108.0

type RoleAttributes struct {
	Bypassrls types.Bool `tfsdk:"bypassrls"`

	Createdb types.Bool `tfsdk:"createdb"`

	Createrole types.Bool `tfsdk:"createrole"`
}

Attributes that can be granted to a Postgres role. We are only implementing a subset for now, see xref: https://www.postgresql.org/docs/16/sql-createrole.html The values follow Postgres keyword naming e.g. CREATEDB, BYPASSRLS, etc. which is why they don't include typical underscores between words.

func (RoleAttributes) ApplySchemaCustomizations added in v1.108.0

func (m RoleAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RoleAttributes) GetComplexFieldTypes added in v1.108.0

func (m RoleAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RoleAttributes. 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 (*RoleAttributes) SyncFieldsDuringCreateOrUpdate added in v1.108.0

func (to *RoleAttributes) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RoleAttributes)

func (*RoleAttributes) SyncFieldsDuringRead added in v1.108.0

func (to *RoleAttributes) SyncFieldsDuringRead(ctx context.Context, from RoleAttributes)

func (RoleAttributes) ToObjectValue added in v1.108.0

func (m RoleAttributes) 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, RoleAttributes only implements ToObjectValue() and Type().

func (RoleAttributes) Type added in v1.108.0

func (m RoleAttributes) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type RoleAttributes_SdkV2 added in v1.108.0

type RoleAttributes_SdkV2 struct {
	Bypassrls types.Bool `tfsdk:"bypassrls"`

	Createdb types.Bool `tfsdk:"createdb"`

	Createrole types.Bool `tfsdk:"createrole"`
}

Attributes that can be granted to a Postgres role. We are only implementing a subset for now, see xref: https://www.postgresql.org/docs/16/sql-createrole.html The values follow Postgres keyword naming e.g. CREATEDB, BYPASSRLS, etc. which is why they don't include typical underscores between words.

func (RoleAttributes_SdkV2) ApplySchemaCustomizations added in v1.108.0

func (m RoleAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RoleAttributes_SdkV2) GetComplexFieldTypes added in v1.108.0

func (m RoleAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RoleAttributes. 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 (*RoleAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.108.0

func (to *RoleAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RoleAttributes_SdkV2)

func (*RoleAttributes_SdkV2) SyncFieldsDuringRead added in v1.108.0

func (to *RoleAttributes_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RoleAttributes_SdkV2)

func (RoleAttributes_SdkV2) ToObjectValue added in v1.108.0

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, RoleAttributes_SdkV2 only implements ToObjectValue() and Type().

func (RoleAttributes_SdkV2) Type added in v1.108.0

Type implements basetypes.ObjectValuable.

type RoleOperationMetadata

type RoleOperationMetadata struct {
}

func (RoleOperationMetadata) ApplySchemaCustomizations

func (m RoleOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RoleOperationMetadata) GetComplexFieldTypes

func (m RoleOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RoleOperationMetadata. 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 (*RoleOperationMetadata) SyncFieldsDuringCreateOrUpdate

func (to *RoleOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RoleOperationMetadata)

func (*RoleOperationMetadata) SyncFieldsDuringRead

func (to *RoleOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from RoleOperationMetadata)

func (RoleOperationMetadata) ToObjectValue

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, RoleOperationMetadata only implements ToObjectValue() and Type().

func (RoleOperationMetadata) Type

Type implements basetypes.ObjectValuable.

type RoleOperationMetadata_SdkV2

type RoleOperationMetadata_SdkV2 struct {
}

func (RoleOperationMetadata_SdkV2) ApplySchemaCustomizations

func (m RoleOperationMetadata_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RoleOperationMetadata_SdkV2) GetComplexFieldTypes

func (m RoleOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RoleOperationMetadata. 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 (*RoleOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *RoleOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RoleOperationMetadata_SdkV2)

func (*RoleOperationMetadata_SdkV2) SyncFieldsDuringRead

func (to *RoleOperationMetadata_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RoleOperationMetadata_SdkV2)

func (RoleOperationMetadata_SdkV2) ToObjectValue

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, RoleOperationMetadata_SdkV2 only implements ToObjectValue() and Type().

func (RoleOperationMetadata_SdkV2) Type

Type implements basetypes.ObjectValuable.

type RoleRoleSpec

type RoleRoleSpec struct {
	// The desired API-exposed Postgres role attribute to associate with the
	// role. Optional.
	Attributes types.Object `tfsdk:"attributes"`
	// Controls how the Postgres role authenticates when a client opens a
	// database connection. Supported values:
	//
	// * LAKEBASE_OAUTH_V1: the role authenticates by presenting a Databricks
	// OAuth access token derived from the backing managed identity (the
	// Databricks user, service principal, or group named by the role's
	// `postgres_role`). No static password exists for roles using this method.
	// * PG_PASSWORD_SCRAM_SHA_256: the role authenticates with a Postgres
	// password verified server-side using the SCRAM-SHA-256 mechanism. Lakebase
	// generates a password for the role.
	//
	// NO_LOGIN is not currently supported for Role creation.
	//
	// If auth_method is left unspecified, a meaningful authentication method is
	// derived from the identity_type: * For the managed identities, OAUTH is
	// used. * For the regular postgres roles, authentication based on postgres
	// passwords is used.
	//
	// NOTE: for the Databricks identity type GROUP, LAKEBASE_OAUTH_V1 is the
	// default auth method (group can login as well).
	//
	// This value cannot be changed after creation.
	AuthMethod types.String `tfsdk:"auth_method"`
	// The type of role. When specifying a managed-identity, the chosen
	// postgres_role must be a valid:
	//
	// * application ID for SERVICE_PRINCIPAL * user email for USER * group name
	// for GROUP
	//
	// This value cannot be changed after creation.
	IdentityType types.String `tfsdk:"identity_type"`
	// An enum value for a standard role that this role is a member of. When
	// selected in update_mask, this field replaces all existing memberships. An
	// empty or omitted list clears all memberships, including
	// DATABRICKS_SUPERUSER.
	MembershipRoles types.List `tfsdk:"membership_roles"`
	// The name of the Postgres role.
	//
	// This expects a valid Postgres identifier as specified in the link below.
	// https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS
	//
	// Required when creating the Role.
	//
	// If you wish to create a Postgres Role backed by a managed Databricks
	// identity, then postgres_role must be one of the following:
	//
	// 1. user email for IdentityType.USER 2. app ID for
	// IdentityType.SERVICE_PRINCIPAL 2. group name for IdentityType.GROUP
	//
	// This value cannot be changed after creation.
	PostgresRole types.String `tfsdk:"postgres_role"`
}

func (RoleRoleSpec) ApplySchemaCustomizations

func (m RoleRoleSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*RoleRoleSpec) GetAttributes added in v1.108.0

func (m *RoleRoleSpec) GetAttributes(ctx context.Context) (RoleAttributes, bool)

GetAttributes returns the value of the Attributes field in RoleRoleSpec as a RoleAttributes value. If the field is unknown or null, the boolean return value is false.

func (RoleRoleSpec) GetComplexFieldTypes

func (m RoleRoleSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RoleRoleSpec. 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 (*RoleRoleSpec) GetMembershipRoles added in v1.108.0

func (m *RoleRoleSpec) GetMembershipRoles(ctx context.Context) ([]types.String, bool)

GetMembershipRoles returns the value of the MembershipRoles field in RoleRoleSpec as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*RoleRoleSpec) SetAttributes added in v1.108.0

func (m *RoleRoleSpec) SetAttributes(ctx context.Context, v RoleAttributes)

SetAttributes sets the value of the Attributes field in RoleRoleSpec.

func (*RoleRoleSpec) SetMembershipRoles added in v1.108.0

func (m *RoleRoleSpec) SetMembershipRoles(ctx context.Context, v []types.String)

SetMembershipRoles sets the value of the MembershipRoles field in RoleRoleSpec.

func (*RoleRoleSpec) SyncFieldsDuringCreateOrUpdate

func (to *RoleRoleSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RoleRoleSpec)

func (*RoleRoleSpec) SyncFieldsDuringRead

func (to *RoleRoleSpec) SyncFieldsDuringRead(ctx context.Context, from RoleRoleSpec)

func (RoleRoleSpec) ToObjectValue

func (m RoleRoleSpec) 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, RoleRoleSpec only implements ToObjectValue() and Type().

func (RoleRoleSpec) Type

func (m RoleRoleSpec) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type RoleRoleSpec_SdkV2

type RoleRoleSpec_SdkV2 struct {
	// The desired API-exposed Postgres role attribute to associate with the
	// role. Optional.
	Attributes types.List `tfsdk:"attributes"`
	// Controls how the Postgres role authenticates when a client opens a
	// database connection. Supported values:
	//
	// * LAKEBASE_OAUTH_V1: the role authenticates by presenting a Databricks
	// OAuth access token derived from the backing managed identity (the
	// Databricks user, service principal, or group named by the role's
	// `postgres_role`). No static password exists for roles using this method.
	// * PG_PASSWORD_SCRAM_SHA_256: the role authenticates with a Postgres
	// password verified server-side using the SCRAM-SHA-256 mechanism. Lakebase
	// generates a password for the role.
	//
	// NO_LOGIN is not currently supported for Role creation.
	//
	// If auth_method is left unspecified, a meaningful authentication method is
	// derived from the identity_type: * For the managed identities, OAUTH is
	// used. * For the regular postgres roles, authentication based on postgres
	// passwords is used.
	//
	// NOTE: for the Databricks identity type GROUP, LAKEBASE_OAUTH_V1 is the
	// default auth method (group can login as well).
	//
	// This value cannot be changed after creation.
	AuthMethod types.String `tfsdk:"auth_method"`
	// The type of role. When specifying a managed-identity, the chosen
	// postgres_role must be a valid:
	//
	// * application ID for SERVICE_PRINCIPAL * user email for USER * group name
	// for GROUP
	//
	// This value cannot be changed after creation.
	IdentityType types.String `tfsdk:"identity_type"`
	// An enum value for a standard role that this role is a member of. When
	// selected in update_mask, this field replaces all existing memberships. An
	// empty or omitted list clears all memberships, including
	// DATABRICKS_SUPERUSER.
	MembershipRoles types.List `tfsdk:"membership_roles"`
	// The name of the Postgres role.
	//
	// This expects a valid Postgres identifier as specified in the link below.
	// https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS
	//
	// Required when creating the Role.
	//
	// If you wish to create a Postgres Role backed by a managed Databricks
	// identity, then postgres_role must be one of the following:
	//
	// 1. user email for IdentityType.USER 2. app ID for
	// IdentityType.SERVICE_PRINCIPAL 2. group name for IdentityType.GROUP
	//
	// This value cannot be changed after creation.
	PostgresRole types.String `tfsdk:"postgres_role"`
}

func (RoleRoleSpec_SdkV2) ApplySchemaCustomizations

func (m RoleRoleSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*RoleRoleSpec_SdkV2) GetAttributes added in v1.108.0

func (m *RoleRoleSpec_SdkV2) GetAttributes(ctx context.Context) (RoleAttributes_SdkV2, bool)

GetAttributes returns the value of the Attributes field in RoleRoleSpec_SdkV2 as a RoleAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (RoleRoleSpec_SdkV2) GetComplexFieldTypes

func (m RoleRoleSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RoleRoleSpec. 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 (*RoleRoleSpec_SdkV2) GetMembershipRoles added in v1.108.0

func (m *RoleRoleSpec_SdkV2) GetMembershipRoles(ctx context.Context) ([]types.String, bool)

GetMembershipRoles returns the value of the MembershipRoles field in RoleRoleSpec_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*RoleRoleSpec_SdkV2) SetAttributes added in v1.108.0

func (m *RoleRoleSpec_SdkV2) SetAttributes(ctx context.Context, v RoleAttributes_SdkV2)

SetAttributes sets the value of the Attributes field in RoleRoleSpec_SdkV2.

func (*RoleRoleSpec_SdkV2) SetMembershipRoles added in v1.108.0

func (m *RoleRoleSpec_SdkV2) SetMembershipRoles(ctx context.Context, v []types.String)

SetMembershipRoles sets the value of the MembershipRoles field in RoleRoleSpec_SdkV2.

func (*RoleRoleSpec_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *RoleRoleSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RoleRoleSpec_SdkV2)

func (*RoleRoleSpec_SdkV2) SyncFieldsDuringRead

func (to *RoleRoleSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RoleRoleSpec_SdkV2)

func (RoleRoleSpec_SdkV2) ToObjectValue

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, RoleRoleSpec_SdkV2 only implements ToObjectValue() and Type().

func (RoleRoleSpec_SdkV2) Type

Type implements basetypes.ObjectValuable.

type RoleRoleStatus

type RoleRoleStatus struct {
	// The PG role attributes associated with the role.
	Attributes types.Object `tfsdk:"attributes"`

	AuthMethod types.String `tfsdk:"auth_method"`
	// The type of the role.
	IdentityType types.String `tfsdk:"identity_type"`
	// An enum value for a standard role that this role is a member of.
	MembershipRoles types.List `tfsdk:"membership_roles"`
	// The name of the Postgres role.
	PostgresRole types.String `tfsdk:"postgres_role"`
	// Part of the resource name.
	RoleId types.String `tfsdk:"role_id"`
}

func (RoleRoleStatus) ApplySchemaCustomizations

func (m RoleRoleStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*RoleRoleStatus) GetAttributes added in v1.112.0

func (m *RoleRoleStatus) GetAttributes(ctx context.Context) (RoleAttributes, bool)

GetAttributes returns the value of the Attributes field in RoleRoleStatus as a RoleAttributes value. If the field is unknown or null, the boolean return value is false.

func (RoleRoleStatus) GetComplexFieldTypes

func (m RoleRoleStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RoleRoleStatus. 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 (*RoleRoleStatus) GetMembershipRoles added in v1.108.0

func (m *RoleRoleStatus) GetMembershipRoles(ctx context.Context) ([]types.String, bool)

GetMembershipRoles returns the value of the MembershipRoles field in RoleRoleStatus as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*RoleRoleStatus) SetAttributes added in v1.112.0

func (m *RoleRoleStatus) SetAttributes(ctx context.Context, v RoleAttributes)

SetAttributes sets the value of the Attributes field in RoleRoleStatus.

func (*RoleRoleStatus) SetMembershipRoles added in v1.108.0

func (m *RoleRoleStatus) SetMembershipRoles(ctx context.Context, v []types.String)

SetMembershipRoles sets the value of the MembershipRoles field in RoleRoleStatus.

func (*RoleRoleStatus) SyncFieldsDuringCreateOrUpdate

func (to *RoleRoleStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RoleRoleStatus)

func (*RoleRoleStatus) SyncFieldsDuringRead

func (to *RoleRoleStatus) SyncFieldsDuringRead(ctx context.Context, from RoleRoleStatus)

func (RoleRoleStatus) ToObjectValue

func (m RoleRoleStatus) 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, RoleRoleStatus only implements ToObjectValue() and Type().

func (RoleRoleStatus) Type

func (m RoleRoleStatus) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type RoleRoleStatus_SdkV2

type RoleRoleStatus_SdkV2 struct {
	// The PG role attributes associated with the role.
	Attributes types.List `tfsdk:"attributes"`

	AuthMethod types.String `tfsdk:"auth_method"`
	// The type of the role.
	IdentityType types.String `tfsdk:"identity_type"`
	// An enum value for a standard role that this role is a member of.
	MembershipRoles types.List `tfsdk:"membership_roles"`
	// The name of the Postgres role.
	PostgresRole types.String `tfsdk:"postgres_role"`
	// Part of the resource name.
	RoleId types.String `tfsdk:"role_id"`
}

func (RoleRoleStatus_SdkV2) ApplySchemaCustomizations

func (m RoleRoleStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*RoleRoleStatus_SdkV2) GetAttributes added in v1.112.0

GetAttributes returns the value of the Attributes field in RoleRoleStatus_SdkV2 as a RoleAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (RoleRoleStatus_SdkV2) GetComplexFieldTypes

func (m RoleRoleStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RoleRoleStatus. 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 (*RoleRoleStatus_SdkV2) GetMembershipRoles added in v1.108.0

func (m *RoleRoleStatus_SdkV2) GetMembershipRoles(ctx context.Context) ([]types.String, bool)

GetMembershipRoles returns the value of the MembershipRoles field in RoleRoleStatus_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*RoleRoleStatus_SdkV2) SetAttributes added in v1.112.0

func (m *RoleRoleStatus_SdkV2) SetAttributes(ctx context.Context, v RoleAttributes_SdkV2)

SetAttributes sets the value of the Attributes field in RoleRoleStatus_SdkV2.

func (*RoleRoleStatus_SdkV2) SetMembershipRoles added in v1.108.0

func (m *RoleRoleStatus_SdkV2) SetMembershipRoles(ctx context.Context, v []types.String)

SetMembershipRoles sets the value of the MembershipRoles field in RoleRoleStatus_SdkV2.

func (*RoleRoleStatus_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *RoleRoleStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RoleRoleStatus_SdkV2)

func (*RoleRoleStatus_SdkV2) SyncFieldsDuringRead

func (to *RoleRoleStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RoleRoleStatus_SdkV2)

func (RoleRoleStatus_SdkV2) ToObjectValue

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, RoleRoleStatus_SdkV2 only implements ToObjectValue() and Type().

func (RoleRoleStatus_SdkV2) Type

Type implements basetypes.ObjectValuable.

type Role_SdkV2

type Role_SdkV2 struct {
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Output only. The full resource path of the role. Format:
	// projects/{project_id}/branches/{branch_id}/roles/{role_id}
	Name types.String `tfsdk:"name"`
	// The Branch where this Role exists. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `tfsdk:"parent"`
	// The part of the name, chosen by the user when the resource was created.
	RoleId types.String `tfsdk:"role_id"`
	// The spec contains the role configuration, including identity type,
	// authentication method, and role attributes.
	//
	// Read the resource's current values from `status`, rather than `spec`.
	// `spec` tracks field ownership for infrastructure-as-code tools and may
	// omit unmanaged fields.
	Spec types.List `tfsdk:"spec"`
	// Current status of the role, including its identity type, authentication
	// method, and role attributes.
	Status types.List `tfsdk:"status"`

	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

Role represents a Postgres role within a Branch.

func (Role_SdkV2) ApplySchemaCustomizations

func (m Role_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Role_SdkV2) GetComplexFieldTypes

func (m Role_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Role. 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 (*Role_SdkV2) GetSpec

func (m *Role_SdkV2) GetSpec(ctx context.Context) (RoleRoleSpec_SdkV2, bool)

GetSpec returns the value of the Spec field in Role_SdkV2 as a RoleRoleSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Role_SdkV2) GetStatus

func (m *Role_SdkV2) GetStatus(ctx context.Context) (RoleRoleStatus_SdkV2, bool)

GetStatus returns the value of the Status field in Role_SdkV2 as a RoleRoleStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Role_SdkV2) SetSpec

func (m *Role_SdkV2) SetSpec(ctx context.Context, v RoleRoleSpec_SdkV2)

SetSpec sets the value of the Spec field in Role_SdkV2.

func (*Role_SdkV2) SetStatus

func (m *Role_SdkV2) SetStatus(ctx context.Context, v RoleRoleStatus_SdkV2)

SetStatus sets the value of the Status field in Role_SdkV2.

func (*Role_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *Role_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Role_SdkV2)

func (*Role_SdkV2) SyncFieldsDuringRead

func (to *Role_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Role_SdkV2)

func (Role_SdkV2) ToObjectValue

func (m Role_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, Role_SdkV2 only implements ToObjectValue() and Type().

func (Role_SdkV2) Type

func (m Role_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ScheduleCadence added in v1.131.0

type ScheduleCadence struct {
	// Take a snapshot once per day.
	DailySchedule types.Object `tfsdk:"daily_schedule"`
	// Take a snapshot once per month.
	MonthlySchedule types.Object `tfsdk:"monthly_schedule"`
	// How long snapshots from this cadence are kept before automatic deletion.
	// Must be at least 1 hour. Applied when a snapshot is taken; not
	// retroactive, so changing it affects only later snapshots.
	Retention timetypes.GoDuration `tfsdk:"retention"`
	// Take a snapshot once per week.
	WeeklySchedule types.Object `tfsdk:"weekly_schedule"`
}

One cadence at which automatic snapshots are taken.

func (ScheduleCadence) ApplySchemaCustomizations added in v1.131.0

func (m ScheduleCadence) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ScheduleCadence) GetComplexFieldTypes added in v1.131.0

func (m ScheduleCadence) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ScheduleCadence. 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 (*ScheduleCadence) GetDailySchedule added in v1.131.0

func (m *ScheduleCadence) GetDailySchedule(ctx context.Context) (DailySchedule, bool)

GetDailySchedule returns the value of the DailySchedule field in ScheduleCadence as a DailySchedule value. If the field is unknown or null, the boolean return value is false.

func (*ScheduleCadence) GetMonthlySchedule added in v1.131.0

func (m *ScheduleCadence) GetMonthlySchedule(ctx context.Context) (MonthlySchedule, bool)

GetMonthlySchedule returns the value of the MonthlySchedule field in ScheduleCadence as a MonthlySchedule value. If the field is unknown or null, the boolean return value is false.

func (*ScheduleCadence) GetWeeklySchedule added in v1.131.0

func (m *ScheduleCadence) GetWeeklySchedule(ctx context.Context) (WeeklySchedule, bool)

GetWeeklySchedule returns the value of the WeeklySchedule field in ScheduleCadence as a WeeklySchedule value. If the field is unknown or null, the boolean return value is false.

func (*ScheduleCadence) SetDailySchedule added in v1.131.0

func (m *ScheduleCadence) SetDailySchedule(ctx context.Context, v DailySchedule)

SetDailySchedule sets the value of the DailySchedule field in ScheduleCadence.

func (*ScheduleCadence) SetMonthlySchedule added in v1.131.0

func (m *ScheduleCadence) SetMonthlySchedule(ctx context.Context, v MonthlySchedule)

SetMonthlySchedule sets the value of the MonthlySchedule field in ScheduleCadence.

func (*ScheduleCadence) SetWeeklySchedule added in v1.131.0

func (m *ScheduleCadence) SetWeeklySchedule(ctx context.Context, v WeeklySchedule)

SetWeeklySchedule sets the value of the WeeklySchedule field in ScheduleCadence.

func (*ScheduleCadence) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *ScheduleCadence) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ScheduleCadence)

func (*ScheduleCadence) SyncFieldsDuringRead added in v1.131.0

func (to *ScheduleCadence) SyncFieldsDuringRead(ctx context.Context, from ScheduleCadence)

func (ScheduleCadence) ToObjectValue added in v1.131.0

func (m ScheduleCadence) 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, ScheduleCadence only implements ToObjectValue() and Type().

func (ScheduleCadence) Type added in v1.131.0

func (m ScheduleCadence) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ScheduleCadence_SdkV2 added in v1.131.0

type ScheduleCadence_SdkV2 struct {
	// Take a snapshot once per day.
	DailySchedule types.List `tfsdk:"daily_schedule"`
	// Take a snapshot once per month.
	MonthlySchedule types.List `tfsdk:"monthly_schedule"`
	// How long snapshots from this cadence are kept before automatic deletion.
	// Must be at least 1 hour. Applied when a snapshot is taken; not
	// retroactive, so changing it affects only later snapshots.
	Retention timetypes.GoDuration `tfsdk:"retention"`
	// Take a snapshot once per week.
	WeeklySchedule types.List `tfsdk:"weekly_schedule"`
}

One cadence at which automatic snapshots are taken.

func (ScheduleCadence_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (m ScheduleCadence_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ScheduleCadence_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m ScheduleCadence_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ScheduleCadence. 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 (*ScheduleCadence_SdkV2) GetDailySchedule added in v1.131.0

func (m *ScheduleCadence_SdkV2) GetDailySchedule(ctx context.Context) (DailySchedule_SdkV2, bool)

GetDailySchedule returns the value of the DailySchedule field in ScheduleCadence_SdkV2 as a DailySchedule_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ScheduleCadence_SdkV2) GetMonthlySchedule added in v1.131.0

func (m *ScheduleCadence_SdkV2) GetMonthlySchedule(ctx context.Context) (MonthlySchedule_SdkV2, bool)

GetMonthlySchedule returns the value of the MonthlySchedule field in ScheduleCadence_SdkV2 as a MonthlySchedule_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ScheduleCadence_SdkV2) GetWeeklySchedule added in v1.131.0

func (m *ScheduleCadence_SdkV2) GetWeeklySchedule(ctx context.Context) (WeeklySchedule_SdkV2, bool)

GetWeeklySchedule returns the value of the WeeklySchedule field in ScheduleCadence_SdkV2 as a WeeklySchedule_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ScheduleCadence_SdkV2) SetDailySchedule added in v1.131.0

func (m *ScheduleCadence_SdkV2) SetDailySchedule(ctx context.Context, v DailySchedule_SdkV2)

SetDailySchedule sets the value of the DailySchedule field in ScheduleCadence_SdkV2.

func (*ScheduleCadence_SdkV2) SetMonthlySchedule added in v1.131.0

func (m *ScheduleCadence_SdkV2) SetMonthlySchedule(ctx context.Context, v MonthlySchedule_SdkV2)

SetMonthlySchedule sets the value of the MonthlySchedule field in ScheduleCadence_SdkV2.

func (*ScheduleCadence_SdkV2) SetWeeklySchedule added in v1.131.0

func (m *ScheduleCadence_SdkV2) SetWeeklySchedule(ctx context.Context, v WeeklySchedule_SdkV2)

SetWeeklySchedule sets the value of the WeeklySchedule field in ScheduleCadence_SdkV2.

func (*ScheduleCadence_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *ScheduleCadence_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ScheduleCadence_SdkV2)

func (*ScheduleCadence_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (to *ScheduleCadence_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ScheduleCadence_SdkV2)

func (ScheduleCadence_SdkV2) ToObjectValue added in v1.131.0

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, ScheduleCadence_SdkV2 only implements ToObjectValue() and Type().

func (ScheduleCadence_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type Snapshot added in v1.131.0

type Snapshot struct {
	// When the snapshot was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// The resource name of the snapshot. Format:
	// projects/{project_id}/snapshots/{snapshot_id}
	Name types.String `tfsdk:"name"`
	// The user-chosen ID; the final segment of `name`.
	SnapshotId types.String `tfsdk:"snapshot_id"`
	// Client-provided configuration of the snapshot.
	Spec types.Object `tfsdk:"spec"`
	// Server-observed state of the snapshot.
	Status types.Object `tfsdk:"status"`
	// Unique system-generated ID for the snapshot.
	Uid types.String `tfsdk:"uid"`
}

An immutable, point-in-time copy of a branch's data within a project. It remains available after the source branch is deleted.

func (Snapshot) ApplySchemaCustomizations added in v1.131.0

func (m Snapshot) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Snapshot) GetComplexFieldTypes added in v1.131.0

func (m Snapshot) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Snapshot. 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 (*Snapshot) GetSpec added in v1.131.0

func (m *Snapshot) GetSpec(ctx context.Context) (SnapshotSpec, bool)

GetSpec returns the value of the Spec field in Snapshot as a SnapshotSpec value. If the field is unknown or null, the boolean return value is false.

func (*Snapshot) GetStatus added in v1.131.0

func (m *Snapshot) GetStatus(ctx context.Context) (SnapshotStatus, bool)

GetStatus returns the value of the Status field in Snapshot as a SnapshotStatus value. If the field is unknown or null, the boolean return value is false.

func (*Snapshot) SetSpec added in v1.131.0

func (m *Snapshot) SetSpec(ctx context.Context, v SnapshotSpec)

SetSpec sets the value of the Spec field in Snapshot.

func (*Snapshot) SetStatus added in v1.131.0

func (m *Snapshot) SetStatus(ctx context.Context, v SnapshotStatus)

SetStatus sets the value of the Status field in Snapshot.

func (*Snapshot) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *Snapshot) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Snapshot)

func (*Snapshot) SyncFieldsDuringRead added in v1.131.0

func (to *Snapshot) SyncFieldsDuringRead(ctx context.Context, from Snapshot)

func (Snapshot) ToObjectValue added in v1.131.0

func (m Snapshot) 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, Snapshot only implements ToObjectValue() and Type().

func (Snapshot) Type added in v1.131.0

func (m Snapshot) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type SnapshotOperationMetadata added in v1.131.0

type SnapshotOperationMetadata struct {
}

Metadata for the long-running snapshot Create and Delete operations.

func (SnapshotOperationMetadata) ApplySchemaCustomizations added in v1.131.0

func (m SnapshotOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SnapshotOperationMetadata) GetComplexFieldTypes added in v1.131.0

func (m SnapshotOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SnapshotOperationMetadata. 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 (*SnapshotOperationMetadata) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *SnapshotOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SnapshotOperationMetadata)

func (*SnapshotOperationMetadata) SyncFieldsDuringRead added in v1.131.0

func (to *SnapshotOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from SnapshotOperationMetadata)

func (SnapshotOperationMetadata) ToObjectValue added in v1.131.0

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, SnapshotOperationMetadata only implements ToObjectValue() and Type().

func (SnapshotOperationMetadata) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type SnapshotOperationMetadata_SdkV2 added in v1.131.0

type SnapshotOperationMetadata_SdkV2 struct {
}

Metadata for the long-running snapshot Create and Delete operations.

func (SnapshotOperationMetadata_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (SnapshotOperationMetadata_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m SnapshotOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SnapshotOperationMetadata. 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 (*SnapshotOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *SnapshotOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SnapshotOperationMetadata_SdkV2)

func (*SnapshotOperationMetadata_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (SnapshotOperationMetadata_SdkV2) ToObjectValue added in v1.131.0

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, SnapshotOperationMetadata_SdkV2 only implements ToObjectValue() and Type().

func (SnapshotOperationMetadata_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type SnapshotSchedule added in v1.131.0

type SnapshotSchedule struct {
	// The resource name of the branch's snapshot schedule. Format:
	// projects/{project_id}/branches/{branch_id}/snapshot-schedule
	Name types.String `tfsdk:"name"`
	// The cadences at which automatic snapshots are taken. Update replaces the
	// whole set; an empty set disables automatic snapshots. Order is not
	// significant. When several cadences fire together, one snapshot is taken,
	// retained for the longest of their retentions.
	Schedule types.Set `tfsdk:"schedule"`
}

The automatic snapshot cadences for a branch. There is exactly one schedule per branch (singleton); it is configured in place, not created or deleted.

Name: projects/{project_id}/branches/{branch_id}/snapshot-schedule

func (SnapshotSchedule) ApplySchemaCustomizations added in v1.131.0

func (m SnapshotSchedule) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SnapshotSchedule) GetComplexFieldTypes added in v1.131.0

func (m SnapshotSchedule) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SnapshotSchedule. 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 (*SnapshotSchedule) GetSchedule added in v1.131.0

func (m *SnapshotSchedule) GetSchedule(ctx context.Context) ([]ScheduleCadence, bool)

GetSchedule returns the value of the Schedule field in SnapshotSchedule as a slice of ScheduleCadence values. If the field is unknown or null, the boolean return value is false.

func (*SnapshotSchedule) SetSchedule added in v1.131.0

func (m *SnapshotSchedule) SetSchedule(ctx context.Context, v []ScheduleCadence)

SetSchedule sets the value of the Schedule field in SnapshotSchedule.

func (*SnapshotSchedule) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *SnapshotSchedule) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SnapshotSchedule)

func (*SnapshotSchedule) SyncFieldsDuringRead added in v1.131.0

func (to *SnapshotSchedule) SyncFieldsDuringRead(ctx context.Context, from SnapshotSchedule)

func (SnapshotSchedule) ToObjectValue added in v1.131.0

func (m SnapshotSchedule) 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, SnapshotSchedule only implements ToObjectValue() and Type().

func (SnapshotSchedule) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type SnapshotScheduleOperationMetadata added in v1.131.0

type SnapshotScheduleOperationMetadata struct {
}

Metadata for the long-running snapshot schedule Update operation.

func (SnapshotScheduleOperationMetadata) ApplySchemaCustomizations added in v1.131.0

func (SnapshotScheduleOperationMetadata) GetComplexFieldTypes added in v1.131.0

func (m SnapshotScheduleOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SnapshotScheduleOperationMetadata. 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 (*SnapshotScheduleOperationMetadata) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *SnapshotScheduleOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SnapshotScheduleOperationMetadata)

func (*SnapshotScheduleOperationMetadata) SyncFieldsDuringRead added in v1.131.0

func (SnapshotScheduleOperationMetadata) ToObjectValue added in v1.131.0

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, SnapshotScheduleOperationMetadata only implements ToObjectValue() and Type().

func (SnapshotScheduleOperationMetadata) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type SnapshotScheduleOperationMetadata_SdkV2 added in v1.131.0

type SnapshotScheduleOperationMetadata_SdkV2 struct {
}

Metadata for the long-running snapshot schedule Update operation.

func (SnapshotScheduleOperationMetadata_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (SnapshotScheduleOperationMetadata_SdkV2) GetComplexFieldTypes added in v1.131.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in SnapshotScheduleOperationMetadata. 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 (*SnapshotScheduleOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (*SnapshotScheduleOperationMetadata_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (SnapshotScheduleOperationMetadata_SdkV2) ToObjectValue added in v1.131.0

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, SnapshotScheduleOperationMetadata_SdkV2 only implements ToObjectValue() and Type().

func (SnapshotScheduleOperationMetadata_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type SnapshotSchedule_SdkV2 added in v1.131.0

type SnapshotSchedule_SdkV2 struct {
	// The resource name of the branch's snapshot schedule. Format:
	// projects/{project_id}/branches/{branch_id}/snapshot-schedule
	Name types.String `tfsdk:"name"`
	// The cadences at which automatic snapshots are taken. Update replaces the
	// whole set; an empty set disables automatic snapshots. Order is not
	// significant. When several cadences fire together, one snapshot is taken,
	// retained for the longest of their retentions.
	Schedule types.Set `tfsdk:"schedule"`
}

The automatic snapshot cadences for a branch. There is exactly one schedule per branch (singleton); it is configured in place, not created or deleted.

Name: projects/{project_id}/branches/{branch_id}/snapshot-schedule

func (SnapshotSchedule_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (m SnapshotSchedule_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SnapshotSchedule_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m SnapshotSchedule_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SnapshotSchedule. 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 (*SnapshotSchedule_SdkV2) GetSchedule added in v1.131.0

GetSchedule returns the value of the Schedule field in SnapshotSchedule_SdkV2 as a slice of ScheduleCadence_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*SnapshotSchedule_SdkV2) SetSchedule added in v1.131.0

SetSchedule sets the value of the Schedule field in SnapshotSchedule_SdkV2.

func (*SnapshotSchedule_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *SnapshotSchedule_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SnapshotSchedule_SdkV2)

func (*SnapshotSchedule_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (to *SnapshotSchedule_SdkV2) SyncFieldsDuringRead(ctx context.Context, from SnapshotSchedule_SdkV2)

func (SnapshotSchedule_SdkV2) ToObjectValue added in v1.131.0

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, SnapshotSchedule_SdkV2 only implements ToObjectValue() and Type().

func (SnapshotSchedule_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type SnapshotSpec added in v1.131.0

type SnapshotSpec struct {
	// Absolute time at which the snapshot is deleted. Mutually exclusive with
	// `ttl` and `no_expiry`.
	ExpireTime timetypes.RFC3339 `tfsdk:"expire_time"`
	// If true, the snapshot never expires. Mutually exclusive with `ttl` and
	// `expire_time`.
	NoExpiry types.Bool `tfsdk:"no_expiry"`
	// The source branch to snapshot. Format:
	// projects/{project_id}/branches/{branch_id}
	SourceBranch types.String `tfsdk:"source_branch"`
	// LSN to snapshot from, e.g. `16/B374D848`. Mutually exclusive with
	// `source_branch_time`.
	SourceBranchLsn types.String `tfsdk:"source_branch_lsn"`
	// Timestamp to snapshot from. Mutually exclusive with `source_branch_lsn`.
	SourceBranchTime timetypes.RFC3339 `tfsdk:"source_branch_time"`
	// Time-to-live. The snapshot expires this long after it is created.
	// Mutually exclusive with `expire_time` and `no_expiry`. Reads report the
	// resolved absolute `expire_time` instead.
	Ttl timetypes.GoDuration `tfsdk:"ttl"`
}

Client-provided configuration of the snapshot.

func (SnapshotSpec) ApplySchemaCustomizations added in v1.131.0

func (m SnapshotSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SnapshotSpec) GetComplexFieldTypes added in v1.131.0

func (m SnapshotSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SnapshotSpec. 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 (*SnapshotSpec) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *SnapshotSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SnapshotSpec)

func (*SnapshotSpec) SyncFieldsDuringRead added in v1.131.0

func (to *SnapshotSpec) SyncFieldsDuringRead(ctx context.Context, from SnapshotSpec)

func (SnapshotSpec) ToObjectValue added in v1.131.0

func (m SnapshotSpec) 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, SnapshotSpec only implements ToObjectValue() and Type().

func (SnapshotSpec) Type added in v1.131.0

func (m SnapshotSpec) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type SnapshotSpec_SdkV2 added in v1.131.0

type SnapshotSpec_SdkV2 struct {
	// Absolute time at which the snapshot is deleted. Mutually exclusive with
	// `ttl` and `no_expiry`.
	ExpireTime timetypes.RFC3339 `tfsdk:"expire_time"`
	// If true, the snapshot never expires. Mutually exclusive with `ttl` and
	// `expire_time`.
	NoExpiry types.Bool `tfsdk:"no_expiry"`
	// The source branch to snapshot. Format:
	// projects/{project_id}/branches/{branch_id}
	SourceBranch types.String `tfsdk:"source_branch"`
	// LSN to snapshot from, e.g. `16/B374D848`. Mutually exclusive with
	// `source_branch_time`.
	SourceBranchLsn types.String `tfsdk:"source_branch_lsn"`
	// Timestamp to snapshot from. Mutually exclusive with `source_branch_lsn`.
	SourceBranchTime timetypes.RFC3339 `tfsdk:"source_branch_time"`
	// Time-to-live. The snapshot expires this long after it is created.
	// Mutually exclusive with `expire_time` and `no_expiry`. Reads report the
	// resolved absolute `expire_time` instead.
	Ttl timetypes.GoDuration `tfsdk:"ttl"`
}

Client-provided configuration of the snapshot.

func (SnapshotSpec_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (m SnapshotSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SnapshotSpec_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m SnapshotSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SnapshotSpec. 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 (*SnapshotSpec_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *SnapshotSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SnapshotSpec_SdkV2)

func (*SnapshotSpec_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (to *SnapshotSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from SnapshotSpec_SdkV2)

func (SnapshotSpec_SdkV2) ToObjectValue added in v1.131.0

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, SnapshotSpec_SdkV2 only implements ToObjectValue() and Type().

func (SnapshotSpec_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type SnapshotStatus added in v1.131.0

type SnapshotStatus struct {
	// Incremental storage size in bytes since the previous snapshot. Unset when
	// the snapshot is not billed on incremental usage.
	DiffSizeBytes types.Int64 `tfsdk:"diff_size_bytes"`
	// Absolute time at which the snapshot is deleted.
	ExpireTime timetypes.RFC3339 `tfsdk:"expire_time"`
	// Full logical size of the snapshot, in bytes.
	FullSizeBytes types.Int64 `tfsdk:"full_size_bytes"`
	// True if the snapshot never expires.
	NoExpiry types.Bool `tfsdk:"no_expiry"`
	// The source branch the snapshot was taken from. Format:
	// projects/{project_id}/branches/{branch_id}
	SourceBranch types.String `tfsdk:"source_branch"`
}

Server-observed state of a snapshot.

func (SnapshotStatus) ApplySchemaCustomizations added in v1.131.0

func (m SnapshotStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SnapshotStatus) GetComplexFieldTypes added in v1.131.0

func (m SnapshotStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SnapshotStatus. 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 (*SnapshotStatus) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *SnapshotStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SnapshotStatus)

func (*SnapshotStatus) SyncFieldsDuringRead added in v1.131.0

func (to *SnapshotStatus) SyncFieldsDuringRead(ctx context.Context, from SnapshotStatus)

func (SnapshotStatus) ToObjectValue added in v1.131.0

func (m SnapshotStatus) 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, SnapshotStatus only implements ToObjectValue() and Type().

func (SnapshotStatus) Type added in v1.131.0

func (m SnapshotStatus) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type SnapshotStatus_SdkV2 added in v1.131.0

type SnapshotStatus_SdkV2 struct {
	// Incremental storage size in bytes since the previous snapshot. Unset when
	// the snapshot is not billed on incremental usage.
	DiffSizeBytes types.Int64 `tfsdk:"diff_size_bytes"`
	// Absolute time at which the snapshot is deleted.
	ExpireTime timetypes.RFC3339 `tfsdk:"expire_time"`
	// Full logical size of the snapshot, in bytes.
	FullSizeBytes types.Int64 `tfsdk:"full_size_bytes"`
	// True if the snapshot never expires.
	NoExpiry types.Bool `tfsdk:"no_expiry"`
	// The source branch the snapshot was taken from. Format:
	// projects/{project_id}/branches/{branch_id}
	SourceBranch types.String `tfsdk:"source_branch"`
}

Server-observed state of a snapshot.

func (SnapshotStatus_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (m SnapshotStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SnapshotStatus_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m SnapshotStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SnapshotStatus. 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 (*SnapshotStatus_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *SnapshotStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SnapshotStatus_SdkV2)

func (*SnapshotStatus_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (to *SnapshotStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from SnapshotStatus_SdkV2)

func (SnapshotStatus_SdkV2) ToObjectValue added in v1.131.0

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, SnapshotStatus_SdkV2 only implements ToObjectValue() and Type().

func (SnapshotStatus_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type Snapshot_SdkV2 added in v1.131.0

type Snapshot_SdkV2 struct {
	// When the snapshot was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// The resource name of the snapshot. Format:
	// projects/{project_id}/snapshots/{snapshot_id}
	Name types.String `tfsdk:"name"`
	// The user-chosen ID; the final segment of `name`.
	SnapshotId types.String `tfsdk:"snapshot_id"`
	// Client-provided configuration of the snapshot.
	Spec types.List `tfsdk:"spec"`
	// Server-observed state of the snapshot.
	Status types.List `tfsdk:"status"`
	// Unique system-generated ID for the snapshot.
	Uid types.String `tfsdk:"uid"`
}

An immutable, point-in-time copy of a branch's data within a project. It remains available after the source branch is deleted.

func (Snapshot_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (m Snapshot_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Snapshot_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m Snapshot_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Snapshot. 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 (*Snapshot_SdkV2) GetSpec added in v1.131.0

GetSpec returns the value of the Spec field in Snapshot_SdkV2 as a SnapshotSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Snapshot_SdkV2) GetStatus added in v1.131.0

GetStatus returns the value of the Status field in Snapshot_SdkV2 as a SnapshotStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Snapshot_SdkV2) SetSpec added in v1.131.0

func (m *Snapshot_SdkV2) SetSpec(ctx context.Context, v SnapshotSpec_SdkV2)

SetSpec sets the value of the Spec field in Snapshot_SdkV2.

func (*Snapshot_SdkV2) SetStatus added in v1.131.0

func (m *Snapshot_SdkV2) SetStatus(ctx context.Context, v SnapshotStatus_SdkV2)

SetStatus sets the value of the Status field in Snapshot_SdkV2.

func (*Snapshot_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *Snapshot_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Snapshot_SdkV2)

func (*Snapshot_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (to *Snapshot_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Snapshot_SdkV2)

func (Snapshot_SdkV2) ToObjectValue added in v1.131.0

func (m Snapshot_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, Snapshot_SdkV2 only implements ToObjectValue() and Type().

func (Snapshot_SdkV2) Type added in v1.131.0

func (m Snapshot_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type StartMigrationRequest

type StartMigrationRequest struct {
	// Required. The migration resource name, in the format
	// `migrations/{migration}`.
	Name types.String `tfsdk:"-"`
}

Request to start a migration.

func (StartMigrationRequest) ApplySchemaCustomizations

func (m StartMigrationRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StartMigrationRequest) GetComplexFieldTypes

func (m StartMigrationRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StartMigrationRequest. 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 (*StartMigrationRequest) SyncFieldsDuringCreateOrUpdate

func (to *StartMigrationRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartMigrationRequest)

func (*StartMigrationRequest) SyncFieldsDuringRead

func (to *StartMigrationRequest) SyncFieldsDuringRead(ctx context.Context, from StartMigrationRequest)

func (StartMigrationRequest) ToObjectValue

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, StartMigrationRequest only implements ToObjectValue() and Type().

func (StartMigrationRequest) Type

Type implements basetypes.ObjectValuable.

type StartMigrationRequest_SdkV2

type StartMigrationRequest_SdkV2 struct {
	// Required. The migration resource name, in the format
	// `migrations/{migration}`.
	Name types.String `tfsdk:"-"`
}

Request to start a migration.

func (StartMigrationRequest_SdkV2) ApplySchemaCustomizations

func (m StartMigrationRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StartMigrationRequest_SdkV2) GetComplexFieldTypes

func (m StartMigrationRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StartMigrationRequest. 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 (*StartMigrationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *StartMigrationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartMigrationRequest_SdkV2)

func (*StartMigrationRequest_SdkV2) SyncFieldsDuringRead

func (to *StartMigrationRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from StartMigrationRequest_SdkV2)

func (StartMigrationRequest_SdkV2) ToObjectValue

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, StartMigrationRequest_SdkV2 only implements ToObjectValue() and Type().

func (StartMigrationRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type StartMigrationResponse

type StartMigrationResponse struct {
	// The migration after the start action is applied.
	Migration types.Object `tfsdk:"migration"`
}

Response produced after migration preparation has started.

func (StartMigrationResponse) ApplySchemaCustomizations

func (m StartMigrationResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StartMigrationResponse) GetComplexFieldTypes

func (m StartMigrationResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StartMigrationResponse. 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 (*StartMigrationResponse) GetMigration

func (m *StartMigrationResponse) GetMigration(ctx context.Context) (Migration, bool)

GetMigration returns the value of the Migration field in StartMigrationResponse as a Migration value. If the field is unknown or null, the boolean return value is false.

func (*StartMigrationResponse) SetMigration

func (m *StartMigrationResponse) SetMigration(ctx context.Context, v Migration)

SetMigration sets the value of the Migration field in StartMigrationResponse.

func (*StartMigrationResponse) SyncFieldsDuringCreateOrUpdate

func (to *StartMigrationResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartMigrationResponse)

func (*StartMigrationResponse) SyncFieldsDuringRead

func (to *StartMigrationResponse) SyncFieldsDuringRead(ctx context.Context, from StartMigrationResponse)

func (StartMigrationResponse) ToObjectValue

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, StartMigrationResponse only implements ToObjectValue() and Type().

func (StartMigrationResponse) Type

Type implements basetypes.ObjectValuable.

type StartMigrationResponse_SdkV2

type StartMigrationResponse_SdkV2 struct {
	// The migration after the start action is applied.
	Migration types.List `tfsdk:"migration"`
}

Response produced after migration preparation has started.

func (StartMigrationResponse_SdkV2) ApplySchemaCustomizations

func (StartMigrationResponse_SdkV2) GetComplexFieldTypes

func (m StartMigrationResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StartMigrationResponse. 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 (*StartMigrationResponse_SdkV2) GetMigration

GetMigration returns the value of the Migration field in StartMigrationResponse_SdkV2 as a Migration_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*StartMigrationResponse_SdkV2) SetMigration

SetMigration sets the value of the Migration field in StartMigrationResponse_SdkV2.

func (*StartMigrationResponse_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *StartMigrationResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartMigrationResponse_SdkV2)

func (*StartMigrationResponse_SdkV2) SyncFieldsDuringRead

func (to *StartMigrationResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from StartMigrationResponse_SdkV2)

func (StartMigrationResponse_SdkV2) ToObjectValue

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, StartMigrationResponse_SdkV2 only implements ToObjectValue() and Type().

func (StartMigrationResponse_SdkV2) Type

Type implements basetypes.ObjectValuable.

type SyncedTable added in v1.113.0

type SyncedTable struct {
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Output only. The Full resource name of the synced table in Postgres where
	// (catalog, schema, table) are the UC entity names.
	//
	// Format "synced_tables/{catalog}.{schema}.{table}"
	//
	// For the corresponding source table in the Unity catalog look for the
	// "source_table_full_name" attribute.
	Name types.String `tfsdk:"name"`
	// Configuration details of the synced table, such as the source table,
	// scheduling policy, etc.
	Spec types.Object `tfsdk:"spec"`
	// Synced Table data synchronization status.
	Status types.Object `tfsdk:"status"`
	// The part of the name, chosen by the user when the resource was created.
	SyncedTableId types.String `tfsdk:"synced_table_id"`
	// The Unity Catalog table ID for this synced table.
	Uid types.String `tfsdk:"uid"`
}

func (SyncedTable) ApplySchemaCustomizations added in v1.113.0

func (m SyncedTable) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SyncedTable) GetComplexFieldTypes added in v1.113.0

func (m SyncedTable) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTable. 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 (*SyncedTable) GetSpec added in v1.113.0

GetSpec returns the value of the Spec field in SyncedTable as a SyncedTableSyncedTableSpec value. If the field is unknown or null, the boolean return value is false.

func (*SyncedTable) GetStatus added in v1.113.0

GetStatus returns the value of the Status field in SyncedTable as a SyncedTableSyncedTableStatus value. If the field is unknown or null, the boolean return value is false.

func (*SyncedTable) SetSpec added in v1.113.0

SetSpec sets the value of the Spec field in SyncedTable.

func (*SyncedTable) SetStatus added in v1.113.0

SetStatus sets the value of the Status field in SyncedTable.

func (*SyncedTable) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *SyncedTable) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SyncedTable)

func (*SyncedTable) SyncFieldsDuringRead added in v1.113.0

func (to *SyncedTable) SyncFieldsDuringRead(ctx context.Context, from SyncedTable)

func (SyncedTable) ToObjectValue added in v1.113.0

func (m SyncedTable) 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, SyncedTable only implements ToObjectValue() and Type().

func (SyncedTable) Type added in v1.113.0

func (m SyncedTable) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type SyncedTableOperationMetadata added in v1.113.0

type SyncedTableOperationMetadata struct {
}

Metadata for SyncedTable long-running operations.

func (SyncedTableOperationMetadata) ApplySchemaCustomizations added in v1.113.0

func (SyncedTableOperationMetadata) GetComplexFieldTypes added in v1.113.0

func (m SyncedTableOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTableOperationMetadata. 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 (*SyncedTableOperationMetadata) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *SyncedTableOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SyncedTableOperationMetadata)

func (*SyncedTableOperationMetadata) SyncFieldsDuringRead added in v1.113.0

func (to *SyncedTableOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from SyncedTableOperationMetadata)

func (SyncedTableOperationMetadata) ToObjectValue added in v1.113.0

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, SyncedTableOperationMetadata only implements ToObjectValue() and Type().

func (SyncedTableOperationMetadata) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type SyncedTableOperationMetadata_SdkV2 added in v1.113.0

type SyncedTableOperationMetadata_SdkV2 struct {
}

Metadata for SyncedTable long-running operations.

func (SyncedTableOperationMetadata_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (SyncedTableOperationMetadata_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m SyncedTableOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTableOperationMetadata. 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 (*SyncedTableOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *SyncedTableOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SyncedTableOperationMetadata_SdkV2)

func (*SyncedTableOperationMetadata_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (SyncedTableOperationMetadata_SdkV2) ToObjectValue added in v1.113.0

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, SyncedTableOperationMetadata_SdkV2 only implements ToObjectValue() and Type().

func (SyncedTableOperationMetadata_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type SyncedTablePipelineProgress added in v1.113.0

type SyncedTablePipelineProgress struct {
	// The estimated time remaining to complete this update in seconds.
	EstimatedCompletionTimeSeconds types.Float64 `tfsdk:"estimated_completion_time_seconds"`
	// The source table Delta version that was last processed by the pipeline.
	// The pipeline may not have completely processed this version yet.
	LatestVersionCurrentlyProcessing types.Int64 `tfsdk:"latest_version_currently_processing"`
	// The completion ratio of this update. This is a number between 0 and 1.
	SyncProgressCompletion types.Float64 `tfsdk:"sync_progress_completion"`
	// The number of rows that have been synced in this update.
	SyncedRowCount types.Int64 `tfsdk:"synced_row_count"`
	// The total number of rows that need to be synced in this update. This
	// number may be an estimate.
	TotalRowCount types.Int64 `tfsdk:"total_row_count"`
}

Progress information of the Synced Table data synchronization pipeline.

func (SyncedTablePipelineProgress) ApplySchemaCustomizations added in v1.113.0

func (m SyncedTablePipelineProgress) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SyncedTablePipelineProgress) GetComplexFieldTypes added in v1.113.0

func (m SyncedTablePipelineProgress) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTablePipelineProgress. 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 (*SyncedTablePipelineProgress) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *SyncedTablePipelineProgress) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SyncedTablePipelineProgress)

func (*SyncedTablePipelineProgress) SyncFieldsDuringRead added in v1.113.0

func (to *SyncedTablePipelineProgress) SyncFieldsDuringRead(ctx context.Context, from SyncedTablePipelineProgress)

func (SyncedTablePipelineProgress) ToObjectValue added in v1.113.0

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, SyncedTablePipelineProgress only implements ToObjectValue() and Type().

func (SyncedTablePipelineProgress) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type SyncedTablePipelineProgress_SdkV2 added in v1.113.0

type SyncedTablePipelineProgress_SdkV2 struct {
	// The estimated time remaining to complete this update in seconds.
	EstimatedCompletionTimeSeconds types.Float64 `tfsdk:"estimated_completion_time_seconds"`
	// The source table Delta version that was last processed by the pipeline.
	// The pipeline may not have completely processed this version yet.
	LatestVersionCurrentlyProcessing types.Int64 `tfsdk:"latest_version_currently_processing"`
	// The completion ratio of this update. This is a number between 0 and 1.
	SyncProgressCompletion types.Float64 `tfsdk:"sync_progress_completion"`
	// The number of rows that have been synced in this update.
	SyncedRowCount types.Int64 `tfsdk:"synced_row_count"`
	// The total number of rows that need to be synced in this update. This
	// number may be an estimate.
	TotalRowCount types.Int64 `tfsdk:"total_row_count"`
}

Progress information of the Synced Table data synchronization pipeline.

func (SyncedTablePipelineProgress_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (SyncedTablePipelineProgress_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m SyncedTablePipelineProgress_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTablePipelineProgress. 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 (*SyncedTablePipelineProgress_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *SyncedTablePipelineProgress_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SyncedTablePipelineProgress_SdkV2)

func (*SyncedTablePipelineProgress_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (SyncedTablePipelineProgress_SdkV2) ToObjectValue added in v1.113.0

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, SyncedTablePipelineProgress_SdkV2 only implements ToObjectValue() and Type().

func (SyncedTablePipelineProgress_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type SyncedTablePosition added in v1.113.0

type SyncedTablePosition struct {
	DeltaTableSyncInfo types.Object `tfsdk:"delta_table_sync_info"`
	// The end timestamp of the most recent successful synchronization. This is
	// the time when the data is available in the synced table.
	SyncEndTime timetypes.RFC3339 `tfsdk:"sync_end_time"`
	// The starting timestamp of the most recent successful synchronization from
	// the source table to the destination (synced) table. Note this is the
	// starting timestamp of the sync operation, not the end time. E.g., for a
	// batch, this is the time when the sync operation started.
	SyncStartTime timetypes.RFC3339 `tfsdk:"sync_start_time"`
}

func (SyncedTablePosition) ApplySchemaCustomizations added in v1.113.0

func (m SyncedTablePosition) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SyncedTablePosition) GetComplexFieldTypes added in v1.113.0

func (m SyncedTablePosition) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTablePosition. 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 (*SyncedTablePosition) GetDeltaTableSyncInfo added in v1.113.0

func (m *SyncedTablePosition) GetDeltaTableSyncInfo(ctx context.Context) (DeltaTableSyncInfo, bool)

GetDeltaTableSyncInfo returns the value of the DeltaTableSyncInfo field in SyncedTablePosition as a DeltaTableSyncInfo value. If the field is unknown or null, the boolean return value is false.

func (*SyncedTablePosition) SetDeltaTableSyncInfo added in v1.113.0

func (m *SyncedTablePosition) SetDeltaTableSyncInfo(ctx context.Context, v DeltaTableSyncInfo)

SetDeltaTableSyncInfo sets the value of the DeltaTableSyncInfo field in SyncedTablePosition.

func (*SyncedTablePosition) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *SyncedTablePosition) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SyncedTablePosition)

func (*SyncedTablePosition) SyncFieldsDuringRead added in v1.113.0

func (to *SyncedTablePosition) SyncFieldsDuringRead(ctx context.Context, from SyncedTablePosition)

func (SyncedTablePosition) ToObjectValue added in v1.113.0

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, SyncedTablePosition only implements ToObjectValue() and Type().

func (SyncedTablePosition) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type SyncedTablePosition_SdkV2 added in v1.113.0

type SyncedTablePosition_SdkV2 struct {
	DeltaTableSyncInfo types.List `tfsdk:"delta_table_sync_info"`
	// The end timestamp of the most recent successful synchronization. This is
	// the time when the data is available in the synced table.
	SyncEndTime timetypes.RFC3339 `tfsdk:"sync_end_time"`
	// The starting timestamp of the most recent successful synchronization from
	// the source table to the destination (synced) table. Note this is the
	// starting timestamp of the sync operation, not the end time. E.g., for a
	// batch, this is the time when the sync operation started.
	SyncStartTime timetypes.RFC3339 `tfsdk:"sync_start_time"`
}

func (SyncedTablePosition_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (m SyncedTablePosition_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SyncedTablePosition_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m SyncedTablePosition_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTablePosition. 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 (*SyncedTablePosition_SdkV2) GetDeltaTableSyncInfo added in v1.113.0

func (m *SyncedTablePosition_SdkV2) GetDeltaTableSyncInfo(ctx context.Context) (DeltaTableSyncInfo_SdkV2, bool)

GetDeltaTableSyncInfo returns the value of the DeltaTableSyncInfo field in SyncedTablePosition_SdkV2 as a DeltaTableSyncInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*SyncedTablePosition_SdkV2) SetDeltaTableSyncInfo added in v1.113.0

func (m *SyncedTablePosition_SdkV2) SetDeltaTableSyncInfo(ctx context.Context, v DeltaTableSyncInfo_SdkV2)

SetDeltaTableSyncInfo sets the value of the DeltaTableSyncInfo field in SyncedTablePosition_SdkV2.

func (*SyncedTablePosition_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *SyncedTablePosition_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SyncedTablePosition_SdkV2)

func (*SyncedTablePosition_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (to *SyncedTablePosition_SdkV2) SyncFieldsDuringRead(ctx context.Context, from SyncedTablePosition_SdkV2)

func (SyncedTablePosition_SdkV2) ToObjectValue added in v1.113.0

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, SyncedTablePosition_SdkV2 only implements ToObjectValue() and Type().

func (SyncedTablePosition_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type SyncedTableSyncedTableSpec added in v1.113.0

type SyncedTableSyncedTableSpec struct {
	// When true, enables accelerated sync mode for the initial data load. This
	// significantly improves performance for large tables. Requires
	// workspace-level enablement through Lakebase Accelerated Sync preview.
	AcceleratedSync types.Bool `tfsdk:"accelerated_sync"`
	// The full resource name the branch associated with the table.
	//
	// Format: "projects/{project_id}/branches/{branch_id}".
	Branch types.String `tfsdk:"branch"`
	// If true, the synced table's logical database and schema resources in PG
	// will be created if they do not already exist. The request will fail if
	// this is false and the database/schema do not exist.
	//
	// Defaults to true if omitted.
	CreateDatabaseObjectsIfMissing types.Bool `tfsdk:"create_database_objects_if_missing"`
	// ID of an existing pipeline to bin-pack this synced table into. At most
	// one of existing_pipeline_id and new_pipeline_spec should be defined.
	//
	// The pipeline used for the synced table is returned via the top level
	// pipeline_id attribute.
	ExistingPipelineId types.String `tfsdk:"existing_pipeline_id"`
	// Extra PostgreSQL-only columns to add to the synced table.
	ExtraColumns types.List `tfsdk:"extra_columns"`
	// Specification for creating a new pipeline. At most one of
	// existing_pipeline_id and new_pipeline_spec should be defined.
	//
	// The pipeline used for the synced table is returned via the top level
	// pipeline_id attribute.
	NewPipelineSpec types.Object `tfsdk:"new_pipeline_spec"`
	// The Postgres database name where the synced table will be created in.
	//
	// If this synced table is created inside a Lakebase Catalog, this attribute
	// can be omitted on creation and is inferred from the postgres_database
	// associated with the Lakebase Catalog. If specified when inside a Lakebase
	// Catalog, the value must match.
	//
	// A value must be specified when creating a synced table inside a Standard
	// Catalog.
	PostgresDatabase types.String `tfsdk:"postgres_database"`
	// Primary Key columns to be used for data insert/update in the destination.
	PrimaryKeyColumns types.List `tfsdk:"primary_key_columns"`
	// Scheduling policy of the underlying pipeline.
	SchedulingPolicy types.String `tfsdk:"scheduling_policy"`
	// Three-part (catalog, schema, table) name of the source Delta table.
	//
	// For the corresponding destination table, use any of the two:
	//
	// * synced_table_id used at the creation of the SyncedTable * "name"
	// consisting of "synced_tables/" prefix and the full name of the
	// destination table.
	SourceTableFullName types.String `tfsdk:"source_table_full_name"`
	// Time series key to deduplicate (tie-break) rows with the same primary
	// key.
	TimeseriesKey types.String `tfsdk:"timeseries_key"`
	// Override the default Delta->PG type mapping for specific columns. A
	// TypeOverride with PG_SPECIFIC_TYPE_UNSPECIFIED is rejected; a valid
	// pg_type must be set.
	TypeOverrides types.List `tfsdk:"type_overrides"`
}

func (SyncedTableSyncedTableSpec) ApplySchemaCustomizations added in v1.113.0

func (m SyncedTableSyncedTableSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SyncedTableSyncedTableSpec) GetComplexFieldTypes added in v1.113.0

func (m SyncedTableSyncedTableSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTableSyncedTableSpec. 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 (*SyncedTableSyncedTableSpec) GetExtraColumns added in v1.123.0

GetExtraColumns returns the value of the ExtraColumns field in SyncedTableSyncedTableSpec as a slice of SyncedTableSyncedTableSpecExtraColumn values. If the field is unknown or null, the boolean return value is false.

func (*SyncedTableSyncedTableSpec) GetNewPipelineSpec added in v1.113.0

func (m *SyncedTableSyncedTableSpec) GetNewPipelineSpec(ctx context.Context) (NewPipelineSpec, bool)

GetNewPipelineSpec returns the value of the NewPipelineSpec field in SyncedTableSyncedTableSpec as a NewPipelineSpec value. If the field is unknown or null, the boolean return value is false.

func (*SyncedTableSyncedTableSpec) GetPrimaryKeyColumns added in v1.113.0

func (m *SyncedTableSyncedTableSpec) GetPrimaryKeyColumns(ctx context.Context) ([]types.String, bool)

GetPrimaryKeyColumns returns the value of the PrimaryKeyColumns field in SyncedTableSyncedTableSpec as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*SyncedTableSyncedTableSpec) GetTypeOverrides added in v1.118.0

GetTypeOverrides returns the value of the TypeOverrides field in SyncedTableSyncedTableSpec as a slice of SyncedTableSyncedTableSpecTypeOverride values. If the field is unknown or null, the boolean return value is false.

func (*SyncedTableSyncedTableSpec) SetExtraColumns added in v1.123.0

SetExtraColumns sets the value of the ExtraColumns field in SyncedTableSyncedTableSpec.

func (*SyncedTableSyncedTableSpec) SetNewPipelineSpec added in v1.113.0

func (m *SyncedTableSyncedTableSpec) SetNewPipelineSpec(ctx context.Context, v NewPipelineSpec)

SetNewPipelineSpec sets the value of the NewPipelineSpec field in SyncedTableSyncedTableSpec.

func (*SyncedTableSyncedTableSpec) SetPrimaryKeyColumns added in v1.113.0

func (m *SyncedTableSyncedTableSpec) SetPrimaryKeyColumns(ctx context.Context, v []types.String)

SetPrimaryKeyColumns sets the value of the PrimaryKeyColumns field in SyncedTableSyncedTableSpec.

func (*SyncedTableSyncedTableSpec) SetTypeOverrides added in v1.118.0

SetTypeOverrides sets the value of the TypeOverrides field in SyncedTableSyncedTableSpec.

func (*SyncedTableSyncedTableSpec) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *SyncedTableSyncedTableSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SyncedTableSyncedTableSpec)

func (*SyncedTableSyncedTableSpec) SyncFieldsDuringRead added in v1.113.0

func (to *SyncedTableSyncedTableSpec) SyncFieldsDuringRead(ctx context.Context, from SyncedTableSyncedTableSpec)

func (SyncedTableSyncedTableSpec) ToObjectValue added in v1.113.0

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, SyncedTableSyncedTableSpec only implements ToObjectValue() and Type().

func (SyncedTableSyncedTableSpec) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type SyncedTableSyncedTableSpecExtraColumn added in v1.123.0

type SyncedTableSyncedTableSpecExtraColumn struct {
	// Name of the column.
	ColumnName types.String `tfsdk:"column_name"`
	// PostgreSQL type of the column, for example "tsvector" or "vector(1024)".
	ColumnType types.String `tfsdk:"column_type"`
	// SQL expression used to compute the column's value, for example
	// "to_tsvector('english', content)".
	Compute types.String `tfsdk:"compute"`

	Maintenance types.String `tfsdk:"maintenance"`
}

An extra PostgreSQL column to add to the synced table.

func (SyncedTableSyncedTableSpecExtraColumn) ApplySchemaCustomizations added in v1.123.0

func (SyncedTableSyncedTableSpecExtraColumn) GetComplexFieldTypes added in v1.123.0

func (m SyncedTableSyncedTableSpecExtraColumn) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTableSyncedTableSpecExtraColumn. 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 (*SyncedTableSyncedTableSpecExtraColumn) SyncFieldsDuringCreateOrUpdate added in v1.123.0

func (*SyncedTableSyncedTableSpecExtraColumn) SyncFieldsDuringRead added in v1.123.0

func (SyncedTableSyncedTableSpecExtraColumn) ToObjectValue added in v1.123.0

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, SyncedTableSyncedTableSpecExtraColumn only implements ToObjectValue() and Type().

func (SyncedTableSyncedTableSpecExtraColumn) Type added in v1.123.0

Type implements basetypes.ObjectValuable.

type SyncedTableSyncedTableSpecExtraColumn_SdkV2 added in v1.123.0

type SyncedTableSyncedTableSpecExtraColumn_SdkV2 struct {
	// Name of the column.
	ColumnName types.String `tfsdk:"column_name"`
	// PostgreSQL type of the column, for example "tsvector" or "vector(1024)".
	ColumnType types.String `tfsdk:"column_type"`
	// SQL expression used to compute the column's value, for example
	// "to_tsvector('english', content)".
	Compute types.String `tfsdk:"compute"`

	Maintenance types.String `tfsdk:"maintenance"`
}

An extra PostgreSQL column to add to the synced table.

func (SyncedTableSyncedTableSpecExtraColumn_SdkV2) ApplySchemaCustomizations added in v1.123.0

func (SyncedTableSyncedTableSpecExtraColumn_SdkV2) GetComplexFieldTypes added in v1.123.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTableSyncedTableSpecExtraColumn. 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 (*SyncedTableSyncedTableSpecExtraColumn_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.123.0

func (*SyncedTableSyncedTableSpecExtraColumn_SdkV2) SyncFieldsDuringRead added in v1.123.0

func (SyncedTableSyncedTableSpecExtraColumn_SdkV2) ToObjectValue added in v1.123.0

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, SyncedTableSyncedTableSpecExtraColumn_SdkV2 only implements ToObjectValue() and Type().

func (SyncedTableSyncedTableSpecExtraColumn_SdkV2) Type added in v1.123.0

Type implements basetypes.ObjectValuable.

type SyncedTableSyncedTableSpecTypeOverride added in v1.118.0

type SyncedTableSyncedTableSpecTypeOverride struct {
	// Name of the source column whose target PostgreSQL type should be
	// overridden.
	ColumnName types.String `tfsdk:"column_name"`
	// PostgreSQL-specific target type to use for the column.
	PgType types.String `tfsdk:"pg_type"`
	// Size parameter for the target type, for types that take one (e.g. vector
	// dimension, varchar length). Required when the chosen pg_type needs a
	// size.
	Size types.Int64 `tfsdk:"size"`
}

Overrides the default Delta-to-PostgreSQL type mapping for a single column.

func (SyncedTableSyncedTableSpecTypeOverride) ApplySchemaCustomizations added in v1.118.0

func (SyncedTableSyncedTableSpecTypeOverride) GetComplexFieldTypes added in v1.118.0

func (m SyncedTableSyncedTableSpecTypeOverride) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTableSyncedTableSpecTypeOverride. 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 (*SyncedTableSyncedTableSpecTypeOverride) SyncFieldsDuringCreateOrUpdate added in v1.118.0

func (*SyncedTableSyncedTableSpecTypeOverride) SyncFieldsDuringRead added in v1.118.0

func (SyncedTableSyncedTableSpecTypeOverride) ToObjectValue added in v1.118.0

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, SyncedTableSyncedTableSpecTypeOverride only implements ToObjectValue() and Type().

func (SyncedTableSyncedTableSpecTypeOverride) Type added in v1.118.0

Type implements basetypes.ObjectValuable.

type SyncedTableSyncedTableSpecTypeOverride_SdkV2 added in v1.118.0

type SyncedTableSyncedTableSpecTypeOverride_SdkV2 struct {
	// Name of the source column whose target PostgreSQL type should be
	// overridden.
	ColumnName types.String `tfsdk:"column_name"`
	// PostgreSQL-specific target type to use for the column.
	PgType types.String `tfsdk:"pg_type"`
	// Size parameter for the target type, for types that take one (e.g. vector
	// dimension, varchar length). Required when the chosen pg_type needs a
	// size.
	Size types.Int64 `tfsdk:"size"`
}

Overrides the default Delta-to-PostgreSQL type mapping for a single column.

func (SyncedTableSyncedTableSpecTypeOverride_SdkV2) ApplySchemaCustomizations added in v1.118.0

func (SyncedTableSyncedTableSpecTypeOverride_SdkV2) GetComplexFieldTypes added in v1.118.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTableSyncedTableSpecTypeOverride. 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 (*SyncedTableSyncedTableSpecTypeOverride_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.118.0

func (*SyncedTableSyncedTableSpecTypeOverride_SdkV2) SyncFieldsDuringRead added in v1.118.0

func (SyncedTableSyncedTableSpecTypeOverride_SdkV2) ToObjectValue added in v1.118.0

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, SyncedTableSyncedTableSpecTypeOverride_SdkV2 only implements ToObjectValue() and Type().

func (SyncedTableSyncedTableSpecTypeOverride_SdkV2) Type added in v1.118.0

Type implements basetypes.ObjectValuable.

type SyncedTableSyncedTableSpec_SdkV2 added in v1.113.0

type SyncedTableSyncedTableSpec_SdkV2 struct {
	// When true, enables accelerated sync mode for the initial data load. This
	// significantly improves performance for large tables. Requires
	// workspace-level enablement through Lakebase Accelerated Sync preview.
	AcceleratedSync types.Bool `tfsdk:"accelerated_sync"`
	// The full resource name the branch associated with the table.
	//
	// Format: "projects/{project_id}/branches/{branch_id}".
	Branch types.String `tfsdk:"branch"`
	// If true, the synced table's logical database and schema resources in PG
	// will be created if they do not already exist. The request will fail if
	// this is false and the database/schema do not exist.
	//
	// Defaults to true if omitted.
	CreateDatabaseObjectsIfMissing types.Bool `tfsdk:"create_database_objects_if_missing"`
	// ID of an existing pipeline to bin-pack this synced table into. At most
	// one of existing_pipeline_id and new_pipeline_spec should be defined.
	//
	// The pipeline used for the synced table is returned via the top level
	// pipeline_id attribute.
	ExistingPipelineId types.String `tfsdk:"existing_pipeline_id"`
	// Extra PostgreSQL-only columns to add to the synced table.
	ExtraColumns types.List `tfsdk:"extra_columns"`
	// Specification for creating a new pipeline. At most one of
	// existing_pipeline_id and new_pipeline_spec should be defined.
	//
	// The pipeline used for the synced table is returned via the top level
	// pipeline_id attribute.
	NewPipelineSpec types.List `tfsdk:"new_pipeline_spec"`
	// The Postgres database name where the synced table will be created in.
	//
	// If this synced table is created inside a Lakebase Catalog, this attribute
	// can be omitted on creation and is inferred from the postgres_database
	// associated with the Lakebase Catalog. If specified when inside a Lakebase
	// Catalog, the value must match.
	//
	// A value must be specified when creating a synced table inside a Standard
	// Catalog.
	PostgresDatabase types.String `tfsdk:"postgres_database"`
	// Primary Key columns to be used for data insert/update in the destination.
	PrimaryKeyColumns types.List `tfsdk:"primary_key_columns"`
	// Scheduling policy of the underlying pipeline.
	SchedulingPolicy types.String `tfsdk:"scheduling_policy"`
	// Three-part (catalog, schema, table) name of the source Delta table.
	//
	// For the corresponding destination table, use any of the two:
	//
	// * synced_table_id used at the creation of the SyncedTable * "name"
	// consisting of "synced_tables/" prefix and the full name of the
	// destination table.
	SourceTableFullName types.String `tfsdk:"source_table_full_name"`
	// Time series key to deduplicate (tie-break) rows with the same primary
	// key.
	TimeseriesKey types.String `tfsdk:"timeseries_key"`
	// Override the default Delta->PG type mapping for specific columns. A
	// TypeOverride with PG_SPECIFIC_TYPE_UNSPECIFIED is rejected; a valid
	// pg_type must be set.
	TypeOverrides types.List `tfsdk:"type_overrides"`
}

func (SyncedTableSyncedTableSpec_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (SyncedTableSyncedTableSpec_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m SyncedTableSyncedTableSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTableSyncedTableSpec. 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 (*SyncedTableSyncedTableSpec_SdkV2) GetExtraColumns added in v1.123.0

GetExtraColumns returns the value of the ExtraColumns field in SyncedTableSyncedTableSpec_SdkV2 as a slice of SyncedTableSyncedTableSpecExtraColumn_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*SyncedTableSyncedTableSpec_SdkV2) GetNewPipelineSpec added in v1.113.0

GetNewPipelineSpec returns the value of the NewPipelineSpec field in SyncedTableSyncedTableSpec_SdkV2 as a NewPipelineSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*SyncedTableSyncedTableSpec_SdkV2) GetPrimaryKeyColumns added in v1.113.0

func (m *SyncedTableSyncedTableSpec_SdkV2) GetPrimaryKeyColumns(ctx context.Context) ([]types.String, bool)

GetPrimaryKeyColumns returns the value of the PrimaryKeyColumns field in SyncedTableSyncedTableSpec_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*SyncedTableSyncedTableSpec_SdkV2) GetTypeOverrides added in v1.118.0

GetTypeOverrides returns the value of the TypeOverrides field in SyncedTableSyncedTableSpec_SdkV2 as a slice of SyncedTableSyncedTableSpecTypeOverride_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*SyncedTableSyncedTableSpec_SdkV2) SetExtraColumns added in v1.123.0

SetExtraColumns sets the value of the ExtraColumns field in SyncedTableSyncedTableSpec_SdkV2.

func (*SyncedTableSyncedTableSpec_SdkV2) SetNewPipelineSpec added in v1.113.0

SetNewPipelineSpec sets the value of the NewPipelineSpec field in SyncedTableSyncedTableSpec_SdkV2.

func (*SyncedTableSyncedTableSpec_SdkV2) SetPrimaryKeyColumns added in v1.113.0

func (m *SyncedTableSyncedTableSpec_SdkV2) SetPrimaryKeyColumns(ctx context.Context, v []types.String)

SetPrimaryKeyColumns sets the value of the PrimaryKeyColumns field in SyncedTableSyncedTableSpec_SdkV2.

func (*SyncedTableSyncedTableSpec_SdkV2) SetTypeOverrides added in v1.118.0

SetTypeOverrides sets the value of the TypeOverrides field in SyncedTableSyncedTableSpec_SdkV2.

func (*SyncedTableSyncedTableSpec_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *SyncedTableSyncedTableSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SyncedTableSyncedTableSpec_SdkV2)

func (*SyncedTableSyncedTableSpec_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (SyncedTableSyncedTableSpec_SdkV2) ToObjectValue added in v1.113.0

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, SyncedTableSyncedTableSpec_SdkV2 only implements ToObjectValue() and Type().

func (SyncedTableSyncedTableSpec_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type SyncedTableSyncedTableStatus added in v1.113.0

type SyncedTableSyncedTableStatus struct {
	// The state of the synced table.
	DetailedState types.String `tfsdk:"detailed_state"`
	// The last source table Delta version that was successfully synced to the
	// synced table.
	LastProcessedCommitVersion types.Int64 `tfsdk:"last_processed_commit_version"`
	// Summary of the last successful synchronization from source to
	// destination.
	LastSync types.Object `tfsdk:"last_sync"`
	// The end timestamp of the last time any data was synchronized from the
	// source table to the synced table. This is when the data is available in
	// the synced table.
	LastSyncTime timetypes.RFC3339 `tfsdk:"last_sync_time"`
	// A text description of the current state of the synced table.
	Message types.String `tfsdk:"message"`

	OngoingSyncProgress types.Object `tfsdk:"ongoing_sync_progress"`
	// ID of the associated pipeline.
	PipelineId types.String `tfsdk:"pipeline_id"`
	// The full resource name of the project associated with the table.
	//
	// Format: "projects/{project_id}".
	Project types.String `tfsdk:"project"`
	// The current phase of the data synchronization pipeline.
	ProvisioningPhase types.String `tfsdk:"provisioning_phase"`
	// The provisioning state of the synced table entity in Unity Catalog.
	UnityCatalogProvisioningState types.String `tfsdk:"unity_catalog_provisioning_state"`
}

func (SyncedTableSyncedTableStatus) ApplySchemaCustomizations added in v1.113.0

func (SyncedTableSyncedTableStatus) GetComplexFieldTypes added in v1.113.0

func (m SyncedTableSyncedTableStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTableSyncedTableStatus. 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 (*SyncedTableSyncedTableStatus) GetLastSync added in v1.113.0

GetLastSync returns the value of the LastSync field in SyncedTableSyncedTableStatus as a SyncedTablePosition value. If the field is unknown or null, the boolean return value is false.

func (*SyncedTableSyncedTableStatus) GetOngoingSyncProgress added in v1.113.0

GetOngoingSyncProgress returns the value of the OngoingSyncProgress field in SyncedTableSyncedTableStatus as a SyncedTablePipelineProgress value. If the field is unknown or null, the boolean return value is false.

func (*SyncedTableSyncedTableStatus) SetLastSync added in v1.113.0

SetLastSync sets the value of the LastSync field in SyncedTableSyncedTableStatus.

func (*SyncedTableSyncedTableStatus) SetOngoingSyncProgress added in v1.113.0

func (m *SyncedTableSyncedTableStatus) SetOngoingSyncProgress(ctx context.Context, v SyncedTablePipelineProgress)

SetOngoingSyncProgress sets the value of the OngoingSyncProgress field in SyncedTableSyncedTableStatus.

func (*SyncedTableSyncedTableStatus) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *SyncedTableSyncedTableStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SyncedTableSyncedTableStatus)

func (*SyncedTableSyncedTableStatus) SyncFieldsDuringRead added in v1.113.0

func (to *SyncedTableSyncedTableStatus) SyncFieldsDuringRead(ctx context.Context, from SyncedTableSyncedTableStatus)

func (SyncedTableSyncedTableStatus) ToObjectValue added in v1.113.0

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, SyncedTableSyncedTableStatus only implements ToObjectValue() and Type().

func (SyncedTableSyncedTableStatus) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type SyncedTableSyncedTableStatus_SdkV2 added in v1.113.0

type SyncedTableSyncedTableStatus_SdkV2 struct {
	// The state of the synced table.
	DetailedState types.String `tfsdk:"detailed_state"`
	// The last source table Delta version that was successfully synced to the
	// synced table.
	LastProcessedCommitVersion types.Int64 `tfsdk:"last_processed_commit_version"`
	// Summary of the last successful synchronization from source to
	// destination.
	LastSync types.List `tfsdk:"last_sync"`
	// The end timestamp of the last time any data was synchronized from the
	// source table to the synced table. This is when the data is available in
	// the synced table.
	LastSyncTime timetypes.RFC3339 `tfsdk:"last_sync_time"`
	// A text description of the current state of the synced table.
	Message types.String `tfsdk:"message"`

	OngoingSyncProgress types.List `tfsdk:"ongoing_sync_progress"`
	// ID of the associated pipeline.
	PipelineId types.String `tfsdk:"pipeline_id"`
	// The full resource name of the project associated with the table.
	//
	// Format: "projects/{project_id}".
	Project types.String `tfsdk:"project"`
	// The current phase of the data synchronization pipeline.
	ProvisioningPhase types.String `tfsdk:"provisioning_phase"`
	// The provisioning state of the synced table entity in Unity Catalog.
	UnityCatalogProvisioningState types.String `tfsdk:"unity_catalog_provisioning_state"`
}

func (SyncedTableSyncedTableStatus_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (SyncedTableSyncedTableStatus_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m SyncedTableSyncedTableStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTableSyncedTableStatus. 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 (*SyncedTableSyncedTableStatus_SdkV2) GetLastSync added in v1.113.0

GetLastSync returns the value of the LastSync field in SyncedTableSyncedTableStatus_SdkV2 as a SyncedTablePosition_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*SyncedTableSyncedTableStatus_SdkV2) GetOngoingSyncProgress added in v1.113.0

GetOngoingSyncProgress returns the value of the OngoingSyncProgress field in SyncedTableSyncedTableStatus_SdkV2 as a SyncedTablePipelineProgress_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*SyncedTableSyncedTableStatus_SdkV2) SetLastSync added in v1.113.0

SetLastSync sets the value of the LastSync field in SyncedTableSyncedTableStatus_SdkV2.

func (*SyncedTableSyncedTableStatus_SdkV2) SetOngoingSyncProgress added in v1.113.0

SetOngoingSyncProgress sets the value of the OngoingSyncProgress field in SyncedTableSyncedTableStatus_SdkV2.

func (*SyncedTableSyncedTableStatus_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *SyncedTableSyncedTableStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SyncedTableSyncedTableStatus_SdkV2)

func (*SyncedTableSyncedTableStatus_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (SyncedTableSyncedTableStatus_SdkV2) ToObjectValue added in v1.113.0

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, SyncedTableSyncedTableStatus_SdkV2 only implements ToObjectValue() and Type().

func (SyncedTableSyncedTableStatus_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type SyncedTable_SdkV2 added in v1.113.0

type SyncedTable_SdkV2 struct {
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// Output only. The Full resource name of the synced table in Postgres where
	// (catalog, schema, table) are the UC entity names.
	//
	// Format "synced_tables/{catalog}.{schema}.{table}"
	//
	// For the corresponding source table in the Unity catalog look for the
	// "source_table_full_name" attribute.
	Name types.String `tfsdk:"name"`
	// Configuration details of the synced table, such as the source table,
	// scheduling policy, etc.
	Spec types.List `tfsdk:"spec"`
	// Synced Table data synchronization status.
	Status types.List `tfsdk:"status"`
	// The part of the name, chosen by the user when the resource was created.
	SyncedTableId types.String `tfsdk:"synced_table_id"`
	// The Unity Catalog table ID for this synced table.
	Uid types.String `tfsdk:"uid"`
}

func (SyncedTable_SdkV2) ApplySchemaCustomizations added in v1.113.0

func (m SyncedTable_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SyncedTable_SdkV2) GetComplexFieldTypes added in v1.113.0

func (m SyncedTable_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncedTable. 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 (*SyncedTable_SdkV2) GetSpec added in v1.113.0

GetSpec returns the value of the Spec field in SyncedTable_SdkV2 as a SyncedTableSyncedTableSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*SyncedTable_SdkV2) GetStatus added in v1.113.0

GetStatus returns the value of the Status field in SyncedTable_SdkV2 as a SyncedTableSyncedTableStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*SyncedTable_SdkV2) SetSpec added in v1.113.0

SetSpec sets the value of the Spec field in SyncedTable_SdkV2.

func (*SyncedTable_SdkV2) SetStatus added in v1.113.0

SetStatus sets the value of the Status field in SyncedTable_SdkV2.

func (*SyncedTable_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.113.0

func (to *SyncedTable_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SyncedTable_SdkV2)

func (*SyncedTable_SdkV2) SyncFieldsDuringRead added in v1.113.0

func (to *SyncedTable_SdkV2) SyncFieldsDuringRead(ctx context.Context, from SyncedTable_SdkV2)

func (SyncedTable_SdkV2) ToObjectValue added in v1.113.0

func (m SyncedTable_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, SyncedTable_SdkV2 only implements ToObjectValue() and Type().

func (SyncedTable_SdkV2) Type added in v1.113.0

Type implements basetypes.ObjectValuable.

type UndeleteBranchRequest added in v1.116.0

type UndeleteBranchRequest struct {
	// The full resource path of the branch to undelete. Format:
	// projects/{project_id}/branches/{branch_id}
	Name types.String `tfsdk:"-"`
}

func (UndeleteBranchRequest) ApplySchemaCustomizations added in v1.116.0

func (m UndeleteBranchRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UndeleteBranchRequest) GetComplexFieldTypes added in v1.116.0

func (m UndeleteBranchRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UndeleteBranchRequest. 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 (*UndeleteBranchRequest) SyncFieldsDuringCreateOrUpdate added in v1.116.0

func (to *UndeleteBranchRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UndeleteBranchRequest)

func (*UndeleteBranchRequest) SyncFieldsDuringRead added in v1.116.0

func (to *UndeleteBranchRequest) SyncFieldsDuringRead(ctx context.Context, from UndeleteBranchRequest)

func (UndeleteBranchRequest) ToObjectValue added in v1.116.0

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, UndeleteBranchRequest only implements ToObjectValue() and Type().

func (UndeleteBranchRequest) Type added in v1.116.0

Type implements basetypes.ObjectValuable.

type UndeleteBranchRequest_SdkV2 added in v1.116.0

type UndeleteBranchRequest_SdkV2 struct {
	// The full resource path of the branch to undelete. Format:
	// projects/{project_id}/branches/{branch_id}
	Name types.String `tfsdk:"-"`
}

func (UndeleteBranchRequest_SdkV2) ApplySchemaCustomizations added in v1.116.0

func (m UndeleteBranchRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UndeleteBranchRequest_SdkV2) GetComplexFieldTypes added in v1.116.0

func (m UndeleteBranchRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UndeleteBranchRequest. 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 (*UndeleteBranchRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.116.0

func (to *UndeleteBranchRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UndeleteBranchRequest_SdkV2)

func (*UndeleteBranchRequest_SdkV2) SyncFieldsDuringRead added in v1.116.0

func (to *UndeleteBranchRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UndeleteBranchRequest_SdkV2)

func (UndeleteBranchRequest_SdkV2) ToObjectValue added in v1.116.0

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, UndeleteBranchRequest_SdkV2 only implements ToObjectValue() and Type().

func (UndeleteBranchRequest_SdkV2) Type added in v1.116.0

Type implements basetypes.ObjectValuable.

type UndeleteMigrationRequest

type UndeleteMigrationRequest struct {
	// Required. The migration resource name, in the format
	// `migrations/{migration}`.
	Name types.String `tfsdk:"-"`
}

Request to restore a soft-deleted migration before it is permanently purged.

func (UndeleteMigrationRequest) ApplySchemaCustomizations

func (m UndeleteMigrationRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UndeleteMigrationRequest) GetComplexFieldTypes

func (m UndeleteMigrationRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UndeleteMigrationRequest. 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 (*UndeleteMigrationRequest) SyncFieldsDuringCreateOrUpdate

func (to *UndeleteMigrationRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UndeleteMigrationRequest)

func (*UndeleteMigrationRequest) SyncFieldsDuringRead

func (to *UndeleteMigrationRequest) SyncFieldsDuringRead(ctx context.Context, from UndeleteMigrationRequest)

func (UndeleteMigrationRequest) ToObjectValue

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, UndeleteMigrationRequest only implements ToObjectValue() and Type().

func (UndeleteMigrationRequest) Type

Type implements basetypes.ObjectValuable.

type UndeleteMigrationRequest_SdkV2

type UndeleteMigrationRequest_SdkV2 struct {
	// Required. The migration resource name, in the format
	// `migrations/{migration}`.
	Name types.String `tfsdk:"-"`
}

Request to restore a soft-deleted migration before it is permanently purged.

func (UndeleteMigrationRequest_SdkV2) ApplySchemaCustomizations

func (UndeleteMigrationRequest_SdkV2) GetComplexFieldTypes

func (m UndeleteMigrationRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UndeleteMigrationRequest. 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 (*UndeleteMigrationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *UndeleteMigrationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UndeleteMigrationRequest_SdkV2)

func (*UndeleteMigrationRequest_SdkV2) SyncFieldsDuringRead

func (UndeleteMigrationRequest_SdkV2) ToObjectValue

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, UndeleteMigrationRequest_SdkV2 only implements ToObjectValue() and Type().

func (UndeleteMigrationRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type UndeleteMigrationResponse

type UndeleteMigrationResponse struct {
	// The restored migration.
	Migration types.Object `tfsdk:"migration"`
}

Response produced after a soft-deleted migration is restored.

func (UndeleteMigrationResponse) ApplySchemaCustomizations

func (m UndeleteMigrationResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UndeleteMigrationResponse) GetComplexFieldTypes

func (m UndeleteMigrationResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UndeleteMigrationResponse. 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 (*UndeleteMigrationResponse) GetMigration

func (m *UndeleteMigrationResponse) GetMigration(ctx context.Context) (Migration, bool)

GetMigration returns the value of the Migration field in UndeleteMigrationResponse as a Migration value. If the field is unknown or null, the boolean return value is false.

func (*UndeleteMigrationResponse) SetMigration

func (m *UndeleteMigrationResponse) SetMigration(ctx context.Context, v Migration)

SetMigration sets the value of the Migration field in UndeleteMigrationResponse.

func (*UndeleteMigrationResponse) SyncFieldsDuringCreateOrUpdate

func (to *UndeleteMigrationResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UndeleteMigrationResponse)

func (*UndeleteMigrationResponse) SyncFieldsDuringRead

func (to *UndeleteMigrationResponse) SyncFieldsDuringRead(ctx context.Context, from UndeleteMigrationResponse)

func (UndeleteMigrationResponse) ToObjectValue

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, UndeleteMigrationResponse only implements ToObjectValue() and Type().

func (UndeleteMigrationResponse) Type

Type implements basetypes.ObjectValuable.

type UndeleteMigrationResponse_SdkV2

type UndeleteMigrationResponse_SdkV2 struct {
	// The restored migration.
	Migration types.List `tfsdk:"migration"`
}

Response produced after a soft-deleted migration is restored.

func (UndeleteMigrationResponse_SdkV2) ApplySchemaCustomizations

func (UndeleteMigrationResponse_SdkV2) GetComplexFieldTypes

func (m UndeleteMigrationResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UndeleteMigrationResponse. 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 (*UndeleteMigrationResponse_SdkV2) GetMigration

GetMigration returns the value of the Migration field in UndeleteMigrationResponse_SdkV2 as a Migration_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UndeleteMigrationResponse_SdkV2) SetMigration

SetMigration sets the value of the Migration field in UndeleteMigrationResponse_SdkV2.

func (*UndeleteMigrationResponse_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *UndeleteMigrationResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UndeleteMigrationResponse_SdkV2)

func (*UndeleteMigrationResponse_SdkV2) SyncFieldsDuringRead

func (UndeleteMigrationResponse_SdkV2) ToObjectValue

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, UndeleteMigrationResponse_SdkV2 only implements ToObjectValue() and Type().

func (UndeleteMigrationResponse_SdkV2) Type

Type implements basetypes.ObjectValuable.

type UndeleteProjectRequest added in v1.114.0

type UndeleteProjectRequest struct {
	// The full resource path of the project to undelete. Format:
	// projects/{project_id}
	Name types.String `tfsdk:"-"`
}

Request to restore a soft-deleted project within its retention period.

func (UndeleteProjectRequest) ApplySchemaCustomizations added in v1.114.0

func (m UndeleteProjectRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UndeleteProjectRequest) GetComplexFieldTypes added in v1.114.0

func (m UndeleteProjectRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UndeleteProjectRequest. 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 (*UndeleteProjectRequest) SyncFieldsDuringCreateOrUpdate added in v1.114.0

func (to *UndeleteProjectRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UndeleteProjectRequest)

func (*UndeleteProjectRequest) SyncFieldsDuringRead added in v1.114.0

func (to *UndeleteProjectRequest) SyncFieldsDuringRead(ctx context.Context, from UndeleteProjectRequest)

func (UndeleteProjectRequest) ToObjectValue added in v1.114.0

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, UndeleteProjectRequest only implements ToObjectValue() and Type().

func (UndeleteProjectRequest) Type added in v1.114.0

Type implements basetypes.ObjectValuable.

type UndeleteProjectRequest_SdkV2 added in v1.114.0

type UndeleteProjectRequest_SdkV2 struct {
	// The full resource path of the project to undelete. Format:
	// projects/{project_id}
	Name types.String `tfsdk:"-"`
}

Request to restore a soft-deleted project within its retention period.

func (UndeleteProjectRequest_SdkV2) ApplySchemaCustomizations added in v1.114.0

func (UndeleteProjectRequest_SdkV2) GetComplexFieldTypes added in v1.114.0

func (m UndeleteProjectRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UndeleteProjectRequest. 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 (*UndeleteProjectRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.114.0

func (to *UndeleteProjectRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UndeleteProjectRequest_SdkV2)

func (*UndeleteProjectRequest_SdkV2) SyncFieldsDuringRead added in v1.114.0

func (to *UndeleteProjectRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UndeleteProjectRequest_SdkV2)

func (UndeleteProjectRequest_SdkV2) ToObjectValue added in v1.114.0

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, UndeleteProjectRequest_SdkV2 only implements ToObjectValue() and Type().

func (UndeleteProjectRequest_SdkV2) Type added in v1.114.0

Type implements basetypes.ObjectValuable.

type UpdateBranchRequest

type UpdateBranchRequest struct {
	// The Branch to update.
	//
	// The branch's `name` field is used to identify the branch to update.
	// Format: projects/{project_id}/branches/{branch_id}
	Branch types.Object `tfsdk:"branch"`
	// Output only. The full resource path of the branch. Format:
	// projects/{project_id}/branches/{branch_id}
	Name types.String `tfsdk:"-"`
	// The list of fields to update.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateBranchRequest) ApplySchemaCustomizations

func (m UpdateBranchRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*UpdateBranchRequest) GetBranch

func (m *UpdateBranchRequest) GetBranch(ctx context.Context) (Branch, bool)

GetBranch returns the value of the Branch field in UpdateBranchRequest as a Branch value. If the field is unknown or null, the boolean return value is false.

func (UpdateBranchRequest) GetComplexFieldTypes

func (m UpdateBranchRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateBranchRequest. 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 (*UpdateBranchRequest) SetBranch

func (m *UpdateBranchRequest) SetBranch(ctx context.Context, v Branch)

SetBranch sets the value of the Branch field in UpdateBranchRequest.

func (*UpdateBranchRequest) SyncFieldsDuringCreateOrUpdate

func (to *UpdateBranchRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateBranchRequest)

func (*UpdateBranchRequest) SyncFieldsDuringRead

func (to *UpdateBranchRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateBranchRequest)

func (UpdateBranchRequest) ToObjectValue

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, UpdateBranchRequest only implements ToObjectValue() and Type().

func (UpdateBranchRequest) Type

Type implements basetypes.ObjectValuable.

type UpdateBranchRequest_SdkV2

type UpdateBranchRequest_SdkV2 struct {
	// The Branch to update.
	//
	// The branch's `name` field is used to identify the branch to update.
	// Format: projects/{project_id}/branches/{branch_id}
	Branch types.List `tfsdk:"branch"`
	// Output only. The full resource path of the branch. Format:
	// projects/{project_id}/branches/{branch_id}
	Name types.String `tfsdk:"-"`
	// The list of fields to update.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateBranchRequest_SdkV2) ApplySchemaCustomizations

func (m UpdateBranchRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*UpdateBranchRequest_SdkV2) GetBranch

GetBranch returns the value of the Branch field in UpdateBranchRequest_SdkV2 as a Branch_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (UpdateBranchRequest_SdkV2) GetComplexFieldTypes

func (m UpdateBranchRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateBranchRequest. 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 (*UpdateBranchRequest_SdkV2) SetBranch

SetBranch sets the value of the Branch field in UpdateBranchRequest_SdkV2.

func (*UpdateBranchRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *UpdateBranchRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateBranchRequest_SdkV2)

func (*UpdateBranchRequest_SdkV2) SyncFieldsDuringRead

func (to *UpdateBranchRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateBranchRequest_SdkV2)

func (UpdateBranchRequest_SdkV2) ToObjectValue

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, UpdateBranchRequest_SdkV2 only implements ToObjectValue() and Type().

func (UpdateBranchRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type UpdateDataApiRequest added in v1.120.0

type UpdateDataApiRequest struct {
	// The Data API configuration to update. The data_api's `name` field
	// identifies the resource.
	DataApi types.Object `tfsdk:"data_api"`
	// Resource name:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}/data-api
	Name types.String `tfsdk:"-"`
	// The list of fields to update.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateDataApiRequest) ApplySchemaCustomizations added in v1.120.0

func (m UpdateDataApiRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateDataApiRequest) GetComplexFieldTypes added in v1.120.0

func (m UpdateDataApiRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateDataApiRequest. 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 (*UpdateDataApiRequest) GetDataApi added in v1.120.0

func (m *UpdateDataApiRequest) GetDataApi(ctx context.Context) (DataApi, bool)

GetDataApi returns the value of the DataApi field in UpdateDataApiRequest as a DataApi value. If the field is unknown or null, the boolean return value is false.

func (*UpdateDataApiRequest) SetDataApi added in v1.120.0

func (m *UpdateDataApiRequest) SetDataApi(ctx context.Context, v DataApi)

SetDataApi sets the value of the DataApi field in UpdateDataApiRequest.

func (*UpdateDataApiRequest) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *UpdateDataApiRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateDataApiRequest)

func (*UpdateDataApiRequest) SyncFieldsDuringRead added in v1.120.0

func (to *UpdateDataApiRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateDataApiRequest)

func (UpdateDataApiRequest) ToObjectValue added in v1.120.0

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, UpdateDataApiRequest only implements ToObjectValue() and Type().

func (UpdateDataApiRequest) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type UpdateDataApiRequest_SdkV2 added in v1.120.0

type UpdateDataApiRequest_SdkV2 struct {
	// The Data API configuration to update. The data_api's `name` field
	// identifies the resource.
	DataApi types.List `tfsdk:"data_api"`
	// Resource name:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}/data-api
	Name types.String `tfsdk:"-"`
	// The list of fields to update.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateDataApiRequest_SdkV2) ApplySchemaCustomizations added in v1.120.0

func (m UpdateDataApiRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateDataApiRequest_SdkV2) GetComplexFieldTypes added in v1.120.0

func (m UpdateDataApiRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateDataApiRequest. 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 (*UpdateDataApiRequest_SdkV2) GetDataApi added in v1.120.0

GetDataApi returns the value of the DataApi field in UpdateDataApiRequest_SdkV2 as a DataApi_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateDataApiRequest_SdkV2) SetDataApi added in v1.120.0

SetDataApi sets the value of the DataApi field in UpdateDataApiRequest_SdkV2.

func (*UpdateDataApiRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *UpdateDataApiRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateDataApiRequest_SdkV2)

func (*UpdateDataApiRequest_SdkV2) SyncFieldsDuringRead added in v1.120.0

func (to *UpdateDataApiRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateDataApiRequest_SdkV2)

func (UpdateDataApiRequest_SdkV2) ToObjectValue added in v1.120.0

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, UpdateDataApiRequest_SdkV2 only implements ToObjectValue() and Type().

func (UpdateDataApiRequest_SdkV2) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type UpdateDatabaseRequest added in v1.111.0

type UpdateDatabaseRequest struct {
	// The Database to update.
	//
	// The database's `name` field is used to identify the database to update.
	// Format:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}
	Database types.Object `tfsdk:"database"`
	// The resource name of the database. Format:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}
	Name types.String `tfsdk:"-"`
	// The list of fields to update.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateDatabaseRequest) ApplySchemaCustomizations added in v1.111.0

func (m UpdateDatabaseRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateDatabaseRequest) GetComplexFieldTypes added in v1.111.0

func (m UpdateDatabaseRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateDatabaseRequest. 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 (*UpdateDatabaseRequest) GetDatabase added in v1.111.0

func (m *UpdateDatabaseRequest) GetDatabase(ctx context.Context) (Database, bool)

GetDatabase returns the value of the Database field in UpdateDatabaseRequest as a Database value. If the field is unknown or null, the boolean return value is false.

func (*UpdateDatabaseRequest) SetDatabase added in v1.111.0

func (m *UpdateDatabaseRequest) SetDatabase(ctx context.Context, v Database)

SetDatabase sets the value of the Database field in UpdateDatabaseRequest.

func (*UpdateDatabaseRequest) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *UpdateDatabaseRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateDatabaseRequest)

func (*UpdateDatabaseRequest) SyncFieldsDuringRead added in v1.111.0

func (to *UpdateDatabaseRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateDatabaseRequest)

func (UpdateDatabaseRequest) ToObjectValue added in v1.111.0

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, UpdateDatabaseRequest only implements ToObjectValue() and Type().

func (UpdateDatabaseRequest) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type UpdateDatabaseRequest_SdkV2 added in v1.111.0

type UpdateDatabaseRequest_SdkV2 struct {
	// The Database to update.
	//
	// The database's `name` field is used to identify the database to update.
	// Format:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}
	Database types.List `tfsdk:"database"`
	// The resource name of the database. Format:
	// projects/{project_id}/branches/{branch_id}/databases/{database_id}
	Name types.String `tfsdk:"-"`
	// The list of fields to update.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateDatabaseRequest_SdkV2) ApplySchemaCustomizations added in v1.111.0

func (m UpdateDatabaseRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateDatabaseRequest_SdkV2) GetComplexFieldTypes added in v1.111.0

func (m UpdateDatabaseRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateDatabaseRequest. 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 (*UpdateDatabaseRequest_SdkV2) GetDatabase added in v1.111.0

GetDatabase returns the value of the Database field in UpdateDatabaseRequest_SdkV2 as a Database_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateDatabaseRequest_SdkV2) SetDatabase added in v1.111.0

SetDatabase sets the value of the Database field in UpdateDatabaseRequest_SdkV2.

func (*UpdateDatabaseRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.111.0

func (to *UpdateDatabaseRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateDatabaseRequest_SdkV2)

func (*UpdateDatabaseRequest_SdkV2) SyncFieldsDuringRead added in v1.111.0

func (to *UpdateDatabaseRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateDatabaseRequest_SdkV2)

func (UpdateDatabaseRequest_SdkV2) ToObjectValue added in v1.111.0

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, UpdateDatabaseRequest_SdkV2 only implements ToObjectValue() and Type().

func (UpdateDatabaseRequest_SdkV2) Type added in v1.111.0

Type implements basetypes.ObjectValuable.

type UpdateEndpointRequest

type UpdateEndpointRequest struct {
	// The Endpoint to update.
	//
	// The endpoint's `name` field is used to identify the endpoint to update.
	// Format:
	// projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
	Endpoint types.Object `tfsdk:"endpoint"`
	// Output only. The full resource path of the endpoint. Format:
	// projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
	Name types.String `tfsdk:"-"`
	// The fields to update, as paths relative to the endpoint, for example
	// `spec.autoscaling_limit_max_cu`. Pass `spec` to update every field that
	// is set in `spec`. Only fields under `spec` can be updated. To change the
	// suspension setting, include `spec.suspension` or the specific suspension
	// field.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateEndpointRequest) ApplySchemaCustomizations

func (m UpdateEndpointRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateEndpointRequest) GetComplexFieldTypes

func (m UpdateEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateEndpointRequest. 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 (*UpdateEndpointRequest) GetEndpoint

func (m *UpdateEndpointRequest) GetEndpoint(ctx context.Context) (Endpoint, bool)

GetEndpoint returns the value of the Endpoint field in UpdateEndpointRequest as a Endpoint value. If the field is unknown or null, the boolean return value is false.

func (*UpdateEndpointRequest) SetEndpoint

func (m *UpdateEndpointRequest) SetEndpoint(ctx context.Context, v Endpoint)

SetEndpoint sets the value of the Endpoint field in UpdateEndpointRequest.

func (*UpdateEndpointRequest) SyncFieldsDuringCreateOrUpdate

func (to *UpdateEndpointRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateEndpointRequest)

func (*UpdateEndpointRequest) SyncFieldsDuringRead

func (to *UpdateEndpointRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateEndpointRequest)

func (UpdateEndpointRequest) ToObjectValue

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, UpdateEndpointRequest only implements ToObjectValue() and Type().

func (UpdateEndpointRequest) Type

Type implements basetypes.ObjectValuable.

type UpdateEndpointRequest_SdkV2

type UpdateEndpointRequest_SdkV2 struct {
	// The Endpoint to update.
	//
	// The endpoint's `name` field is used to identify the endpoint to update.
	// Format:
	// projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
	Endpoint types.List `tfsdk:"endpoint"`
	// Output only. The full resource path of the endpoint. Format:
	// projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
	Name types.String `tfsdk:"-"`
	// The fields to update, as paths relative to the endpoint, for example
	// `spec.autoscaling_limit_max_cu`. Pass `spec` to update every field that
	// is set in `spec`. Only fields under `spec` can be updated. To change the
	// suspension setting, include `spec.suspension` or the specific suspension
	// field.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateEndpointRequest_SdkV2) ApplySchemaCustomizations

func (m UpdateEndpointRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateEndpointRequest_SdkV2) GetComplexFieldTypes

func (m UpdateEndpointRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateEndpointRequest. 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 (*UpdateEndpointRequest_SdkV2) GetEndpoint

GetEndpoint returns the value of the Endpoint field in UpdateEndpointRequest_SdkV2 as a Endpoint_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateEndpointRequest_SdkV2) SetEndpoint

SetEndpoint sets the value of the Endpoint field in UpdateEndpointRequest_SdkV2.

func (*UpdateEndpointRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *UpdateEndpointRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateEndpointRequest_SdkV2)

func (*UpdateEndpointRequest_SdkV2) SyncFieldsDuringRead

func (to *UpdateEndpointRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateEndpointRequest_SdkV2)

func (UpdateEndpointRequest_SdkV2) ToObjectValue

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, UpdateEndpointRequest_SdkV2 only implements ToObjectValue() and Type().

func (UpdateEndpointRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type UpdateMigrationRequest

type UpdateMigrationRequest struct {
	// Required. The migration containing the user-owned fields to update.
	Migration types.Object `tfsdk:"migration"`
	// The migration resource name, in the format `migrations/{migration}`.
	Name types.String `tfsdk:"-"`
	// Required. The fields to update.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateMigrationRequest) ApplySchemaCustomizations

func (m UpdateMigrationRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateMigrationRequest) GetComplexFieldTypes

func (m UpdateMigrationRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateMigrationRequest. 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 (*UpdateMigrationRequest) GetMigration

func (m *UpdateMigrationRequest) GetMigration(ctx context.Context) (Migration, bool)

GetMigration returns the value of the Migration field in UpdateMigrationRequest as a Migration value. If the field is unknown or null, the boolean return value is false.

func (*UpdateMigrationRequest) SetMigration

func (m *UpdateMigrationRequest) SetMigration(ctx context.Context, v Migration)

SetMigration sets the value of the Migration field in UpdateMigrationRequest.

func (*UpdateMigrationRequest) SyncFieldsDuringCreateOrUpdate

func (to *UpdateMigrationRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateMigrationRequest)

func (*UpdateMigrationRequest) SyncFieldsDuringRead

func (to *UpdateMigrationRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateMigrationRequest)

func (UpdateMigrationRequest) ToObjectValue

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, UpdateMigrationRequest only implements ToObjectValue() and Type().

func (UpdateMigrationRequest) Type

Type implements basetypes.ObjectValuable.

type UpdateMigrationRequest_SdkV2

type UpdateMigrationRequest_SdkV2 struct {
	// Required. The migration containing the user-owned fields to update.
	Migration types.List `tfsdk:"migration"`
	// The migration resource name, in the format `migrations/{migration}`.
	Name types.String `tfsdk:"-"`
	// Required. The fields to update.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateMigrationRequest_SdkV2) ApplySchemaCustomizations

func (UpdateMigrationRequest_SdkV2) GetComplexFieldTypes

func (m UpdateMigrationRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateMigrationRequest. 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 (*UpdateMigrationRequest_SdkV2) GetMigration

GetMigration returns the value of the Migration field in UpdateMigrationRequest_SdkV2 as a Migration_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateMigrationRequest_SdkV2) SetMigration

SetMigration sets the value of the Migration field in UpdateMigrationRequest_SdkV2.

func (*UpdateMigrationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *UpdateMigrationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateMigrationRequest_SdkV2)

func (*UpdateMigrationRequest_SdkV2) SyncFieldsDuringRead

func (to *UpdateMigrationRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateMigrationRequest_SdkV2)

func (UpdateMigrationRequest_SdkV2) ToObjectValue

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, UpdateMigrationRequest_SdkV2 only implements ToObjectValue() and Type().

func (UpdateMigrationRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type UpdateProjectRequest

type UpdateProjectRequest struct {
	// Output only. The full resource path of the project. Format:
	// projects/{project_id}
	Name types.String `tfsdk:"-"`
	// The Project to update.
	//
	// The project's `name` field is used to identify the project to update.
	// Format: projects/{project_id}
	Project types.Object `tfsdk:"project"`
	// The fields to update, as paths relative to the project, for example
	// `spec.display_name`. Pass `*` to update every field that is set in the
	// request. Only fields under `spec` can be updated.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateProjectRequest) ApplySchemaCustomizations

func (m UpdateProjectRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateProjectRequest) GetComplexFieldTypes

func (m UpdateProjectRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProjectRequest. 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 (*UpdateProjectRequest) GetProject

func (m *UpdateProjectRequest) GetProject(ctx context.Context) (Project, bool)

GetProject returns the value of the Project field in UpdateProjectRequest as a Project value. If the field is unknown or null, the boolean return value is false.

func (*UpdateProjectRequest) SetProject

func (m *UpdateProjectRequest) SetProject(ctx context.Context, v Project)

SetProject sets the value of the Project field in UpdateProjectRequest.

func (*UpdateProjectRequest) SyncFieldsDuringCreateOrUpdate

func (to *UpdateProjectRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateProjectRequest)

func (*UpdateProjectRequest) SyncFieldsDuringRead

func (to *UpdateProjectRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateProjectRequest)

func (UpdateProjectRequest) ToObjectValue

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, UpdateProjectRequest only implements ToObjectValue() and Type().

func (UpdateProjectRequest) Type

Type implements basetypes.ObjectValuable.

type UpdateProjectRequest_SdkV2

type UpdateProjectRequest_SdkV2 struct {
	// Output only. The full resource path of the project. Format:
	// projects/{project_id}
	Name types.String `tfsdk:"-"`
	// The Project to update.
	//
	// The project's `name` field is used to identify the project to update.
	// Format: projects/{project_id}
	Project types.List `tfsdk:"project"`
	// The fields to update, as paths relative to the project, for example
	// `spec.display_name`. Pass `*` to update every field that is set in the
	// request. Only fields under `spec` can be updated.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateProjectRequest_SdkV2) ApplySchemaCustomizations

func (m UpdateProjectRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateProjectRequest_SdkV2) GetComplexFieldTypes

func (m UpdateProjectRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProjectRequest. 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 (*UpdateProjectRequest_SdkV2) GetProject

GetProject returns the value of the Project field in UpdateProjectRequest_SdkV2 as a Project_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateProjectRequest_SdkV2) SetProject

SetProject sets the value of the Project field in UpdateProjectRequest_SdkV2.

func (*UpdateProjectRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

func (to *UpdateProjectRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateProjectRequest_SdkV2)

func (*UpdateProjectRequest_SdkV2) SyncFieldsDuringRead

func (to *UpdateProjectRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateProjectRequest_SdkV2)

func (UpdateProjectRequest_SdkV2) ToObjectValue

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, UpdateProjectRequest_SdkV2 only implements ToObjectValue() and Type().

func (UpdateProjectRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type UpdateRoleRequest added in v1.112.0

type UpdateRoleRequest struct {
	// Output only. The full resource path of the role. Format:
	// projects/{project_id}/branches/{branch_id}/roles/{role_id}
	Name types.String `tfsdk:"-"`
	// The Postgres Role to update.
	//
	// The role's `name` field is used to identify the role to update. Format:
	// projects/{project_id}/branches/{branch_id}/roles/{role_id}
	Role types.Object `tfsdk:"role"`
	// The list of fields to update. Supported fields are
	// `spec.membership_roles`, `spec.attributes.createdb`,
	// `spec.attributes.createrole`, and `spec.attributes.bypassrls`.
	//
	// `spec.identity_type`, `spec.auth_method`, and `spec.postgres_role` cannot
	// be changed. Including an immutable field as an explicit path in
	// update_mask returns INVALID_PARAMETER_VALUE. With `*` or masks containing
	// only mutable fields, supplied values for these immutable fields are
	// ignored. `*` by itself selects all supported mutable fields. For this
	// mask, all three attributes (`createdb`, `createrole`, and `bypassrls`)
	// must be supplied; omitting any returns an INVALID_PARAMETER_VALUE error.
	// The `*` mask replaces `membership_roles`. Omitting it or supplying an
	// empty list clears all memberships, including `DATABRICKS_SUPERUSER`.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateRoleRequest) ApplySchemaCustomizations added in v1.112.0

func (m UpdateRoleRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateRoleRequest) GetComplexFieldTypes added in v1.112.0

func (m UpdateRoleRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRoleRequest. 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 (*UpdateRoleRequest) GetRole added in v1.112.0

func (m *UpdateRoleRequest) GetRole(ctx context.Context) (Role, bool)

GetRole returns the value of the Role field in UpdateRoleRequest as a Role value. If the field is unknown or null, the boolean return value is false.

func (*UpdateRoleRequest) SetRole added in v1.112.0

func (m *UpdateRoleRequest) SetRole(ctx context.Context, v Role)

SetRole sets the value of the Role field in UpdateRoleRequest.

func (*UpdateRoleRequest) SyncFieldsDuringCreateOrUpdate added in v1.112.0

func (to *UpdateRoleRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateRoleRequest)

func (*UpdateRoleRequest) SyncFieldsDuringRead added in v1.112.0

func (to *UpdateRoleRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateRoleRequest)

func (UpdateRoleRequest) ToObjectValue added in v1.112.0

func (m UpdateRoleRequest) 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, UpdateRoleRequest only implements ToObjectValue() and Type().

func (UpdateRoleRequest) Type added in v1.112.0

Type implements basetypes.ObjectValuable.

type UpdateRoleRequest_SdkV2 added in v1.112.0

type UpdateRoleRequest_SdkV2 struct {
	// Output only. The full resource path of the role. Format:
	// projects/{project_id}/branches/{branch_id}/roles/{role_id}
	Name types.String `tfsdk:"-"`
	// The Postgres Role to update.
	//
	// The role's `name` field is used to identify the role to update. Format:
	// projects/{project_id}/branches/{branch_id}/roles/{role_id}
	Role types.List `tfsdk:"role"`
	// The list of fields to update. Supported fields are
	// `spec.membership_roles`, `spec.attributes.createdb`,
	// `spec.attributes.createrole`, and `spec.attributes.bypassrls`.
	//
	// `spec.identity_type`, `spec.auth_method`, and `spec.postgres_role` cannot
	// be changed. Including an immutable field as an explicit path in
	// update_mask returns INVALID_PARAMETER_VALUE. With `*` or masks containing
	// only mutable fields, supplied values for these immutable fields are
	// ignored. `*` by itself selects all supported mutable fields. For this
	// mask, all three attributes (`createdb`, `createrole`, and `bypassrls`)
	// must be supplied; omitting any returns an INVALID_PARAMETER_VALUE error.
	// The `*` mask replaces `membership_roles`. Omitting it or supplying an
	// empty list clears all memberships, including `DATABRICKS_SUPERUSER`.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateRoleRequest_SdkV2) ApplySchemaCustomizations added in v1.112.0

func (m UpdateRoleRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateRoleRequest_SdkV2) GetComplexFieldTypes added in v1.112.0

func (m UpdateRoleRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRoleRequest. 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 (*UpdateRoleRequest_SdkV2) GetRole added in v1.112.0

GetRole returns the value of the Role field in UpdateRoleRequest_SdkV2 as a Role_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateRoleRequest_SdkV2) SetRole added in v1.112.0

SetRole sets the value of the Role field in UpdateRoleRequest_SdkV2.

func (*UpdateRoleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.112.0

func (to *UpdateRoleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateRoleRequest_SdkV2)

func (*UpdateRoleRequest_SdkV2) SyncFieldsDuringRead added in v1.112.0

func (to *UpdateRoleRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateRoleRequest_SdkV2)

func (UpdateRoleRequest_SdkV2) ToObjectValue added in v1.112.0

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, UpdateRoleRequest_SdkV2 only implements ToObjectValue() and Type().

func (UpdateRoleRequest_SdkV2) Type added in v1.112.0

Type implements basetypes.ObjectValuable.

type UpdateSnapshotScheduleRequest added in v1.131.0

type UpdateSnapshotScheduleRequest struct {
	// The resource name of the branch's snapshot schedule. Format:
	// projects/{project_id}/branches/{branch_id}/snapshot-schedule
	Name types.String `tfsdk:"-"`
	// The snapshot schedule to set. Its `name` identifies the branch. Format:
	// projects/{project_id}/branches/{branch_id}/snapshot-schedule
	SnapshotSchedule types.Object `tfsdk:"snapshot_schedule"`
	// Fields to update. The only updatable path is `schedule`, which replaces
	// the entire set of cadences.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateSnapshotScheduleRequest) ApplySchemaCustomizations added in v1.131.0

func (UpdateSnapshotScheduleRequest) GetComplexFieldTypes added in v1.131.0

func (m UpdateSnapshotScheduleRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateSnapshotScheduleRequest. 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 (*UpdateSnapshotScheduleRequest) GetSnapshotSchedule added in v1.131.0

func (m *UpdateSnapshotScheduleRequest) GetSnapshotSchedule(ctx context.Context) (SnapshotSchedule, bool)

GetSnapshotSchedule returns the value of the SnapshotSchedule field in UpdateSnapshotScheduleRequest as a SnapshotSchedule value. If the field is unknown or null, the boolean return value is false.

func (*UpdateSnapshotScheduleRequest) SetSnapshotSchedule added in v1.131.0

func (m *UpdateSnapshotScheduleRequest) SetSnapshotSchedule(ctx context.Context, v SnapshotSchedule)

SetSnapshotSchedule sets the value of the SnapshotSchedule field in UpdateSnapshotScheduleRequest.

func (*UpdateSnapshotScheduleRequest) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *UpdateSnapshotScheduleRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateSnapshotScheduleRequest)

func (*UpdateSnapshotScheduleRequest) SyncFieldsDuringRead added in v1.131.0

func (to *UpdateSnapshotScheduleRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateSnapshotScheduleRequest)

func (UpdateSnapshotScheduleRequest) ToObjectValue added in v1.131.0

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, UpdateSnapshotScheduleRequest only implements ToObjectValue() and Type().

func (UpdateSnapshotScheduleRequest) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type UpdateSnapshotScheduleRequest_SdkV2 added in v1.131.0

type UpdateSnapshotScheduleRequest_SdkV2 struct {
	// The resource name of the branch's snapshot schedule. Format:
	// projects/{project_id}/branches/{branch_id}/snapshot-schedule
	Name types.String `tfsdk:"-"`
	// The snapshot schedule to set. Its `name` identifies the branch. Format:
	// projects/{project_id}/branches/{branch_id}/snapshot-schedule
	SnapshotSchedule types.List `tfsdk:"snapshot_schedule"`
	// Fields to update. The only updatable path is `schedule`, which replaces
	// the entire set of cadences.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateSnapshotScheduleRequest_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (UpdateSnapshotScheduleRequest_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m UpdateSnapshotScheduleRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateSnapshotScheduleRequest. 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 (*UpdateSnapshotScheduleRequest_SdkV2) GetSnapshotSchedule added in v1.131.0

GetSnapshotSchedule returns the value of the SnapshotSchedule field in UpdateSnapshotScheduleRequest_SdkV2 as a SnapshotSchedule_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateSnapshotScheduleRequest_SdkV2) SetSnapshotSchedule added in v1.131.0

SetSnapshotSchedule sets the value of the SnapshotSchedule field in UpdateSnapshotScheduleRequest_SdkV2.

func (*UpdateSnapshotScheduleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *UpdateSnapshotScheduleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateSnapshotScheduleRequest_SdkV2)

func (*UpdateSnapshotScheduleRequest_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (UpdateSnapshotScheduleRequest_SdkV2) ToObjectValue added in v1.131.0

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, UpdateSnapshotScheduleRequest_SdkV2 only implements ToObjectValue() and Type().

func (UpdateSnapshotScheduleRequest_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

type WeeklySchedule added in v1.131.0

type WeeklySchedule struct {
	// The day of the week on which to take the snapshot.
	DayOfWeek types.String `tfsdk:"day_of_week"`
	// The hour of the day, in UTC, at which to take the snapshot, in [0, 23].
	Hour types.Int64 `tfsdk:"hour"`
}

Take a snapshot once per week, on the configured day at the configured hour.

func (WeeklySchedule) ApplySchemaCustomizations added in v1.131.0

func (m WeeklySchedule) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WeeklySchedule) GetComplexFieldTypes added in v1.131.0

func (m WeeklySchedule) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WeeklySchedule. 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 (*WeeklySchedule) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *WeeklySchedule) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WeeklySchedule)

func (*WeeklySchedule) SyncFieldsDuringRead added in v1.131.0

func (to *WeeklySchedule) SyncFieldsDuringRead(ctx context.Context, from WeeklySchedule)

func (WeeklySchedule) ToObjectValue added in v1.131.0

func (m WeeklySchedule) 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, WeeklySchedule only implements ToObjectValue() and Type().

func (WeeklySchedule) Type added in v1.131.0

func (m WeeklySchedule) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type WeeklySchedule_SdkV2 added in v1.131.0

type WeeklySchedule_SdkV2 struct {
	// The day of the week on which to take the snapshot.
	DayOfWeek types.String `tfsdk:"day_of_week"`
	// The hour of the day, in UTC, at which to take the snapshot, in [0, 23].
	Hour types.Int64 `tfsdk:"hour"`
}

Take a snapshot once per week, on the configured day at the configured hour.

func (WeeklySchedule_SdkV2) ApplySchemaCustomizations added in v1.131.0

func (m WeeklySchedule_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WeeklySchedule_SdkV2) GetComplexFieldTypes added in v1.131.0

func (m WeeklySchedule_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WeeklySchedule. 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 (*WeeklySchedule_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.131.0

func (to *WeeklySchedule_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WeeklySchedule_SdkV2)

func (*WeeklySchedule_SdkV2) SyncFieldsDuringRead added in v1.131.0

func (to *WeeklySchedule_SdkV2) SyncFieldsDuringRead(ctx context.Context, from WeeklySchedule_SdkV2)

func (WeeklySchedule_SdkV2) ToObjectValue added in v1.131.0

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, WeeklySchedule_SdkV2 only implements ToObjectValue() and Type().

func (WeeklySchedule_SdkV2) Type added in v1.131.0

Type implements basetypes.ObjectValuable.

Jump to

Keyboard shortcuts

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