dataclassification_tf

package
v1.114.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoTaggingConfig

type AutoTaggingConfig struct {
	// Whether auto-tagging is enabled or disabled for this classification tag.
	AutoTaggingMode types.String `tfsdk:"auto_tagging_mode"`
	// The Classification Tag (e.g., "class.name", "class.location")
	ClassificationTag types.String `tfsdk:"classification_tag"`
}

Auto-tagging configuration for a classification tag. When enabled, detected columns are automatically tagged with Unity Catalog tags.

func (AutoTaggingConfig) ApplySchemaCustomizations

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

func (AutoTaggingConfig) GetComplexFieldTypes

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoTaggingConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*AutoTaggingConfig) SyncFieldsDuringCreateOrUpdate

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

func (*AutoTaggingConfig) SyncFieldsDuringRead

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

func (AutoTaggingConfig) ToObjectValue

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

func (AutoTaggingConfig) Type

Type implements basetypes.ObjectValuable.

type AutoTaggingConfig_SdkV2

type AutoTaggingConfig_SdkV2 struct {
	// Whether auto-tagging is enabled or disabled for this classification tag.
	AutoTaggingMode types.String `tfsdk:"auto_tagging_mode"`
	// The Classification Tag (e.g., "class.name", "class.location")
	ClassificationTag types.String `tfsdk:"classification_tag"`
}

Auto-tagging configuration for a classification tag. When enabled, detected columns are automatically tagged with Unity Catalog tags.

func (AutoTaggingConfig_SdkV2) ApplySchemaCustomizations

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

func (AutoTaggingConfig_SdkV2) GetComplexFieldTypes

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoTaggingConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*AutoTaggingConfig_SdkV2) SyncFieldsDuringCreateOrUpdate

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

func (*AutoTaggingConfig_SdkV2) SyncFieldsDuringRead

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

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

func (AutoTaggingConfig_SdkV2) Type

Type implements basetypes.ObjectValuable.

type CatalogConfig

type CatalogConfig struct {
	// List of auto-tagging configurations for this catalog. Empty list means no
	// auto-tagging is enabled.
	AutoTagConfigs types.List `tfsdk:"auto_tag_configs"`
	// Schemas to include in the scan. Empty list is not supported as it results
	// in a no-op scan. If `included_schemas` is not set, all schemas are
	// scanned.
	IncludedSchemas types.Object `tfsdk:"included_schemas"`
	// Resource name in the format: catalogs/{catalog_name}/config.
	Name types.String `tfsdk:"name"`
}

Data Classification configuration for a Unity Catalog catalog. This message follows the "At Most One Resource" pattern: at most one CatalogConfig exists per catalog. - Full CRUD operations are supported: Create enables Data Classification, Delete disables it - It has no unique identifier of its own and uses its parent catalog's identifier (catalog_name)

func (CatalogConfig) ApplySchemaCustomizations

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

func (*CatalogConfig) GetAutoTagConfigs

func (m *CatalogConfig) GetAutoTagConfigs(ctx context.Context) ([]AutoTaggingConfig, bool)

GetAutoTagConfigs returns the value of the AutoTagConfigs field in CatalogConfig as a slice of AutoTaggingConfig values. If the field is unknown or null, the boolean return value is false.

func (CatalogConfig) GetComplexFieldTypes

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in CatalogConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*CatalogConfig) GetIncludedSchemas

func (m *CatalogConfig) GetIncludedSchemas(ctx context.Context) (CatalogConfigSchemaNames, bool)

GetIncludedSchemas returns the value of the IncludedSchemas field in CatalogConfig as a CatalogConfigSchemaNames value. If the field is unknown or null, the boolean return value is false.

func (*CatalogConfig) SetAutoTagConfigs

func (m *CatalogConfig) SetAutoTagConfigs(ctx context.Context, v []AutoTaggingConfig)

SetAutoTagConfigs sets the value of the AutoTagConfigs field in CatalogConfig.

func (*CatalogConfig) SetIncludedSchemas

func (m *CatalogConfig) SetIncludedSchemas(ctx context.Context, v CatalogConfigSchemaNames)

SetIncludedSchemas sets the value of the IncludedSchemas field in CatalogConfig.

func (*CatalogConfig) SyncFieldsDuringCreateOrUpdate

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

func (*CatalogConfig) SyncFieldsDuringRead

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

func (CatalogConfig) ToObjectValue

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

func (CatalogConfig) Type

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

Type implements basetypes.ObjectValuable.

type CatalogConfigSchemaNames

type CatalogConfigSchemaNames struct {
	Names types.List `tfsdk:"names"`
}

Wrapper message for a list of schema names.

func (CatalogConfigSchemaNames) ApplySchemaCustomizations

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

func (CatalogConfigSchemaNames) GetComplexFieldTypes

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in CatalogConfigSchemaNames. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*CatalogConfigSchemaNames) GetNames

func (m *CatalogConfigSchemaNames) GetNames(ctx context.Context) ([]types.String, bool)

GetNames returns the value of the Names field in CatalogConfigSchemaNames as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*CatalogConfigSchemaNames) SetNames

func (m *CatalogConfigSchemaNames) SetNames(ctx context.Context, v []types.String)

SetNames sets the value of the Names field in CatalogConfigSchemaNames.

func (*CatalogConfigSchemaNames) SyncFieldsDuringCreateOrUpdate

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

func (*CatalogConfigSchemaNames) SyncFieldsDuringRead

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

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

func (CatalogConfigSchemaNames) Type

Type implements basetypes.ObjectValuable.

type CatalogConfigSchemaNames_SdkV2

type CatalogConfigSchemaNames_SdkV2 struct {
	Names types.List `tfsdk:"names"`
}

Wrapper message for a list of schema names.

func (CatalogConfigSchemaNames_SdkV2) ApplySchemaCustomizations

func (CatalogConfigSchemaNames_SdkV2) GetComplexFieldTypes

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in CatalogConfigSchemaNames. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*CatalogConfigSchemaNames_SdkV2) GetNames

GetNames returns the value of the Names field in CatalogConfigSchemaNames_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*CatalogConfigSchemaNames_SdkV2) SetNames

SetNames sets the value of the Names field in CatalogConfigSchemaNames_SdkV2.

func (*CatalogConfigSchemaNames_SdkV2) SyncFieldsDuringCreateOrUpdate

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

func (*CatalogConfigSchemaNames_SdkV2) SyncFieldsDuringRead

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

func (CatalogConfigSchemaNames_SdkV2) Type

Type implements basetypes.ObjectValuable.

type CatalogConfig_SdkV2

type CatalogConfig_SdkV2 struct {
	// List of auto-tagging configurations for this catalog. Empty list means no
	// auto-tagging is enabled.
	AutoTagConfigs types.List `tfsdk:"auto_tag_configs"`
	// Schemas to include in the scan. Empty list is not supported as it results
	// in a no-op scan. If `included_schemas` is not set, all schemas are
	// scanned.
	IncludedSchemas types.List `tfsdk:"included_schemas"`
	// Resource name in the format: catalogs/{catalog_name}/config.
	Name types.String `tfsdk:"name"`
}

Data Classification configuration for a Unity Catalog catalog. This message follows the "At Most One Resource" pattern: at most one CatalogConfig exists per catalog. - Full CRUD operations are supported: Create enables Data Classification, Delete disables it - It has no unique identifier of its own and uses its parent catalog's identifier (catalog_name)

func (CatalogConfig_SdkV2) ApplySchemaCustomizations

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

func (*CatalogConfig_SdkV2) GetAutoTagConfigs

func (m *CatalogConfig_SdkV2) GetAutoTagConfigs(ctx context.Context) ([]AutoTaggingConfig_SdkV2, bool)

GetAutoTagConfigs returns the value of the AutoTagConfigs field in CatalogConfig_SdkV2 as a slice of AutoTaggingConfig_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (CatalogConfig_SdkV2) GetComplexFieldTypes

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in CatalogConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*CatalogConfig_SdkV2) GetIncludedSchemas

GetIncludedSchemas returns the value of the IncludedSchemas field in CatalogConfig_SdkV2 as a CatalogConfigSchemaNames_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CatalogConfig_SdkV2) SetAutoTagConfigs

func (m *CatalogConfig_SdkV2) SetAutoTagConfigs(ctx context.Context, v []AutoTaggingConfig_SdkV2)

SetAutoTagConfigs sets the value of the AutoTagConfigs field in CatalogConfig_SdkV2.

func (*CatalogConfig_SdkV2) SetIncludedSchemas

func (m *CatalogConfig_SdkV2) SetIncludedSchemas(ctx context.Context, v CatalogConfigSchemaNames_SdkV2)

SetIncludedSchemas sets the value of the IncludedSchemas field in CatalogConfig_SdkV2.

func (*CatalogConfig_SdkV2) SyncFieldsDuringCreateOrUpdate

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

func (*CatalogConfig_SdkV2) SyncFieldsDuringRead

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

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

func (CatalogConfig_SdkV2) Type

Type implements basetypes.ObjectValuable.

type CreateCatalogConfigRequest

type CreateCatalogConfigRequest struct {
	// The configuration to create.
	CatalogConfig types.Object `tfsdk:"catalog_config"`
	// Parent resource in the format: catalogs/{catalog_name}
	Parent types.String `tfsdk:"-"`
}

func (CreateCatalogConfigRequest) ApplySchemaCustomizations

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

func (*CreateCatalogConfigRequest) GetCatalogConfig

func (m *CreateCatalogConfigRequest) GetCatalogConfig(ctx context.Context) (CatalogConfig, bool)

GetCatalogConfig returns the value of the CatalogConfig field in CreateCatalogConfigRequest as a CatalogConfig value. If the field is unknown or null, the boolean return value is false.

func (CreateCatalogConfigRequest) GetComplexFieldTypes

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCatalogConfigRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*CreateCatalogConfigRequest) SetCatalogConfig

func (m *CreateCatalogConfigRequest) SetCatalogConfig(ctx context.Context, v CatalogConfig)

SetCatalogConfig sets the value of the CatalogConfig field in CreateCatalogConfigRequest.

func (*CreateCatalogConfigRequest) SyncFieldsDuringCreateOrUpdate

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

func (*CreateCatalogConfigRequest) SyncFieldsDuringRead

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

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

func (CreateCatalogConfigRequest) Type

Type implements basetypes.ObjectValuable.

type CreateCatalogConfigRequest_SdkV2

type CreateCatalogConfigRequest_SdkV2 struct {
	// The configuration to create.
	CatalogConfig types.List `tfsdk:"catalog_config"`
	// Parent resource in the format: catalogs/{catalog_name}
	Parent types.String `tfsdk:"-"`
}

func (CreateCatalogConfigRequest_SdkV2) ApplySchemaCustomizations

func (*CreateCatalogConfigRequest_SdkV2) GetCatalogConfig

GetCatalogConfig returns the value of the CatalogConfig field in CreateCatalogConfigRequest_SdkV2 as a CatalogConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (CreateCatalogConfigRequest_SdkV2) GetComplexFieldTypes

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCatalogConfigRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*CreateCatalogConfigRequest_SdkV2) SetCatalogConfig

SetCatalogConfig sets the value of the CatalogConfig field in CreateCatalogConfigRequest_SdkV2.

func (*CreateCatalogConfigRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

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

func (*CreateCatalogConfigRequest_SdkV2) SyncFieldsDuringRead

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

func (CreateCatalogConfigRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type DeleteCatalogConfigRequest

type DeleteCatalogConfigRequest struct {
	// Resource name in the format: catalogs/{catalog_name}/config
	Name types.String `tfsdk:"-"`
}

func (DeleteCatalogConfigRequest) ApplySchemaCustomizations

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

func (DeleteCatalogConfigRequest) GetComplexFieldTypes

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCatalogConfigRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*DeleteCatalogConfigRequest) SyncFieldsDuringCreateOrUpdate

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

func (*DeleteCatalogConfigRequest) SyncFieldsDuringRead

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

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

func (DeleteCatalogConfigRequest) Type

Type implements basetypes.ObjectValuable.

type DeleteCatalogConfigRequest_SdkV2

type DeleteCatalogConfigRequest_SdkV2 struct {
	// Resource name in the format: catalogs/{catalog_name}/config
	Name types.String `tfsdk:"-"`
}

func (DeleteCatalogConfigRequest_SdkV2) ApplySchemaCustomizations

func (DeleteCatalogConfigRequest_SdkV2) GetComplexFieldTypes

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCatalogConfigRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*DeleteCatalogConfigRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

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

func (*DeleteCatalogConfigRequest_SdkV2) SyncFieldsDuringRead

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

func (DeleteCatalogConfigRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type GetCatalogConfigRequest

type GetCatalogConfigRequest struct {
	// Resource name in the format: catalogs/{catalog_name}/config
	Name types.String `tfsdk:"-"`
}

func (GetCatalogConfigRequest) ApplySchemaCustomizations

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

func (GetCatalogConfigRequest) GetComplexFieldTypes

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCatalogConfigRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetCatalogConfigRequest) SyncFieldsDuringCreateOrUpdate

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

func (*GetCatalogConfigRequest) SyncFieldsDuringRead

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

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

func (GetCatalogConfigRequest) Type

Type implements basetypes.ObjectValuable.

type GetCatalogConfigRequest_SdkV2

type GetCatalogConfigRequest_SdkV2 struct {
	// Resource name in the format: catalogs/{catalog_name}/config
	Name types.String `tfsdk:"-"`
}

func (GetCatalogConfigRequest_SdkV2) ApplySchemaCustomizations

func (GetCatalogConfigRequest_SdkV2) GetComplexFieldTypes

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCatalogConfigRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetCatalogConfigRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

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

func (*GetCatalogConfigRequest_SdkV2) SyncFieldsDuringRead

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

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

func (GetCatalogConfigRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

type UpdateCatalogConfigRequest

type UpdateCatalogConfigRequest struct {
	// The configuration to apply to the catalog. The name field in
	// catalog_config identifies which resource to update.
	CatalogConfig types.Object `tfsdk:"catalog_config"`
	// Resource name in the format: catalogs/{catalog_name}/config.
	Name types.String `tfsdk:"-"`
	// Field mask specifying which fields to update.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateCatalogConfigRequest) ApplySchemaCustomizations

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

func (*UpdateCatalogConfigRequest) GetCatalogConfig

func (m *UpdateCatalogConfigRequest) GetCatalogConfig(ctx context.Context) (CatalogConfig, bool)

GetCatalogConfig returns the value of the CatalogConfig field in UpdateCatalogConfigRequest as a CatalogConfig value. If the field is unknown or null, the boolean return value is false.

func (UpdateCatalogConfigRequest) GetComplexFieldTypes

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCatalogConfigRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdateCatalogConfigRequest) SetCatalogConfig

func (m *UpdateCatalogConfigRequest) SetCatalogConfig(ctx context.Context, v CatalogConfig)

SetCatalogConfig sets the value of the CatalogConfig field in UpdateCatalogConfigRequest.

func (*UpdateCatalogConfigRequest) SyncFieldsDuringCreateOrUpdate

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

func (*UpdateCatalogConfigRequest) SyncFieldsDuringRead

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

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

func (UpdateCatalogConfigRequest) Type

Type implements basetypes.ObjectValuable.

type UpdateCatalogConfigRequest_SdkV2

type UpdateCatalogConfigRequest_SdkV2 struct {
	// The configuration to apply to the catalog. The name field in
	// catalog_config identifies which resource to update.
	CatalogConfig types.List `tfsdk:"catalog_config"`
	// Resource name in the format: catalogs/{catalog_name}/config.
	Name types.String `tfsdk:"-"`
	// Field mask specifying which fields to update.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateCatalogConfigRequest_SdkV2) ApplySchemaCustomizations

func (*UpdateCatalogConfigRequest_SdkV2) GetCatalogConfig

GetCatalogConfig returns the value of the CatalogConfig field in UpdateCatalogConfigRequest_SdkV2 as a CatalogConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (UpdateCatalogConfigRequest_SdkV2) GetComplexFieldTypes

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCatalogConfigRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdateCatalogConfigRequest_SdkV2) SetCatalogConfig

SetCatalogConfig sets the value of the CatalogConfig field in UpdateCatalogConfigRequest_SdkV2.

func (*UpdateCatalogConfigRequest_SdkV2) SyncFieldsDuringCreateOrUpdate

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

func (*UpdateCatalogConfigRequest_SdkV2) SyncFieldsDuringRead

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

func (UpdateCatalogConfigRequest_SdkV2) Type

Type implements basetypes.ObjectValuable.

Jump to

Keyboard shortcuts

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