postgres_tf

package
v1.104.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Branch

type Branch struct {
	// A timestamp indicating when the branch was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// The resource name of the branch. This field is output-only and
	// constructed by the system. 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
	// `spec.source_branch`.
	Parent types.String `tfsdk:"parent"`
	// The spec contains the branch configuration.
	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.
	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.
	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"`
	// Relative time-to-live duration. When set, the branch will expire at
	// creation_time + ttl.
	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.
	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.
	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"`
	// Relative time-to-live duration. When set, the branch will expire at
	// creation_time + ttl.
	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 {
	// 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"`
	// 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"`
	// 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"`
	// 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 {
	// 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"`
	// 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"`
	// 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"`
	// 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 {
	// A timestamp indicating when the branch was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// The resource name of the branch. This field is output-only and
	// constructed by the system. 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
	// `spec.source_branch`.
	Parent types.String `tfsdk:"parent"`
	// The spec contains the branch configuration.
	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 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 must be 1-63 characters long, start with a
	// lowercase letter, and contain only lowercase letters, numbers, and
	// hyphens (RFC 1123). Examples: - With custom ID: `staging` → name
	// becomes `projects/{project_id}/branches/staging` - Without custom ID:
	// system generates slug → name becomes
	// `projects/{project_id}/branches/br-example-name-x1y2z3a4`
	BranchId types.String `tfsdk:"-"`
	// The Project where this Branch will be created. Format:
	// projects/{project_id}
	Parent types.String `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 must be 1-63 characters long, start with a
	// lowercase letter, and contain only lowercase letters, numbers, and
	// hyphens (RFC 1123). Examples: - With custom ID: `staging` → name
	// becomes `projects/{project_id}/branches/staging` - Without custom ID:
	// system generates slug → name becomes
	// `projects/{project_id}/branches/br-example-name-x1y2z3a4`
	BranchId types.String `tfsdk:"-"`
	// The Project where this Branch will be created. Format:
	// projects/{project_id}
	Parent types.String `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 CreateEndpointRequest

type CreateEndpointRequest struct {
	// The Endpoint to create.
	Endpoint types.Object `tfsdk:"endpoint"`
	// The ID to use for the Endpoint. This becomes the final component of the
	// endpoint's resource name. The ID must be 1-63 characters long, start with
	// a lowercase letter, and contain only lowercase letters, numbers, and
	// hyphens (RFC 1123). Examples: - With custom ID: `primary` → name
	// becomes `projects/{project_id}/branches/{branch_id}/endpoints/primary` -
	// Without custom ID: system generates slug → name becomes
	// `projects/{project_id}/branches/{branch_id}/endpoints/ep-example-name-x1y2z3a4`
	EndpointId types.String `tfsdk:"-"`
	// The Branch where this Endpoint will be created. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `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.
	Endpoint types.List `tfsdk:"endpoint"`
	// The ID to use for the Endpoint. This becomes the final component of the
	// endpoint's resource name. The ID must be 1-63 characters long, start with
	// a lowercase letter, and contain only lowercase letters, numbers, and
	// hyphens (RFC 1123). Examples: - With custom ID: `primary` → name
	// becomes `projects/{project_id}/branches/{branch_id}/endpoints/primary` -
	// Without custom ID: system generates slug → name becomes
	// `projects/{project_id}/branches/{branch_id}/endpoints/ep-example-name-x1y2z3a4`
	EndpointId types.String `tfsdk:"-"`
	// The Branch where this Endpoint will be created. Format:
	// projects/{project_id}/branches/{branch_id}
	Parent types.String `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 CreateProjectRequest

type CreateProjectRequest struct {
	// The Project to create.
	Project types.Object `tfsdk:"project"`
	// The ID to use for the Project. This becomes the final component of the
	// project's resource name. The ID must be 1-63 characters long, start with
	// a lowercase letter, and contain only lowercase letters, numbers, and
	// hyphens (RFC 1123). Examples: - With custom ID: `production` → name
	// becomes `projects/production` - Without custom ID: system generates UUID
	// → name becomes `projects/a7f89b2c-3d4e-5f6g-7h8i-9j0k1l2m3n4o`
	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. This becomes the final component of the
	// project's resource name. The ID must be 1-63 characters long, start with
	// a lowercase letter, and contain only lowercase letters, numbers, and
	// hyphens (RFC 1123). Examples: - With custom ID: `production` → name
	// becomes `projects/production` - Without custom ID: system generates UUID
	// → name becomes `projects/a7f89b2c-3d4e-5f6g-7h8i-9j0k1l2m3n4o`
	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:"-"`
	// The desired specification of a Role.
	Role types.Object `tfsdk:"role"`
	// The ID to use for the Role, which will become the final component of the
	// role's resource name. This ID becomes the role in Postgres.
	//
	// This value should be 4-63 characters, and valid characters are lowercase
	// letters, numbers, and hyphens, as defined by RFC 1123.
	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:"-"`
	// The desired specification of a Role.
	Role types.List `tfsdk:"role"`
	// The ID to use for the Role, which will become the final component of the
	// role's resource name. This ID becomes the role in Postgres.
	//
	// This value should be 4-63 characters, and valid characters are lowercase
	// letters, numbers, and hyphens, as defined by RFC 1123.
	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 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 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 name of the Branch to delete. Format:
	// projects/{project_id}/branches/{branch_id}
	Name types.String `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 name of the Branch to delete. Format:
	// projects/{project_id}/branches/{branch_id}
	Name types.String `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 DeleteEndpointRequest

type DeleteEndpointRequest struct {
	// The name 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 name 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 DeleteProjectRequest

type DeleteProjectRequest struct {
	// The name of the Project to delete. Format: projects/{project_id}
	Name types.String `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 name of the Project to delete. Format: projects/{project_id}
	Name types.String `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 resource name of the postgres role. 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.
	//
	// TODO: #LKB-7187 implement reassign_owned_to on LBM side. This might
	// end-up being a synchronous query when this parameter is used.
	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 resource name of the postgres role. 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.
	//
	// TODO: #LKB-7187 implement reassign_owned_to on LBM side. This might
	// end-up being a synchronous query when this parameter is used.
	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 Endpoint

type Endpoint struct {
	// A timestamp indicating when the compute endpoint was created.
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// The resource name of the endpoint. This field is output-only and
	// constructed by the system. 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 spec contains the compute endpoint configuration, including
	// autoscaling limits, suspend timeout, and disabled state.
	Spec types.Object `tfsdk:"spec"`
	// Current operational status of the compute endpoint.
	Status types.Object `tfsdk:"status"`
	// System-generated unique ID for the endpoint.
	Uid types.String `tfsdk:"uid"`
	// A timestamp indicating when the compute endpoint was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

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 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"`
}

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"`
}

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 {
	// A raw representation of Postgres settings.
	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 {
	// A raw representation of Postgres settings.
	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. 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"`
	// 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 type. A branch can only have one READ_WRITE endpoint.
	EndpointType types.String `tfsdk:"endpoint_type"`
	// When set to true, explicitly disables automatic suspension (never
	// suspend). Should be set to true when provided.
	NoSuspension types.Bool `tfsdk:"no_suspension"`

	Settings types.Object `tfsdk:"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).
	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) 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) 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. 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"`
	// 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 type. A branch can only have one READ_WRITE endpoint.
	EndpointType types.String `tfsdk:"endpoint_type"`
	// When set to true, explicitly disables automatic suspension (never
	// suspend). Should be set to true when provided.
	NoSuspension types.Bool `tfsdk:"no_suspension"`

	Settings types.List `tfsdk:"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).
	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) 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) 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.
	AutoscalingLimitMaxCu types.Float64 `tfsdk:"autoscaling_limit_max_cu"`
	// The minimum number of Compute Units.
	AutoscalingLimitMinCu types.Float64 `tfsdk:"autoscaling_limit_min_cu"`

	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 type. A branch can only have one READ_WRITE endpoint.
	EndpointType types.String `tfsdk:"endpoint_type"`
	// Contains host information for connecting to the endpoint.
	Hosts types.Object `tfsdk:"hosts"`

	PendingState types.String `tfsdk:"pending_state"`

	Settings types.Object `tfsdk:"settings"`
	// Duration of inactivity after which the compute endpoint is automatically
	// suspended.
	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) 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) 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.
	AutoscalingLimitMaxCu types.Float64 `tfsdk:"autoscaling_limit_max_cu"`
	// The minimum number of Compute Units.
	AutoscalingLimitMinCu types.Float64 `tfsdk:"autoscaling_limit_min_cu"`

	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 type. A branch can only have one READ_WRITE endpoint.
	EndpointType types.String `tfsdk:"endpoint_type"`
	// Contains host information for connecting to the endpoint.
	Hosts types.List `tfsdk:"hosts"`

	PendingState types.String `tfsdk:"pending_state"`

	Settings types.List `tfsdk:"settings"`
	// Duration of inactivity after which the compute endpoint is automatically
	// suspended.
	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) 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) 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 resource name of the endpoint. This field is output-only and
	// constructed by the system. 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 spec contains the compute endpoint configuration, including
	// autoscaling limits, suspend timeout, and disabled state.
	Spec types.List `tfsdk:"spec"`
	// Current operational status of the compute endpoint.
	Status types.List `tfsdk:"status"`
	// System-generated unique ID for the endpoint.
	Uid types.String `tfsdk:"uid"`
	// A timestamp indicating when the compute endpoint was last updated.
	UpdateTime timetypes.RFC3339 `tfsdk:"update_time"`
}

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"`
	// This field is not yet supported. The endpoint for which this credential
	// will be generated. Format:
	// projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
	Endpoint types.String `tfsdk:"endpoint"`
}

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"`
	// This field is not yet supported. The endpoint for which this credential
	// will be generated. Format:
	// projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
	Endpoint types.String `tfsdk:"endpoint"`
}

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 GetBranchRequest

type GetBranchRequest struct {
	// The resource name 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 resource name 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 GetEndpointRequest

type GetEndpointRequest struct {
	// The resource name 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 resource name 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 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 resource name 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 resource name 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 name 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 name 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 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:"-"`
}

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:"-"`
}

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 database branches in the project.
	Branches types.List `tfsdk:"branches"`
	// Token to request the next page of database 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 database branches in the project.
	Branches types.List `tfsdk:"branches"`
	// Token to request the next page of database 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 ListEndpointsRequest

type ListEndpointsRequest 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 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 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 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 ListProjectsRequest

type ListProjectsRequest 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:"-"`
}

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 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:"-"`
}

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 database projects.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// List of all database 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 database projects.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// List of all database 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 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"`
	// The resource name of the project. This field is output-only and
	// constructed by the system. Format: `projects/{project_id}`
	Name types.String `tfsdk:"name"`
	// The spec contains the project configuration, including display_name,
	// pg_version (Postgres version), history_retention_duration, and
	// default_endpoint_settings.
	Spec types.Object `tfsdk:"spec"`
	// The current status of a Project.
	Status types.Object `tfsdk:"status"`
	// System-generated unique ID for the project.
	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) 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) 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 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.
	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).
	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.
	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).
	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 {
	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"`
	// The number of seconds to retain the shared history for point in time
	// recovery for all branches in this project. Value should be between 0s and
	// 2592000s (up to 30 days).
	HistoryRetentionDuration timetypes.GoDuration `tfsdk:"history_retention_duration"`
	// The major Postgres version number. Supported versions are 16 and 17.
	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) 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) 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 {
	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"`
	// The number of seconds to retain the shared history for point in time
	// recovery for all branches in this project. Value should be between 0s and
	// 2592000s (up to 30 days).
	HistoryRetentionDuration timetypes.GoDuration `tfsdk:"history_retention_duration"`
	// The major Postgres version number. Supported versions are 16 and 17.
	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) 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) 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 effective default endpoint settings.
	DefaultEndpointSettings types.Object `tfsdk:"default_endpoint_settings"`
	// The effective human-readable project name.
	DisplayName types.String `tfsdk:"display_name"`
	// 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 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) 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) 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 effective default endpoint settings.
	DefaultEndpointSettings types.List `tfsdk:"default_endpoint_settings"`
	// The effective human-readable project name.
	DisplayName types.String `tfsdk:"display_name"`
	// 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 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) 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) 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"`
	// The resource name of the project. This field is output-only and
	// constructed by the system. Format: `projects/{project_id}`
	Name types.String `tfsdk:"name"`
	// The spec contains the project configuration, including display_name,
	// pg_version (Postgres version), history_retention_duration, and
	// default_endpoint_settings.
	Spec types.List `tfsdk:"spec"`
	// The current status of a Project.
	Status types.List `tfsdk:"status"`
	// System-generated unique ID for the project.
	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) 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) 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 {
	TableName types.String `tfsdk:"table_name"`

	UnspecifiedResourceName types.String `tfsdk:"unspecified_resource_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 {
	TableName types.String `tfsdk:"table_name"`

	UnspecifiedResourceName types.String `tfsdk:"unspecified_resource_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 Role

type Role struct {
	CreateTime timetypes.RFC3339 `tfsdk:"create_time"`
	// The resource name 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 spec contains the role configuration, including identity type,
	// authentication method, and role attributes.
	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 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 {
	// 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: this is ignored for the Databricks identity type GROUP, and
	// NO_LOGIN is implicitly assumed instead for the GROUP identity type.
	AuthMethod types.String `tfsdk:"auth_method"`
	// The type of role. When specifying a managed-identity, the chosen role_id
	// must be a valid:
	//
	// * application ID for SERVICE_PRINCIPAL * user email for USER * group name
	// for GROUP
	IdentityType types.String `tfsdk:"identity_type"`
}

func (RoleRoleSpec) ApplySchemaCustomizations

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

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) 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 {
	// 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: this is ignored for the Databricks identity type GROUP, and
	// NO_LOGIN is implicitly assumed instead for the GROUP identity type.
	AuthMethod types.String `tfsdk:"auth_method"`
	// The type of role. When specifying a managed-identity, the chosen role_id
	// must be a valid:
	//
	// * application ID for SERVICE_PRINCIPAL * user email for USER * group name
	// for GROUP
	IdentityType types.String `tfsdk:"identity_type"`
}

func (RoleRoleSpec_SdkV2) ApplySchemaCustomizations

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

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) 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 {
	AuthMethod types.String `tfsdk:"auth_method"`
	// The type of the role.
	IdentityType types.String `tfsdk:"identity_type"`
}

func (RoleRoleStatus) ApplySchemaCustomizations

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

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) 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 {
	AuthMethod types.String `tfsdk:"auth_method"`
	// The type of the role.
	IdentityType types.String `tfsdk:"identity_type"`
}

func (RoleRoleStatus_SdkV2) ApplySchemaCustomizations

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

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) 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"`
	// The resource name 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 spec contains the role configuration, including identity type,
	// authentication method, and role attributes.
	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 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"`
	// The resource name of the branch. This field is output-only and
	// constructed by the system. Format:
	// `projects/{project_id}/branches/{branch_id}`
	Name types.String `tfsdk:"-"`
	// The list of fields to update. If unspecified, all fields will be updated
	// when possible.
	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"`
	// The resource name of the branch. This field is output-only and
	// constructed by the system. Format:
	// `projects/{project_id}/branches/{branch_id}`
	Name types.String `tfsdk:"-"`
	// The list of fields to update. If unspecified, all fields will be updated
	// when possible.
	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 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"`
	// The resource name of the endpoint. This field is output-only and
	// constructed by the system. Format:
	// `projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}`
	Name types.String `tfsdk:"-"`
	// The list of fields to update. If unspecified, all fields will be updated
	// when possible.
	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"`
	// The resource name of the endpoint. This field is output-only and
	// constructed by the system. Format:
	// `projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}`
	Name types.String `tfsdk:"-"`
	// The list of fields to update. If unspecified, all fields will be updated
	// when possible.
	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 UpdateProjectRequest

type UpdateProjectRequest struct {
	// The resource name of the project. This field is output-only and
	// constructed by the system. 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 list of fields to update. If unspecified, all fields will be updated
	// when possible.
	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 {
	// The resource name of the project. This field is output-only and
	// constructed by the system. 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 list of fields to update. If unspecified, all fields will be updated
	// when possible.
	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.

Jump to

Keyboard shortcuts

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