1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. essentialcontacts
  5. DocumentAiWarehouseDocumentSchema
Google Cloud Classic v7.19.0 published on Thursday, Apr 18, 2024 by Pulumi

gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.19.0 published on Thursday, Apr 18, 2024 by Pulumi

    A document schema is used to define document structure.

    To get more information about DocumentSchema, see:

    Example Usage

    Document Ai Warehouse Document Schema Text

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const project = gcp.organizations.getProject({});
    const exampleText = new gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_text", {
        projectNumber: project.then(project => project.number),
        displayName: "test-property-text",
        location: "us",
        documentIsFolder: false,
        propertyDefinitions: [{
            name: "prop3",
            displayName: "propdisp3",
            isRepeatable: false,
            isFilterable: true,
            isSearchable: true,
            isMetadata: false,
            isRequired: false,
            retrievalImportance: "HIGHEST",
            schemaSources: [{
                name: "dummy_source",
                processorType: "dummy_processor",
            }],
            textTypeOptions: {},
        }],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    project = gcp.organizations.get_project()
    example_text = gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_text",
        project_number=project.number,
        display_name="test-property-text",
        location="us",
        document_is_folder=False,
        property_definitions=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs(
            name="prop3",
            display_name="propdisp3",
            is_repeatable=False,
            is_filterable=True,
            is_searchable=True,
            is_metadata=False,
            is_required=False,
            retrieval_importance="HIGHEST",
            schema_sources=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs(
                name="dummy_source",
                processor_type="dummy_processor",
            )],
            text_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionTextTypeOptionsArgs(),
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/essentialcontacts"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := organizations.LookupProject(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = essentialcontacts.NewDocumentAiWarehouseDocumentSchema(ctx, "example_text", &essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs{
    			ProjectNumber:    pulumi.String(project.Number),
    			DisplayName:      pulumi.String("test-property-text"),
    			Location:         pulumi.String("us"),
    			DocumentIsFolder: pulumi.Bool(false),
    			PropertyDefinitions: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArray{
    				&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs{
    					Name:                pulumi.String("prop3"),
    					DisplayName:         pulumi.String("propdisp3"),
    					IsRepeatable:        pulumi.Bool(false),
    					IsFilterable:        pulumi.Bool(true),
    					IsSearchable:        pulumi.Bool(true),
    					IsMetadata:          pulumi.Bool(false),
    					IsRequired:          pulumi.Bool(false),
    					RetrievalImportance: pulumi.String("HIGHEST"),
    					SchemaSources: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArray{
    						&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs{
    							Name:          pulumi.String("dummy_source"),
    							ProcessorType: pulumi.String("dummy_processor"),
    						},
    					},
    					TextTypeOptions: nil,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var project = Gcp.Organizations.GetProject.Invoke();
    
        var exampleText = new Gcp.EssentialContacts.DocumentAiWarehouseDocumentSchema("example_text", new()
        {
            ProjectNumber = project.Apply(getProjectResult => getProjectResult.Number),
            DisplayName = "test-property-text",
            Location = "us",
            DocumentIsFolder = false,
            PropertyDefinitions = new[]
            {
                new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs
                {
                    Name = "prop3",
                    DisplayName = "propdisp3",
                    IsRepeatable = false,
                    IsFilterable = true,
                    IsSearchable = true,
                    IsMetadata = false,
                    IsRequired = false,
                    RetrievalImportance = "HIGHEST",
                    SchemaSources = new[]
                    {
                        new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs
                        {
                            Name = "dummy_source",
                            ProcessorType = "dummy_processor",
                        },
                    },
                    TextTypeOptions = null,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.organizations.OrganizationsFunctions;
    import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionTextTypeOptionsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var project = OrganizationsFunctions.getProject();
    
            var exampleText = new DocumentAiWarehouseDocumentSchema("exampleText", DocumentAiWarehouseDocumentSchemaArgs.builder()        
                .projectNumber(project.applyValue(getProjectResult -> getProjectResult.number()))
                .displayName("test-property-text")
                .location("us")
                .documentIsFolder(false)
                .propertyDefinitions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs.builder()
                    .name("prop3")
                    .displayName("propdisp3")
                    .isRepeatable(false)
                    .isFilterable(true)
                    .isSearchable(true)
                    .isMetadata(false)
                    .isRequired(false)
                    .retrievalImportance("HIGHEST")
                    .schemaSources(DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs.builder()
                        .name("dummy_source")
                        .processorType("dummy_processor")
                        .build())
                    .textTypeOptions()
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleText:
        type: gcp:essentialcontacts:DocumentAiWarehouseDocumentSchema
        name: example_text
        properties:
          projectNumber: ${project.number}
          displayName: test-property-text
          location: us
          documentIsFolder: false
          propertyDefinitions:
            - name: prop3
              displayName: propdisp3
              isRepeatable: false
              isFilterable: true
              isSearchable: true
              isMetadata: false
              isRequired: false
              retrievalImportance: HIGHEST
              schemaSources:
                - name: dummy_source
                  processorType: dummy_processor
              textTypeOptions: {}
    variables:
      project:
        fn::invoke:
          Function: gcp:organizations:getProject
          Arguments: {}
    

    Document Ai Warehouse Document Schema Integer

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const project = gcp.organizations.getProject({});
    const exampleInteger = new gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_integer", {
        projectNumber: project.then(project => project.number),
        displayName: "test-property-integer",
        location: "us",
        propertyDefinitions: [{
            name: "prop1",
            displayName: "propdisp1",
            isRepeatable: false,
            isFilterable: true,
            isSearchable: true,
            isMetadata: false,
            isRequired: false,
            retrievalImportance: "HIGHEST",
            schemaSources: [{
                name: "dummy_source",
                processorType: "dummy_processor",
            }],
            integerTypeOptions: {},
        }],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    project = gcp.organizations.get_project()
    example_integer = gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_integer",
        project_number=project.number,
        display_name="test-property-integer",
        location="us",
        property_definitions=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs(
            name="prop1",
            display_name="propdisp1",
            is_repeatable=False,
            is_filterable=True,
            is_searchable=True,
            is_metadata=False,
            is_required=False,
            retrieval_importance="HIGHEST",
            schema_sources=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs(
                name="dummy_source",
                processor_type="dummy_processor",
            )],
            integer_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionIntegerTypeOptionsArgs(),
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/essentialcontacts"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := organizations.LookupProject(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = essentialcontacts.NewDocumentAiWarehouseDocumentSchema(ctx, "example_integer", &essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs{
    			ProjectNumber: pulumi.String(project.Number),
    			DisplayName:   pulumi.String("test-property-integer"),
    			Location:      pulumi.String("us"),
    			PropertyDefinitions: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArray{
    				&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs{
    					Name:                pulumi.String("prop1"),
    					DisplayName:         pulumi.String("propdisp1"),
    					IsRepeatable:        pulumi.Bool(false),
    					IsFilterable:        pulumi.Bool(true),
    					IsSearchable:        pulumi.Bool(true),
    					IsMetadata:          pulumi.Bool(false),
    					IsRequired:          pulumi.Bool(false),
    					RetrievalImportance: pulumi.String("HIGHEST"),
    					SchemaSources: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArray{
    						&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs{
    							Name:          pulumi.String("dummy_source"),
    							ProcessorType: pulumi.String("dummy_processor"),
    						},
    					},
    					IntegerTypeOptions: nil,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var project = Gcp.Organizations.GetProject.Invoke();
    
        var exampleInteger = new Gcp.EssentialContacts.DocumentAiWarehouseDocumentSchema("example_integer", new()
        {
            ProjectNumber = project.Apply(getProjectResult => getProjectResult.Number),
            DisplayName = "test-property-integer",
            Location = "us",
            PropertyDefinitions = new[]
            {
                new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs
                {
                    Name = "prop1",
                    DisplayName = "propdisp1",
                    IsRepeatable = false,
                    IsFilterable = true,
                    IsSearchable = true,
                    IsMetadata = false,
                    IsRequired = false,
                    RetrievalImportance = "HIGHEST",
                    SchemaSources = new[]
                    {
                        new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs
                        {
                            Name = "dummy_source",
                            ProcessorType = "dummy_processor",
                        },
                    },
                    IntegerTypeOptions = null,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.organizations.OrganizationsFunctions;
    import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionIntegerTypeOptionsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var project = OrganizationsFunctions.getProject();
    
            var exampleInteger = new DocumentAiWarehouseDocumentSchema("exampleInteger", DocumentAiWarehouseDocumentSchemaArgs.builder()        
                .projectNumber(project.applyValue(getProjectResult -> getProjectResult.number()))
                .displayName("test-property-integer")
                .location("us")
                .propertyDefinitions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs.builder()
                    .name("prop1")
                    .displayName("propdisp1")
                    .isRepeatable(false)
                    .isFilterable(true)
                    .isSearchable(true)
                    .isMetadata(false)
                    .isRequired(false)
                    .retrievalImportance("HIGHEST")
                    .schemaSources(DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs.builder()
                        .name("dummy_source")
                        .processorType("dummy_processor")
                        .build())
                    .integerTypeOptions()
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleInteger:
        type: gcp:essentialcontacts:DocumentAiWarehouseDocumentSchema
        name: example_integer
        properties:
          projectNumber: ${project.number}
          displayName: test-property-integer
          location: us
          propertyDefinitions:
            - name: prop1
              displayName: propdisp1
              isRepeatable: false
              isFilterable: true
              isSearchable: true
              isMetadata: false
              isRequired: false
              retrievalImportance: HIGHEST
              schemaSources:
                - name: dummy_source
                  processorType: dummy_processor
              integerTypeOptions: {}
    variables:
      project:
        fn::invoke:
          Function: gcp:organizations:getProject
          Arguments: {}
    

    Document Ai Warehouse Document Schema Float

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const project = gcp.organizations.getProject({});
    const exampleFloat = new gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_float", {
        projectNumber: project.then(project => project.number),
        displayName: "test-property-float",
        location: "us",
        propertyDefinitions: [{
            name: "prop2",
            displayName: "propdisp2",
            isRepeatable: false,
            isFilterable: true,
            isSearchable: true,
            isMetadata: false,
            isRequired: false,
            retrievalImportance: "HIGHEST",
            schemaSources: [{
                name: "dummy_source",
                processorType: "dummy_processor",
            }],
            floatTypeOptions: {},
        }],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    project = gcp.organizations.get_project()
    example_float = gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_float",
        project_number=project.number,
        display_name="test-property-float",
        location="us",
        property_definitions=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs(
            name="prop2",
            display_name="propdisp2",
            is_repeatable=False,
            is_filterable=True,
            is_searchable=True,
            is_metadata=False,
            is_required=False,
            retrieval_importance="HIGHEST",
            schema_sources=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs(
                name="dummy_source",
                processor_type="dummy_processor",
            )],
            float_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionFloatTypeOptionsArgs(),
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/essentialcontacts"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := organizations.LookupProject(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = essentialcontacts.NewDocumentAiWarehouseDocumentSchema(ctx, "example_float", &essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs{
    			ProjectNumber: pulumi.String(project.Number),
    			DisplayName:   pulumi.String("test-property-float"),
    			Location:      pulumi.String("us"),
    			PropertyDefinitions: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArray{
    				&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs{
    					Name:                pulumi.String("prop2"),
    					DisplayName:         pulumi.String("propdisp2"),
    					IsRepeatable:        pulumi.Bool(false),
    					IsFilterable:        pulumi.Bool(true),
    					IsSearchable:        pulumi.Bool(true),
    					IsMetadata:          pulumi.Bool(false),
    					IsRequired:          pulumi.Bool(false),
    					RetrievalImportance: pulumi.String("HIGHEST"),
    					SchemaSources: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArray{
    						&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs{
    							Name:          pulumi.String("dummy_source"),
    							ProcessorType: pulumi.String("dummy_processor"),
    						},
    					},
    					FloatTypeOptions: nil,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var project = Gcp.Organizations.GetProject.Invoke();
    
        var exampleFloat = new Gcp.EssentialContacts.DocumentAiWarehouseDocumentSchema("example_float", new()
        {
            ProjectNumber = project.Apply(getProjectResult => getProjectResult.Number),
            DisplayName = "test-property-float",
            Location = "us",
            PropertyDefinitions = new[]
            {
                new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs
                {
                    Name = "prop2",
                    DisplayName = "propdisp2",
                    IsRepeatable = false,
                    IsFilterable = true,
                    IsSearchable = true,
                    IsMetadata = false,
                    IsRequired = false,
                    RetrievalImportance = "HIGHEST",
                    SchemaSources = new[]
                    {
                        new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs
                        {
                            Name = "dummy_source",
                            ProcessorType = "dummy_processor",
                        },
                    },
                    FloatTypeOptions = null,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.organizations.OrganizationsFunctions;
    import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionFloatTypeOptionsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var project = OrganizationsFunctions.getProject();
    
            var exampleFloat = new DocumentAiWarehouseDocumentSchema("exampleFloat", DocumentAiWarehouseDocumentSchemaArgs.builder()        
                .projectNumber(project.applyValue(getProjectResult -> getProjectResult.number()))
                .displayName("test-property-float")
                .location("us")
                .propertyDefinitions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs.builder()
                    .name("prop2")
                    .displayName("propdisp2")
                    .isRepeatable(false)
                    .isFilterable(true)
                    .isSearchable(true)
                    .isMetadata(false)
                    .isRequired(false)
                    .retrievalImportance("HIGHEST")
                    .schemaSources(DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs.builder()
                        .name("dummy_source")
                        .processorType("dummy_processor")
                        .build())
                    .floatTypeOptions()
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleFloat:
        type: gcp:essentialcontacts:DocumentAiWarehouseDocumentSchema
        name: example_float
        properties:
          projectNumber: ${project.number}
          displayName: test-property-float
          location: us
          propertyDefinitions:
            - name: prop2
              displayName: propdisp2
              isRepeatable: false
              isFilterable: true
              isSearchable: true
              isMetadata: false
              isRequired: false
              retrievalImportance: HIGHEST
              schemaSources:
                - name: dummy_source
                  processorType: dummy_processor
              floatTypeOptions: {}
    variables:
      project:
        fn::invoke:
          Function: gcp:organizations:getProject
          Arguments: {}
    

    Document Ai Warehouse Document Schema Property

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const project = gcp.organizations.getProject({});
    const exampleProperty = new gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_property", {
        projectNumber: project.then(project => project.number),
        displayName: "test-property-property",
        location: "us",
        documentIsFolder: false,
        propertyDefinitions: [{
            name: "prop8",
            displayName: "propdisp8",
            isRepeatable: false,
            isFilterable: true,
            isSearchable: true,
            isMetadata: false,
            isRequired: false,
            retrievalImportance: "HIGHEST",
            schemaSources: [{
                name: "dummy_source",
                processorType: "dummy_processor",
            }],
            propertyTypeOptions: {
                propertyDefinitions: [{
                    name: "prop8_nested",
                    displayName: "propdisp8_nested",
                    isRepeatable: false,
                    isFilterable: true,
                    isSearchable: true,
                    isMetadata: false,
                    isRequired: false,
                    retrievalImportance: "HIGHEST",
                    schemaSources: [{
                        name: "dummy_source_nested",
                        processorType: "dummy_processor_nested",
                    }],
                    textTypeOptions: {},
                }],
            },
        }],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    project = gcp.organizations.get_project()
    example_property = gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_property",
        project_number=project.number,
        display_name="test-property-property",
        location="us",
        document_is_folder=False,
        property_definitions=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs(
            name="prop8",
            display_name="propdisp8",
            is_repeatable=False,
            is_filterable=True,
            is_searchable=True,
            is_metadata=False,
            is_required=False,
            retrieval_importance="HIGHEST",
            schema_sources=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs(
                name="dummy_source",
                processor_type="dummy_processor",
            )],
            property_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs(
                property_definitions=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArgs(
                    name="prop8_nested",
                    display_name="propdisp8_nested",
                    is_repeatable=False,
                    is_filterable=True,
                    is_searchable=True,
                    is_metadata=False,
                    is_required=False,
                    retrieval_importance="HIGHEST",
                    schema_sources=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArgs(
                        name="dummy_source_nested",
                        processor_type="dummy_processor_nested",
                    )],
                    text_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionTextTypeOptionsArgs(),
                )],
            ),
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/essentialcontacts"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := organizations.LookupProject(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = essentialcontacts.NewDocumentAiWarehouseDocumentSchema(ctx, "example_property", &essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs{
    			ProjectNumber:    pulumi.String(project.Number),
    			DisplayName:      pulumi.String("test-property-property"),
    			Location:         pulumi.String("us"),
    			DocumentIsFolder: pulumi.Bool(false),
    			PropertyDefinitions: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArray{
    				&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs{
    					Name:                pulumi.String("prop8"),
    					DisplayName:         pulumi.String("propdisp8"),
    					IsRepeatable:        pulumi.Bool(false),
    					IsFilterable:        pulumi.Bool(true),
    					IsSearchable:        pulumi.Bool(true),
    					IsMetadata:          pulumi.Bool(false),
    					IsRequired:          pulumi.Bool(false),
    					RetrievalImportance: pulumi.String("HIGHEST"),
    					SchemaSources: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArray{
    						&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs{
    							Name:          pulumi.String("dummy_source"),
    							ProcessorType: pulumi.String("dummy_processor"),
    						},
    					},
    					PropertyTypeOptions: &essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs{
    						PropertyDefinitions: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArray{
    							&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArgs{
    								Name:                pulumi.String("prop8_nested"),
    								DisplayName:         pulumi.String("propdisp8_nested"),
    								IsRepeatable:        pulumi.Bool(false),
    								IsFilterable:        pulumi.Bool(true),
    								IsSearchable:        pulumi.Bool(true),
    								IsMetadata:          pulumi.Bool(false),
    								IsRequired:          pulumi.Bool(false),
    								RetrievalImportance: pulumi.String("HIGHEST"),
    								SchemaSources: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArray{
    									&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArgs{
    										Name:          pulumi.String("dummy_source_nested"),
    										ProcessorType: pulumi.String("dummy_processor_nested"),
    									},
    								},
    								TextTypeOptions: nil,
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var project = Gcp.Organizations.GetProject.Invoke();
    
        var exampleProperty = new Gcp.EssentialContacts.DocumentAiWarehouseDocumentSchema("example_property", new()
        {
            ProjectNumber = project.Apply(getProjectResult => getProjectResult.Number),
            DisplayName = "test-property-property",
            Location = "us",
            DocumentIsFolder = false,
            PropertyDefinitions = new[]
            {
                new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs
                {
                    Name = "prop8",
                    DisplayName = "propdisp8",
                    IsRepeatable = false,
                    IsFilterable = true,
                    IsSearchable = true,
                    IsMetadata = false,
                    IsRequired = false,
                    RetrievalImportance = "HIGHEST",
                    SchemaSources = new[]
                    {
                        new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs
                        {
                            Name = "dummy_source",
                            ProcessorType = "dummy_processor",
                        },
                    },
                    PropertyTypeOptions = new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs
                    {
                        PropertyDefinitions = new[]
                        {
                            new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArgs
                            {
                                Name = "prop8_nested",
                                DisplayName = "propdisp8_nested",
                                IsRepeatable = false,
                                IsFilterable = true,
                                IsSearchable = true,
                                IsMetadata = false,
                                IsRequired = false,
                                RetrievalImportance = "HIGHEST",
                                SchemaSources = new[]
                                {
                                    new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArgs
                                    {
                                        Name = "dummy_source_nested",
                                        ProcessorType = "dummy_processor_nested",
                                    },
                                },
                                TextTypeOptions = null,
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.organizations.OrganizationsFunctions;
    import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var project = OrganizationsFunctions.getProject();
    
            var exampleProperty = new DocumentAiWarehouseDocumentSchema("exampleProperty", DocumentAiWarehouseDocumentSchemaArgs.builder()        
                .projectNumber(project.applyValue(getProjectResult -> getProjectResult.number()))
                .displayName("test-property-property")
                .location("us")
                .documentIsFolder(false)
                .propertyDefinitions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs.builder()
                    .name("prop8")
                    .displayName("propdisp8")
                    .isRepeatable(false)
                    .isFilterable(true)
                    .isSearchable(true)
                    .isMetadata(false)
                    .isRequired(false)
                    .retrievalImportance("HIGHEST")
                    .schemaSources(DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs.builder()
                        .name("dummy_source")
                        .processorType("dummy_processor")
                        .build())
                    .propertyTypeOptions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs.builder()
                        .propertyDefinitions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArgs.builder()
                            .name("prop8_nested")
                            .displayName("propdisp8_nested")
                            .isRepeatable(false)
                            .isFilterable(true)
                            .isSearchable(true)
                            .isMetadata(false)
                            .isRequired(false)
                            .retrievalImportance("HIGHEST")
                            .schemaSources(DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArgs.builder()
                                .name("dummy_source_nested")
                                .processorType("dummy_processor_nested")
                                .build())
                            .textTypeOptions()
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleProperty:
        type: gcp:essentialcontacts:DocumentAiWarehouseDocumentSchema
        name: example_property
        properties:
          projectNumber: ${project.number}
          displayName: test-property-property
          location: us
          documentIsFolder: false
          propertyDefinitions:
            - name: prop8
              displayName: propdisp8
              isRepeatable: false
              isFilterable: true
              isSearchable: true
              isMetadata: false
              isRequired: false
              retrievalImportance: HIGHEST
              schemaSources:
                - name: dummy_source
                  processorType: dummy_processor
              propertyTypeOptions:
                propertyDefinitions:
                  - name: prop8_nested
                    displayName: propdisp8_nested
                    isRepeatable: false
                    isFilterable: true
                    isSearchable: true
                    isMetadata: false
                    isRequired: false
                    retrievalImportance: HIGHEST
                    schemaSources:
                      - name: dummy_source_nested
                        processorType: dummy_processor_nested
                    textTypeOptions: {}
    variables:
      project:
        fn::invoke:
          Function: gcp:organizations:getProject
          Arguments: {}
    

    Document Ai Warehouse Document Schema Property Enum

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const project = gcp.organizations.getProject({});
    const examplePropertyEnum = new gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_property_enum", {
        projectNumber: project.then(project => project.number),
        displayName: "test-property-property",
        location: "us",
        documentIsFolder: false,
        propertyDefinitions: [{
            name: "prop8",
            displayName: "propdisp8",
            isRepeatable: false,
            isFilterable: true,
            isSearchable: true,
            isMetadata: false,
            isRequired: false,
            retrievalImportance: "HIGHEST",
            schemaSources: [{
                name: "dummy_source",
                processorType: "dummy_processor",
            }],
            propertyTypeOptions: {
                propertyDefinitions: [{
                    name: "prop8_nested",
                    displayName: "propdisp8_nested",
                    isRepeatable: false,
                    isFilterable: true,
                    isSearchable: true,
                    isMetadata: false,
                    isRequired: false,
                    retrievalImportance: "HIGHEST",
                    schemaSources: [{
                        name: "dummy_source_nested",
                        processorType: "dummy_processor_nested",
                    }],
                    enumTypeOptions: {
                        possibleValues: [
                            "M",
                            "F",
                            "X",
                        ],
                        validationCheckDisabled: false,
                    },
                }],
            },
        }],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    project = gcp.organizations.get_project()
    example_property_enum = gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_property_enum",
        project_number=project.number,
        display_name="test-property-property",
        location="us",
        document_is_folder=False,
        property_definitions=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs(
            name="prop8",
            display_name="propdisp8",
            is_repeatable=False,
            is_filterable=True,
            is_searchable=True,
            is_metadata=False,
            is_required=False,
            retrieval_importance="HIGHEST",
            schema_sources=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs(
                name="dummy_source",
                processor_type="dummy_processor",
            )],
            property_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs(
                property_definitions=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArgs(
                    name="prop8_nested",
                    display_name="propdisp8_nested",
                    is_repeatable=False,
                    is_filterable=True,
                    is_searchable=True,
                    is_metadata=False,
                    is_required=False,
                    retrieval_importance="HIGHEST",
                    schema_sources=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArgs(
                        name="dummy_source_nested",
                        processor_type="dummy_processor_nested",
                    )],
                    enum_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptionsArgs(
                        possible_values=[
                            "M",
                            "F",
                            "X",
                        ],
                        validation_check_disabled=False,
                    ),
                )],
            ),
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/essentialcontacts"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := organizations.LookupProject(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = essentialcontacts.NewDocumentAiWarehouseDocumentSchema(ctx, "example_property_enum", &essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs{
    			ProjectNumber:    pulumi.String(project.Number),
    			DisplayName:      pulumi.String("test-property-property"),
    			Location:         pulumi.String("us"),
    			DocumentIsFolder: pulumi.Bool(false),
    			PropertyDefinitions: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArray{
    				&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs{
    					Name:                pulumi.String("prop8"),
    					DisplayName:         pulumi.String("propdisp8"),
    					IsRepeatable:        pulumi.Bool(false),
    					IsFilterable:        pulumi.Bool(true),
    					IsSearchable:        pulumi.Bool(true),
    					IsMetadata:          pulumi.Bool(false),
    					IsRequired:          pulumi.Bool(false),
    					RetrievalImportance: pulumi.String("HIGHEST"),
    					SchemaSources: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArray{
    						&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs{
    							Name:          pulumi.String("dummy_source"),
    							ProcessorType: pulumi.String("dummy_processor"),
    						},
    					},
    					PropertyTypeOptions: &essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs{
    						PropertyDefinitions: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArray{
    							&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArgs{
    								Name:                pulumi.String("prop8_nested"),
    								DisplayName:         pulumi.String("propdisp8_nested"),
    								IsRepeatable:        pulumi.Bool(false),
    								IsFilterable:        pulumi.Bool(true),
    								IsSearchable:        pulumi.Bool(true),
    								IsMetadata:          pulumi.Bool(false),
    								IsRequired:          pulumi.Bool(false),
    								RetrievalImportance: pulumi.String("HIGHEST"),
    								SchemaSources: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArray{
    									&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArgs{
    										Name:          pulumi.String("dummy_source_nested"),
    										ProcessorType: pulumi.String("dummy_processor_nested"),
    									},
    								},
    								EnumTypeOptions: &essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptionsArgs{
    									PossibleValues: pulumi.StringArray{
    										pulumi.String("M"),
    										pulumi.String("F"),
    										pulumi.String("X"),
    									},
    									ValidationCheckDisabled: pulumi.Bool(false),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var project = Gcp.Organizations.GetProject.Invoke();
    
        var examplePropertyEnum = new Gcp.EssentialContacts.DocumentAiWarehouseDocumentSchema("example_property_enum", new()
        {
            ProjectNumber = project.Apply(getProjectResult => getProjectResult.Number),
            DisplayName = "test-property-property",
            Location = "us",
            DocumentIsFolder = false,
            PropertyDefinitions = new[]
            {
                new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs
                {
                    Name = "prop8",
                    DisplayName = "propdisp8",
                    IsRepeatable = false,
                    IsFilterable = true,
                    IsSearchable = true,
                    IsMetadata = false,
                    IsRequired = false,
                    RetrievalImportance = "HIGHEST",
                    SchemaSources = new[]
                    {
                        new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs
                        {
                            Name = "dummy_source",
                            ProcessorType = "dummy_processor",
                        },
                    },
                    PropertyTypeOptions = new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs
                    {
                        PropertyDefinitions = new[]
                        {
                            new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArgs
                            {
                                Name = "prop8_nested",
                                DisplayName = "propdisp8_nested",
                                IsRepeatable = false,
                                IsFilterable = true,
                                IsSearchable = true,
                                IsMetadata = false,
                                IsRequired = false,
                                RetrievalImportance = "HIGHEST",
                                SchemaSources = new[]
                                {
                                    new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArgs
                                    {
                                        Name = "dummy_source_nested",
                                        ProcessorType = "dummy_processor_nested",
                                    },
                                },
                                EnumTypeOptions = new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptionsArgs
                                {
                                    PossibleValues = new[]
                                    {
                                        "M",
                                        "F",
                                        "X",
                                    },
                                    ValidationCheckDisabled = false,
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.organizations.OrganizationsFunctions;
    import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var project = OrganizationsFunctions.getProject();
    
            var examplePropertyEnum = new DocumentAiWarehouseDocumentSchema("examplePropertyEnum", DocumentAiWarehouseDocumentSchemaArgs.builder()        
                .projectNumber(project.applyValue(getProjectResult -> getProjectResult.number()))
                .displayName("test-property-property")
                .location("us")
                .documentIsFolder(false)
                .propertyDefinitions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs.builder()
                    .name("prop8")
                    .displayName("propdisp8")
                    .isRepeatable(false)
                    .isFilterable(true)
                    .isSearchable(true)
                    .isMetadata(false)
                    .isRequired(false)
                    .retrievalImportance("HIGHEST")
                    .schemaSources(DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs.builder()
                        .name("dummy_source")
                        .processorType("dummy_processor")
                        .build())
                    .propertyTypeOptions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs.builder()
                        .propertyDefinitions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArgs.builder()
                            .name("prop8_nested")
                            .displayName("propdisp8_nested")
                            .isRepeatable(false)
                            .isFilterable(true)
                            .isSearchable(true)
                            .isMetadata(false)
                            .isRequired(false)
                            .retrievalImportance("HIGHEST")
                            .schemaSources(DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArgs.builder()
                                .name("dummy_source_nested")
                                .processorType("dummy_processor_nested")
                                .build())
                            .enumTypeOptions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptionsArgs.builder()
                                .possibleValues(                            
                                    "M",
                                    "F",
                                    "X")
                                .validationCheckDisabled(false)
                                .build())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      examplePropertyEnum:
        type: gcp:essentialcontacts:DocumentAiWarehouseDocumentSchema
        name: example_property_enum
        properties:
          projectNumber: ${project.number}
          displayName: test-property-property
          location: us
          documentIsFolder: false
          propertyDefinitions:
            - name: prop8
              displayName: propdisp8
              isRepeatable: false
              isFilterable: true
              isSearchable: true
              isMetadata: false
              isRequired: false
              retrievalImportance: HIGHEST
              schemaSources:
                - name: dummy_source
                  processorType: dummy_processor
              propertyTypeOptions:
                propertyDefinitions:
                  - name: prop8_nested
                    displayName: propdisp8_nested
                    isRepeatable: false
                    isFilterable: true
                    isSearchable: true
                    isMetadata: false
                    isRequired: false
                    retrievalImportance: HIGHEST
                    schemaSources:
                      - name: dummy_source_nested
                        processorType: dummy_processor_nested
                    enumTypeOptions:
                      possibleValues:
                        - M
                        - F
                        - X
                      validationCheckDisabled: false
    variables:
      project:
        fn::invoke:
          Function: gcp:organizations:getProject
          Arguments: {}
    

    Document Ai Warehouse Document Schema Enum

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const project = gcp.organizations.getProject({});
    const exampleEnum = new gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_enum", {
        projectNumber: project.then(project => project.number),
        displayName: "test-property-enum",
        location: "us",
        propertyDefinitions: [{
            name: "prop6",
            displayName: "propdisp6",
            isRepeatable: false,
            isFilterable: true,
            isSearchable: true,
            isMetadata: false,
            isRequired: false,
            retrievalImportance: "HIGHEST",
            schemaSources: [{
                name: "dummy_source",
                processorType: "dummy_processor",
            }],
            enumTypeOptions: {
                possibleValues: [
                    "M",
                    "F",
                    "X",
                ],
                validationCheckDisabled: false,
            },
        }],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    project = gcp.organizations.get_project()
    example_enum = gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_enum",
        project_number=project.number,
        display_name="test-property-enum",
        location="us",
        property_definitions=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs(
            name="prop6",
            display_name="propdisp6",
            is_repeatable=False,
            is_filterable=True,
            is_searchable=True,
            is_metadata=False,
            is_required=False,
            retrieval_importance="HIGHEST",
            schema_sources=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs(
                name="dummy_source",
                processor_type="dummy_processor",
            )],
            enum_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptionsArgs(
                possible_values=[
                    "M",
                    "F",
                    "X",
                ],
                validation_check_disabled=False,
            ),
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/essentialcontacts"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := organizations.LookupProject(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = essentialcontacts.NewDocumentAiWarehouseDocumentSchema(ctx, "example_enum", &essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs{
    			ProjectNumber: pulumi.String(project.Number),
    			DisplayName:   pulumi.String("test-property-enum"),
    			Location:      pulumi.String("us"),
    			PropertyDefinitions: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArray{
    				&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs{
    					Name:                pulumi.String("prop6"),
    					DisplayName:         pulumi.String("propdisp6"),
    					IsRepeatable:        pulumi.Bool(false),
    					IsFilterable:        pulumi.Bool(true),
    					IsSearchable:        pulumi.Bool(true),
    					IsMetadata:          pulumi.Bool(false),
    					IsRequired:          pulumi.Bool(false),
    					RetrievalImportance: pulumi.String("HIGHEST"),
    					SchemaSources: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArray{
    						&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs{
    							Name:          pulumi.String("dummy_source"),
    							ProcessorType: pulumi.String("dummy_processor"),
    						},
    					},
    					EnumTypeOptions: &essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptionsArgs{
    						PossibleValues: pulumi.StringArray{
    							pulumi.String("M"),
    							pulumi.String("F"),
    							pulumi.String("X"),
    						},
    						ValidationCheckDisabled: pulumi.Bool(false),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var project = Gcp.Organizations.GetProject.Invoke();
    
        var exampleEnum = new Gcp.EssentialContacts.DocumentAiWarehouseDocumentSchema("example_enum", new()
        {
            ProjectNumber = project.Apply(getProjectResult => getProjectResult.Number),
            DisplayName = "test-property-enum",
            Location = "us",
            PropertyDefinitions = new[]
            {
                new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs
                {
                    Name = "prop6",
                    DisplayName = "propdisp6",
                    IsRepeatable = false,
                    IsFilterable = true,
                    IsSearchable = true,
                    IsMetadata = false,
                    IsRequired = false,
                    RetrievalImportance = "HIGHEST",
                    SchemaSources = new[]
                    {
                        new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs
                        {
                            Name = "dummy_source",
                            ProcessorType = "dummy_processor",
                        },
                    },
                    EnumTypeOptions = new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptionsArgs
                    {
                        PossibleValues = new[]
                        {
                            "M",
                            "F",
                            "X",
                        },
                        ValidationCheckDisabled = false,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.organizations.OrganizationsFunctions;
    import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptionsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var project = OrganizationsFunctions.getProject();
    
            var exampleEnum = new DocumentAiWarehouseDocumentSchema("exampleEnum", DocumentAiWarehouseDocumentSchemaArgs.builder()        
                .projectNumber(project.applyValue(getProjectResult -> getProjectResult.number()))
                .displayName("test-property-enum")
                .location("us")
                .propertyDefinitions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs.builder()
                    .name("prop6")
                    .displayName("propdisp6")
                    .isRepeatable(false)
                    .isFilterable(true)
                    .isSearchable(true)
                    .isMetadata(false)
                    .isRequired(false)
                    .retrievalImportance("HIGHEST")
                    .schemaSources(DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs.builder()
                        .name("dummy_source")
                        .processorType("dummy_processor")
                        .build())
                    .enumTypeOptions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptionsArgs.builder()
                        .possibleValues(                    
                            "M",
                            "F",
                            "X")
                        .validationCheckDisabled(false)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleEnum:
        type: gcp:essentialcontacts:DocumentAiWarehouseDocumentSchema
        name: example_enum
        properties:
          projectNumber: ${project.number}
          displayName: test-property-enum
          location: us
          propertyDefinitions:
            - name: prop6
              displayName: propdisp6
              isRepeatable: false
              isFilterable: true
              isSearchable: true
              isMetadata: false
              isRequired: false
              retrievalImportance: HIGHEST
              schemaSources:
                - name: dummy_source
                  processorType: dummy_processor
              enumTypeOptions:
                possibleValues:
                  - M
                  - F
                  - X
                validationCheckDisabled: false
    variables:
      project:
        fn::invoke:
          Function: gcp:organizations:getProject
          Arguments: {}
    

    Document Ai Warehouse Document Schema Map

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const project = gcp.organizations.getProject({});
    const exampleMap = new gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_map", {
        projectNumber: project.then(project => project.number),
        displayName: "test-property-map",
        location: "us",
        propertyDefinitions: [{
            name: "prop4",
            displayName: "propdisp4",
            isRepeatable: false,
            isFilterable: true,
            isSearchable: true,
            isMetadata: false,
            isRequired: false,
            retrievalImportance: "HIGHEST",
            schemaSources: [{
                name: "dummy_source",
                processorType: "dummy_processor",
            }],
            mapTypeOptions: {},
        }],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    project = gcp.organizations.get_project()
    example_map = gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_map",
        project_number=project.number,
        display_name="test-property-map",
        location="us",
        property_definitions=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs(
            name="prop4",
            display_name="propdisp4",
            is_repeatable=False,
            is_filterable=True,
            is_searchable=True,
            is_metadata=False,
            is_required=False,
            retrieval_importance="HIGHEST",
            schema_sources=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs(
                name="dummy_source",
                processor_type="dummy_processor",
            )],
            map_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionMapTypeOptionsArgs(),
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/essentialcontacts"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := organizations.LookupProject(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = essentialcontacts.NewDocumentAiWarehouseDocumentSchema(ctx, "example_map", &essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs{
    			ProjectNumber: pulumi.String(project.Number),
    			DisplayName:   pulumi.String("test-property-map"),
    			Location:      pulumi.String("us"),
    			PropertyDefinitions: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArray{
    				&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs{
    					Name:                pulumi.String("prop4"),
    					DisplayName:         pulumi.String("propdisp4"),
    					IsRepeatable:        pulumi.Bool(false),
    					IsFilterable:        pulumi.Bool(true),
    					IsSearchable:        pulumi.Bool(true),
    					IsMetadata:          pulumi.Bool(false),
    					IsRequired:          pulumi.Bool(false),
    					RetrievalImportance: pulumi.String("HIGHEST"),
    					SchemaSources: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArray{
    						&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs{
    							Name:          pulumi.String("dummy_source"),
    							ProcessorType: pulumi.String("dummy_processor"),
    						},
    					},
    					MapTypeOptions: nil,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var project = Gcp.Organizations.GetProject.Invoke();
    
        var exampleMap = new Gcp.EssentialContacts.DocumentAiWarehouseDocumentSchema("example_map", new()
        {
            ProjectNumber = project.Apply(getProjectResult => getProjectResult.Number),
            DisplayName = "test-property-map",
            Location = "us",
            PropertyDefinitions = new[]
            {
                new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs
                {
                    Name = "prop4",
                    DisplayName = "propdisp4",
                    IsRepeatable = false,
                    IsFilterable = true,
                    IsSearchable = true,
                    IsMetadata = false,
                    IsRequired = false,
                    RetrievalImportance = "HIGHEST",
                    SchemaSources = new[]
                    {
                        new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs
                        {
                            Name = "dummy_source",
                            ProcessorType = "dummy_processor",
                        },
                    },
                    MapTypeOptions = null,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.organizations.OrganizationsFunctions;
    import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionMapTypeOptionsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var project = OrganizationsFunctions.getProject();
    
            var exampleMap = new DocumentAiWarehouseDocumentSchema("exampleMap", DocumentAiWarehouseDocumentSchemaArgs.builder()        
                .projectNumber(project.applyValue(getProjectResult -> getProjectResult.number()))
                .displayName("test-property-map")
                .location("us")
                .propertyDefinitions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs.builder()
                    .name("prop4")
                    .displayName("propdisp4")
                    .isRepeatable(false)
                    .isFilterable(true)
                    .isSearchable(true)
                    .isMetadata(false)
                    .isRequired(false)
                    .retrievalImportance("HIGHEST")
                    .schemaSources(DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs.builder()
                        .name("dummy_source")
                        .processorType("dummy_processor")
                        .build())
                    .mapTypeOptions()
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleMap:
        type: gcp:essentialcontacts:DocumentAiWarehouseDocumentSchema
        name: example_map
        properties:
          projectNumber: ${project.number}
          displayName: test-property-map
          location: us
          propertyDefinitions:
            - name: prop4
              displayName: propdisp4
              isRepeatable: false
              isFilterable: true
              isSearchable: true
              isMetadata: false
              isRequired: false
              retrievalImportance: HIGHEST
              schemaSources:
                - name: dummy_source
                  processorType: dummy_processor
              mapTypeOptions: {}
    variables:
      project:
        fn::invoke:
          Function: gcp:organizations:getProject
          Arguments: {}
    

    Document Ai Warehouse Document Schema Datetime

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const project = gcp.organizations.getProject({});
    const exampleDatetime = new gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_datetime", {
        projectNumber: project.then(project => project.number),
        displayName: "test-property-date_time",
        location: "us",
        propertyDefinitions: [{
            name: "prop7",
            displayName: "propdisp7",
            isRepeatable: false,
            isFilterable: true,
            isSearchable: true,
            isMetadata: false,
            isRequired: false,
            retrievalImportance: "HIGHEST",
            schemaSources: [{
                name: "dummy_source",
                processorType: "dummy_processor",
            }],
            dateTimeTypeOptions: {},
        }],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    project = gcp.organizations.get_project()
    example_datetime = gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_datetime",
        project_number=project.number,
        display_name="test-property-date_time",
        location="us",
        property_definitions=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs(
            name="prop7",
            display_name="propdisp7",
            is_repeatable=False,
            is_filterable=True,
            is_searchable=True,
            is_metadata=False,
            is_required=False,
            retrieval_importance="HIGHEST",
            schema_sources=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs(
                name="dummy_source",
                processor_type="dummy_processor",
            )],
            date_time_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionDateTimeTypeOptionsArgs(),
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/essentialcontacts"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := organizations.LookupProject(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = essentialcontacts.NewDocumentAiWarehouseDocumentSchema(ctx, "example_datetime", &essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs{
    			ProjectNumber: pulumi.String(project.Number),
    			DisplayName:   pulumi.String("test-property-date_time"),
    			Location:      pulumi.String("us"),
    			PropertyDefinitions: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArray{
    				&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs{
    					Name:                pulumi.String("prop7"),
    					DisplayName:         pulumi.String("propdisp7"),
    					IsRepeatable:        pulumi.Bool(false),
    					IsFilterable:        pulumi.Bool(true),
    					IsSearchable:        pulumi.Bool(true),
    					IsMetadata:          pulumi.Bool(false),
    					IsRequired:          pulumi.Bool(false),
    					RetrievalImportance: pulumi.String("HIGHEST"),
    					SchemaSources: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArray{
    						&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs{
    							Name:          pulumi.String("dummy_source"),
    							ProcessorType: pulumi.String("dummy_processor"),
    						},
    					},
    					DateTimeTypeOptions: nil,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var project = Gcp.Organizations.GetProject.Invoke();
    
        var exampleDatetime = new Gcp.EssentialContacts.DocumentAiWarehouseDocumentSchema("example_datetime", new()
        {
            ProjectNumber = project.Apply(getProjectResult => getProjectResult.Number),
            DisplayName = "test-property-date_time",
            Location = "us",
            PropertyDefinitions = new[]
            {
                new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs
                {
                    Name = "prop7",
                    DisplayName = "propdisp7",
                    IsRepeatable = false,
                    IsFilterable = true,
                    IsSearchable = true,
                    IsMetadata = false,
                    IsRequired = false,
                    RetrievalImportance = "HIGHEST",
                    SchemaSources = new[]
                    {
                        new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs
                        {
                            Name = "dummy_source",
                            ProcessorType = "dummy_processor",
                        },
                    },
                    DateTimeTypeOptions = null,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.organizations.OrganizationsFunctions;
    import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionDateTimeTypeOptionsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var project = OrganizationsFunctions.getProject();
    
            var exampleDatetime = new DocumentAiWarehouseDocumentSchema("exampleDatetime", DocumentAiWarehouseDocumentSchemaArgs.builder()        
                .projectNumber(project.applyValue(getProjectResult -> getProjectResult.number()))
                .displayName("test-property-date_time")
                .location("us")
                .propertyDefinitions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs.builder()
                    .name("prop7")
                    .displayName("propdisp7")
                    .isRepeatable(false)
                    .isFilterable(true)
                    .isSearchable(true)
                    .isMetadata(false)
                    .isRequired(false)
                    .retrievalImportance("HIGHEST")
                    .schemaSources(DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs.builder()
                        .name("dummy_source")
                        .processorType("dummy_processor")
                        .build())
                    .dateTimeTypeOptions()
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleDatetime:
        type: gcp:essentialcontacts:DocumentAiWarehouseDocumentSchema
        name: example_datetime
        properties:
          projectNumber: ${project.number}
          displayName: test-property-date_time
          location: us
          propertyDefinitions:
            - name: prop7
              displayName: propdisp7
              isRepeatable: false
              isFilterable: true
              isSearchable: true
              isMetadata: false
              isRequired: false
              retrievalImportance: HIGHEST
              schemaSources:
                - name: dummy_source
                  processorType: dummy_processor
              dateTimeTypeOptions: {}
    variables:
      project:
        fn::invoke:
          Function: gcp:organizations:getProject
          Arguments: {}
    

    Document Ai Warehouse Document Schema Timestamp

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const project = gcp.organizations.getProject({});
    const exampleTimestamp = new gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_timestamp", {
        projectNumber: project.then(project => project.number),
        displayName: "test-property-timestamp",
        location: "us",
        propertyDefinitions: [{
            name: "prop5",
            displayName: "propdisp5",
            isRepeatable: false,
            isFilterable: true,
            isSearchable: true,
            isMetadata: false,
            isRequired: false,
            retrievalImportance: "HIGHEST",
            schemaSources: [{
                name: "dummy_source",
                processorType: "dummy_processor",
            }],
            timestampTypeOptions: {},
        }],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    project = gcp.organizations.get_project()
    example_timestamp = gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("example_timestamp",
        project_number=project.number,
        display_name="test-property-timestamp",
        location="us",
        property_definitions=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs(
            name="prop5",
            display_name="propdisp5",
            is_repeatable=False,
            is_filterable=True,
            is_searchable=True,
            is_metadata=False,
            is_required=False,
            retrieval_importance="HIGHEST",
            schema_sources=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs(
                name="dummy_source",
                processor_type="dummy_processor",
            )],
            timestamp_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionTimestampTypeOptionsArgs(),
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/essentialcontacts"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := organizations.LookupProject(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = essentialcontacts.NewDocumentAiWarehouseDocumentSchema(ctx, "example_timestamp", &essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs{
    			ProjectNumber: pulumi.String(project.Number),
    			DisplayName:   pulumi.String("test-property-timestamp"),
    			Location:      pulumi.String("us"),
    			PropertyDefinitions: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArray{
    				&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs{
    					Name:                pulumi.String("prop5"),
    					DisplayName:         pulumi.String("propdisp5"),
    					IsRepeatable:        pulumi.Bool(false),
    					IsFilterable:        pulumi.Bool(true),
    					IsSearchable:        pulumi.Bool(true),
    					IsMetadata:          pulumi.Bool(false),
    					IsRequired:          pulumi.Bool(false),
    					RetrievalImportance: pulumi.String("HIGHEST"),
    					SchemaSources: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArray{
    						&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs{
    							Name:          pulumi.String("dummy_source"),
    							ProcessorType: pulumi.String("dummy_processor"),
    						},
    					},
    					TimestampTypeOptions: nil,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var project = Gcp.Organizations.GetProject.Invoke();
    
        var exampleTimestamp = new Gcp.EssentialContacts.DocumentAiWarehouseDocumentSchema("example_timestamp", new()
        {
            ProjectNumber = project.Apply(getProjectResult => getProjectResult.Number),
            DisplayName = "test-property-timestamp",
            Location = "us",
            PropertyDefinitions = new[]
            {
                new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs
                {
                    Name = "prop5",
                    DisplayName = "propdisp5",
                    IsRepeatable = false,
                    IsFilterable = true,
                    IsSearchable = true,
                    IsMetadata = false,
                    IsRequired = false,
                    RetrievalImportance = "HIGHEST",
                    SchemaSources = new[]
                    {
                        new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs
                        {
                            Name = "dummy_source",
                            ProcessorType = "dummy_processor",
                        },
                    },
                    TimestampTypeOptions = null,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.organizations.OrganizationsFunctions;
    import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema;
    import com.pulumi.gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs;
    import com.pulumi.gcp.essentialcontacts.inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionTimestampTypeOptionsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var project = OrganizationsFunctions.getProject();
    
            var exampleTimestamp = new DocumentAiWarehouseDocumentSchema("exampleTimestamp", DocumentAiWarehouseDocumentSchemaArgs.builder()        
                .projectNumber(project.applyValue(getProjectResult -> getProjectResult.number()))
                .displayName("test-property-timestamp")
                .location("us")
                .propertyDefinitions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs.builder()
                    .name("prop5")
                    .displayName("propdisp5")
                    .isRepeatable(false)
                    .isFilterable(true)
                    .isSearchable(true)
                    .isMetadata(false)
                    .isRequired(false)
                    .retrievalImportance("HIGHEST")
                    .schemaSources(DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs.builder()
                        .name("dummy_source")
                        .processorType("dummy_processor")
                        .build())
                    .timestampTypeOptions()
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleTimestamp:
        type: gcp:essentialcontacts:DocumentAiWarehouseDocumentSchema
        name: example_timestamp
        properties:
          projectNumber: ${project.number}
          displayName: test-property-timestamp
          location: us
          propertyDefinitions:
            - name: prop5
              displayName: propdisp5
              isRepeatable: false
              isFilterable: true
              isSearchable: true
              isMetadata: false
              isRequired: false
              retrievalImportance: HIGHEST
              schemaSources:
                - name: dummy_source
                  processorType: dummy_processor
              timestampTypeOptions: {}
    variables:
      project:
        fn::invoke:
          Function: gcp:organizations:getProject
          Arguments: {}
    

    Create DocumentAiWarehouseDocumentSchema Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DocumentAiWarehouseDocumentSchema(name: string, args: DocumentAiWarehouseDocumentSchemaArgs, opts?: CustomResourceOptions);
    @overload
    def DocumentAiWarehouseDocumentSchema(resource_name: str,
                                          args: DocumentAiWarehouseDocumentSchemaArgs,
                                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def DocumentAiWarehouseDocumentSchema(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          display_name: Optional[str] = None,
                                          location: Optional[str] = None,
                                          project_number: Optional[str] = None,
                                          property_definitions: Optional[Sequence[DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs]] = None,
                                          document_is_folder: Optional[bool] = None)
    func NewDocumentAiWarehouseDocumentSchema(ctx *Context, name string, args DocumentAiWarehouseDocumentSchemaArgs, opts ...ResourceOption) (*DocumentAiWarehouseDocumentSchema, error)
    public DocumentAiWarehouseDocumentSchema(string name, DocumentAiWarehouseDocumentSchemaArgs args, CustomResourceOptions? opts = null)
    public DocumentAiWarehouseDocumentSchema(String name, DocumentAiWarehouseDocumentSchemaArgs args)
    public DocumentAiWarehouseDocumentSchema(String name, DocumentAiWarehouseDocumentSchemaArgs args, CustomResourceOptions options)
    
    type: gcp:essentialcontacts:DocumentAiWarehouseDocumentSchema
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DocumentAiWarehouseDocumentSchemaArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DocumentAiWarehouseDocumentSchemaArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DocumentAiWarehouseDocumentSchemaArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DocumentAiWarehouseDocumentSchemaArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DocumentAiWarehouseDocumentSchemaArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var documentAiWarehouseDocumentSchemaResource = new Gcp.EssentialContacts.DocumentAiWarehouseDocumentSchema("documentAiWarehouseDocumentSchemaResource", new()
    {
        DisplayName = "string",
        Location = "string",
        ProjectNumber = "string",
        PropertyDefinitions = new[]
        {
            new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs
            {
                Name = "string",
                IsRequired = false,
                IsRepeatable = false,
                FloatTypeOptions = null,
                IntegerTypeOptions = null,
                IsSearchable = false,
                IsMetadata = false,
                EnumTypeOptions = new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptionsArgs
                {
                    PossibleValues = new[]
                    {
                        "string",
                    },
                    ValidationCheckDisabled = false,
                },
                DateTimeTypeOptions = null,
                IsFilterable = false,
                MapTypeOptions = null,
                DisplayName = "string",
                PropertyTypeOptions = new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs
                {
                    PropertyDefinitions = new[]
                    {
                        new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArgs
                        {
                            Name = "string",
                            IsRequired = false,
                            IsSearchable = false,
                            FloatTypeOptions = null,
                            IntegerTypeOptions = null,
                            IsFilterable = false,
                            IsMetadata = false,
                            EnumTypeOptions = new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptionsArgs
                            {
                                PossibleValues = new[]
                                {
                                    "string",
                                },
                                ValidationCheckDisabled = false,
                            },
                            DateTimeTypeOptions = null,
                            IsRepeatable = false,
                            MapTypeOptions = null,
                            DisplayName = "string",
                            RetrievalImportance = "string",
                            SchemaSources = new[]
                            {
                                new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArgs
                                {
                                    Name = "string",
                                    ProcessorType = "string",
                                },
                            },
                            TextTypeOptions = null,
                            TimestampTypeOptions = null,
                        },
                    },
                },
                RetrievalImportance = "string",
                SchemaSources = new[]
                {
                    new Gcp.EssentialContacts.Inputs.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs
                    {
                        Name = "string",
                        ProcessorType = "string",
                    },
                },
                TextTypeOptions = null,
                TimestampTypeOptions = null,
            },
        },
        DocumentIsFolder = false,
    });
    
    example, err := essentialcontacts.NewDocumentAiWarehouseDocumentSchema(ctx, "documentAiWarehouseDocumentSchemaResource", &essentialcontacts.DocumentAiWarehouseDocumentSchemaArgs{
    	DisplayName:   pulumi.String("string"),
    	Location:      pulumi.String("string"),
    	ProjectNumber: pulumi.String("string"),
    	PropertyDefinitions: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArray{
    		&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs{
    			Name:               pulumi.String("string"),
    			IsRequired:         pulumi.Bool(false),
    			IsRepeatable:       pulumi.Bool(false),
    			FloatTypeOptions:   nil,
    			IntegerTypeOptions: nil,
    			IsSearchable:       pulumi.Bool(false),
    			IsMetadata:         pulumi.Bool(false),
    			EnumTypeOptions: &essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptionsArgs{
    				PossibleValues: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				ValidationCheckDisabled: pulumi.Bool(false),
    			},
    			DateTimeTypeOptions: nil,
    			IsFilterable:        pulumi.Bool(false),
    			MapTypeOptions:      nil,
    			DisplayName:         pulumi.String("string"),
    			PropertyTypeOptions: &essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs{
    				PropertyDefinitions: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArray{
    					&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArgs{
    						Name:               pulumi.String("string"),
    						IsRequired:         pulumi.Bool(false),
    						IsSearchable:       pulumi.Bool(false),
    						FloatTypeOptions:   nil,
    						IntegerTypeOptions: nil,
    						IsFilterable:       pulumi.Bool(false),
    						IsMetadata:         pulumi.Bool(false),
    						EnumTypeOptions: &essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptionsArgs{
    							PossibleValues: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							ValidationCheckDisabled: pulumi.Bool(false),
    						},
    						DateTimeTypeOptions: nil,
    						IsRepeatable:        pulumi.Bool(false),
    						MapTypeOptions:      nil,
    						DisplayName:         pulumi.String("string"),
    						RetrievalImportance: pulumi.String("string"),
    						SchemaSources: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArray{
    							&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArgs{
    								Name:          pulumi.String("string"),
    								ProcessorType: pulumi.String("string"),
    							},
    						},
    						TextTypeOptions:      nil,
    						TimestampTypeOptions: nil,
    					},
    				},
    			},
    			RetrievalImportance: pulumi.String("string"),
    			SchemaSources: essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArray{
    				&essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs{
    					Name:          pulumi.String("string"),
    					ProcessorType: pulumi.String("string"),
    				},
    			},
    			TextTypeOptions:      nil,
    			TimestampTypeOptions: nil,
    		},
    	},
    	DocumentIsFolder: pulumi.Bool(false),
    })
    
    var documentAiWarehouseDocumentSchemaResource = new DocumentAiWarehouseDocumentSchema("documentAiWarehouseDocumentSchemaResource", DocumentAiWarehouseDocumentSchemaArgs.builder()        
        .displayName("string")
        .location("string")
        .projectNumber("string")
        .propertyDefinitions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs.builder()
            .name("string")
            .isRequired(false)
            .isRepeatable(false)
            .floatTypeOptions()
            .integerTypeOptions()
            .isSearchable(false)
            .isMetadata(false)
            .enumTypeOptions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptionsArgs.builder()
                .possibleValues("string")
                .validationCheckDisabled(false)
                .build())
            .dateTimeTypeOptions()
            .isFilterable(false)
            .mapTypeOptions()
            .displayName("string")
            .propertyTypeOptions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs.builder()
                .propertyDefinitions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArgs.builder()
                    .name("string")
                    .isRequired(false)
                    .isSearchable(false)
                    .floatTypeOptions()
                    .integerTypeOptions()
                    .isFilterable(false)
                    .isMetadata(false)
                    .enumTypeOptions(DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptionsArgs.builder()
                        .possibleValues("string")
                        .validationCheckDisabled(false)
                        .build())
                    .dateTimeTypeOptions()
                    .isRepeatable(false)
                    .mapTypeOptions()
                    .displayName("string")
                    .retrievalImportance("string")
                    .schemaSources(DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArgs.builder()
                        .name("string")
                        .processorType("string")
                        .build())
                    .textTypeOptions()
                    .timestampTypeOptions()
                    .build())
                .build())
            .retrievalImportance("string")
            .schemaSources(DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs.builder()
                .name("string")
                .processorType("string")
                .build())
            .textTypeOptions()
            .timestampTypeOptions()
            .build())
        .documentIsFolder(false)
        .build());
    
    document_ai_warehouse_document_schema_resource = gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("documentAiWarehouseDocumentSchemaResource",
        display_name="string",
        location="string",
        project_number="string",
        property_definitions=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs(
            name="string",
            is_required=False,
            is_repeatable=False,
            float_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionFloatTypeOptionsArgs(),
            integer_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionIntegerTypeOptionsArgs(),
            is_searchable=False,
            is_metadata=False,
            enum_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptionsArgs(
                possible_values=["string"],
                validation_check_disabled=False,
            ),
            date_time_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionDateTimeTypeOptionsArgs(),
            is_filterable=False,
            map_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionMapTypeOptionsArgs(),
            display_name="string",
            property_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs(
                property_definitions=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArgs(
                    name="string",
                    is_required=False,
                    is_searchable=False,
                    float_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionFloatTypeOptionsArgs(),
                    integer_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionIntegerTypeOptionsArgs(),
                    is_filterable=False,
                    is_metadata=False,
                    enum_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptionsArgs(
                        possible_values=["string"],
                        validation_check_disabled=False,
                    ),
                    date_time_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionDateTimeTypeOptionsArgs(),
                    is_repeatable=False,
                    map_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionMapTypeOptionsArgs(),
                    display_name="string",
                    retrieval_importance="string",
                    schema_sources=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArgs(
                        name="string",
                        processor_type="string",
                    )],
                    text_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionTextTypeOptionsArgs(),
                    timestamp_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionTimestampTypeOptionsArgs(),
                )],
            ),
            retrieval_importance="string",
            schema_sources=[gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs(
                name="string",
                processor_type="string",
            )],
            text_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionTextTypeOptionsArgs(),
            timestamp_type_options=gcp.essentialcontacts.DocumentAiWarehouseDocumentSchemaPropertyDefinitionTimestampTypeOptionsArgs(),
        )],
        document_is_folder=False)
    
    const documentAiWarehouseDocumentSchemaResource = new gcp.essentialcontacts.DocumentAiWarehouseDocumentSchema("documentAiWarehouseDocumentSchemaResource", {
        displayName: "string",
        location: "string",
        projectNumber: "string",
        propertyDefinitions: [{
            name: "string",
            isRequired: false,
            isRepeatable: false,
            floatTypeOptions: {},
            integerTypeOptions: {},
            isSearchable: false,
            isMetadata: false,
            enumTypeOptions: {
                possibleValues: ["string"],
                validationCheckDisabled: false,
            },
            dateTimeTypeOptions: {},
            isFilterable: false,
            mapTypeOptions: {},
            displayName: "string",
            propertyTypeOptions: {
                propertyDefinitions: [{
                    name: "string",
                    isRequired: false,
                    isSearchable: false,
                    floatTypeOptions: {},
                    integerTypeOptions: {},
                    isFilterable: false,
                    isMetadata: false,
                    enumTypeOptions: {
                        possibleValues: ["string"],
                        validationCheckDisabled: false,
                    },
                    dateTimeTypeOptions: {},
                    isRepeatable: false,
                    mapTypeOptions: {},
                    displayName: "string",
                    retrievalImportance: "string",
                    schemaSources: [{
                        name: "string",
                        processorType: "string",
                    }],
                    textTypeOptions: {},
                    timestampTypeOptions: {},
                }],
            },
            retrievalImportance: "string",
            schemaSources: [{
                name: "string",
                processorType: "string",
            }],
            textTypeOptions: {},
            timestampTypeOptions: {},
        }],
        documentIsFolder: false,
    });
    
    type: gcp:essentialcontacts:DocumentAiWarehouseDocumentSchema
    properties:
        displayName: string
        documentIsFolder: false
        location: string
        projectNumber: string
        propertyDefinitions:
            - dateTimeTypeOptions: {}
              displayName: string
              enumTypeOptions:
                possibleValues:
                    - string
                validationCheckDisabled: false
              floatTypeOptions: {}
              integerTypeOptions: {}
              isFilterable: false
              isMetadata: false
              isRepeatable: false
              isRequired: false
              isSearchable: false
              mapTypeOptions: {}
              name: string
              propertyTypeOptions:
                propertyDefinitions:
                    - dateTimeTypeOptions: {}
                      displayName: string
                      enumTypeOptions:
                        possibleValues:
                            - string
                        validationCheckDisabled: false
                      floatTypeOptions: {}
                      integerTypeOptions: {}
                      isFilterable: false
                      isMetadata: false
                      isRepeatable: false
                      isRequired: false
                      isSearchable: false
                      mapTypeOptions: {}
                      name: string
                      retrievalImportance: string
                      schemaSources:
                        - name: string
                          processorType: string
                      textTypeOptions: {}
                      timestampTypeOptions: {}
              retrievalImportance: string
              schemaSources:
                - name: string
                  processorType: string
              textTypeOptions: {}
              timestampTypeOptions: {}
    

    DocumentAiWarehouseDocumentSchema Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The DocumentAiWarehouseDocumentSchema resource accepts the following input properties:

    DisplayName string
    Name of the schema given by the user.
    Location string
    The location of the resource.
    ProjectNumber string
    The unique identifier of the project.
    PropertyDefinitions List<DocumentAiWarehouseDocumentSchemaPropertyDefinition>
    Defines the metadata for a schema property. Structure is documented below.
    DocumentIsFolder bool
    Tells whether the document is a folder or a typical document.
    DisplayName string
    Name of the schema given by the user.
    Location string
    The location of the resource.
    ProjectNumber string
    The unique identifier of the project.
    PropertyDefinitions []DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs
    Defines the metadata for a schema property. Structure is documented below.
    DocumentIsFolder bool
    Tells whether the document is a folder or a typical document.
    displayName String
    Name of the schema given by the user.
    location String
    The location of the resource.
    projectNumber String
    The unique identifier of the project.
    propertyDefinitions List<DocumentAiWarehouseDocumentSchemaPropertyDefinition>
    Defines the metadata for a schema property. Structure is documented below.
    documentIsFolder Boolean
    Tells whether the document is a folder or a typical document.
    displayName string
    Name of the schema given by the user.
    location string
    The location of the resource.
    projectNumber string
    The unique identifier of the project.
    propertyDefinitions DocumentAiWarehouseDocumentSchemaPropertyDefinition[]
    Defines the metadata for a schema property. Structure is documented below.
    documentIsFolder boolean
    Tells whether the document is a folder or a typical document.
    display_name str
    Name of the schema given by the user.
    location str
    The location of the resource.
    project_number str
    The unique identifier of the project.
    property_definitions Sequence[DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs]
    Defines the metadata for a schema property. Structure is documented below.
    document_is_folder bool
    Tells whether the document is a folder or a typical document.
    displayName String
    Name of the schema given by the user.
    location String
    The location of the resource.
    projectNumber String
    The unique identifier of the project.
    propertyDefinitions List<Property Map>
    Defines the metadata for a schema property. Structure is documented below.
    documentIsFolder Boolean
    Tells whether the document is a folder or a typical document.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DocumentAiWarehouseDocumentSchema resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the metadata property.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the metadata property.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the metadata property.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the metadata property.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the metadata property.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the metadata property.

    Look up Existing DocumentAiWarehouseDocumentSchema Resource

    Get an existing DocumentAiWarehouseDocumentSchema resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DocumentAiWarehouseDocumentSchemaState, opts?: CustomResourceOptions): DocumentAiWarehouseDocumentSchema
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            display_name: Optional[str] = None,
            document_is_folder: Optional[bool] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project_number: Optional[str] = None,
            property_definitions: Optional[Sequence[DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs]] = None) -> DocumentAiWarehouseDocumentSchema
    func GetDocumentAiWarehouseDocumentSchema(ctx *Context, name string, id IDInput, state *DocumentAiWarehouseDocumentSchemaState, opts ...ResourceOption) (*DocumentAiWarehouseDocumentSchema, error)
    public static DocumentAiWarehouseDocumentSchema Get(string name, Input<string> id, DocumentAiWarehouseDocumentSchemaState? state, CustomResourceOptions? opts = null)
    public static DocumentAiWarehouseDocumentSchema get(String name, Output<String> id, DocumentAiWarehouseDocumentSchemaState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DisplayName string
    Name of the schema given by the user.
    DocumentIsFolder bool
    Tells whether the document is a folder or a typical document.
    Location string
    The location of the resource.
    Name string
    The name of the metadata property.
    ProjectNumber string
    The unique identifier of the project.
    PropertyDefinitions List<DocumentAiWarehouseDocumentSchemaPropertyDefinition>
    Defines the metadata for a schema property. Structure is documented below.
    DisplayName string
    Name of the schema given by the user.
    DocumentIsFolder bool
    Tells whether the document is a folder or a typical document.
    Location string
    The location of the resource.
    Name string
    The name of the metadata property.
    ProjectNumber string
    The unique identifier of the project.
    PropertyDefinitions []DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs
    Defines the metadata for a schema property. Structure is documented below.
    displayName String
    Name of the schema given by the user.
    documentIsFolder Boolean
    Tells whether the document is a folder or a typical document.
    location String
    The location of the resource.
    name String
    The name of the metadata property.
    projectNumber String
    The unique identifier of the project.
    propertyDefinitions List<DocumentAiWarehouseDocumentSchemaPropertyDefinition>
    Defines the metadata for a schema property. Structure is documented below.
    displayName string
    Name of the schema given by the user.
    documentIsFolder boolean
    Tells whether the document is a folder or a typical document.
    location string
    The location of the resource.
    name string
    The name of the metadata property.
    projectNumber string
    The unique identifier of the project.
    propertyDefinitions DocumentAiWarehouseDocumentSchemaPropertyDefinition[]
    Defines the metadata for a schema property. Structure is documented below.
    display_name str
    Name of the schema given by the user.
    document_is_folder bool
    Tells whether the document is a folder or a typical document.
    location str
    The location of the resource.
    name str
    The name of the metadata property.
    project_number str
    The unique identifier of the project.
    property_definitions Sequence[DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs]
    Defines the metadata for a schema property. Structure is documented below.
    displayName String
    Name of the schema given by the user.
    documentIsFolder Boolean
    Tells whether the document is a folder or a typical document.
    location String
    The location of the resource.
    name String
    The name of the metadata property.
    projectNumber String
    The unique identifier of the project.
    propertyDefinitions List<Property Map>
    Defines the metadata for a schema property. Structure is documented below.

    Supporting Types

    DocumentAiWarehouseDocumentSchemaPropertyDefinition, DocumentAiWarehouseDocumentSchemaPropertyDefinitionArgs

    Name string
    The name of the metadata property.
    DateTimeTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionDateTimeTypeOptions
    Date time property. Not supported by CMEK compliant deployment.
    DisplayName string
    The display-name for the property, used for front-end.
    EnumTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptions
    Enum/categorical property. Structure is documented below.
    FloatTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionFloatTypeOptions
    Float property.
    IntegerTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionIntegerTypeOptions
    Integer property.
    IsFilterable bool
    Whether the property can be filtered. If this is a sub-property, all the parent properties must be marked filterable.
    IsMetadata bool
    Whether the property is user supplied metadata.
    IsRepeatable bool
    Whether the property can have multiple values.
    IsRequired bool
    Whether the property is mandatory.
    IsSearchable bool
    Indicates that the property should be included in a global search.
    MapTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionMapTypeOptions
    Map property.
    PropertyTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptions
    Nested structured data property. Structure is documented below.
    RetrievalImportance string
    Stores the retrieval importance. Possible values are: HIGHEST, HIGHER, HIGH, MEDIUM, LOW, LOWEST.
    SchemaSources List<DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSource>
    The schema source information. Structure is documented below.
    TextTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionTextTypeOptions
    Text property.
    TimestampTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionTimestampTypeOptions
    Timestamp property. Not supported by CMEK compliant deployment.
    Name string
    The name of the metadata property.
    DateTimeTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionDateTimeTypeOptions
    Date time property. Not supported by CMEK compliant deployment.
    DisplayName string
    The display-name for the property, used for front-end.
    EnumTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptions
    Enum/categorical property. Structure is documented below.
    FloatTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionFloatTypeOptions
    Float property.
    IntegerTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionIntegerTypeOptions
    Integer property.
    IsFilterable bool
    Whether the property can be filtered. If this is a sub-property, all the parent properties must be marked filterable.
    IsMetadata bool
    Whether the property is user supplied metadata.
    IsRepeatable bool
    Whether the property can have multiple values.
    IsRequired bool
    Whether the property is mandatory.
    IsSearchable bool
    Indicates that the property should be included in a global search.
    MapTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionMapTypeOptions
    Map property.
    PropertyTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptions
    Nested structured data property. Structure is documented below.
    RetrievalImportance string
    Stores the retrieval importance. Possible values are: HIGHEST, HIGHER, HIGH, MEDIUM, LOW, LOWEST.
    SchemaSources []DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSource
    The schema source information. Structure is documented below.
    TextTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionTextTypeOptions
    Text property.
    TimestampTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionTimestampTypeOptions
    Timestamp property. Not supported by CMEK compliant deployment.
    name String
    The name of the metadata property.
    dateTimeTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionDateTimeTypeOptions
    Date time property. Not supported by CMEK compliant deployment.
    displayName String
    The display-name for the property, used for front-end.
    enumTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptions
    Enum/categorical property. Structure is documented below.
    floatTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionFloatTypeOptions
    Float property.
    integerTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionIntegerTypeOptions
    Integer property.
    isFilterable Boolean
    Whether the property can be filtered. If this is a sub-property, all the parent properties must be marked filterable.
    isMetadata Boolean
    Whether the property is user supplied metadata.
    isRepeatable Boolean
    Whether the property can have multiple values.
    isRequired Boolean
    Whether the property is mandatory.
    isSearchable Boolean
    Indicates that the property should be included in a global search.
    mapTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionMapTypeOptions
    Map property.
    propertyTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptions
    Nested structured data property. Structure is documented below.
    retrievalImportance String
    Stores the retrieval importance. Possible values are: HIGHEST, HIGHER, HIGH, MEDIUM, LOW, LOWEST.
    schemaSources List<DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSource>
    The schema source information. Structure is documented below.
    textTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionTextTypeOptions
    Text property.
    timestampTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionTimestampTypeOptions
    Timestamp property. Not supported by CMEK compliant deployment.
    name string
    The name of the metadata property.
    dateTimeTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionDateTimeTypeOptions
    Date time property. Not supported by CMEK compliant deployment.
    displayName string
    The display-name for the property, used for front-end.
    enumTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptions
    Enum/categorical property. Structure is documented below.
    floatTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionFloatTypeOptions
    Float property.
    integerTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionIntegerTypeOptions
    Integer property.
    isFilterable boolean
    Whether the property can be filtered. If this is a sub-property, all the parent properties must be marked filterable.
    isMetadata boolean
    Whether the property is user supplied metadata.
    isRepeatable boolean
    Whether the property can have multiple values.
    isRequired boolean
    Whether the property is mandatory.
    isSearchable boolean
    Indicates that the property should be included in a global search.
    mapTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionMapTypeOptions
    Map property.
    propertyTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptions
    Nested structured data property. Structure is documented below.
    retrievalImportance string
    Stores the retrieval importance. Possible values are: HIGHEST, HIGHER, HIGH, MEDIUM, LOW, LOWEST.
    schemaSources DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSource[]
    The schema source information. Structure is documented below.
    textTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionTextTypeOptions
    Text property.
    timestampTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionTimestampTypeOptions
    Timestamp property. Not supported by CMEK compliant deployment.
    name str
    The name of the metadata property.
    date_time_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionDateTimeTypeOptions
    Date time property. Not supported by CMEK compliant deployment.
    display_name str
    The display-name for the property, used for front-end.
    enum_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptions
    Enum/categorical property. Structure is documented below.
    float_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionFloatTypeOptions
    Float property.
    integer_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionIntegerTypeOptions
    Integer property.
    is_filterable bool
    Whether the property can be filtered. If this is a sub-property, all the parent properties must be marked filterable.
    is_metadata bool
    Whether the property is user supplied metadata.
    is_repeatable bool
    Whether the property can have multiple values.
    is_required bool
    Whether the property is mandatory.
    is_searchable bool
    Indicates that the property should be included in a global search.
    map_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionMapTypeOptions
    Map property.
    property_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptions
    Nested structured data property. Structure is documented below.
    retrieval_importance str
    Stores the retrieval importance. Possible values are: HIGHEST, HIGHER, HIGH, MEDIUM, LOW, LOWEST.
    schema_sources Sequence[DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSource]
    The schema source information. Structure is documented below.
    text_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionTextTypeOptions
    Text property.
    timestamp_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionTimestampTypeOptions
    Timestamp property. Not supported by CMEK compliant deployment.
    name String
    The name of the metadata property.
    dateTimeTypeOptions Property Map
    Date time property. Not supported by CMEK compliant deployment.
    displayName String
    The display-name for the property, used for front-end.
    enumTypeOptions Property Map
    Enum/categorical property. Structure is documented below.
    floatTypeOptions Property Map
    Float property.
    integerTypeOptions Property Map
    Integer property.
    isFilterable Boolean
    Whether the property can be filtered. If this is a sub-property, all the parent properties must be marked filterable.
    isMetadata Boolean
    Whether the property is user supplied metadata.
    isRepeatable Boolean
    Whether the property can have multiple values.
    isRequired Boolean
    Whether the property is mandatory.
    isSearchable Boolean
    Indicates that the property should be included in a global search.
    mapTypeOptions Property Map
    Map property.
    propertyTypeOptions Property Map
    Nested structured data property. Structure is documented below.
    retrievalImportance String
    Stores the retrieval importance. Possible values are: HIGHEST, HIGHER, HIGH, MEDIUM, LOW, LOWEST.
    schemaSources List<Property Map>
    The schema source information. Structure is documented below.
    textTypeOptions Property Map
    Text property.
    timestampTypeOptions Property Map
    Timestamp property. Not supported by CMEK compliant deployment.

    DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptions, DocumentAiWarehouseDocumentSchemaPropertyDefinitionEnumTypeOptionsArgs

    PossibleValues List<string>
    List of possible enum values.
    ValidationCheckDisabled bool
    Make sure the enum property value provided in the document is in the possile value list during document creation. The validation check runs by default.


    PossibleValues []string
    List of possible enum values.
    ValidationCheckDisabled bool
    Make sure the enum property value provided in the document is in the possile value list during document creation. The validation check runs by default.


    possibleValues List<String>
    List of possible enum values.
    validationCheckDisabled Boolean
    Make sure the enum property value provided in the document is in the possile value list during document creation. The validation check runs by default.


    possibleValues string[]
    List of possible enum values.
    validationCheckDisabled boolean
    Make sure the enum property value provided in the document is in the possile value list during document creation. The validation check runs by default.


    possible_values Sequence[str]
    List of possible enum values.
    validation_check_disabled bool
    Make sure the enum property value provided in the document is in the possile value list during document creation. The validation check runs by default.


    possibleValues List<String>
    List of possible enum values.
    validationCheckDisabled Boolean
    Make sure the enum property value provided in the document is in the possile value list during document creation. The validation check runs by default.


    DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptions, DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsArgs

    PropertyDefinitions []DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinition
    Defines the metadata for a schema property. Structure is documented below.
    propertyDefinitions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinition[]
    Defines the metadata for a schema property. Structure is documented below.
    propertyDefinitions List<Property Map>
    Defines the metadata for a schema property. Structure is documented below.

    DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinition, DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionArgs

    Name string
    The name of the metadata property.
    DateTimeTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionDateTimeTypeOptions
    Date time property. Not supported by CMEK compliant deployment.
    DisplayName string
    The display-name for the property, used for front-end.
    EnumTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptions
    Enum/categorical property. Structure is documented below.
    FloatTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionFloatTypeOptions
    Float property.
    IntegerTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionIntegerTypeOptions
    Integer property.
    IsFilterable bool
    Whether the property can be filtered. If this is a sub-property, all the parent properties must be marked filterable.
    IsMetadata bool
    Whether the property is user supplied metadata.
    IsRepeatable bool
    Whether the property can have multiple values.
    IsRequired bool
    Whether the property is mandatory.
    IsSearchable bool
    Indicates that the property should be included in a global search.
    MapTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionMapTypeOptions
    Map property.
    RetrievalImportance string
    Stores the retrieval importance. Possible values are: HIGHEST, HIGHER, HIGH, MEDIUM, LOW, LOWEST.
    SchemaSources List<DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSource>
    The schema source information. Structure is documented below.
    TextTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionTextTypeOptions
    Text property.
    TimestampTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionTimestampTypeOptions
    Timestamp property. Not supported by CMEK compliant deployment.
    Name string
    The name of the metadata property.
    DateTimeTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionDateTimeTypeOptions
    Date time property. Not supported by CMEK compliant deployment.
    DisplayName string
    The display-name for the property, used for front-end.
    EnumTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptions
    Enum/categorical property. Structure is documented below.
    FloatTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionFloatTypeOptions
    Float property.
    IntegerTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionIntegerTypeOptions
    Integer property.
    IsFilterable bool
    Whether the property can be filtered. If this is a sub-property, all the parent properties must be marked filterable.
    IsMetadata bool
    Whether the property is user supplied metadata.
    IsRepeatable bool
    Whether the property can have multiple values.
    IsRequired bool
    Whether the property is mandatory.
    IsSearchable bool
    Indicates that the property should be included in a global search.
    MapTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionMapTypeOptions
    Map property.
    RetrievalImportance string
    Stores the retrieval importance. Possible values are: HIGHEST, HIGHER, HIGH, MEDIUM, LOW, LOWEST.
    SchemaSources []DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSource
    The schema source information. Structure is documented below.
    TextTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionTextTypeOptions
    Text property.
    TimestampTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionTimestampTypeOptions
    Timestamp property. Not supported by CMEK compliant deployment.
    name String
    The name of the metadata property.
    dateTimeTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionDateTimeTypeOptions
    Date time property. Not supported by CMEK compliant deployment.
    displayName String
    The display-name for the property, used for front-end.
    enumTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptions
    Enum/categorical property. Structure is documented below.
    floatTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionFloatTypeOptions
    Float property.
    integerTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionIntegerTypeOptions
    Integer property.
    isFilterable Boolean
    Whether the property can be filtered. If this is a sub-property, all the parent properties must be marked filterable.
    isMetadata Boolean
    Whether the property is user supplied metadata.
    isRepeatable Boolean
    Whether the property can have multiple values.
    isRequired Boolean
    Whether the property is mandatory.
    isSearchable Boolean
    Indicates that the property should be included in a global search.
    mapTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionMapTypeOptions
    Map property.
    retrievalImportance String
    Stores the retrieval importance. Possible values are: HIGHEST, HIGHER, HIGH, MEDIUM, LOW, LOWEST.
    schemaSources List<DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSource>
    The schema source information. Structure is documented below.
    textTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionTextTypeOptions
    Text property.
    timestampTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionTimestampTypeOptions
    Timestamp property. Not supported by CMEK compliant deployment.
    name string
    The name of the metadata property.
    dateTimeTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionDateTimeTypeOptions
    Date time property. Not supported by CMEK compliant deployment.
    displayName string
    The display-name for the property, used for front-end.
    enumTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptions
    Enum/categorical property. Structure is documented below.
    floatTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionFloatTypeOptions
    Float property.
    integerTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionIntegerTypeOptions
    Integer property.
    isFilterable boolean
    Whether the property can be filtered. If this is a sub-property, all the parent properties must be marked filterable.
    isMetadata boolean
    Whether the property is user supplied metadata.
    isRepeatable boolean
    Whether the property can have multiple values.
    isRequired boolean
    Whether the property is mandatory.
    isSearchable boolean
    Indicates that the property should be included in a global search.
    mapTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionMapTypeOptions
    Map property.
    retrievalImportance string
    Stores the retrieval importance. Possible values are: HIGHEST, HIGHER, HIGH, MEDIUM, LOW, LOWEST.
    schemaSources DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSource[]
    The schema source information. Structure is documented below.
    textTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionTextTypeOptions
    Text property.
    timestampTypeOptions DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionTimestampTypeOptions
    Timestamp property. Not supported by CMEK compliant deployment.
    name str
    The name of the metadata property.
    date_time_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionDateTimeTypeOptions
    Date time property. Not supported by CMEK compliant deployment.
    display_name str
    The display-name for the property, used for front-end.
    enum_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptions
    Enum/categorical property. Structure is documented below.
    float_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionFloatTypeOptions
    Float property.
    integer_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionIntegerTypeOptions
    Integer property.
    is_filterable bool
    Whether the property can be filtered. If this is a sub-property, all the parent properties must be marked filterable.
    is_metadata bool
    Whether the property is user supplied metadata.
    is_repeatable bool
    Whether the property can have multiple values.
    is_required bool
    Whether the property is mandatory.
    is_searchable bool
    Indicates that the property should be included in a global search.
    map_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionMapTypeOptions
    Map property.
    retrieval_importance str
    Stores the retrieval importance. Possible values are: HIGHEST, HIGHER, HIGH, MEDIUM, LOW, LOWEST.
    schema_sources Sequence[DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSource]
    The schema source information. Structure is documented below.
    text_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionTextTypeOptions
    Text property.
    timestamp_type_options DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionTimestampTypeOptions
    Timestamp property. Not supported by CMEK compliant deployment.
    name String
    The name of the metadata property.
    dateTimeTypeOptions Property Map
    Date time property. Not supported by CMEK compliant deployment.
    displayName String
    The display-name for the property, used for front-end.
    enumTypeOptions Property Map
    Enum/categorical property. Structure is documented below.
    floatTypeOptions Property Map
    Float property.
    integerTypeOptions Property Map
    Integer property.
    isFilterable Boolean
    Whether the property can be filtered. If this is a sub-property, all the parent properties must be marked filterable.
    isMetadata Boolean
    Whether the property is user supplied metadata.
    isRepeatable Boolean
    Whether the property can have multiple values.
    isRequired Boolean
    Whether the property is mandatory.
    isSearchable Boolean
    Indicates that the property should be included in a global search.
    mapTypeOptions Property Map
    Map property.
    retrievalImportance String
    Stores the retrieval importance. Possible values are: HIGHEST, HIGHER, HIGH, MEDIUM, LOW, LOWEST.
    schemaSources List<Property Map>
    The schema source information. Structure is documented below.
    textTypeOptions Property Map
    Text property.
    timestampTypeOptions Property Map
    Timestamp property. Not supported by CMEK compliant deployment.

    DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptions, DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionEnumTypeOptionsArgs

    PossibleValues List<string>
    List of possible enum values.
    ValidationCheckDisabled bool
    Make sure the enum property value provided in the document is in the possile value list during document creation. The validation check runs by default.


    PossibleValues []string
    List of possible enum values.
    ValidationCheckDisabled bool
    Make sure the enum property value provided in the document is in the possile value list during document creation. The validation check runs by default.


    possibleValues List<String>
    List of possible enum values.
    validationCheckDisabled Boolean
    Make sure the enum property value provided in the document is in the possile value list during document creation. The validation check runs by default.


    possibleValues string[]
    List of possible enum values.
    validationCheckDisabled boolean
    Make sure the enum property value provided in the document is in the possile value list during document creation. The validation check runs by default.


    possible_values Sequence[str]
    List of possible enum values.
    validation_check_disabled bool
    Make sure the enum property value provided in the document is in the possile value list during document creation. The validation check runs by default.


    possibleValues List<String>
    List of possible enum values.
    validationCheckDisabled Boolean
    Make sure the enum property value provided in the document is in the possile value list during document creation. The validation check runs by default.


    DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSource, DocumentAiWarehouseDocumentSchemaPropertyDefinitionPropertyTypeOptionsPropertyDefinitionSchemaSourceArgs

    Name string
    The schema name in the source.
    ProcessorType string
    The Doc AI processor type name.
    Name string
    The schema name in the source.
    ProcessorType string
    The Doc AI processor type name.
    name String
    The schema name in the source.
    processorType String
    The Doc AI processor type name.
    name string
    The schema name in the source.
    processorType string
    The Doc AI processor type name.
    name str
    The schema name in the source.
    processor_type str
    The Doc AI processor type name.
    name String
    The schema name in the source.
    processorType String
    The Doc AI processor type name.

    DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSource, DocumentAiWarehouseDocumentSchemaPropertyDefinitionSchemaSourceArgs

    Name string
    The schema name in the source.
    ProcessorType string
    The Doc AI processor type name.
    Name string
    The schema name in the source.
    ProcessorType string
    The Doc AI processor type name.
    name String
    The schema name in the source.
    processorType String
    The Doc AI processor type name.
    name string
    The schema name in the source.
    processorType string
    The Doc AI processor type name.
    name str
    The schema name in the source.
    processor_type str
    The Doc AI processor type name.
    name String
    The schema name in the source.
    processorType String
    The Doc AI processor type name.

    Import

    DocumentSchema can be imported using any of these accepted formats:

    • projects/{{project_number}}/locations/{{location}}/documentSchemas/{{name}}

    • {{project_number}}/{{location}}/{{name}}

    When using the pulumi import command, DocumentSchema can be imported using one of the formats above. For example:

    $ pulumi import gcp:essentialcontacts/documentAiWarehouseDocumentSchema:DocumentAiWarehouseDocumentSchema default projects/{{project_number}}/locations/{{location}}/documentSchemas/{{name}}
    
    $ pulumi import gcp:essentialcontacts/documentAiWarehouseDocumentSchema:DocumentAiWarehouseDocumentSchema default {{project_number}}/{{location}}/{{name}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v7.19.0 published on Thursday, Apr 18, 2024 by Pulumi