Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.dialogflow/v2.ConversationDataset
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ConversationDataset resource accepts the following input properties:
- Display
Name 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 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 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 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
- display
Name 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:
- Conversation
Count string - The number of conversations this conversation dataset contains.
- Conversation
Info Pulumi.Google Native. Dialogflow. V2. Outputs. Google Cloud Dialogflow V2Conversation Info Response - Metadata set during conversation data import.
- Create
Time string - Creation time of this dataset.
- Id string
- The provider-assigned unique ID for this managed resource.
- Input
Config Pulumi.Google Native. Dialogflow. V2. Outputs. Google Cloud Dialogflow V2Input Config Response - Input configurations set during conversation data import.
- Name string
- ConversationDataset resource name. Format:
projects//locations//conversationDatasets/
- Conversation
Count string - The number of conversations this conversation dataset contains.
- Conversation
Info GoogleCloud Dialogflow V2Conversation Info Response - Metadata set during conversation data import.
- Create
Time string - Creation time of this dataset.
- Id string
- The provider-assigned unique ID for this managed resource.
- Input
Config GoogleCloud Dialogflow V2Input Config Response - Input configurations set during conversation data import.
- Name string
- ConversationDataset resource name. Format:
projects//locations//conversationDatasets/
- conversation
Count String - The number of conversations this conversation dataset contains.
- conversation
Info GoogleCloud Dialogflow V2Conversation Info Response - Metadata set during conversation data import.
- create
Time String - Creation time of this dataset.
- id String
- The provider-assigned unique ID for this managed resource.
- input
Config GoogleCloud Dialogflow V2Input Config Response - Input configurations set during conversation data import.
- name String
- ConversationDataset resource name. Format:
projects//locations//conversationDatasets/
- conversation
Count string - The number of conversations this conversation dataset contains.
- conversation
Info GoogleCloud Dialogflow V2Conversation Info Response - Metadata set during conversation data import.
- create
Time string - Creation time of this dataset.
- id string
- The provider-assigned unique ID for this managed resource.
- input
Config GoogleCloud Dialogflow V2Input Config Response - 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 GoogleCloud Dialogflow V2Conversation Info Response - 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 GoogleCloud Dialogflow V2Input Config Response - Input configurations set during conversation data import.
- name str
- ConversationDataset resource name. Format:
projects//locations//conversationDatasets/
- conversation
Count String - The number of conversations this conversation dataset contains.
- conversation
Info Property Map - Metadata set during conversation data import.
- create
Time String - Creation time of this dataset.
- id String
- The provider-assigned unique ID for this managed resource.
- input
Config Property Map - Input configurations set during conversation data import.
- name String
- ConversationDataset resource name. Format:
projects//locations//conversationDatasets/
Supporting Types
GoogleCloudDialogflowV2ConversationInfoResponse, GoogleCloudDialogflowV2ConversationInfoResponseArgs
- Language
Code 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 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 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 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.
- language
Code 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
- Gcs
Source Pulumi.Google Native. Dialogflow. V2. Inputs. Google Cloud Dialogflow V2Gcs Sources Response - 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 GoogleCloud Dialogflow V2Gcs Sources Response - 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 GoogleCloud Dialogflow V2Gcs Sources Response - 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 GoogleCloud Dialogflow V2Gcs Sources Response - 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 GoogleCloud Dialogflow V2Gcs Sources Response - 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 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 Cloud Native is in preview. Google Cloud Classic is fully supported.