Documentation
¶
Index ¶
- type Branch
- func (m Branch) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m Branch) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *Branch) GetSpec(ctx context.Context) (BranchSpec, bool)
- func (m *Branch) GetStatus(ctx context.Context) (BranchStatus, bool)
- func (m *Branch) SetSpec(ctx context.Context, v BranchSpec)
- func (m *Branch) SetStatus(ctx context.Context, v BranchStatus)
- func (to *Branch) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Branch)
- func (to *Branch) SyncFieldsDuringRead(ctx context.Context, from Branch)
- func (m Branch) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m Branch) Type(ctx context.Context) attr.Type
- type BranchOperationMetadata
- func (m BranchOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m BranchOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *BranchOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BranchOperationMetadata)
- func (to *BranchOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from BranchOperationMetadata)
- func (m BranchOperationMetadata) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m BranchOperationMetadata) Type(ctx context.Context) attr.Type
- type BranchOperationMetadata_SdkV2
- func (m BranchOperationMetadata_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m BranchOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *BranchOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BranchOperationMetadata_SdkV2)
- func (to *BranchOperationMetadata_SdkV2) SyncFieldsDuringRead(ctx context.Context, from BranchOperationMetadata_SdkV2)
- func (m BranchOperationMetadata_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m BranchOperationMetadata_SdkV2) Type(ctx context.Context) attr.Type
- type BranchSpec
- func (m BranchSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m BranchSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *BranchSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BranchSpec)
- func (to *BranchSpec) SyncFieldsDuringRead(ctx context.Context, from BranchSpec)
- func (m BranchSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m BranchSpec) Type(ctx context.Context) attr.Type
- type BranchSpec_SdkV2
- func (m BranchSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m BranchSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *BranchSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BranchSpec_SdkV2)
- func (to *BranchSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from BranchSpec_SdkV2)
- func (m BranchSpec_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m BranchSpec_SdkV2) Type(ctx context.Context) attr.Type
- type BranchStatus
- func (m BranchStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m BranchStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *BranchStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BranchStatus)
- func (to *BranchStatus) SyncFieldsDuringRead(ctx context.Context, from BranchStatus)
- func (m BranchStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m BranchStatus) Type(ctx context.Context) attr.Type
- type BranchStatus_SdkV2
- func (m BranchStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m BranchStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *BranchStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BranchStatus_SdkV2)
- func (to *BranchStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from BranchStatus_SdkV2)
- func (m BranchStatus_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m BranchStatus_SdkV2) Type(ctx context.Context) attr.Type
- type Branch_SdkV2
- func (m Branch_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m Branch_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *Branch_SdkV2) GetSpec(ctx context.Context) (BranchSpec_SdkV2, bool)
- func (m *Branch_SdkV2) GetStatus(ctx context.Context) (BranchStatus_SdkV2, bool)
- func (m *Branch_SdkV2) SetSpec(ctx context.Context, v BranchSpec_SdkV2)
- func (m *Branch_SdkV2) SetStatus(ctx context.Context, v BranchStatus_SdkV2)
- func (to *Branch_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Branch_SdkV2)
- func (to *Branch_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Branch_SdkV2)
- func (m Branch_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m Branch_SdkV2) Type(ctx context.Context) attr.Type
- type CreateBranchRequest
- func (m CreateBranchRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m *CreateBranchRequest) GetBranch(ctx context.Context) (Branch, bool)
- func (m CreateBranchRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *CreateBranchRequest) SetBranch(ctx context.Context, v Branch)
- func (to *CreateBranchRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateBranchRequest)
- func (to *CreateBranchRequest) SyncFieldsDuringRead(ctx context.Context, from CreateBranchRequest)
- func (m CreateBranchRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m CreateBranchRequest) Type(ctx context.Context) attr.Type
- type CreateBranchRequest_SdkV2
- func (m CreateBranchRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m *CreateBranchRequest_SdkV2) GetBranch(ctx context.Context) (Branch_SdkV2, bool)
- func (m CreateBranchRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *CreateBranchRequest_SdkV2) SetBranch(ctx context.Context, v Branch_SdkV2)
- func (to *CreateBranchRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateBranchRequest_SdkV2)
- func (to *CreateBranchRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateBranchRequest_SdkV2)
- func (m CreateBranchRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m CreateBranchRequest_SdkV2) Type(ctx context.Context) attr.Type
- type CreateEndpointRequest
- func (m CreateEndpointRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m CreateEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *CreateEndpointRequest) GetEndpoint(ctx context.Context) (Endpoint, bool)
- func (m *CreateEndpointRequest) SetEndpoint(ctx context.Context, v Endpoint)
- func (to *CreateEndpointRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateEndpointRequest)
- func (to *CreateEndpointRequest) SyncFieldsDuringRead(ctx context.Context, from CreateEndpointRequest)
- func (m CreateEndpointRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m CreateEndpointRequest) Type(ctx context.Context) attr.Type
- type CreateEndpointRequest_SdkV2
- func (m CreateEndpointRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m CreateEndpointRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *CreateEndpointRequest_SdkV2) GetEndpoint(ctx context.Context) (Endpoint_SdkV2, bool)
- func (m *CreateEndpointRequest_SdkV2) SetEndpoint(ctx context.Context, v Endpoint_SdkV2)
- func (to *CreateEndpointRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateEndpointRequest_SdkV2)
- func (to *CreateEndpointRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateEndpointRequest_SdkV2)
- func (m CreateEndpointRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m CreateEndpointRequest_SdkV2) Type(ctx context.Context) attr.Type
- type CreateProjectRequest
- func (m CreateProjectRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m CreateProjectRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *CreateProjectRequest) GetProject(ctx context.Context) (Project, bool)
- func (m *CreateProjectRequest) SetProject(ctx context.Context, v Project)
- func (to *CreateProjectRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateProjectRequest)
- func (to *CreateProjectRequest) SyncFieldsDuringRead(ctx context.Context, from CreateProjectRequest)
- func (m CreateProjectRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m CreateProjectRequest) Type(ctx context.Context) attr.Type
- type CreateProjectRequest_SdkV2
- func (m CreateProjectRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m CreateProjectRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *CreateProjectRequest_SdkV2) GetProject(ctx context.Context) (Project_SdkV2, bool)
- func (m *CreateProjectRequest_SdkV2) SetProject(ctx context.Context, v Project_SdkV2)
- func (to *CreateProjectRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateProjectRequest_SdkV2)
- func (to *CreateProjectRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateProjectRequest_SdkV2)
- func (m CreateProjectRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m CreateProjectRequest_SdkV2) Type(ctx context.Context) attr.Type
- type CreateRoleRequest
- func (m CreateRoleRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m CreateRoleRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *CreateRoleRequest) GetRole(ctx context.Context) (Role, bool)
- func (m *CreateRoleRequest) SetRole(ctx context.Context, v Role)
- func (to *CreateRoleRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateRoleRequest)
- func (to *CreateRoleRequest) SyncFieldsDuringRead(ctx context.Context, from CreateRoleRequest)
- func (m CreateRoleRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m CreateRoleRequest) Type(ctx context.Context) attr.Type
- type CreateRoleRequest_SdkV2
- func (m CreateRoleRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m CreateRoleRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *CreateRoleRequest_SdkV2) GetRole(ctx context.Context) (Role_SdkV2, bool)
- func (m *CreateRoleRequest_SdkV2) SetRole(ctx context.Context, v Role_SdkV2)
- func (to *CreateRoleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateRoleRequest_SdkV2)
- func (to *CreateRoleRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateRoleRequest_SdkV2)
- func (m CreateRoleRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m CreateRoleRequest_SdkV2) Type(ctx context.Context) attr.Type
- type DatabaseCredential
- func (m DatabaseCredential) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m DatabaseCredential) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *DatabaseCredential) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabaseCredential)
- func (to *DatabaseCredential) SyncFieldsDuringRead(ctx context.Context, from DatabaseCredential)
- func (m DatabaseCredential) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m DatabaseCredential) Type(ctx context.Context) attr.Type
- type DatabaseCredential_SdkV2
- func (m DatabaseCredential_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m DatabaseCredential_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *DatabaseCredential_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabaseCredential_SdkV2)
- func (to *DatabaseCredential_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DatabaseCredential_SdkV2)
- func (m DatabaseCredential_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m DatabaseCredential_SdkV2) Type(ctx context.Context) attr.Type
- type DatabricksServiceExceptionWithDetailsProto
- func (m DatabricksServiceExceptionWithDetailsProto) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m DatabricksServiceExceptionWithDetailsProto) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *DatabricksServiceExceptionWithDetailsProto) GetDetails(ctx context.Context) ([]types.Object, bool)
- func (m *DatabricksServiceExceptionWithDetailsProto) SetDetails(ctx context.Context, v []types.Object)
- func (to *DatabricksServiceExceptionWithDetailsProto) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabricksServiceExceptionWithDetailsProto)
- func (to *DatabricksServiceExceptionWithDetailsProto) SyncFieldsDuringRead(ctx context.Context, from DatabricksServiceExceptionWithDetailsProto)
- func (m DatabricksServiceExceptionWithDetailsProto) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m DatabricksServiceExceptionWithDetailsProto) Type(ctx context.Context) attr.Type
- type DatabricksServiceExceptionWithDetailsProto_SdkV2
- func (m DatabricksServiceExceptionWithDetailsProto_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m DatabricksServiceExceptionWithDetailsProto_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *DatabricksServiceExceptionWithDetailsProto_SdkV2) GetDetails(ctx context.Context) ([]types.Object, bool)
- func (m *DatabricksServiceExceptionWithDetailsProto_SdkV2) SetDetails(ctx context.Context, v []types.Object)
- func (to *DatabricksServiceExceptionWithDetailsProto_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabricksServiceExceptionWithDetailsProto_SdkV2)
- func (to *DatabricksServiceExceptionWithDetailsProto_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DatabricksServiceExceptionWithDetailsProto_SdkV2)
- func (m DatabricksServiceExceptionWithDetailsProto_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m DatabricksServiceExceptionWithDetailsProto_SdkV2) Type(ctx context.Context) attr.Type
- type DeleteBranchRequest
- func (m DeleteBranchRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m DeleteBranchRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *DeleteBranchRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteBranchRequest)
- func (to *DeleteBranchRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteBranchRequest)
- func (m DeleteBranchRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m DeleteBranchRequest) Type(ctx context.Context) attr.Type
- type DeleteBranchRequest_SdkV2
- func (m DeleteBranchRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m DeleteBranchRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *DeleteBranchRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteBranchRequest_SdkV2)
- func (to *DeleteBranchRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteBranchRequest_SdkV2)
- func (m DeleteBranchRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m DeleteBranchRequest_SdkV2) Type(ctx context.Context) attr.Type
- type DeleteEndpointRequest
- func (m DeleteEndpointRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m DeleteEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *DeleteEndpointRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteEndpointRequest)
- func (to *DeleteEndpointRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteEndpointRequest)
- func (m DeleteEndpointRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m DeleteEndpointRequest) Type(ctx context.Context) attr.Type
- type DeleteEndpointRequest_SdkV2
- func (m DeleteEndpointRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m DeleteEndpointRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *DeleteEndpointRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteEndpointRequest_SdkV2)
- func (to *DeleteEndpointRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteEndpointRequest_SdkV2)
- func (m DeleteEndpointRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m DeleteEndpointRequest_SdkV2) Type(ctx context.Context) attr.Type
- type DeleteProjectRequest
- func (m DeleteProjectRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m DeleteProjectRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *DeleteProjectRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteProjectRequest)
- func (to *DeleteProjectRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteProjectRequest)
- func (m DeleteProjectRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m DeleteProjectRequest) Type(ctx context.Context) attr.Type
- type DeleteProjectRequest_SdkV2
- func (m DeleteProjectRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m DeleteProjectRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *DeleteProjectRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteProjectRequest_SdkV2)
- func (to *DeleteProjectRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteProjectRequest_SdkV2)
- func (m DeleteProjectRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m DeleteProjectRequest_SdkV2) Type(ctx context.Context) attr.Type
- type DeleteRoleRequest
- func (m DeleteRoleRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m DeleteRoleRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *DeleteRoleRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteRoleRequest)
- func (to *DeleteRoleRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteRoleRequest)
- func (m DeleteRoleRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m DeleteRoleRequest) Type(ctx context.Context) attr.Type
- type DeleteRoleRequest_SdkV2
- func (m DeleteRoleRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m DeleteRoleRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *DeleteRoleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteRoleRequest_SdkV2)
- func (to *DeleteRoleRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DeleteRoleRequest_SdkV2)
- func (m DeleteRoleRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m DeleteRoleRequest_SdkV2) Type(ctx context.Context) attr.Type
- type Endpoint
- func (m Endpoint) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m Endpoint) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *Endpoint) GetSpec(ctx context.Context) (EndpointSpec, bool)
- func (m *Endpoint) GetStatus(ctx context.Context) (EndpointStatus, bool)
- func (m *Endpoint) SetSpec(ctx context.Context, v EndpointSpec)
- func (m *Endpoint) SetStatus(ctx context.Context, v EndpointStatus)
- func (to *Endpoint) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Endpoint)
- func (to *Endpoint) SyncFieldsDuringRead(ctx context.Context, from Endpoint)
- func (m Endpoint) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m Endpoint) Type(ctx context.Context) attr.Type
- type EndpointHosts
- func (m EndpointHosts) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m EndpointHosts) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *EndpointHosts) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointHosts)
- func (to *EndpointHosts) SyncFieldsDuringRead(ctx context.Context, from EndpointHosts)
- func (m EndpointHosts) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m EndpointHosts) Type(ctx context.Context) attr.Type
- type EndpointHosts_SdkV2
- func (m EndpointHosts_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m EndpointHosts_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *EndpointHosts_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointHosts_SdkV2)
- func (to *EndpointHosts_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointHosts_SdkV2)
- func (m EndpointHosts_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m EndpointHosts_SdkV2) Type(ctx context.Context) attr.Type
- type EndpointOperationMetadata
- func (m EndpointOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m EndpointOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *EndpointOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointOperationMetadata)
- func (to *EndpointOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from EndpointOperationMetadata)
- func (m EndpointOperationMetadata) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m EndpointOperationMetadata) Type(ctx context.Context) attr.Type
- type EndpointOperationMetadata_SdkV2
- func (m EndpointOperationMetadata_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m EndpointOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *EndpointOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointOperationMetadata_SdkV2)
- func (to *EndpointOperationMetadata_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointOperationMetadata_SdkV2)
- func (m EndpointOperationMetadata_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m EndpointOperationMetadata_SdkV2) Type(ctx context.Context) attr.Type
- type EndpointSettings
- func (m EndpointSettings) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m EndpointSettings) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *EndpointSettings) GetPgSettings(ctx context.Context) (map[string]types.String, bool)
- func (m *EndpointSettings) SetPgSettings(ctx context.Context, v map[string]types.String)
- func (to *EndpointSettings) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointSettings)
- func (to *EndpointSettings) SyncFieldsDuringRead(ctx context.Context, from EndpointSettings)
- func (m EndpointSettings) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m EndpointSettings) Type(ctx context.Context) attr.Type
- type EndpointSettings_SdkV2
- func (m EndpointSettings_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m EndpointSettings_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *EndpointSettings_SdkV2) GetPgSettings(ctx context.Context) (map[string]types.String, bool)
- func (m *EndpointSettings_SdkV2) SetPgSettings(ctx context.Context, v map[string]types.String)
- func (to *EndpointSettings_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointSettings_SdkV2)
- func (to *EndpointSettings_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointSettings_SdkV2)
- func (m EndpointSettings_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m EndpointSettings_SdkV2) Type(ctx context.Context) attr.Type
- type EndpointSpec
- func (m EndpointSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m EndpointSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *EndpointSpec) GetSettings(ctx context.Context) (EndpointSettings, bool)
- func (m *EndpointSpec) SetSettings(ctx context.Context, v EndpointSettings)
- func (to *EndpointSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointSpec)
- func (to *EndpointSpec) SyncFieldsDuringRead(ctx context.Context, from EndpointSpec)
- func (m EndpointSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m EndpointSpec) Type(ctx context.Context) attr.Type
- type EndpointSpec_SdkV2
- func (m EndpointSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m EndpointSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *EndpointSpec_SdkV2) GetSettings(ctx context.Context) (EndpointSettings_SdkV2, bool)
- func (m *EndpointSpec_SdkV2) SetSettings(ctx context.Context, v EndpointSettings_SdkV2)
- func (to *EndpointSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointSpec_SdkV2)
- func (to *EndpointSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointSpec_SdkV2)
- func (m EndpointSpec_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m EndpointSpec_SdkV2) Type(ctx context.Context) attr.Type
- type EndpointStatus
- func (m EndpointStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m EndpointStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *EndpointStatus) GetHosts(ctx context.Context) (EndpointHosts, bool)
- func (m *EndpointStatus) GetSettings(ctx context.Context) (EndpointSettings, bool)
- func (m *EndpointStatus) SetHosts(ctx context.Context, v EndpointHosts)
- func (m *EndpointStatus) SetSettings(ctx context.Context, v EndpointSettings)
- func (to *EndpointStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointStatus)
- func (to *EndpointStatus) SyncFieldsDuringRead(ctx context.Context, from EndpointStatus)
- func (m EndpointStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m EndpointStatus) Type(ctx context.Context) attr.Type
- type EndpointStatus_SdkV2
- func (m EndpointStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m EndpointStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *EndpointStatus_SdkV2) GetHosts(ctx context.Context) (EndpointHosts_SdkV2, bool)
- func (m *EndpointStatus_SdkV2) GetSettings(ctx context.Context) (EndpointSettings_SdkV2, bool)
- func (m *EndpointStatus_SdkV2) SetHosts(ctx context.Context, v EndpointHosts_SdkV2)
- func (m *EndpointStatus_SdkV2) SetSettings(ctx context.Context, v EndpointSettings_SdkV2)
- func (to *EndpointStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointStatus_SdkV2)
- func (to *EndpointStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointStatus_SdkV2)
- func (m EndpointStatus_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m EndpointStatus_SdkV2) Type(ctx context.Context) attr.Type
- type Endpoint_SdkV2
- func (m Endpoint_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m Endpoint_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *Endpoint_SdkV2) GetSpec(ctx context.Context) (EndpointSpec_SdkV2, bool)
- func (m *Endpoint_SdkV2) GetStatus(ctx context.Context) (EndpointStatus_SdkV2, bool)
- func (m *Endpoint_SdkV2) SetSpec(ctx context.Context, v EndpointSpec_SdkV2)
- func (m *Endpoint_SdkV2) SetStatus(ctx context.Context, v EndpointStatus_SdkV2)
- func (to *Endpoint_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Endpoint_SdkV2)
- func (to *Endpoint_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Endpoint_SdkV2)
- func (m Endpoint_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m Endpoint_SdkV2) Type(ctx context.Context) attr.Type
- type GenerateDatabaseCredentialRequest
- func (m GenerateDatabaseCredentialRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m *GenerateDatabaseCredentialRequest) GetClaims(ctx context.Context) ([]RequestedClaims, bool)
- func (m GenerateDatabaseCredentialRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *GenerateDatabaseCredentialRequest) SetClaims(ctx context.Context, v []RequestedClaims)
- func (to *GenerateDatabaseCredentialRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GenerateDatabaseCredentialRequest)
- func (to *GenerateDatabaseCredentialRequest) SyncFieldsDuringRead(ctx context.Context, from GenerateDatabaseCredentialRequest)
- func (m GenerateDatabaseCredentialRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m GenerateDatabaseCredentialRequest) Type(ctx context.Context) attr.Type
- type GenerateDatabaseCredentialRequest_SdkV2
- func (m GenerateDatabaseCredentialRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m *GenerateDatabaseCredentialRequest_SdkV2) GetClaims(ctx context.Context) ([]RequestedClaims_SdkV2, bool)
- func (m GenerateDatabaseCredentialRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *GenerateDatabaseCredentialRequest_SdkV2) SetClaims(ctx context.Context, v []RequestedClaims_SdkV2)
- func (to *GenerateDatabaseCredentialRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GenerateDatabaseCredentialRequest_SdkV2)
- func (to *GenerateDatabaseCredentialRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GenerateDatabaseCredentialRequest_SdkV2)
- func (m GenerateDatabaseCredentialRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m GenerateDatabaseCredentialRequest_SdkV2) Type(ctx context.Context) attr.Type
- type GetBranchRequest
- func (m GetBranchRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m GetBranchRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *GetBranchRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetBranchRequest)
- func (to *GetBranchRequest) SyncFieldsDuringRead(ctx context.Context, from GetBranchRequest)
- func (m GetBranchRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m GetBranchRequest) Type(ctx context.Context) attr.Type
- type GetBranchRequest_SdkV2
- func (m GetBranchRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m GetBranchRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *GetBranchRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetBranchRequest_SdkV2)
- func (to *GetBranchRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetBranchRequest_SdkV2)
- func (m GetBranchRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m GetBranchRequest_SdkV2) Type(ctx context.Context) attr.Type
- type GetEndpointRequest
- func (m GetEndpointRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m GetEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *GetEndpointRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetEndpointRequest)
- func (to *GetEndpointRequest) SyncFieldsDuringRead(ctx context.Context, from GetEndpointRequest)
- func (m GetEndpointRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m GetEndpointRequest) Type(ctx context.Context) attr.Type
- type GetEndpointRequest_SdkV2
- func (m GetEndpointRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m GetEndpointRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *GetEndpointRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetEndpointRequest_SdkV2)
- func (to *GetEndpointRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetEndpointRequest_SdkV2)
- func (m GetEndpointRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m GetEndpointRequest_SdkV2) Type(ctx context.Context) attr.Type
- type GetOperationRequest
- func (m GetOperationRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m GetOperationRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *GetOperationRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetOperationRequest)
- func (to *GetOperationRequest) SyncFieldsDuringRead(ctx context.Context, from GetOperationRequest)
- func (m GetOperationRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m GetOperationRequest) Type(ctx context.Context) attr.Type
- type GetOperationRequest_SdkV2
- func (m GetOperationRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m GetOperationRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *GetOperationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetOperationRequest_SdkV2)
- func (to *GetOperationRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetOperationRequest_SdkV2)
- func (m GetOperationRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m GetOperationRequest_SdkV2) Type(ctx context.Context) attr.Type
- type GetProjectRequest
- func (m GetProjectRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m GetProjectRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *GetProjectRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetProjectRequest)
- func (to *GetProjectRequest) SyncFieldsDuringRead(ctx context.Context, from GetProjectRequest)
- func (m GetProjectRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m GetProjectRequest) Type(ctx context.Context) attr.Type
- type GetProjectRequest_SdkV2
- func (m GetProjectRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m GetProjectRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *GetProjectRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetProjectRequest_SdkV2)
- func (to *GetProjectRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetProjectRequest_SdkV2)
- func (m GetProjectRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m GetProjectRequest_SdkV2) Type(ctx context.Context) attr.Type
- type GetRoleRequest
- func (m GetRoleRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m GetRoleRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *GetRoleRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetRoleRequest)
- func (to *GetRoleRequest) SyncFieldsDuringRead(ctx context.Context, from GetRoleRequest)
- func (m GetRoleRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m GetRoleRequest) Type(ctx context.Context) attr.Type
- type GetRoleRequest_SdkV2
- func (m GetRoleRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m GetRoleRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *GetRoleRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetRoleRequest_SdkV2)
- func (to *GetRoleRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetRoleRequest_SdkV2)
- func (m GetRoleRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m GetRoleRequest_SdkV2) Type(ctx context.Context) attr.Type
- type ListBranchesRequest
- func (m ListBranchesRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ListBranchesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *ListBranchesRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListBranchesRequest)
- func (to *ListBranchesRequest) SyncFieldsDuringRead(ctx context.Context, from ListBranchesRequest)
- func (m ListBranchesRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListBranchesRequest) Type(ctx context.Context) attr.Type
- type ListBranchesRequest_SdkV2
- func (m ListBranchesRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ListBranchesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *ListBranchesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListBranchesRequest_SdkV2)
- func (to *ListBranchesRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListBranchesRequest_SdkV2)
- func (m ListBranchesRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListBranchesRequest_SdkV2) Type(ctx context.Context) attr.Type
- type ListBranchesResponse
- func (m ListBranchesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m *ListBranchesResponse) GetBranches(ctx context.Context) ([]Branch, bool)
- func (m ListBranchesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *ListBranchesResponse) SetBranches(ctx context.Context, v []Branch)
- func (to *ListBranchesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListBranchesResponse)
- func (to *ListBranchesResponse) SyncFieldsDuringRead(ctx context.Context, from ListBranchesResponse)
- func (m ListBranchesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListBranchesResponse) Type(ctx context.Context) attr.Type
- type ListBranchesResponse_SdkV2
- func (m ListBranchesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m *ListBranchesResponse_SdkV2) GetBranches(ctx context.Context) ([]Branch_SdkV2, bool)
- func (m ListBranchesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *ListBranchesResponse_SdkV2) SetBranches(ctx context.Context, v []Branch_SdkV2)
- func (to *ListBranchesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListBranchesResponse_SdkV2)
- func (to *ListBranchesResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListBranchesResponse_SdkV2)
- func (m ListBranchesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListBranchesResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ListEndpointsRequest
- func (m ListEndpointsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ListEndpointsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *ListEndpointsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListEndpointsRequest)
- func (to *ListEndpointsRequest) SyncFieldsDuringRead(ctx context.Context, from ListEndpointsRequest)
- func (m ListEndpointsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListEndpointsRequest) Type(ctx context.Context) attr.Type
- type ListEndpointsRequest_SdkV2
- func (m ListEndpointsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ListEndpointsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *ListEndpointsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListEndpointsRequest_SdkV2)
- func (to *ListEndpointsRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListEndpointsRequest_SdkV2)
- func (m ListEndpointsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListEndpointsRequest_SdkV2) Type(ctx context.Context) attr.Type
- type ListEndpointsResponse
- func (m ListEndpointsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ListEndpointsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *ListEndpointsResponse) GetEndpoints(ctx context.Context) ([]Endpoint, bool)
- func (m *ListEndpointsResponse) SetEndpoints(ctx context.Context, v []Endpoint)
- func (to *ListEndpointsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListEndpointsResponse)
- func (to *ListEndpointsResponse) SyncFieldsDuringRead(ctx context.Context, from ListEndpointsResponse)
- func (m ListEndpointsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListEndpointsResponse) Type(ctx context.Context) attr.Type
- type ListEndpointsResponse_SdkV2
- func (m ListEndpointsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ListEndpointsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *ListEndpointsResponse_SdkV2) GetEndpoints(ctx context.Context) ([]Endpoint_SdkV2, bool)
- func (m *ListEndpointsResponse_SdkV2) SetEndpoints(ctx context.Context, v []Endpoint_SdkV2)
- func (to *ListEndpointsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListEndpointsResponse_SdkV2)
- func (to *ListEndpointsResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListEndpointsResponse_SdkV2)
- func (m ListEndpointsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListEndpointsResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ListProjectsRequest
- func (m ListProjectsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ListProjectsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *ListProjectsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListProjectsRequest)
- func (to *ListProjectsRequest) SyncFieldsDuringRead(ctx context.Context, from ListProjectsRequest)
- func (m ListProjectsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListProjectsRequest) Type(ctx context.Context) attr.Type
- type ListProjectsRequest_SdkV2
- func (m ListProjectsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ListProjectsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *ListProjectsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListProjectsRequest_SdkV2)
- func (to *ListProjectsRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListProjectsRequest_SdkV2)
- func (m ListProjectsRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListProjectsRequest_SdkV2) Type(ctx context.Context) attr.Type
- type ListProjectsResponse
- func (m ListProjectsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ListProjectsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *ListProjectsResponse) GetProjects(ctx context.Context) ([]Project, bool)
- func (m *ListProjectsResponse) SetProjects(ctx context.Context, v []Project)
- func (to *ListProjectsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListProjectsResponse)
- func (to *ListProjectsResponse) SyncFieldsDuringRead(ctx context.Context, from ListProjectsResponse)
- func (m ListProjectsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListProjectsResponse) Type(ctx context.Context) attr.Type
- type ListProjectsResponse_SdkV2
- func (m ListProjectsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ListProjectsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *ListProjectsResponse_SdkV2) GetProjects(ctx context.Context) ([]Project_SdkV2, bool)
- func (m *ListProjectsResponse_SdkV2) SetProjects(ctx context.Context, v []Project_SdkV2)
- func (to *ListProjectsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListProjectsResponse_SdkV2)
- func (to *ListProjectsResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListProjectsResponse_SdkV2)
- func (m ListProjectsResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListProjectsResponse_SdkV2) Type(ctx context.Context) attr.Type
- type ListRolesRequest
- func (m ListRolesRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ListRolesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *ListRolesRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListRolesRequest)
- func (to *ListRolesRequest) SyncFieldsDuringRead(ctx context.Context, from ListRolesRequest)
- func (m ListRolesRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListRolesRequest) Type(ctx context.Context) attr.Type
- type ListRolesRequest_SdkV2
- func (m ListRolesRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ListRolesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *ListRolesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListRolesRequest_SdkV2)
- func (to *ListRolesRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListRolesRequest_SdkV2)
- func (m ListRolesRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListRolesRequest_SdkV2) Type(ctx context.Context) attr.Type
- type ListRolesResponse
- func (m ListRolesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ListRolesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *ListRolesResponse) GetRoles(ctx context.Context) ([]Role, bool)
- func (m *ListRolesResponse) SetRoles(ctx context.Context, v []Role)
- func (to *ListRolesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListRolesResponse)
- func (to *ListRolesResponse) SyncFieldsDuringRead(ctx context.Context, from ListRolesResponse)
- func (m ListRolesResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListRolesResponse) Type(ctx context.Context) attr.Type
- type ListRolesResponse_SdkV2
- func (m ListRolesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ListRolesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *ListRolesResponse_SdkV2) GetRoles(ctx context.Context) ([]Role_SdkV2, bool)
- func (m *ListRolesResponse_SdkV2) SetRoles(ctx context.Context, v []Role_SdkV2)
- func (to *ListRolesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListRolesResponse_SdkV2)
- func (to *ListRolesResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListRolesResponse_SdkV2)
- func (m ListRolesResponse_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ListRolesResponse_SdkV2) Type(ctx context.Context) attr.Type
- type Operation
- func (m Operation) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m Operation) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *Operation) GetError(ctx context.Context) (DatabricksServiceExceptionWithDetailsProto, bool)
- func (m *Operation) SetError(ctx context.Context, v DatabricksServiceExceptionWithDetailsProto)
- func (to *Operation) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Operation)
- func (to *Operation) SyncFieldsDuringRead(ctx context.Context, from Operation)
- func (m Operation) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m Operation) Type(ctx context.Context) attr.Type
- type Operation_SdkV2
- func (m Operation_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m Operation_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *Operation_SdkV2) GetError(ctx context.Context) (DatabricksServiceExceptionWithDetailsProto_SdkV2, bool)
- func (m *Operation_SdkV2) SetError(ctx context.Context, v DatabricksServiceExceptionWithDetailsProto_SdkV2)
- func (to *Operation_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Operation_SdkV2)
- func (to *Operation_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Operation_SdkV2)
- func (m Operation_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m Operation_SdkV2) Type(ctx context.Context) attr.Type
- type Project
- func (m Project) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m Project) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *Project) GetSpec(ctx context.Context) (ProjectSpec, bool)
- func (m *Project) GetStatus(ctx context.Context) (ProjectStatus, bool)
- func (m *Project) SetSpec(ctx context.Context, v ProjectSpec)
- func (m *Project) SetStatus(ctx context.Context, v ProjectStatus)
- func (to *Project) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Project)
- func (to *Project) SyncFieldsDuringRead(ctx context.Context, from Project)
- func (m Project) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m Project) Type(ctx context.Context) attr.Type
- type ProjectDefaultEndpointSettings
- func (m ProjectDefaultEndpointSettings) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ProjectDefaultEndpointSettings) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *ProjectDefaultEndpointSettings) GetPgSettings(ctx context.Context) (map[string]types.String, bool)
- func (m *ProjectDefaultEndpointSettings) SetPgSettings(ctx context.Context, v map[string]types.String)
- func (to *ProjectDefaultEndpointSettings) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectDefaultEndpointSettings)
- func (to *ProjectDefaultEndpointSettings) SyncFieldsDuringRead(ctx context.Context, from ProjectDefaultEndpointSettings)
- func (m ProjectDefaultEndpointSettings) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ProjectDefaultEndpointSettings) Type(ctx context.Context) attr.Type
- type ProjectDefaultEndpointSettings_SdkV2
- func (m ProjectDefaultEndpointSettings_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ProjectDefaultEndpointSettings_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *ProjectDefaultEndpointSettings_SdkV2) GetPgSettings(ctx context.Context) (map[string]types.String, bool)
- func (m *ProjectDefaultEndpointSettings_SdkV2) SetPgSettings(ctx context.Context, v map[string]types.String)
- func (to *ProjectDefaultEndpointSettings_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectDefaultEndpointSettings_SdkV2)
- func (to *ProjectDefaultEndpointSettings_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ProjectDefaultEndpointSettings_SdkV2)
- func (m ProjectDefaultEndpointSettings_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ProjectDefaultEndpointSettings_SdkV2) Type(ctx context.Context) attr.Type
- type ProjectOperationMetadata
- func (m ProjectOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ProjectOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *ProjectOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectOperationMetadata)
- func (to *ProjectOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from ProjectOperationMetadata)
- func (m ProjectOperationMetadata) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ProjectOperationMetadata) Type(ctx context.Context) attr.Type
- type ProjectOperationMetadata_SdkV2
- func (m ProjectOperationMetadata_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ProjectOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *ProjectOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectOperationMetadata_SdkV2)
- func (to *ProjectOperationMetadata_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ProjectOperationMetadata_SdkV2)
- func (m ProjectOperationMetadata_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ProjectOperationMetadata_SdkV2) Type(ctx context.Context) attr.Type
- type ProjectSpec
- func (m ProjectSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ProjectSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *ProjectSpec) GetDefaultEndpointSettings(ctx context.Context) (ProjectDefaultEndpointSettings, bool)
- func (m *ProjectSpec) SetDefaultEndpointSettings(ctx context.Context, v ProjectDefaultEndpointSettings)
- func (to *ProjectSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectSpec)
- func (to *ProjectSpec) SyncFieldsDuringRead(ctx context.Context, from ProjectSpec)
- func (m ProjectSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ProjectSpec) Type(ctx context.Context) attr.Type
- type ProjectSpec_SdkV2
- func (m ProjectSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ProjectSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *ProjectSpec_SdkV2) GetDefaultEndpointSettings(ctx context.Context) (ProjectDefaultEndpointSettings_SdkV2, bool)
- func (m *ProjectSpec_SdkV2) SetDefaultEndpointSettings(ctx context.Context, v ProjectDefaultEndpointSettings_SdkV2)
- func (to *ProjectSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectSpec_SdkV2)
- func (to *ProjectSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ProjectSpec_SdkV2)
- func (m ProjectSpec_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ProjectSpec_SdkV2) Type(ctx context.Context) attr.Type
- type ProjectStatus
- func (m ProjectStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ProjectStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *ProjectStatus) GetDefaultEndpointSettings(ctx context.Context) (ProjectDefaultEndpointSettings, bool)
- func (m *ProjectStatus) SetDefaultEndpointSettings(ctx context.Context, v ProjectDefaultEndpointSettings)
- func (to *ProjectStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectStatus)
- func (to *ProjectStatus) SyncFieldsDuringRead(ctx context.Context, from ProjectStatus)
- func (m ProjectStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ProjectStatus) Type(ctx context.Context) attr.Type
- type ProjectStatus_SdkV2
- func (m ProjectStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m ProjectStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *ProjectStatus_SdkV2) GetDefaultEndpointSettings(ctx context.Context) (ProjectDefaultEndpointSettings_SdkV2, bool)
- func (m *ProjectStatus_SdkV2) SetDefaultEndpointSettings(ctx context.Context, v ProjectDefaultEndpointSettings_SdkV2)
- func (to *ProjectStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ProjectStatus_SdkV2)
- func (to *ProjectStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ProjectStatus_SdkV2)
- func (m ProjectStatus_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m ProjectStatus_SdkV2) Type(ctx context.Context) attr.Type
- type Project_SdkV2
- func (m Project_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m Project_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *Project_SdkV2) GetSpec(ctx context.Context) (ProjectSpec_SdkV2, bool)
- func (m *Project_SdkV2) GetStatus(ctx context.Context) (ProjectStatus_SdkV2, bool)
- func (m *Project_SdkV2) SetSpec(ctx context.Context, v ProjectSpec_SdkV2)
- func (m *Project_SdkV2) SetStatus(ctx context.Context, v ProjectStatus_SdkV2)
- func (to *Project_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Project_SdkV2)
- func (to *Project_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Project_SdkV2)
- func (m Project_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m Project_SdkV2) Type(ctx context.Context) attr.Type
- type RequestedClaims
- func (m RequestedClaims) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m RequestedClaims) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *RequestedClaims) GetResources(ctx context.Context) ([]RequestedResource, bool)
- func (m *RequestedClaims) SetResources(ctx context.Context, v []RequestedResource)
- func (to *RequestedClaims) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RequestedClaims)
- func (to *RequestedClaims) SyncFieldsDuringRead(ctx context.Context, from RequestedClaims)
- func (m RequestedClaims) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m RequestedClaims) Type(ctx context.Context) attr.Type
- type RequestedClaims_SdkV2
- func (m RequestedClaims_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m RequestedClaims_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *RequestedClaims_SdkV2) GetResources(ctx context.Context) ([]RequestedResource_SdkV2, bool)
- func (m *RequestedClaims_SdkV2) SetResources(ctx context.Context, v []RequestedResource_SdkV2)
- func (to *RequestedClaims_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RequestedClaims_SdkV2)
- func (to *RequestedClaims_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RequestedClaims_SdkV2)
- func (m RequestedClaims_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m RequestedClaims_SdkV2) Type(ctx context.Context) attr.Type
- type RequestedResource
- func (m RequestedResource) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m RequestedResource) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *RequestedResource) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RequestedResource)
- func (to *RequestedResource) SyncFieldsDuringRead(ctx context.Context, from RequestedResource)
- func (m RequestedResource) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m RequestedResource) Type(ctx context.Context) attr.Type
- type RequestedResource_SdkV2
- func (m RequestedResource_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m RequestedResource_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *RequestedResource_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RequestedResource_SdkV2)
- func (to *RequestedResource_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RequestedResource_SdkV2)
- func (m RequestedResource_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m RequestedResource_SdkV2) Type(ctx context.Context) attr.Type
- type Role
- func (m Role) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m Role) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *Role) GetSpec(ctx context.Context) (RoleRoleSpec, bool)
- func (m *Role) GetStatus(ctx context.Context) (RoleRoleStatus, bool)
- func (m *Role) SetSpec(ctx context.Context, v RoleRoleSpec)
- func (m *Role) SetStatus(ctx context.Context, v RoleRoleStatus)
- func (to *Role) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Role)
- func (to *Role) SyncFieldsDuringRead(ctx context.Context, from Role)
- func (m Role) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m Role) Type(ctx context.Context) attr.Type
- type RoleOperationMetadata
- func (m RoleOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m RoleOperationMetadata) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *RoleOperationMetadata) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RoleOperationMetadata)
- func (to *RoleOperationMetadata) SyncFieldsDuringRead(ctx context.Context, from RoleOperationMetadata)
- func (m RoleOperationMetadata) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m RoleOperationMetadata) Type(ctx context.Context) attr.Type
- type RoleOperationMetadata_SdkV2
- func (m RoleOperationMetadata_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m RoleOperationMetadata_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *RoleOperationMetadata_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RoleOperationMetadata_SdkV2)
- func (to *RoleOperationMetadata_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RoleOperationMetadata_SdkV2)
- func (m RoleOperationMetadata_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m RoleOperationMetadata_SdkV2) Type(ctx context.Context) attr.Type
- type RoleRoleSpec
- func (m RoleRoleSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m RoleRoleSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *RoleRoleSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RoleRoleSpec)
- func (to *RoleRoleSpec) SyncFieldsDuringRead(ctx context.Context, from RoleRoleSpec)
- func (m RoleRoleSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m RoleRoleSpec) Type(ctx context.Context) attr.Type
- type RoleRoleSpec_SdkV2
- func (m RoleRoleSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m RoleRoleSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *RoleRoleSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RoleRoleSpec_SdkV2)
- func (to *RoleRoleSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RoleRoleSpec_SdkV2)
- func (m RoleRoleSpec_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m RoleRoleSpec_SdkV2) Type(ctx context.Context) attr.Type
- type RoleRoleStatus
- func (m RoleRoleStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m RoleRoleStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *RoleRoleStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RoleRoleStatus)
- func (to *RoleRoleStatus) SyncFieldsDuringRead(ctx context.Context, from RoleRoleStatus)
- func (m RoleRoleStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m RoleRoleStatus) Type(ctx context.Context) attr.Type
- type RoleRoleStatus_SdkV2
- func (m RoleRoleStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m RoleRoleStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (to *RoleRoleStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RoleRoleStatus_SdkV2)
- func (to *RoleRoleStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RoleRoleStatus_SdkV2)
- func (m RoleRoleStatus_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m RoleRoleStatus_SdkV2) Type(ctx context.Context) attr.Type
- type Role_SdkV2
- func (m Role_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m Role_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *Role_SdkV2) GetSpec(ctx context.Context) (RoleRoleSpec_SdkV2, bool)
- func (m *Role_SdkV2) GetStatus(ctx context.Context) (RoleRoleStatus_SdkV2, bool)
- func (m *Role_SdkV2) SetSpec(ctx context.Context, v RoleRoleSpec_SdkV2)
- func (m *Role_SdkV2) SetStatus(ctx context.Context, v RoleRoleStatus_SdkV2)
- func (to *Role_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Role_SdkV2)
- func (to *Role_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Role_SdkV2)
- func (m Role_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m Role_SdkV2) Type(ctx context.Context) attr.Type
- type UpdateBranchRequest
- func (m UpdateBranchRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m *UpdateBranchRequest) GetBranch(ctx context.Context) (Branch, bool)
- func (m UpdateBranchRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *UpdateBranchRequest) SetBranch(ctx context.Context, v Branch)
- func (to *UpdateBranchRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateBranchRequest)
- func (to *UpdateBranchRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateBranchRequest)
- func (m UpdateBranchRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m UpdateBranchRequest) Type(ctx context.Context) attr.Type
- type UpdateBranchRequest_SdkV2
- func (m UpdateBranchRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m *UpdateBranchRequest_SdkV2) GetBranch(ctx context.Context) (Branch_SdkV2, bool)
- func (m UpdateBranchRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *UpdateBranchRequest_SdkV2) SetBranch(ctx context.Context, v Branch_SdkV2)
- func (to *UpdateBranchRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateBranchRequest_SdkV2)
- func (to *UpdateBranchRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateBranchRequest_SdkV2)
- func (m UpdateBranchRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m UpdateBranchRequest_SdkV2) Type(ctx context.Context) attr.Type
- type UpdateEndpointRequest
- func (m UpdateEndpointRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m UpdateEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *UpdateEndpointRequest) GetEndpoint(ctx context.Context) (Endpoint, bool)
- func (m *UpdateEndpointRequest) SetEndpoint(ctx context.Context, v Endpoint)
- func (to *UpdateEndpointRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateEndpointRequest)
- func (to *UpdateEndpointRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateEndpointRequest)
- func (m UpdateEndpointRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m UpdateEndpointRequest) Type(ctx context.Context) attr.Type
- type UpdateEndpointRequest_SdkV2
- func (m UpdateEndpointRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m UpdateEndpointRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *UpdateEndpointRequest_SdkV2) GetEndpoint(ctx context.Context) (Endpoint_SdkV2, bool)
- func (m *UpdateEndpointRequest_SdkV2) SetEndpoint(ctx context.Context, v Endpoint_SdkV2)
- func (to *UpdateEndpointRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateEndpointRequest_SdkV2)
- func (to *UpdateEndpointRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateEndpointRequest_SdkV2)
- func (m UpdateEndpointRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m UpdateEndpointRequest_SdkV2) Type(ctx context.Context) attr.Type
- type UpdateProjectRequest
- func (m UpdateProjectRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m UpdateProjectRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *UpdateProjectRequest) GetProject(ctx context.Context) (Project, bool)
- func (m *UpdateProjectRequest) SetProject(ctx context.Context, v Project)
- func (to *UpdateProjectRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateProjectRequest)
- func (to *UpdateProjectRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateProjectRequest)
- func (m UpdateProjectRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m UpdateProjectRequest) Type(ctx context.Context) attr.Type
- type UpdateProjectRequest_SdkV2
- func (m UpdateProjectRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
- func (m UpdateProjectRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (m *UpdateProjectRequest_SdkV2) GetProject(ctx context.Context) (Project_SdkV2, bool)
- func (m *UpdateProjectRequest_SdkV2) SetProject(ctx context.Context, v Project_SdkV2)
- func (to *UpdateProjectRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateProjectRequest_SdkV2)
- func (to *UpdateProjectRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateProjectRequest_SdkV2)
- func (m UpdateProjectRequest_SdkV2) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (m UpdateProjectRequest_SdkV2) Type(ctx context.Context) attr.Type
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 ¶
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 (*Branch) SyncFieldsDuringRead ¶
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().
type BranchOperationMetadata ¶
type BranchOperationMetadata struct {
}
func (BranchOperationMetadata) ApplySchemaCustomizations ¶
func (m BranchOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (BranchOperationMetadata) GetComplexFieldTypes ¶
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 ¶
func (m BranchOperationMetadata) 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, BranchOperationMetadata only implements ToObjectValue() and Type().
type BranchOperationMetadata_SdkV2 ¶
type BranchOperationMetadata_SdkV2 struct {
}
func (BranchOperationMetadata_SdkV2) ApplySchemaCustomizations ¶
func (m BranchOperationMetadata_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
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 ¶
func (m BranchOperationMetadata_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, BranchOperationMetadata_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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().
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 ¶
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().
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 ¶
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 ¶
func (m BranchStatus_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, BranchStatus_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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 ¶
func (m CreateBranchRequest) 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, CreateBranchRequest only implements ToObjectValue() and Type().
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 ¶
func (m *CreateBranchRequest_SdkV2) GetBranch(ctx context.Context) (Branch_SdkV2, bool)
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 ¶
func (m *CreateBranchRequest_SdkV2) SetBranch(ctx context.Context, v Branch_SdkV2)
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 ¶
func (m CreateBranchRequest_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, CreateBranchRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m CreateEndpointRequest) 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, CreateEndpointRequest only implements ToObjectValue() and Type().
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 ¶
func (m *CreateEndpointRequest_SdkV2) GetEndpoint(ctx context.Context) (Endpoint_SdkV2, bool)
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 ¶
func (m *CreateEndpointRequest_SdkV2) SetEndpoint(ctx context.Context, v Endpoint_SdkV2)
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 ¶
func (m CreateEndpointRequest_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, CreateEndpointRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m CreateProjectRequest) 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, CreateProjectRequest only implements ToObjectValue() and Type().
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 ¶
func (m *CreateProjectRequest_SdkV2) GetProject(ctx context.Context) (Project_SdkV2, bool)
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 ¶
func (m *CreateProjectRequest_SdkV2) SetProject(ctx context.Context, v Project_SdkV2)
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 ¶
func (m CreateProjectRequest_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, CreateProjectRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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 ¶
func (m *CreateRoleRequest_SdkV2) GetRole(ctx context.Context) (Role_SdkV2, bool)
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 ¶
func (m *CreateRoleRequest_SdkV2) SetRole(ctx context.Context, v Role_SdkV2)
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 ¶
func (m CreateRoleRequest_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, CreateRoleRequest_SdkV2 only implements ToObjectValue() and Type().
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
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
func (m DatabaseCredential) 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, DatabaseCredential only implements ToObjectValue() and Type().
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
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
func (m DatabaseCredential_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, DatabaseCredential_SdkV2 only implements ToObjectValue() and Type().
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 (m DatabricksServiceExceptionWithDetailsProto) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DatabricksServiceExceptionWithDetailsProto) GetComplexFieldTypes ¶
func (m DatabricksServiceExceptionWithDetailsProto) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
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 ¶
func (m *DatabricksServiceExceptionWithDetailsProto) GetDetails(ctx context.Context) ([]types.Object, bool)
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 ¶
func (m *DatabricksServiceExceptionWithDetailsProto) SetDetails(ctx context.Context, v []types.Object)
SetDetails sets the value of the Details field in DatabricksServiceExceptionWithDetailsProto.
func (*DatabricksServiceExceptionWithDetailsProto) SyncFieldsDuringCreateOrUpdate ¶
func (to *DatabricksServiceExceptionWithDetailsProto) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabricksServiceExceptionWithDetailsProto)
func (*DatabricksServiceExceptionWithDetailsProto) SyncFieldsDuringRead ¶
func (to *DatabricksServiceExceptionWithDetailsProto) SyncFieldsDuringRead(ctx context.Context, from DatabricksServiceExceptionWithDetailsProto)
func (DatabricksServiceExceptionWithDetailsProto) ToObjectValue ¶
func (m DatabricksServiceExceptionWithDetailsProto) 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, DatabricksServiceExceptionWithDetailsProto only implements ToObjectValue() and Type().
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 (m DatabricksServiceExceptionWithDetailsProto_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (DatabricksServiceExceptionWithDetailsProto_SdkV2) GetComplexFieldTypes ¶
func (m DatabricksServiceExceptionWithDetailsProto_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
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 ¶
func (m *DatabricksServiceExceptionWithDetailsProto_SdkV2) GetDetails(ctx context.Context) ([]types.Object, bool)
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 ¶
func (m *DatabricksServiceExceptionWithDetailsProto_SdkV2) SetDetails(ctx context.Context, v []types.Object)
SetDetails sets the value of the Details field in DatabricksServiceExceptionWithDetailsProto_SdkV2.
func (*DatabricksServiceExceptionWithDetailsProto_SdkV2) SyncFieldsDuringCreateOrUpdate ¶
func (to *DatabricksServiceExceptionWithDetailsProto_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabricksServiceExceptionWithDetailsProto_SdkV2)
func (*DatabricksServiceExceptionWithDetailsProto_SdkV2) SyncFieldsDuringRead ¶
func (to *DatabricksServiceExceptionWithDetailsProto_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DatabricksServiceExceptionWithDetailsProto_SdkV2)
func (DatabricksServiceExceptionWithDetailsProto_SdkV2) ToObjectValue ¶
func (m DatabricksServiceExceptionWithDetailsProto_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, DatabricksServiceExceptionWithDetailsProto_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m DeleteBranchRequest) 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, DeleteBranchRequest only implements ToObjectValue() and Type().
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 ¶
func (m DeleteBranchRequest_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, DeleteBranchRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m DeleteEndpointRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteEndpointRequest only implements ToObjectValue() and Type().
type 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 ¶
func (m DeleteEndpointRequest_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, DeleteEndpointRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m DeleteProjectRequest) 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, DeleteProjectRequest only implements ToObjectValue() and Type().
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 ¶
func (m DeleteProjectRequest_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, DeleteProjectRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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 ¶
func (m DeleteRoleRequest_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, DeleteRoleRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 (*Endpoint) SyncFieldsDuringRead ¶
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().
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
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().
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
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
func (m EndpointHosts_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, EndpointHosts_SdkV2 only implements ToObjectValue() and Type().
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 ¶
func (m EndpointOperationMetadata) 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, EndpointOperationMetadata only implements ToObjectValue() and Type().
type EndpointOperationMetadata_SdkV2 ¶
type EndpointOperationMetadata_SdkV2 struct {
}
func (EndpointOperationMetadata_SdkV2) ApplySchemaCustomizations ¶
func (m EndpointOperationMetadata_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
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 (to *EndpointOperationMetadata_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointOperationMetadata_SdkV2)
func (EndpointOperationMetadata_SdkV2) ToObjectValue ¶
func (m EndpointOperationMetadata_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, EndpointOperationMetadata_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
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 ¶
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().
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 ¶
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 ¶
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 ¶
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 ¶
func (m EndpointSettings_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, EndpointSettings_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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 ¶
func (m *EndpointSpec_SdkV2) GetSettings(ctx context.Context) (EndpointSettings_SdkV2, bool)
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 ¶
func (m *EndpointSpec_SdkV2) SetSettings(ctx context.Context, v EndpointSettings_SdkV2)
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 ¶
func (m EndpointSpec_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, EndpointSpec_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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
func (m *EndpointStatus_SdkV2) GetHosts(ctx context.Context) (EndpointHosts_SdkV2, bool)
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 ¶
func (m *EndpointStatus_SdkV2) GetSettings(ctx context.Context) (EndpointSettings_SdkV2, bool)
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
func (m *EndpointStatus_SdkV2) SetHosts(ctx context.Context, v EndpointHosts_SdkV2)
SetHosts sets the value of the Hosts field in EndpointStatus_SdkV2.
func (*EndpointStatus_SdkV2) SetSettings ¶
func (m *EndpointStatus_SdkV2) SetSettings(ctx context.Context, v EndpointSettings_SdkV2)
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 ¶
func (m EndpointStatus_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, EndpointStatus_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m *Endpoint_SdkV2) GetSpec(ctx context.Context) (EndpointSpec_SdkV2, bool)
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 ¶
func (m *Endpoint_SdkV2) GetStatus(ctx context.Context) (EndpointStatus_SdkV2, bool)
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().
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 (m GenerateDatabaseCredentialRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*GenerateDatabaseCredentialRequest) GetClaims ¶ added in v1.104.0
func (m *GenerateDatabaseCredentialRequest) GetClaims(ctx context.Context) ([]RequestedClaims, bool)
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
func (m *GenerateDatabaseCredentialRequest) SetClaims(ctx context.Context, v []RequestedClaims)
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 (to *GenerateDatabaseCredentialRequest) SyncFieldsDuringRead(ctx context.Context, from GenerateDatabaseCredentialRequest)
func (GenerateDatabaseCredentialRequest) ToObjectValue ¶ added in v1.104.0
func (m GenerateDatabaseCredentialRequest) 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, GenerateDatabaseCredentialRequest only implements ToObjectValue() and Type().
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 (m GenerateDatabaseCredentialRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (*GenerateDatabaseCredentialRequest_SdkV2) GetClaims ¶ added in v1.104.0
func (m *GenerateDatabaseCredentialRequest_SdkV2) GetClaims(ctx context.Context) ([]RequestedClaims_SdkV2, bool)
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
func (m GenerateDatabaseCredentialRequest_SdkV2) 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_SdkV2) SetClaims ¶ added in v1.104.0
func (m *GenerateDatabaseCredentialRequest_SdkV2) SetClaims(ctx context.Context, v []RequestedClaims_SdkV2)
SetClaims sets the value of the Claims field in GenerateDatabaseCredentialRequest_SdkV2.
func (*GenerateDatabaseCredentialRequest_SdkV2) SyncFieldsDuringCreateOrUpdate ¶ added in v1.104.0
func (to *GenerateDatabaseCredentialRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GenerateDatabaseCredentialRequest_SdkV2)
func (*GenerateDatabaseCredentialRequest_SdkV2) SyncFieldsDuringRead ¶ added in v1.104.0
func (to *GenerateDatabaseCredentialRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GenerateDatabaseCredentialRequest_SdkV2)
func (GenerateDatabaseCredentialRequest_SdkV2) ToObjectValue ¶ added in v1.104.0
func (m GenerateDatabaseCredentialRequest_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, GenerateDatabaseCredentialRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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 ¶
func (m GetBranchRequest_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, GetBranchRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m GetEndpointRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetEndpointRequest only implements ToObjectValue() and Type().
type 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 ¶
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 ¶
func (m GetEndpointRequest_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, GetEndpointRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m GetOperationRequest) 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, GetOperationRequest only implements ToObjectValue() and Type().
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 ¶
func (m GetOperationRequest_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, GetOperationRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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 ¶
func (m GetProjectRequest_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, GetProjectRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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 ¶
func (m GetRoleRequest_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, GetRoleRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m ListBranchesRequest) 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, ListBranchesRequest only implements ToObjectValue() and Type().
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 ¶
func (m ListBranchesRequest_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, ListBranchesRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m ListBranchesResponse) 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, ListBranchesResponse only implements ToObjectValue() and Type().
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 ¶
func (m ListBranchesResponse_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, ListBranchesResponse_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m ListEndpointsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListEndpointsRequest only implements ToObjectValue() and Type().
type 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 ¶
func (m ListEndpointsRequest_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, ListEndpointsRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m ListEndpointsResponse) 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, ListEndpointsResponse only implements ToObjectValue() and Type().
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 ¶
func (m *ListEndpointsResponse_SdkV2) GetEndpoints(ctx context.Context) ([]Endpoint_SdkV2, bool)
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 ¶
func (m ListEndpointsResponse_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, ListEndpointsResponse_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m ListProjectsRequest) 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, ListProjectsRequest only implements ToObjectValue() and Type().
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 ¶
func (m ListProjectsRequest_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, ListProjectsRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m ListProjectsResponse) 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, ListProjectsResponse only implements ToObjectValue() and Type().
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 ¶
func (m ListProjectsResponse_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, ListProjectsResponse_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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 ¶
func (m ListRolesRequest_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, ListRolesRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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 ¶
func (m ListRolesResponse_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, ListRolesResponse_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m *Operation) GetError(ctx context.Context) (DatabricksServiceExceptionWithDetailsProto, bool)
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 ¶
func (m *Operation) SetError(ctx context.Context, v DatabricksServiceExceptionWithDetailsProto)
SetError sets the value of the Error field in Operation.
func (*Operation) SyncFieldsDuringCreateOrUpdate ¶
func (*Operation) SyncFieldsDuringRead ¶
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().
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 ¶
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 ¶
func (m *Operation_SdkV2) GetError(ctx context.Context) (DatabricksServiceExceptionWithDetailsProto_SdkV2, bool)
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 ¶
func (m *Operation_SdkV2) SetError(ctx context.Context, v DatabricksServiceExceptionWithDetailsProto_SdkV2)
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().
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 ¶
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 (*Project) SyncFieldsDuringRead ¶
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().
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 (m ProjectDefaultEndpointSettings) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
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 (to *ProjectDefaultEndpointSettings) SyncFieldsDuringRead(ctx context.Context, from ProjectDefaultEndpointSettings)
func (ProjectDefaultEndpointSettings) ToObjectValue ¶
func (m ProjectDefaultEndpointSettings) 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, ProjectDefaultEndpointSettings only implements ToObjectValue() and Type().
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 (m ProjectDefaultEndpointSettings_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
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 ¶
func (m *ProjectDefaultEndpointSettings_SdkV2) GetPgSettings(ctx context.Context) (map[string]types.String, bool)
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 ¶
func (m *ProjectDefaultEndpointSettings_SdkV2) SetPgSettings(ctx context.Context, v map[string]types.String)
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 (to *ProjectDefaultEndpointSettings_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ProjectDefaultEndpointSettings_SdkV2)
func (ProjectDefaultEndpointSettings_SdkV2) ToObjectValue ¶
func (m ProjectDefaultEndpointSettings_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, ProjectDefaultEndpointSettings_SdkV2 only implements ToObjectValue() and Type().
type ProjectOperationMetadata ¶
type ProjectOperationMetadata struct {
}
func (ProjectOperationMetadata) ApplySchemaCustomizations ¶
func (m ProjectOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (ProjectOperationMetadata) GetComplexFieldTypes ¶
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 ¶
func (m ProjectOperationMetadata) 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, ProjectOperationMetadata only implements ToObjectValue() and Type().
type ProjectOperationMetadata_SdkV2 ¶
type ProjectOperationMetadata_SdkV2 struct {
}
func (ProjectOperationMetadata_SdkV2) ApplySchemaCustomizations ¶
func (m ProjectOperationMetadata_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
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 (to *ProjectOperationMetadata_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ProjectOperationMetadata_SdkV2)
func (ProjectOperationMetadata_SdkV2) ToObjectValue ¶
func (m ProjectOperationMetadata_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, ProjectOperationMetadata_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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().
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 ¶
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().
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 ¶
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 ¶
func (m ProjectStatus_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, ProjectStatus_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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
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().
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
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
func (m *RequestedClaims_SdkV2) GetResources(ctx context.Context) ([]RequestedResource_SdkV2, bool)
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
func (m *RequestedClaims_SdkV2) SetResources(ctx context.Context, v []RequestedResource_SdkV2)
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
func (m RequestedClaims_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, RequestedClaims_SdkV2 only implements ToObjectValue() and Type().
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
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().
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
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
func (m RequestedResource_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, RequestedResource_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 (*Role) SyncFieldsDuringRead ¶
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().
type RoleOperationMetadata ¶
type RoleOperationMetadata struct {
}
func (RoleOperationMetadata) ApplySchemaCustomizations ¶
func (m RoleOperationMetadata) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (RoleOperationMetadata) GetComplexFieldTypes ¶
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 ¶
func (m RoleOperationMetadata) 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, RoleOperationMetadata only implements ToObjectValue() and Type().
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 ¶
func (m RoleOperationMetadata_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, RoleOperationMetadata_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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 ¶
func (m RoleRoleSpec_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, RoleRoleSpec_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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 ¶
func (m RoleRoleStatus_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, RoleRoleStatus_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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().
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 ¶
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 ¶
func (m UpdateBranchRequest) 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, UpdateBranchRequest only implements ToObjectValue() and Type().
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 ¶
func (m *UpdateBranchRequest_SdkV2) GetBranch(ctx context.Context) (Branch_SdkV2, bool)
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 ¶
func (m *UpdateBranchRequest_SdkV2) SetBranch(ctx context.Context, v Branch_SdkV2)
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 ¶
func (m UpdateBranchRequest_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, UpdateBranchRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m UpdateEndpointRequest) 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, UpdateEndpointRequest only implements ToObjectValue() and Type().
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 ¶
func (m *UpdateEndpointRequest_SdkV2) GetEndpoint(ctx context.Context) (Endpoint_SdkV2, bool)
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 ¶
func (m *UpdateEndpointRequest_SdkV2) SetEndpoint(ctx context.Context, v Endpoint_SdkV2)
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 ¶
func (m UpdateEndpointRequest_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, UpdateEndpointRequest_SdkV2 only implements ToObjectValue() and Type().
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 ¶
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 ¶
func (m UpdateProjectRequest) 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, UpdateProjectRequest only implements ToObjectValue() and Type().
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 ¶
func (m *UpdateProjectRequest_SdkV2) GetProject(ctx context.Context) (Project_SdkV2, bool)
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 ¶
func (m *UpdateProjectRequest_SdkV2) SetProject(ctx context.Context, v Project_SdkV2)
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 ¶
func (m UpdateProjectRequest_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, UpdateProjectRequest_SdkV2 only implements ToObjectValue() and Type().