1. Packages
  2. Google Cloud Native
  3. API Docs
  4. dialogflow
  5. dialogflow/v2beta1
  6. Document

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.dialogflow/v2beta1.Document

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new document. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: Document Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

    Create Document Resource

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

    Constructor syntax

    new Document(name: string, args: DocumentArgs, opts?: CustomResourceOptions);
    @overload
    def Document(resource_name: str,
                 args: DocumentArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Document(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 mime_type: Optional[str] = None,
                 display_name: Optional[str] = None,
                 knowledge_base_id: Optional[str] = None,
                 knowledge_types: Optional[Sequence[DocumentKnowledgeTypesItem]] = None,
                 content_uri: Optional[str] = None,
                 enable_auto_reload: Optional[bool] = None,
                 import_gcs_custom_metadata: Optional[bool] = None,
                 location: Optional[str] = None,
                 metadata: Optional[Mapping[str, str]] = None,
                 content: Optional[str] = None,
                 name: Optional[str] = None,
                 project: Optional[str] = None,
                 raw_content: Optional[str] = None)
    func NewDocument(ctx *Context, name string, args DocumentArgs, opts ...ResourceOption) (*Document, error)
    public Document(string name, DocumentArgs args, CustomResourceOptions? opts = null)
    public Document(String name, DocumentArgs args)
    public Document(String name, DocumentArgs args, CustomResourceOptions options)
    
    type: google-native:dialogflow/v2beta1:Document
    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 DocumentArgs
    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 DocumentArgs
    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 DocumentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DocumentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DocumentArgs
    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 exampledocumentResourceResourceFromDialogflowv2beta1 = new GoogleNative.Dialogflow.V2Beta1.Document("exampledocumentResourceResourceFromDialogflowv2beta1", new()
    {
        MimeType = "string",
        DisplayName = "string",
        KnowledgeBaseId = "string",
        KnowledgeTypes = new[]
        {
            GoogleNative.Dialogflow.V2Beta1.DocumentKnowledgeTypesItem.KnowledgeTypeUnspecified,
        },
        ContentUri = "string",
        EnableAutoReload = false,
        ImportGcsCustomMetadata = false,
        Location = "string",
        Metadata = 
        {
            { "string", "string" },
        },
        Content = "string",
        Name = "string",
        Project = "string",
        RawContent = "string",
    });
    
    example, err := dialogflowv2beta1.NewDocument(ctx, "exampledocumentResourceResourceFromDialogflowv2beta1", &dialogflowv2beta1.DocumentArgs{
    MimeType: pulumi.String("string"),
    DisplayName: pulumi.String("string"),
    KnowledgeBaseId: pulumi.String("string"),
    KnowledgeTypes: dialogflow.DocumentKnowledgeTypesItemArray{
    dialogflowv2beta1.DocumentKnowledgeTypesItemKnowledgeTypeUnspecified,
    },
    ContentUri: pulumi.String("string"),
    EnableAutoReload: pulumi.Bool(false),
    ImportGcsCustomMetadata: pulumi.Bool(false),
    Location: pulumi.String("string"),
    Metadata: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    Content: pulumi.String("string"),
    Name: pulumi.String("string"),
    Project: pulumi.String("string"),
    RawContent: pulumi.String("string"),
    })
    
    var exampledocumentResourceResourceFromDialogflowv2beta1 = new Document("exampledocumentResourceResourceFromDialogflowv2beta1", DocumentArgs.builder()        
        .mimeType("string")
        .displayName("string")
        .knowledgeBaseId("string")
        .knowledgeTypes("KNOWLEDGE_TYPE_UNSPECIFIED")
        .contentUri("string")
        .enableAutoReload(false)
        .importGcsCustomMetadata(false)
        .location("string")
        .metadata(Map.of("string", "string"))
        .content("string")
        .name("string")
        .project("string")
        .rawContent("string")
        .build());
    
    exampledocument_resource_resource_from_dialogflowv2beta1 = google_native.dialogflow.v2beta1.Document("exampledocumentResourceResourceFromDialogflowv2beta1",
        mime_type="string",
        display_name="string",
        knowledge_base_id="string",
        knowledge_types=[google_native.dialogflow.v2beta1.DocumentKnowledgeTypesItem.KNOWLEDGE_TYPE_UNSPECIFIED],
        content_uri="string",
        enable_auto_reload=False,
        import_gcs_custom_metadata=False,
        location="string",
        metadata={
            "string": "string",
        },
        content="string",
        name="string",
        project="string",
        raw_content="string")
    
    const exampledocumentResourceResourceFromDialogflowv2beta1 = new google_native.dialogflow.v2beta1.Document("exampledocumentResourceResourceFromDialogflowv2beta1", {
        mimeType: "string",
        displayName: "string",
        knowledgeBaseId: "string",
        knowledgeTypes: [google_native.dialogflow.v2beta1.DocumentKnowledgeTypesItem.KnowledgeTypeUnspecified],
        contentUri: "string",
        enableAutoReload: false,
        importGcsCustomMetadata: false,
        location: "string",
        metadata: {
            string: "string",
        },
        content: "string",
        name: "string",
        project: "string",
        rawContent: "string",
    });
    
    type: google-native:dialogflow/v2beta1:Document
    properties:
        content: string
        contentUri: string
        displayName: string
        enableAutoReload: false
        importGcsCustomMetadata: false
        knowledgeBaseId: string
        knowledgeTypes:
            - KNOWLEDGE_TYPE_UNSPECIFIED
        location: string
        metadata:
            string: string
        mimeType: string
        name: string
        project: string
        rawContent: string
    

    Document 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 Document resource accepts the following input properties:

    DisplayName string
    The display name of the document. The name must be 1024 bytes or less; otherwise, the creation request fails.
    KnowledgeBaseId string
    KnowledgeTypes List<Pulumi.GoogleNative.Dialogflow.V2Beta1.DocumentKnowledgeTypesItem>
    The knowledge type of document content.
    MimeType string
    The MIME type of this document.
    Content string
    The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types. Note: This field is in the process of being deprecated, please use raw_content instead.
    ContentUri string
    The URI where the file content is located. For documents stored in Google Cloud Storage, these URIs must have the form gs:///. NOTE: External URLs must correspond to public webpages, i.e., they must be indexed by Google Search. In particular, URLs for showing documents in Google Cloud Storage (i.e. the URL in your browser) are not supported. Instead use the gs:// format URI described above.
    EnableAutoReload bool
    Optional. If true, we try to automatically reload the document every day (at a time picked by the system). If false or unspecified, we don't try to automatically reload the document. Currently you can only enable automatic reload for documents sourced from a public url, see source field for the source types. Reload status can be tracked in latest_reload_status. If a reload fails, we will keep the document unchanged. If a reload fails with internal errors, the system will try to reload the document on the next day. If a reload fails with non-retriable errors (e.g. PERMISSION_DENIED), the system will not try to reload the document anymore. You need to manually reload the document successfully by calling ReloadDocument and clear the errors.
    ImportGcsCustomMetadata bool
    Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
    Location string
    Metadata Dictionary<string, string>
    Optional. Metadata for the document. The metadata supports arbitrary key-value pairs. Suggested use cases include storing a document's title, an external URL distinct from the document's content_uri, etc. The max size of a key or a value of the metadata is 1024 bytes.
    Name string
    Optional. The document resource name. The name must be empty when creating a document. Format: projects//locations//knowledgeBases//documents/.
    Project string
    RawContent string
    The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types.
    DisplayName string
    The display name of the document. The name must be 1024 bytes or less; otherwise, the creation request fails.
    KnowledgeBaseId string
    KnowledgeTypes []DocumentKnowledgeTypesItem
    The knowledge type of document content.
    MimeType string
    The MIME type of this document.
    Content string
    The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types. Note: This field is in the process of being deprecated, please use raw_content instead.
    ContentUri string
    The URI where the file content is located. For documents stored in Google Cloud Storage, these URIs must have the form gs:///. NOTE: External URLs must correspond to public webpages, i.e., they must be indexed by Google Search. In particular, URLs for showing documents in Google Cloud Storage (i.e. the URL in your browser) are not supported. Instead use the gs:// format URI described above.
    EnableAutoReload bool
    Optional. If true, we try to automatically reload the document every day (at a time picked by the system). If false or unspecified, we don't try to automatically reload the document. Currently you can only enable automatic reload for documents sourced from a public url, see source field for the source types. Reload status can be tracked in latest_reload_status. If a reload fails, we will keep the document unchanged. If a reload fails with internal errors, the system will try to reload the document on the next day. If a reload fails with non-retriable errors (e.g. PERMISSION_DENIED), the system will not try to reload the document anymore. You need to manually reload the document successfully by calling ReloadDocument and clear the errors.
    ImportGcsCustomMetadata bool
    Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
    Location string
    Metadata map[string]string
    Optional. Metadata for the document. The metadata supports arbitrary key-value pairs. Suggested use cases include storing a document's title, an external URL distinct from the document's content_uri, etc. The max size of a key or a value of the metadata is 1024 bytes.
    Name string
    Optional. The document resource name. The name must be empty when creating a document. Format: projects//locations//knowledgeBases//documents/.
    Project string
    RawContent string
    The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types.
    displayName String
    The display name of the document. The name must be 1024 bytes or less; otherwise, the creation request fails.
    knowledgeBaseId String
    knowledgeTypes List<DocumentKnowledgeTypesItem>
    The knowledge type of document content.
    mimeType String
    The MIME type of this document.
    content String
    The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types. Note: This field is in the process of being deprecated, please use raw_content instead.
    contentUri String
    The URI where the file content is located. For documents stored in Google Cloud Storage, these URIs must have the form gs:///. NOTE: External URLs must correspond to public webpages, i.e., they must be indexed by Google Search. In particular, URLs for showing documents in Google Cloud Storage (i.e. the URL in your browser) are not supported. Instead use the gs:// format URI described above.
    enableAutoReload Boolean
    Optional. If true, we try to automatically reload the document every day (at a time picked by the system). If false or unspecified, we don't try to automatically reload the document. Currently you can only enable automatic reload for documents sourced from a public url, see source field for the source types. Reload status can be tracked in latest_reload_status. If a reload fails, we will keep the document unchanged. If a reload fails with internal errors, the system will try to reload the document on the next day. If a reload fails with non-retriable errors (e.g. PERMISSION_DENIED), the system will not try to reload the document anymore. You need to manually reload the document successfully by calling ReloadDocument and clear the errors.
    importGcsCustomMetadata Boolean
    Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
    location String
    metadata Map<String,String>
    Optional. Metadata for the document. The metadata supports arbitrary key-value pairs. Suggested use cases include storing a document's title, an external URL distinct from the document's content_uri, etc. The max size of a key or a value of the metadata is 1024 bytes.
    name String
    Optional. The document resource name. The name must be empty when creating a document. Format: projects//locations//knowledgeBases//documents/.
    project String
    rawContent String
    The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types.
    displayName string
    The display name of the document. The name must be 1024 bytes or less; otherwise, the creation request fails.
    knowledgeBaseId string
    knowledgeTypes DocumentKnowledgeTypesItem[]
    The knowledge type of document content.
    mimeType string
    The MIME type of this document.
    content string
    The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types. Note: This field is in the process of being deprecated, please use raw_content instead.
    contentUri string
    The URI where the file content is located. For documents stored in Google Cloud Storage, these URIs must have the form gs:///. NOTE: External URLs must correspond to public webpages, i.e., they must be indexed by Google Search. In particular, URLs for showing documents in Google Cloud Storage (i.e. the URL in your browser) are not supported. Instead use the gs:// format URI described above.
    enableAutoReload boolean
    Optional. If true, we try to automatically reload the document every day (at a time picked by the system). If false or unspecified, we don't try to automatically reload the document. Currently you can only enable automatic reload for documents sourced from a public url, see source field for the source types. Reload status can be tracked in latest_reload_status. If a reload fails, we will keep the document unchanged. If a reload fails with internal errors, the system will try to reload the document on the next day. If a reload fails with non-retriable errors (e.g. PERMISSION_DENIED), the system will not try to reload the document anymore. You need to manually reload the document successfully by calling ReloadDocument and clear the errors.
    importGcsCustomMetadata boolean
    Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
    location string
    metadata {[key: string]: string}
    Optional. Metadata for the document. The metadata supports arbitrary key-value pairs. Suggested use cases include storing a document's title, an external URL distinct from the document's content_uri, etc. The max size of a key or a value of the metadata is 1024 bytes.
    name string
    Optional. The document resource name. The name must be empty when creating a document. Format: projects//locations//knowledgeBases//documents/.
    project string
    rawContent string
    The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types.
    display_name str
    The display name of the document. The name must be 1024 bytes or less; otherwise, the creation request fails.
    knowledge_base_id str
    knowledge_types Sequence[DocumentKnowledgeTypesItem]
    The knowledge type of document content.
    mime_type str
    The MIME type of this document.
    content str
    The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types. Note: This field is in the process of being deprecated, please use raw_content instead.
    content_uri str
    The URI where the file content is located. For documents stored in Google Cloud Storage, these URIs must have the form gs:///. NOTE: External URLs must correspond to public webpages, i.e., they must be indexed by Google Search. In particular, URLs for showing documents in Google Cloud Storage (i.e. the URL in your browser) are not supported. Instead use the gs:// format URI described above.
    enable_auto_reload bool
    Optional. If true, we try to automatically reload the document every day (at a time picked by the system). If false or unspecified, we don't try to automatically reload the document. Currently you can only enable automatic reload for documents sourced from a public url, see source field for the source types. Reload status can be tracked in latest_reload_status. If a reload fails, we will keep the document unchanged. If a reload fails with internal errors, the system will try to reload the document on the next day. If a reload fails with non-retriable errors (e.g. PERMISSION_DENIED), the system will not try to reload the document anymore. You need to manually reload the document successfully by calling ReloadDocument and clear the errors.
    import_gcs_custom_metadata bool
    Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
    location str
    metadata Mapping[str, str]
    Optional. Metadata for the document. The metadata supports arbitrary key-value pairs. Suggested use cases include storing a document's title, an external URL distinct from the document's content_uri, etc. The max size of a key or a value of the metadata is 1024 bytes.
    name str
    Optional. The document resource name. The name must be empty when creating a document. Format: projects//locations//knowledgeBases//documents/.
    project str
    raw_content str
    The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types.
    displayName String
    The display name of the document. The name must be 1024 bytes or less; otherwise, the creation request fails.
    knowledgeBaseId String
    knowledgeTypes List<"KNOWLEDGE_TYPE_UNSPECIFIED" | "FAQ" | "EXTRACTIVE_QA" | "ARTICLE_SUGGESTION" | "AGENT_FACING_SMART_REPLY" | "SMART_REPLY">
    The knowledge type of document content.
    mimeType String
    The MIME type of this document.
    content String
    The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types. Note: This field is in the process of being deprecated, please use raw_content instead.
    contentUri String
    The URI where the file content is located. For documents stored in Google Cloud Storage, these URIs must have the form gs:///. NOTE: External URLs must correspond to public webpages, i.e., they must be indexed by Google Search. In particular, URLs for showing documents in Google Cloud Storage (i.e. the URL in your browser) are not supported. Instead use the gs:// format URI described above.
    enableAutoReload Boolean
    Optional. If true, we try to automatically reload the document every day (at a time picked by the system). If false or unspecified, we don't try to automatically reload the document. Currently you can only enable automatic reload for documents sourced from a public url, see source field for the source types. Reload status can be tracked in latest_reload_status. If a reload fails, we will keep the document unchanged. If a reload fails with internal errors, the system will try to reload the document on the next day. If a reload fails with non-retriable errors (e.g. PERMISSION_DENIED), the system will not try to reload the document anymore. You need to manually reload the document successfully by calling ReloadDocument and clear the errors.
    importGcsCustomMetadata Boolean
    Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
    location String
    metadata Map<String>
    Optional. Metadata for the document. The metadata supports arbitrary key-value pairs. Suggested use cases include storing a document's title, an external URL distinct from the document's content_uri, etc. The max size of a key or a value of the metadata is 1024 bytes.
    name String
    Optional. The document resource name. The name must be empty when creating a document. Format: projects//locations//knowledgeBases//documents/.
    project String
    rawContent String
    The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    LatestReloadStatus Pulumi.GoogleNative.Dialogflow.V2Beta1.Outputs.GoogleCloudDialogflowV2beta1DocumentReloadStatusResponse
    The time and status of the latest reload. This reload may have been triggered automatically or manually and may not have succeeded.
    State string
    The current state of the document.
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestReloadStatus GoogleCloudDialogflowV2beta1DocumentReloadStatusResponse
    The time and status of the latest reload. This reload may have been triggered automatically or manually and may not have succeeded.
    State string
    The current state of the document.
    id String
    The provider-assigned unique ID for this managed resource.
    latestReloadStatus GoogleCloudDialogflowV2beta1DocumentReloadStatusResponse
    The time and status of the latest reload. This reload may have been triggered automatically or manually and may not have succeeded.
    state String
    The current state of the document.
    id string
    The provider-assigned unique ID for this managed resource.
    latestReloadStatus GoogleCloudDialogflowV2beta1DocumentReloadStatusResponse
    The time and status of the latest reload. This reload may have been triggered automatically or manually and may not have succeeded.
    state string
    The current state of the document.
    id str
    The provider-assigned unique ID for this managed resource.
    latest_reload_status GoogleCloudDialogflowV2beta1DocumentReloadStatusResponse
    The time and status of the latest reload. This reload may have been triggered automatically or manually and may not have succeeded.
    state str
    The current state of the document.
    id String
    The provider-assigned unique ID for this managed resource.
    latestReloadStatus Property Map
    The time and status of the latest reload. This reload may have been triggered automatically or manually and may not have succeeded.
    state String
    The current state of the document.

    Supporting Types

    DocumentKnowledgeTypesItem, DocumentKnowledgeTypesItemArgs

    KnowledgeTypeUnspecified
    KNOWLEDGE_TYPE_UNSPECIFIEDThe type is unspecified or arbitrary.
    Faq
    FAQThe document content contains question and answer pairs as either HTML or CSV. Typical FAQ HTML formats are parsed accurately, but unusual formats may fail to be parsed. CSV must have questions in the first column and answers in the second, with no header. Because of this explicit format, they are always parsed accurately.
    ExtractiveQa
    EXTRACTIVE_QADocuments for which unstructured text is extracted and used for question answering.
    ArticleSuggestion
    ARTICLE_SUGGESTIONThe entire document content as a whole can be used for query results. Only for Contact Center Solutions on Dialogflow.
    AgentFacingSmartReply
    AGENT_FACING_SMART_REPLYThe document contains agent-facing Smart Reply entries.
    SmartReply
    SMART_REPLYThe legacy enum for agent-facing smart reply feature.
    DocumentKnowledgeTypesItemKnowledgeTypeUnspecified
    KNOWLEDGE_TYPE_UNSPECIFIEDThe type is unspecified or arbitrary.
    DocumentKnowledgeTypesItemFaq
    FAQThe document content contains question and answer pairs as either HTML or CSV. Typical FAQ HTML formats are parsed accurately, but unusual formats may fail to be parsed. CSV must have questions in the first column and answers in the second, with no header. Because of this explicit format, they are always parsed accurately.
    DocumentKnowledgeTypesItemExtractiveQa
    EXTRACTIVE_QADocuments for which unstructured text is extracted and used for question answering.
    DocumentKnowledgeTypesItemArticleSuggestion
    ARTICLE_SUGGESTIONThe entire document content as a whole can be used for query results. Only for Contact Center Solutions on Dialogflow.
    DocumentKnowledgeTypesItemAgentFacingSmartReply
    AGENT_FACING_SMART_REPLYThe document contains agent-facing Smart Reply entries.
    DocumentKnowledgeTypesItemSmartReply
    SMART_REPLYThe legacy enum for agent-facing smart reply feature.
    KnowledgeTypeUnspecified
    KNOWLEDGE_TYPE_UNSPECIFIEDThe type is unspecified or arbitrary.
    Faq
    FAQThe document content contains question and answer pairs as either HTML or CSV. Typical FAQ HTML formats are parsed accurately, but unusual formats may fail to be parsed. CSV must have questions in the first column and answers in the second, with no header. Because of this explicit format, they are always parsed accurately.
    ExtractiveQa
    EXTRACTIVE_QADocuments for which unstructured text is extracted and used for question answering.
    ArticleSuggestion
    ARTICLE_SUGGESTIONThe entire document content as a whole can be used for query results. Only for Contact Center Solutions on Dialogflow.
    AgentFacingSmartReply
    AGENT_FACING_SMART_REPLYThe document contains agent-facing Smart Reply entries.
    SmartReply
    SMART_REPLYThe legacy enum for agent-facing smart reply feature.
    KnowledgeTypeUnspecified
    KNOWLEDGE_TYPE_UNSPECIFIEDThe type is unspecified or arbitrary.
    Faq
    FAQThe document content contains question and answer pairs as either HTML or CSV. Typical FAQ HTML formats are parsed accurately, but unusual formats may fail to be parsed. CSV must have questions in the first column and answers in the second, with no header. Because of this explicit format, they are always parsed accurately.
    ExtractiveQa
    EXTRACTIVE_QADocuments for which unstructured text is extracted and used for question answering.
    ArticleSuggestion
    ARTICLE_SUGGESTIONThe entire document content as a whole can be used for query results. Only for Contact Center Solutions on Dialogflow.
    AgentFacingSmartReply
    AGENT_FACING_SMART_REPLYThe document contains agent-facing Smart Reply entries.
    SmartReply
    SMART_REPLYThe legacy enum for agent-facing smart reply feature.
    KNOWLEDGE_TYPE_UNSPECIFIED
    KNOWLEDGE_TYPE_UNSPECIFIEDThe type is unspecified or arbitrary.
    FAQ
    FAQThe document content contains question and answer pairs as either HTML or CSV. Typical FAQ HTML formats are parsed accurately, but unusual formats may fail to be parsed. CSV must have questions in the first column and answers in the second, with no header. Because of this explicit format, they are always parsed accurately.
    EXTRACTIVE_QA
    EXTRACTIVE_QADocuments for which unstructured text is extracted and used for question answering.
    ARTICLE_SUGGESTION
    ARTICLE_SUGGESTIONThe entire document content as a whole can be used for query results. Only for Contact Center Solutions on Dialogflow.
    AGENT_FACING_SMART_REPLY
    AGENT_FACING_SMART_REPLYThe document contains agent-facing Smart Reply entries.
    SMART_REPLY
    SMART_REPLYThe legacy enum for agent-facing smart reply feature.
    "KNOWLEDGE_TYPE_UNSPECIFIED"
    KNOWLEDGE_TYPE_UNSPECIFIEDThe type is unspecified or arbitrary.
    "FAQ"
    FAQThe document content contains question and answer pairs as either HTML or CSV. Typical FAQ HTML formats are parsed accurately, but unusual formats may fail to be parsed. CSV must have questions in the first column and answers in the second, with no header. Because of this explicit format, they are always parsed accurately.
    "EXTRACTIVE_QA"
    EXTRACTIVE_QADocuments for which unstructured text is extracted and used for question answering.
    "ARTICLE_SUGGESTION"
    ARTICLE_SUGGESTIONThe entire document content as a whole can be used for query results. Only for Contact Center Solutions on Dialogflow.
    "AGENT_FACING_SMART_REPLY"
    AGENT_FACING_SMART_REPLYThe document contains agent-facing Smart Reply entries.
    "SMART_REPLY"
    SMART_REPLYThe legacy enum for agent-facing smart reply feature.

    GoogleCloudDialogflowV2beta1DocumentReloadStatusResponse, GoogleCloudDialogflowV2beta1DocumentReloadStatusResponseArgs

    Status Pulumi.GoogleNative.Dialogflow.V2Beta1.Inputs.GoogleRpcStatusResponse
    The status of a reload attempt or the initial load.
    Time string
    The time of a reload attempt. This reload may have been triggered automatically or manually and may not have succeeded.
    Status GoogleRpcStatusResponse
    The status of a reload attempt or the initial load.
    Time string
    The time of a reload attempt. This reload may have been triggered automatically or manually and may not have succeeded.
    status GoogleRpcStatusResponse
    The status of a reload attempt or the initial load.
    time String
    The time of a reload attempt. This reload may have been triggered automatically or manually and may not have succeeded.
    status GoogleRpcStatusResponse
    The status of a reload attempt or the initial load.
    time string
    The time of a reload attempt. This reload may have been triggered automatically or manually and may not have succeeded.
    status GoogleRpcStatusResponse
    The status of a reload attempt or the initial load.
    time str
    The time of a reload attempt. This reload may have been triggered automatically or manually and may not have succeeded.
    status Property Map
    The status of a reload attempt or the initial load.
    time String
    The time of a reload attempt. This reload may have been triggered automatically or manually and may not have succeeded.

    GoogleRpcStatusResponse, GoogleRpcStatusResponseArgs

    Code int
    The status code, which should be an enum value of google.rpc.Code.
    Details List<ImmutableDictionary<string, string>>
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    Message string
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    Code int
    The status code, which should be an enum value of google.rpc.Code.
    Details []map[string]string
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    Message string
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code Integer
    The status code, which should be an enum value of google.rpc.Code.
    details List<Map<String,String>>
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message String
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code number
    The status code, which should be an enum value of google.rpc.Code.
    details {[key: string]: string}[]
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message string
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code int
    The status code, which should be an enum value of google.rpc.Code.
    details Sequence[Mapping[str, str]]
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message str
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code Number
    The status code, which should be an enum value of google.rpc.Code.
    details List<Map<String>>
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message String
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi