Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.contactcenterinsights/v1.IssueModel
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates an issue model.
Create IssueModel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IssueModel(name: string, args?: IssueModelArgs, opts?: CustomResourceOptions);@overload
def IssueModel(resource_name: str,
               args: Optional[IssueModelArgs] = None,
               opts: Optional[ResourceOptions] = None)
@overload
def IssueModel(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               display_name: Optional[str] = None,
               input_data_config: Optional[GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigArgs] = None,
               language_code: Optional[str] = None,
               location: Optional[str] = None,
               model_type: Optional[IssueModelModelType] = None,
               name: Optional[str] = None,
               project: Optional[str] = None)func NewIssueModel(ctx *Context, name string, args *IssueModelArgs, opts ...ResourceOption) (*IssueModel, error)public IssueModel(string name, IssueModelArgs? args = null, CustomResourceOptions? opts = null)
public IssueModel(String name, IssueModelArgs args)
public IssueModel(String name, IssueModelArgs args, CustomResourceOptions options)
type: google-native:contactcenterinsights/v1:IssueModel
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 IssueModelArgs
- 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 IssueModelArgs
- 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 IssueModelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IssueModelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IssueModelArgs
- 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 issueModelResource = new GoogleNative.Contactcenterinsights.V1.IssueModel("issueModelResource", new()
{
    DisplayName = "string",
    InputDataConfig = new GoogleNative.Contactcenterinsights.V1.Inputs.GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigArgs
    {
        Filter = "string",
        Medium = GoogleNative.Contactcenterinsights.V1.GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium.MediumUnspecified,
    },
    LanguageCode = "string",
    Location = "string",
    ModelType = GoogleNative.Contactcenterinsights.V1.IssueModelModelType.ModelTypeUnspecified,
    Name = "string",
    Project = "string",
});
example, err := contactcenterinsights.NewIssueModel(ctx, "issueModelResource", &contactcenterinsights.IssueModelArgs{
	DisplayName: pulumi.String("string"),
	InputDataConfig: &contactcenterinsights.GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigArgs{
		Filter: pulumi.String("string"),
		Medium: contactcenterinsights.GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumMediumUnspecified,
	},
	LanguageCode: pulumi.String("string"),
	Location:     pulumi.String("string"),
	ModelType:    contactcenterinsights.IssueModelModelTypeModelTypeUnspecified,
	Name:         pulumi.String("string"),
	Project:      pulumi.String("string"),
})
var issueModelResource = new IssueModel("issueModelResource", IssueModelArgs.builder()
    .displayName("string")
    .inputDataConfig(GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigArgs.builder()
        .filter("string")
        .medium("MEDIUM_UNSPECIFIED")
        .build())
    .languageCode("string")
    .location("string")
    .modelType("MODEL_TYPE_UNSPECIFIED")
    .name("string")
    .project("string")
    .build());
issue_model_resource = google_native.contactcenterinsights.v1.IssueModel("issueModelResource",
    display_name="string",
    input_data_config={
        "filter": "string",
        "medium": google_native.contactcenterinsights.v1.GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium.MEDIUM_UNSPECIFIED,
    },
    language_code="string",
    location="string",
    model_type=google_native.contactcenterinsights.v1.IssueModelModelType.MODEL_TYPE_UNSPECIFIED,
    name="string",
    project="string")
const issueModelResource = new google_native.contactcenterinsights.v1.IssueModel("issueModelResource", {
    displayName: "string",
    inputDataConfig: {
        filter: "string",
        medium: google_native.contactcenterinsights.v1.GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium.MediumUnspecified,
    },
    languageCode: "string",
    location: "string",
    modelType: google_native.contactcenterinsights.v1.IssueModelModelType.ModelTypeUnspecified,
    name: "string",
    project: "string",
});
type: google-native:contactcenterinsights/v1:IssueModel
properties:
    displayName: string
    inputDataConfig:
        filter: string
        medium: MEDIUM_UNSPECIFIED
    languageCode: string
    location: string
    modelType: MODEL_TYPE_UNSPECIFIED
    name: string
    project: string
IssueModel 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 IssueModel resource accepts the following input properties:
- DisplayName string
- The representative name for the issue model.
- InputData Pulumi.Config Google Native. Contactcenterinsights. V1. Inputs. Google Cloud Contactcenterinsights V1Issue Model Input Data Config 
- Configs for the input data that used to create the issue model.
- LanguageCode string
- Language of the model.
- Location string
- ModelType Pulumi.Google Native. Contactcenterinsights. V1. Issue Model Model Type 
- Type of the model.
- Name string
- Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}
- Project string
- DisplayName string
- The representative name for the issue model.
- InputData GoogleConfig Cloud Contactcenterinsights V1Issue Model Input Data Config Args 
- Configs for the input data that used to create the issue model.
- LanguageCode string
- Language of the model.
- Location string
- ModelType IssueModel Model Type 
- Type of the model.
- Name string
- Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}
- Project string
- displayName String
- The representative name for the issue model.
- inputData GoogleConfig Cloud Contactcenterinsights V1Issue Model Input Data Config 
- Configs for the input data that used to create the issue model.
- languageCode String
- Language of the model.
- location String
- modelType IssueModel Model Type 
- Type of the model.
- name String
- Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}
- project String
- displayName string
- The representative name for the issue model.
- inputData GoogleConfig Cloud Contactcenterinsights V1Issue Model Input Data Config 
- Configs for the input data that used to create the issue model.
- languageCode string
- Language of the model.
- location string
- modelType IssueModel Model Type 
- Type of the model.
- name string
- Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}
- project string
- display_name str
- The representative name for the issue model.
- input_data_ Googleconfig Cloud Contactcenterinsights V1Issue Model Input Data Config Args 
- Configs for the input data that used to create the issue model.
- language_code str
- Language of the model.
- location str
- model_type IssueModel Model Type 
- Type of the model.
- name str
- Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}
- project str
- displayName String
- The representative name for the issue model.
- inputData Property MapConfig 
- Configs for the input data that used to create the issue model.
- languageCode String
- Language of the model.
- location String
- modelType "MODEL_TYPE_UNSPECIFIED" | "TYPE_V1" | "TYPE_V2"
- Type of the model.
- name String
- Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the IssueModel resource produces the following output properties:
- CreateTime string
- The time at which this issue model was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- IssueCount string
- Number of issues in this issue model.
- State string
- State of the model.
- TrainingStats Pulumi.Google Native. Contactcenterinsights. V1. Outputs. Google Cloud Contactcenterinsights V1Issue Model Label Stats Response 
- Immutable. The issue model's label statistics on its training data.
- UpdateTime string
- The most recent time at which the issue model was updated.
- CreateTime string
- The time at which this issue model was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- IssueCount string
- Number of issues in this issue model.
- State string
- State of the model.
- TrainingStats GoogleCloud Contactcenterinsights V1Issue Model Label Stats Response 
- Immutable. The issue model's label statistics on its training data.
- UpdateTime string
- The most recent time at which the issue model was updated.
- createTime String
- The time at which this issue model was created.
- id String
- The provider-assigned unique ID for this managed resource.
- issueCount String
- Number of issues in this issue model.
- state String
- State of the model.
- trainingStats GoogleCloud Contactcenterinsights V1Issue Model Label Stats Response 
- Immutable. The issue model's label statistics on its training data.
- updateTime String
- The most recent time at which the issue model was updated.
- createTime string
- The time at which this issue model was created.
- id string
- The provider-assigned unique ID for this managed resource.
- issueCount string
- Number of issues in this issue model.
- state string
- State of the model.
- trainingStats GoogleCloud Contactcenterinsights V1Issue Model Label Stats Response 
- Immutable. The issue model's label statistics on its training data.
- updateTime string
- The most recent time at which the issue model was updated.
- create_time str
- The time at which this issue model was created.
- id str
- The provider-assigned unique ID for this managed resource.
- issue_count str
- Number of issues in this issue model.
- state str
- State of the model.
- training_stats GoogleCloud Contactcenterinsights V1Issue Model Label Stats Response 
- Immutable. The issue model's label statistics on its training data.
- update_time str
- The most recent time at which the issue model was updated.
- createTime String
- The time at which this issue model was created.
- id String
- The provider-assigned unique ID for this managed resource.
- issueCount String
- Number of issues in this issue model.
- state String
- State of the model.
- trainingStats Property Map
- Immutable. The issue model's label statistics on its training data.
- updateTime String
- The most recent time at which the issue model was updated.
Supporting Types
GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig, GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigArgs                
- Filter string
- A filter to reduce the conversations used for training the model to a specific subset.
- Medium
Pulumi.Google Native. Contactcenterinsights. V1. Google Cloud Contactcenterinsights V1Issue Model Input Data Config Medium 
- Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the mediumfield onfilter.
- Filter string
- A filter to reduce the conversations used for training the model to a specific subset.
- Medium
GoogleCloud Contactcenterinsights V1Issue Model Input Data Config Medium 
- Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the mediumfield onfilter.
- filter String
- A filter to reduce the conversations used for training the model to a specific subset.
- medium
GoogleCloud Contactcenterinsights V1Issue Model Input Data Config Medium 
- Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the mediumfield onfilter.
- filter string
- A filter to reduce the conversations used for training the model to a specific subset.
- medium
GoogleCloud Contactcenterinsights V1Issue Model Input Data Config Medium 
- Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the mediumfield onfilter.
- filter str
- A filter to reduce the conversations used for training the model to a specific subset.
- medium
GoogleCloud Contactcenterinsights V1Issue Model Input Data Config Medium 
- Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the mediumfield onfilter.
- filter String
- A filter to reduce the conversations used for training the model to a specific subset.
- medium "MEDIUM_UNSPECIFIED" | "PHONE_CALL" | "CHAT"
- Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the mediumfield onfilter.
GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium, GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumArgs                  
- MediumUnspecified 
- MEDIUM_UNSPECIFIEDDefault value, if unspecified will default to PHONE_CALL.
- PhoneCall 
- PHONE_CALLThe format for conversations that took place over the phone.
- Chat
- CHATThe format for conversations that took place over chat.
- GoogleCloud Contactcenterinsights V1Issue Model Input Data Config Medium Medium Unspecified 
- MEDIUM_UNSPECIFIEDDefault value, if unspecified will default to PHONE_CALL.
- GoogleCloud Contactcenterinsights V1Issue Model Input Data Config Medium Phone Call 
- PHONE_CALLThe format for conversations that took place over the phone.
- GoogleCloud Contactcenterinsights V1Issue Model Input Data Config Medium Chat 
- CHATThe format for conversations that took place over chat.
- MediumUnspecified 
- MEDIUM_UNSPECIFIEDDefault value, if unspecified will default to PHONE_CALL.
- PhoneCall 
- PHONE_CALLThe format for conversations that took place over the phone.
- Chat
- CHATThe format for conversations that took place over chat.
- MediumUnspecified 
- MEDIUM_UNSPECIFIEDDefault value, if unspecified will default to PHONE_CALL.
- PhoneCall 
- PHONE_CALLThe format for conversations that took place over the phone.
- Chat
- CHATThe format for conversations that took place over chat.
- MEDIUM_UNSPECIFIED
- MEDIUM_UNSPECIFIEDDefault value, if unspecified will default to PHONE_CALL.
- PHONE_CALL
- PHONE_CALLThe format for conversations that took place over the phone.
- CHAT
- CHATThe format for conversations that took place over chat.
- "MEDIUM_UNSPECIFIED"
- MEDIUM_UNSPECIFIEDDefault value, if unspecified will default to PHONE_CALL.
- "PHONE_CALL"
- PHONE_CALLThe format for conversations that took place over the phone.
- "CHAT"
- CHATThe format for conversations that took place over chat.
GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigResponse, GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigResponseArgs                  
- Filter string
- A filter to reduce the conversations used for training the model to a specific subset.
- Medium string
- Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the mediumfield onfilter.
- TrainingConversations stringCount 
- Number of conversations used in training. Output only.
- Filter string
- A filter to reduce the conversations used for training the model to a specific subset.
- Medium string
- Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the mediumfield onfilter.
- TrainingConversations stringCount 
- Number of conversations used in training. Output only.
- filter String
- A filter to reduce the conversations used for training the model to a specific subset.
- medium String
- Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the mediumfield onfilter.
- trainingConversations StringCount 
- Number of conversations used in training. Output only.
- filter string
- A filter to reduce the conversations used for training the model to a specific subset.
- medium string
- Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the mediumfield onfilter.
- trainingConversations stringCount 
- Number of conversations used in training. Output only.
- filter str
- A filter to reduce the conversations used for training the model to a specific subset.
- medium str
- Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the mediumfield onfilter.
- training_conversations_ strcount 
- Number of conversations used in training. Output only.
- filter String
- A filter to reduce the conversations used for training the model to a specific subset.
- medium String
- Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the mediumfield onfilter.
- trainingConversations StringCount 
- Number of conversations used in training. Output only.
GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponse, GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponseArgs                
- AnalyzedConversations stringCount 
- Number of conversations the issue model has analyzed at this point in time.
- IssueStats Dictionary<string, string>
- Statistics on each issue. Key is the issue's resource name.
- UnclassifiedConversations stringCount 
- Number of analyzed conversations for which no issue was applicable at this point in time.
- AnalyzedConversations stringCount 
- Number of conversations the issue model has analyzed at this point in time.
- IssueStats map[string]string
- Statistics on each issue. Key is the issue's resource name.
- UnclassifiedConversations stringCount 
- Number of analyzed conversations for which no issue was applicable at this point in time.
- analyzedConversations StringCount 
- Number of conversations the issue model has analyzed at this point in time.
- issueStats Map<String,String>
- Statistics on each issue. Key is the issue's resource name.
- unclassifiedConversations StringCount 
- Number of analyzed conversations for which no issue was applicable at this point in time.
- analyzedConversations stringCount 
- Number of conversations the issue model has analyzed at this point in time.
- issueStats {[key: string]: string}
- Statistics on each issue. Key is the issue's resource name.
- unclassifiedConversations stringCount 
- Number of analyzed conversations for which no issue was applicable at this point in time.
- analyzed_conversations_ strcount 
- Number of conversations the issue model has analyzed at this point in time.
- issue_stats Mapping[str, str]
- Statistics on each issue. Key is the issue's resource name.
- unclassified_conversations_ strcount 
- Number of analyzed conversations for which no issue was applicable at this point in time.
- analyzedConversations StringCount 
- Number of conversations the issue model has analyzed at this point in time.
- issueStats Map<String>
- Statistics on each issue. Key is the issue's resource name.
- unclassifiedConversations StringCount 
- Number of analyzed conversations for which no issue was applicable at this point in time.
IssueModelModelType, IssueModelModelTypeArgs        
- ModelType Unspecified 
- MODEL_TYPE_UNSPECIFIEDUnspecified model type.
- TypeV1 
- TYPE_V1Type V1.
- TypeV2 
- TYPE_V2Type V2.
- IssueModel Model Type Model Type Unspecified 
- MODEL_TYPE_UNSPECIFIEDUnspecified model type.
- IssueModel Model Type Type V1 
- TYPE_V1Type V1.
- IssueModel Model Type Type V2 
- TYPE_V2Type V2.
- ModelType Unspecified 
- MODEL_TYPE_UNSPECIFIEDUnspecified model type.
- TypeV1 
- TYPE_V1Type V1.
- TypeV2 
- TYPE_V2Type V2.
- ModelType Unspecified 
- MODEL_TYPE_UNSPECIFIEDUnspecified model type.
- TypeV1 
- TYPE_V1Type V1.
- TypeV2 
- TYPE_V2Type V2.
- MODEL_TYPE_UNSPECIFIED
- MODEL_TYPE_UNSPECIFIEDUnspecified model type.
- TYPE_V1
- TYPE_V1Type V1.
- TYPE_V2
- TYPE_V2Type V2.
- "MODEL_TYPE_UNSPECIFIED"
- MODEL_TYPE_UNSPECIFIEDUnspecified model type.
- "TYPE_V1"
- TYPE_V1Type V1.
- "TYPE_V2"
- TYPE_V2Type V2.
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.