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=google_native.contactcenterinsights.v1.GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigArgs(
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
The IssueModel resource accepts the following input properties:
- Display
Name string - The representative name for the issue model.
- Input
Data 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.
- Language
Code string - Language of the model.
- Location string
- Model
Type 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
- Display
Name string - 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 string - Language of the model.
- Location string
- Model
Type 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 String - The representative name for the issue model.
- input
Data GoogleConfig Cloud Contactcenterinsights V1Issue Model Input Data Config - Configs for the input data that used to create the issue model.
- language
Code String - Language of the model.
- location String
- model
Type 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 string - The representative name for the issue model.
- input
Data GoogleConfig Cloud Contactcenterinsights V1Issue Model Input Data Config - Configs for the input data that used to create the issue model.
- language
Code string - Language of the model.
- location string
- model
Type 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
- display
Name String - The representative name for the issue model.
- input
Data Property MapConfig - Configs for the input data that used to create the issue model.
- language
Code String - Language of the model.
- location String
- model
Type "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:
- Create
Time string - The time at which this issue model was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Issue
Count string - Number of issues in this issue model.
- State string
- State of the model.
- Training
Stats 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.
- Update
Time string - The most recent time at which the issue model was updated.
- Create
Time string - The time at which this issue model was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Issue
Count string - Number of issues in this issue model.
- State string
- 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 string - The most recent time at which the issue model was updated.
- create
Time String - The time at which this issue model was created.
- id String
- The provider-assigned unique ID for this managed resource.
- issue
Count String - Number of issues in this issue model.
- state String
- 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 String - The most recent time at which the issue model was updated.
- create
Time string - The time at which this issue model was created.
- id string
- The provider-assigned unique ID for this managed resource.
- issue
Count string - Number of issues in this issue model.
- state string
- 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 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.
- create
Time String - The time at which this issue model was created.
- id String
- The provider-assigned unique ID for this managed resource.
- issue
Count String - Number of issues in this issue model.
- state String
- State of the model.
- training
Stats Property Map - Immutable. The issue model's label statistics on its training data.
- update
Time 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
medium
field onfilter
.
- Filter string
- A filter to reduce the conversations used for training the model to a specific subset.
- Medium
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
medium
field onfilter
.
- filter String
- A filter to reduce the conversations used for training the model to a specific subset.
- medium
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
medium
field onfilter
.
- filter string
- A filter to reduce the conversations used for training the model to a specific subset.
- medium
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
medium
field onfilter
.
- filter str
- A filter to reduce the conversations used for training the model to a specific subset.
- medium
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
medium
field 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
medium
field onfilter
.
GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium, GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumArgs
- 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.
- Google
Cloud Contactcenterinsights V1Issue Model Input Data Config Medium Medium Unspecified - MEDIUM_UNSPECIFIEDDefault value, if unspecified will default to PHONE_CALL.
- Google
Cloud Contactcenterinsights V1Issue Model Input Data Config Medium Phone Call - PHONE_CALLThe format for conversations that took place over the phone.
- Google
Cloud Contactcenterinsights V1Issue Model Input Data Config Medium 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.
- 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 onfilter
. - Training
Conversations 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
medium
field onfilter
. - Training
Conversations 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
medium
field onfilter
. - training
Conversations 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
medium
field onfilter
. - training
Conversations 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
medium
field 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
medium
field onfilter
. - training
Conversations StringCount - Number of conversations used in training. Output only.
GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponse, GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponseArgs
- Analyzed
Conversations stringCount - Number of conversations the issue model has analyzed at this point in time.
- Issue
Stats Dictionary<string, string> - Statistics on each issue. Key is the issue's resource name.
- Unclassified
Conversations stringCount - Number of analyzed conversations for which no issue was applicable at this point in time.
- Analyzed
Conversations stringCount - Number of conversations the issue model has analyzed at this point in time.
- Issue
Stats map[string]string - Statistics on each issue. Key is the issue's resource name.
- Unclassified
Conversations stringCount - Number of analyzed conversations for which no issue was applicable at this point in time.
- analyzed
Conversations StringCount - Number of conversations the issue model has analyzed at this point in time.
- issue
Stats Map<String,String> - Statistics on each issue. Key is the issue's resource name.
- unclassified
Conversations StringCount - Number of analyzed conversations for which no issue was applicable at this point in time.
- analyzed
Conversations stringCount - Number of conversations the issue model has analyzed at this point in time.
- issue
Stats {[key: string]: string} - Statistics on each issue. Key is the issue's resource name.
- unclassified
Conversations 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.
- analyzed
Conversations StringCount - Number of conversations the issue model has analyzed at this point in time.
- issue
Stats Map<String> - Statistics on each issue. Key is the issue's resource name.
- unclassified
Conversations StringCount - Number of analyzed conversations for which no issue was applicable at this point in time.
IssueModelModelType, IssueModelModelTypeArgs
- Model
Type Unspecified - MODEL_TYPE_UNSPECIFIEDUnspecified model type.
- Type
V1 - TYPE_V1Type V1.
- Type
V2 - TYPE_V2Type V2.
- Issue
Model Model Type Model Type Unspecified - MODEL_TYPE_UNSPECIFIEDUnspecified model type.
- Issue
Model Model Type Type V1 - TYPE_V1Type V1.
- Issue
Model Model Type Type V2 - 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.
- 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.