1. Packages
  2. Google Cloud Native
  3. API Docs
  4. dialogflow
  5. dialogflow/v2
  6. ConversationDataset

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/v2.ConversationDataset

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 conversation dataset. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: CreateConversationDatasetOperationMetadata - response: ConversationDataset Auto-naming is currently not supported for this resource.

    Create ConversationDataset Resource

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

    Constructor syntax

    new ConversationDataset(name: string, args: ConversationDatasetArgs, opts?: CustomResourceOptions);
    @overload
    def ConversationDataset(resource_name: str,
                            args: ConversationDatasetArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConversationDataset(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            display_name: Optional[str] = None,
                            description: Optional[str] = None,
                            location: Optional[str] = None,
                            project: Optional[str] = None)
    func NewConversationDataset(ctx *Context, name string, args ConversationDatasetArgs, opts ...ResourceOption) (*ConversationDataset, error)
    public ConversationDataset(string name, ConversationDatasetArgs args, CustomResourceOptions? opts = null)
    public ConversationDataset(String name, ConversationDatasetArgs args)
    public ConversationDataset(String name, ConversationDatasetArgs args, CustomResourceOptions options)
    
    type: google-native:dialogflow/v2:ConversationDataset
    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 ConversationDatasetArgs
    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 ConversationDatasetArgs
    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 ConversationDatasetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConversationDatasetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConversationDatasetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var conversationDatasetResource = new GoogleNative.Dialogflow.V2.ConversationDataset("conversationDatasetResource", new()
    {
        DisplayName = "string",
        Description = "string",
        Location = "string",
        Project = "string",
    });
    
    example, err := dialogflow.NewConversationDataset(ctx, "conversationDatasetResource", &dialogflow.ConversationDatasetArgs{
    	DisplayName: pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Location:    pulumi.String("string"),
    	Project:     pulumi.String("string"),
    })
    
    var conversationDatasetResource = new ConversationDataset("conversationDatasetResource", ConversationDatasetArgs.builder()
        .displayName("string")
        .description("string")
        .location("string")
        .project("string")
        .build());
    
    conversation_dataset_resource = google_native.dialogflow.v2.ConversationDataset("conversationDatasetResource",
        display_name="string",
        description="string",
        location="string",
        project="string")
    
    const conversationDatasetResource = new google_native.dialogflow.v2.ConversationDataset("conversationDatasetResource", {
        displayName: "string",
        description: "string",
        location: "string",
        project: "string",
    });
    
    type: google-native:dialogflow/v2:ConversationDataset
    properties:
        description: string
        displayName: string
        location: string
        project: string
    

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

    DisplayName string
    The display name of the dataset. Maximum of 64 bytes.
    Description string
    Optional. The description of the dataset. Maximum of 10000 bytes.
    Location string
    Project string
    DisplayName string
    The display name of the dataset. Maximum of 64 bytes.
    Description string
    Optional. The description of the dataset. Maximum of 10000 bytes.
    Location string
    Project string
    displayName String
    The display name of the dataset. Maximum of 64 bytes.
    description String
    Optional. The description of the dataset. Maximum of 10000 bytes.
    location String
    project String
    displayName string
    The display name of the dataset. Maximum of 64 bytes.
    description string
    Optional. The description of the dataset. Maximum of 10000 bytes.
    location string
    project string
    display_name str
    The display name of the dataset. Maximum of 64 bytes.
    description str
    Optional. The description of the dataset. Maximum of 10000 bytes.
    location str
    project str
    displayName String
    The display name of the dataset. Maximum of 64 bytes.
    description String
    Optional. The description of the dataset. Maximum of 10000 bytes.
    location String
    project String

    Outputs

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

    ConversationCount string
    The number of conversations this conversation dataset contains.
    ConversationInfo Pulumi.GoogleNative.Dialogflow.V2.Outputs.GoogleCloudDialogflowV2ConversationInfoResponse
    Metadata set during conversation data import.
    CreateTime string
    Creation time of this dataset.
    Id string
    The provider-assigned unique ID for this managed resource.
    InputConfig Pulumi.GoogleNative.Dialogflow.V2.Outputs.GoogleCloudDialogflowV2InputConfigResponse
    Input configurations set during conversation data import.
    Name string
    ConversationDataset resource name. Format: projects//locations//conversationDatasets/
    ConversationCount string
    The number of conversations this conversation dataset contains.
    ConversationInfo GoogleCloudDialogflowV2ConversationInfoResponse
    Metadata set during conversation data import.
    CreateTime string
    Creation time of this dataset.
    Id string
    The provider-assigned unique ID for this managed resource.
    InputConfig GoogleCloudDialogflowV2InputConfigResponse
    Input configurations set during conversation data import.
    Name string
    ConversationDataset resource name. Format: projects//locations//conversationDatasets/
    conversationCount String
    The number of conversations this conversation dataset contains.
    conversationInfo GoogleCloudDialogflowV2ConversationInfoResponse
    Metadata set during conversation data import.
    createTime String
    Creation time of this dataset.
    id String
    The provider-assigned unique ID for this managed resource.
    inputConfig GoogleCloudDialogflowV2InputConfigResponse
    Input configurations set during conversation data import.
    name String
    ConversationDataset resource name. Format: projects//locations//conversationDatasets/
    conversationCount string
    The number of conversations this conversation dataset contains.
    conversationInfo GoogleCloudDialogflowV2ConversationInfoResponse
    Metadata set during conversation data import.
    createTime string
    Creation time of this dataset.
    id string
    The provider-assigned unique ID for this managed resource.
    inputConfig GoogleCloudDialogflowV2InputConfigResponse
    Input configurations set during conversation data import.
    name string
    ConversationDataset resource name. Format: projects//locations//conversationDatasets/
    conversation_count str
    The number of conversations this conversation dataset contains.
    conversation_info GoogleCloudDialogflowV2ConversationInfoResponse
    Metadata set during conversation data import.
    create_time str
    Creation time of this dataset.
    id str
    The provider-assigned unique ID for this managed resource.
    input_config GoogleCloudDialogflowV2InputConfigResponse
    Input configurations set during conversation data import.
    name str
    ConversationDataset resource name. Format: projects//locations//conversationDatasets/
    conversationCount String
    The number of conversations this conversation dataset contains.
    conversationInfo Property Map
    Metadata set during conversation data import.
    createTime String
    Creation time of this dataset.
    id String
    The provider-assigned unique ID for this managed resource.
    inputConfig Property Map
    Input configurations set during conversation data import.
    name String
    ConversationDataset resource name. Format: projects//locations//conversationDatasets/

    Supporting Types

    GoogleCloudDialogflowV2ConversationInfoResponse, GoogleCloudDialogflowV2ConversationInfoResponseArgs

    LanguageCode string
    Optional. The language code of the conversation data within this dataset. See https://cloud.google.com/apis/design/standard_fields for more information. Supports all UTF-8 languages.
    LanguageCode string
    Optional. The language code of the conversation data within this dataset. See https://cloud.google.com/apis/design/standard_fields for more information. Supports all UTF-8 languages.
    languageCode String
    Optional. The language code of the conversation data within this dataset. See https://cloud.google.com/apis/design/standard_fields for more information. Supports all UTF-8 languages.
    languageCode string
    Optional. The language code of the conversation data within this dataset. See https://cloud.google.com/apis/design/standard_fields for more information. Supports all UTF-8 languages.
    language_code str
    Optional. The language code of the conversation data within this dataset. See https://cloud.google.com/apis/design/standard_fields for more information. Supports all UTF-8 languages.
    languageCode String
    Optional. The language code of the conversation data within this dataset. See https://cloud.google.com/apis/design/standard_fields for more information. Supports all UTF-8 languages.

    GoogleCloudDialogflowV2GcsSourcesResponse, GoogleCloudDialogflowV2GcsSourcesResponseArgs

    Uris List<string>
    Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.
    Uris []string
    Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.
    uris List<String>
    Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.
    uris string[]
    Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.
    uris Sequence[str]
    Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.
    uris List<String>
    Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.

    GoogleCloudDialogflowV2InputConfigResponse, GoogleCloudDialogflowV2InputConfigResponseArgs

    GcsSource Pulumi.GoogleNative.Dialogflow.V2.Inputs.GoogleCloudDialogflowV2GcsSourcesResponse
    The Cloud Storage URI has the form gs:////agent*.json. Wildcards are allowed and will be expanded into all matched JSON files, which will be read as one conversation per file.
    GcsSource GoogleCloudDialogflowV2GcsSourcesResponse
    The Cloud Storage URI has the form gs:////agent*.json. Wildcards are allowed and will be expanded into all matched JSON files, which will be read as one conversation per file.
    gcsSource GoogleCloudDialogflowV2GcsSourcesResponse
    The Cloud Storage URI has the form gs:////agent*.json. Wildcards are allowed and will be expanded into all matched JSON files, which will be read as one conversation per file.
    gcsSource GoogleCloudDialogflowV2GcsSourcesResponse
    The Cloud Storage URI has the form gs:////agent*.json. Wildcards are allowed and will be expanded into all matched JSON files, which will be read as one conversation per file.
    gcs_source GoogleCloudDialogflowV2GcsSourcesResponse
    The Cloud Storage URI has the form gs:////agent*.json. Wildcards are allowed and will be expanded into all matched JSON files, which will be read as one conversation per file.
    gcsSource Property Map
    The Cloud Storage URI has the form gs:////agent*.json. Wildcards are allowed and will be expanded into all matched JSON files, which will be read as one conversation per file.

    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