1. Packages
  2. Google Cloud Native
  3. API Docs
  4. contactcenterinsights
  5. contactcenterinsights/v1
  6. IssueModel

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.contactcenterinsights/v1.IssueModel

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 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.
    InputDataConfig Pulumi.GoogleNative.Contactcenterinsights.V1.Inputs.GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig
    Configs for the input data that used to create the issue model.
    LanguageCode string
    Language of the model.
    Location string
    ModelType Pulumi.GoogleNative.Contactcenterinsights.V1.IssueModelModelType
    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.
    InputDataConfig GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigArgs
    Configs for the input data that used to create the issue model.
    LanguageCode string
    Language of the model.
    Location string
    ModelType IssueModelModelType
    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.
    inputDataConfig GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig
    Configs for the input data that used to create the issue model.
    languageCode String
    Language of the model.
    location String
    modelType IssueModelModelType
    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.
    inputDataConfig GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig
    Configs for the input data that used to create the issue model.
    languageCode string
    Language of the model.
    location string
    modelType IssueModelModelType
    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_config GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigArgs
    Configs for the input data that used to create the issue model.
    language_code str
    Language of the model.
    location str
    model_type IssueModelModelType
    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.
    inputDataConfig Property Map
    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.GoogleNative.Contactcenterinsights.V1.Outputs.GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponse
    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 GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponse
    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 GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponse
    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 GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponse
    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 GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponse
    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.GoogleNative.Contactcenterinsights.V1.GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium
    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 medium field on filter.
    Filter string
    A filter to reduce the conversations used for training the model to a specific subset.
    Medium GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium
    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 medium field on filter.
    filter String
    A filter to reduce the conversations used for training the model to a specific subset.
    medium GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium
    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 medium field on filter.
    filter string
    A filter to reduce the conversations used for training the model to a specific subset.
    medium GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium
    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 medium field on filter.
    filter str
    A filter to reduce the conversations used for training the model to a specific subset.
    medium GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium
    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 medium field on filter.
    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 medium field on filter.

    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.
    GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumMediumUnspecified
    MEDIUM_UNSPECIFIEDDefault value, if unspecified will default to PHONE_CALL.
    GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPhoneCall
    PHONE_CALLThe format for conversations that took place over the phone.
    GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumChat
    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 medium field on filter.
    TrainingConversationsCount string
    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 medium field on filter.
    TrainingConversationsCount string
    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 medium field on filter.
    trainingConversationsCount String
    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 medium field on filter.
    trainingConversationsCount string
    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 medium field on filter.
    training_conversations_count str
    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 medium field on filter.
    trainingConversationsCount String
    Number of conversations used in training. Output only.

    GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponse, GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponseArgs

    AnalyzedConversationsCount string
    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.
    UnclassifiedConversationsCount string
    Number of analyzed conversations for which no issue was applicable at this point in time.
    AnalyzedConversationsCount string
    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.
    UnclassifiedConversationsCount string
    Number of analyzed conversations for which no issue was applicable at this point in time.
    analyzedConversationsCount String
    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.
    unclassifiedConversationsCount String
    Number of analyzed conversations for which no issue was applicable at this point in time.
    analyzedConversationsCount string
    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.
    unclassifiedConversationsCount string
    Number of analyzed conversations for which no issue was applicable at this point in time.
    analyzed_conversations_count str
    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_count str
    Number of analyzed conversations for which no issue was applicable at this point in time.
    analyzedConversationsCount String
    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.
    unclassifiedConversationsCount String
    Number of analyzed conversations for which no issue was applicable at this point in time.

    IssueModelModelType, IssueModelModelTypeArgs

    ModelTypeUnspecified
    MODEL_TYPE_UNSPECIFIEDUnspecified model type.
    TypeV1
    TYPE_V1Type V1.
    TypeV2
    TYPE_V2Type V2.
    IssueModelModelTypeModelTypeUnspecified
    MODEL_TYPE_UNSPECIFIEDUnspecified model type.
    IssueModelModelTypeTypeV1
    TYPE_V1Type V1.
    IssueModelModelTypeTypeV2
    TYPE_V2Type V2.
    ModelTypeUnspecified
    MODEL_TYPE_UNSPECIFIEDUnspecified model type.
    TypeV1
    TYPE_V1Type V1.
    TypeV2
    TYPE_V2Type V2.
    ModelTypeUnspecified
    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-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