1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. contactcenterinsights
  5. AssessmentRule
Viewing docs for Google Cloud v9.20.0
published on Wednesday, Apr 15, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v9.20.0
published on Wednesday, Apr 15, 2026 by Pulumi

    The CCAI Insights project wide assessment rule. This assessment rule will be applied to all conversations from the previous sampling cycle that match the sample rule defined in the assessment rule. One project can have multiple assessment rules.

    To get more information about AssessmentRule, see:

    Example Usage

    Create AssessmentRule Resource

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

    Constructor syntax

    new AssessmentRule(name: string, args: AssessmentRuleArgs, opts?: CustomResourceOptions);
    @overload
    def AssessmentRule(resource_name: str,
                       args: AssessmentRuleArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def AssessmentRule(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       location: Optional[str] = None,
                       active: Optional[bool] = None,
                       assessment_rule_id: Optional[str] = None,
                       display_name: Optional[str] = None,
                       project: Optional[str] = None,
                       sample_rule: Optional[AssessmentRuleSampleRuleArgs] = None,
                       schedule_info: Optional[AssessmentRuleScheduleInfoArgs] = None)
    func NewAssessmentRule(ctx *Context, name string, args AssessmentRuleArgs, opts ...ResourceOption) (*AssessmentRule, error)
    public AssessmentRule(string name, AssessmentRuleArgs args, CustomResourceOptions? opts = null)
    public AssessmentRule(String name, AssessmentRuleArgs args)
    public AssessmentRule(String name, AssessmentRuleArgs args, CustomResourceOptions options)
    
    type: gcp:contactcenterinsights:AssessmentRule
    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 AssessmentRuleArgs
    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 AssessmentRuleArgs
    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 AssessmentRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AssessmentRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AssessmentRuleArgs
    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 assessmentRuleResource = new Gcp.ContactCenterInsights.AssessmentRule("assessmentRuleResource", new()
    {
        Location = "string",
        Active = false,
        AssessmentRuleId = "string",
        DisplayName = "string",
        Project = "string",
        SampleRule = new Gcp.ContactCenterInsights.Inputs.AssessmentRuleSampleRuleArgs
        {
            ConversationFilter = "string",
            Dimension = "string",
            SamplePercentage = 0,
            SampleRow = 0,
        },
        ScheduleInfo = new Gcp.ContactCenterInsights.Inputs.AssessmentRuleScheduleInfoArgs
        {
            EndTime = "string",
            Schedule = "string",
            StartTime = "string",
            TimeZone = "string",
        },
    });
    
    example, err := contactcenterinsights.NewAssessmentRule(ctx, "assessmentRuleResource", &contactcenterinsights.AssessmentRuleArgs{
    	Location:         pulumi.String("string"),
    	Active:           pulumi.Bool(false),
    	AssessmentRuleId: pulumi.String("string"),
    	DisplayName:      pulumi.String("string"),
    	Project:          pulumi.String("string"),
    	SampleRule: &contactcenterinsights.AssessmentRuleSampleRuleArgs{
    		ConversationFilter: pulumi.String("string"),
    		Dimension:          pulumi.String("string"),
    		SamplePercentage:   pulumi.Float64(0),
    		SampleRow:          pulumi.Int(0),
    	},
    	ScheduleInfo: &contactcenterinsights.AssessmentRuleScheduleInfoArgs{
    		EndTime:   pulumi.String("string"),
    		Schedule:  pulumi.String("string"),
    		StartTime: pulumi.String("string"),
    		TimeZone:  pulumi.String("string"),
    	},
    })
    
    var assessmentRuleResource = new AssessmentRule("assessmentRuleResource", AssessmentRuleArgs.builder()
        .location("string")
        .active(false)
        .assessmentRuleId("string")
        .displayName("string")
        .project("string")
        .sampleRule(AssessmentRuleSampleRuleArgs.builder()
            .conversationFilter("string")
            .dimension("string")
            .samplePercentage(0.0)
            .sampleRow(0)
            .build())
        .scheduleInfo(AssessmentRuleScheduleInfoArgs.builder()
            .endTime("string")
            .schedule("string")
            .startTime("string")
            .timeZone("string")
            .build())
        .build());
    
    assessment_rule_resource = gcp.contactcenterinsights.AssessmentRule("assessmentRuleResource",
        location="string",
        active=False,
        assessment_rule_id="string",
        display_name="string",
        project="string",
        sample_rule={
            "conversation_filter": "string",
            "dimension": "string",
            "sample_percentage": 0,
            "sample_row": 0,
        },
        schedule_info={
            "end_time": "string",
            "schedule": "string",
            "start_time": "string",
            "time_zone": "string",
        })
    
    const assessmentRuleResource = new gcp.contactcenterinsights.AssessmentRule("assessmentRuleResource", {
        location: "string",
        active: false,
        assessmentRuleId: "string",
        displayName: "string",
        project: "string",
        sampleRule: {
            conversationFilter: "string",
            dimension: "string",
            samplePercentage: 0,
            sampleRow: 0,
        },
        scheduleInfo: {
            endTime: "string",
            schedule: "string",
            startTime: "string",
            timeZone: "string",
        },
    });
    
    type: gcp:contactcenterinsights:AssessmentRule
    properties:
        active: false
        assessmentRuleId: string
        displayName: string
        location: string
        project: string
        sampleRule:
            conversationFilter: string
            dimension: string
            samplePercentage: 0
            sampleRow: 0
        scheduleInfo:
            endTime: string
            schedule: string
            startTime: string
            timeZone: string
    

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

    Location string
    Location of the resource.
    Active bool
    If true, apply this rule to conversations. Otherwise, this rule is inactive.
    AssessmentRuleId string
    A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[A-Za-z0-9]{4,64}$.
    DisplayName string
    Display Name of the assessment rule.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    SampleRule AssessmentRuleSampleRule
    Message for sampling conversations. Structure is documented below.
    ScheduleInfo AssessmentRuleScheduleInfo
    Message for schedule info. Structure is documented below.
    Location string
    Location of the resource.
    Active bool
    If true, apply this rule to conversations. Otherwise, this rule is inactive.
    AssessmentRuleId string
    A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[A-Za-z0-9]{4,64}$.
    DisplayName string
    Display Name of the assessment rule.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    SampleRule AssessmentRuleSampleRuleArgs
    Message for sampling conversations. Structure is documented below.
    ScheduleInfo AssessmentRuleScheduleInfoArgs
    Message for schedule info. Structure is documented below.
    location String
    Location of the resource.
    active Boolean
    If true, apply this rule to conversations. Otherwise, this rule is inactive.
    assessmentRuleId String
    A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[A-Za-z0-9]{4,64}$.
    displayName String
    Display Name of the assessment rule.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    sampleRule AssessmentRuleSampleRule
    Message for sampling conversations. Structure is documented below.
    scheduleInfo AssessmentRuleScheduleInfo
    Message for schedule info. Structure is documented below.
    location string
    Location of the resource.
    active boolean
    If true, apply this rule to conversations. Otherwise, this rule is inactive.
    assessmentRuleId string
    A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[A-Za-z0-9]{4,64}$.
    displayName string
    Display Name of the assessment rule.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    sampleRule AssessmentRuleSampleRule
    Message for sampling conversations. Structure is documented below.
    scheduleInfo AssessmentRuleScheduleInfo
    Message for schedule info. Structure is documented below.
    location str
    Location of the resource.
    active bool
    If true, apply this rule to conversations. Otherwise, this rule is inactive.
    assessment_rule_id str
    A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[A-Za-z0-9]{4,64}$.
    display_name str
    Display Name of the assessment rule.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    sample_rule AssessmentRuleSampleRuleArgs
    Message for sampling conversations. Structure is documented below.
    schedule_info AssessmentRuleScheduleInfoArgs
    Message for schedule info. Structure is documented below.
    location String
    Location of the resource.
    active Boolean
    If true, apply this rule to conversations. Otherwise, this rule is inactive.
    assessmentRuleId String
    A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[A-Za-z0-9]{4,64}$.
    displayName String
    Display Name of the assessment rule.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    sampleRule Property Map
    Message for sampling conversations. Structure is documented below.
    scheduleInfo Property Map
    Message for schedule info. Structure is documented below.

    Outputs

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

    CreateTime string
    The time at which this assessment rule was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}
    UpdateTime string
    The most recent time at which this assessment rule was updated.
    CreateTime string
    The time at which this assessment rule was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}
    UpdateTime string
    The most recent time at which this assessment rule was updated.
    createTime String
    The time at which this assessment rule was created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}
    updateTime String
    The most recent time at which this assessment rule was updated.
    createTime string
    The time at which this assessment rule was created.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}
    updateTime string
    The most recent time at which this assessment rule was updated.
    create_time str
    The time at which this assessment rule was created.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}
    update_time str
    The most recent time at which this assessment rule was updated.
    createTime String
    The time at which this assessment rule was created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}
    updateTime String
    The most recent time at which this assessment rule was updated.

    Look up Existing AssessmentRule Resource

    Get an existing AssessmentRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AssessmentRuleState, opts?: CustomResourceOptions): AssessmentRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active: Optional[bool] = None,
            assessment_rule_id: Optional[str] = None,
            create_time: Optional[str] = None,
            display_name: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            sample_rule: Optional[AssessmentRuleSampleRuleArgs] = None,
            schedule_info: Optional[AssessmentRuleScheduleInfoArgs] = None,
            update_time: Optional[str] = None) -> AssessmentRule
    func GetAssessmentRule(ctx *Context, name string, id IDInput, state *AssessmentRuleState, opts ...ResourceOption) (*AssessmentRule, error)
    public static AssessmentRule Get(string name, Input<string> id, AssessmentRuleState? state, CustomResourceOptions? opts = null)
    public static AssessmentRule get(String name, Output<String> id, AssessmentRuleState state, CustomResourceOptions options)
    resources:  _:    type: gcp:contactcenterinsights:AssessmentRule    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Active bool
    If true, apply this rule to conversations. Otherwise, this rule is inactive.
    AssessmentRuleId string
    A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[A-Za-z0-9]{4,64}$.
    CreateTime string
    The time at which this assessment rule was created.
    DisplayName string
    Display Name of the assessment rule.
    Location string
    Location of the resource.
    Name string
    Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    SampleRule AssessmentRuleSampleRule
    Message for sampling conversations. Structure is documented below.
    ScheduleInfo AssessmentRuleScheduleInfo
    Message for schedule info. Structure is documented below.
    UpdateTime string
    The most recent time at which this assessment rule was updated.
    Active bool
    If true, apply this rule to conversations. Otherwise, this rule is inactive.
    AssessmentRuleId string
    A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[A-Za-z0-9]{4,64}$.
    CreateTime string
    The time at which this assessment rule was created.
    DisplayName string
    Display Name of the assessment rule.
    Location string
    Location of the resource.
    Name string
    Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    SampleRule AssessmentRuleSampleRuleArgs
    Message for sampling conversations. Structure is documented below.
    ScheduleInfo AssessmentRuleScheduleInfoArgs
    Message for schedule info. Structure is documented below.
    UpdateTime string
    The most recent time at which this assessment rule was updated.
    active Boolean
    If true, apply this rule to conversations. Otherwise, this rule is inactive.
    assessmentRuleId String
    A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[A-Za-z0-9]{4,64}$.
    createTime String
    The time at which this assessment rule was created.
    displayName String
    Display Name of the assessment rule.
    location String
    Location of the resource.
    name String
    Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    sampleRule AssessmentRuleSampleRule
    Message for sampling conversations. Structure is documented below.
    scheduleInfo AssessmentRuleScheduleInfo
    Message for schedule info. Structure is documented below.
    updateTime String
    The most recent time at which this assessment rule was updated.
    active boolean
    If true, apply this rule to conversations. Otherwise, this rule is inactive.
    assessmentRuleId string
    A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[A-Za-z0-9]{4,64}$.
    createTime string
    The time at which this assessment rule was created.
    displayName string
    Display Name of the assessment rule.
    location string
    Location of the resource.
    name string
    Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    sampleRule AssessmentRuleSampleRule
    Message for sampling conversations. Structure is documented below.
    scheduleInfo AssessmentRuleScheduleInfo
    Message for schedule info. Structure is documented below.
    updateTime string
    The most recent time at which this assessment rule was updated.
    active bool
    If true, apply this rule to conversations. Otherwise, this rule is inactive.
    assessment_rule_id str
    A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[A-Za-z0-9]{4,64}$.
    create_time str
    The time at which this assessment rule was created.
    display_name str
    Display Name of the assessment rule.
    location str
    Location of the resource.
    name str
    Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    sample_rule AssessmentRuleSampleRuleArgs
    Message for sampling conversations. Structure is documented below.
    schedule_info AssessmentRuleScheduleInfoArgs
    Message for schedule info. Structure is documented below.
    update_time str
    The most recent time at which this assessment rule was updated.
    active Boolean
    If true, apply this rule to conversations. Otherwise, this rule is inactive.
    assessmentRuleId String
    A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[A-Za-z0-9]{4,64}$.
    createTime String
    The time at which this assessment rule was created.
    displayName String
    Display Name of the assessment rule.
    location String
    Location of the resource.
    name String
    Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    sampleRule Property Map
    Message for sampling conversations. Structure is documented below.
    scheduleInfo Property Map
    Message for schedule info. Structure is documented below.
    updateTime String
    The most recent time at which this assessment rule was updated.

    Supporting Types

    AssessmentRuleSampleRule, AssessmentRuleSampleRuleArgs

    ConversationFilter string
    To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations.
    Dimension string
    Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'.
    SamplePercentage double
    Percentage of conversations that we should sample based on the dimension between [0, 100].
    SampleRow int
    Number of the conversations that we should sample based on the dimension.
    ConversationFilter string
    To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations.
    Dimension string
    Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'.
    SamplePercentage float64
    Percentage of conversations that we should sample based on the dimension between [0, 100].
    SampleRow int
    Number of the conversations that we should sample based on the dimension.
    conversationFilter String
    To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations.
    dimension String
    Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'.
    samplePercentage Double
    Percentage of conversations that we should sample based on the dimension between [0, 100].
    sampleRow Integer
    Number of the conversations that we should sample based on the dimension.
    conversationFilter string
    To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations.
    dimension string
    Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'.
    samplePercentage number
    Percentage of conversations that we should sample based on the dimension between [0, 100].
    sampleRow number
    Number of the conversations that we should sample based on the dimension.
    conversation_filter str
    To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations.
    dimension str
    Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'.
    sample_percentage float
    Percentage of conversations that we should sample based on the dimension between [0, 100].
    sample_row int
    Number of the conversations that we should sample based on the dimension.
    conversationFilter String
    To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations.
    dimension String
    Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'.
    samplePercentage Number
    Percentage of conversations that we should sample based on the dimension between [0, 100].
    sampleRow Number
    Number of the conversations that we should sample based on the dimension.

    AssessmentRuleScheduleInfo, AssessmentRuleScheduleInfoArgs

    EndTime string
    End time of the schedule. If not specified, will keep scheduling new pipelines for execution until the schedule is no longer active or deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    Schedule string
    The groc expression. Format: every number [synchronized] Cron syntax is not supported. Time units can be: minutes, hours Synchronized is optional and indicates that the schedule should be synchronized to the start of the interval: every 5 minutes synchronized means 00:00, 00:05 ... Otherwise the start time is random within the interval. Example: every 5 minutes could be 00:02, 00:07, 00:12, ...
    StartTime string
    Start time of the schedule. If not specified, will start as soon as the schedule is created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    TimeZone string
    The timezone to use for the groc expression. If not specified, defaults to UTC.
    EndTime string
    End time of the schedule. If not specified, will keep scheduling new pipelines for execution until the schedule is no longer active or deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    Schedule string
    The groc expression. Format: every number [synchronized] Cron syntax is not supported. Time units can be: minutes, hours Synchronized is optional and indicates that the schedule should be synchronized to the start of the interval: every 5 minutes synchronized means 00:00, 00:05 ... Otherwise the start time is random within the interval. Example: every 5 minutes could be 00:02, 00:07, 00:12, ...
    StartTime string
    Start time of the schedule. If not specified, will start as soon as the schedule is created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    TimeZone string
    The timezone to use for the groc expression. If not specified, defaults to UTC.
    endTime String
    End time of the schedule. If not specified, will keep scheduling new pipelines for execution until the schedule is no longer active or deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    schedule String
    The groc expression. Format: every number [synchronized] Cron syntax is not supported. Time units can be: minutes, hours Synchronized is optional and indicates that the schedule should be synchronized to the start of the interval: every 5 minutes synchronized means 00:00, 00:05 ... Otherwise the start time is random within the interval. Example: every 5 minutes could be 00:02, 00:07, 00:12, ...
    startTime String
    Start time of the schedule. If not specified, will start as soon as the schedule is created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    timeZone String
    The timezone to use for the groc expression. If not specified, defaults to UTC.
    endTime string
    End time of the schedule. If not specified, will keep scheduling new pipelines for execution until the schedule is no longer active or deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    schedule string
    The groc expression. Format: every number [synchronized] Cron syntax is not supported. Time units can be: minutes, hours Synchronized is optional and indicates that the schedule should be synchronized to the start of the interval: every 5 minutes synchronized means 00:00, 00:05 ... Otherwise the start time is random within the interval. Example: every 5 minutes could be 00:02, 00:07, 00:12, ...
    startTime string
    Start time of the schedule. If not specified, will start as soon as the schedule is created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    timeZone string
    The timezone to use for the groc expression. If not specified, defaults to UTC.
    end_time str
    End time of the schedule. If not specified, will keep scheduling new pipelines for execution until the schedule is no longer active or deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    schedule str
    The groc expression. Format: every number [synchronized] Cron syntax is not supported. Time units can be: minutes, hours Synchronized is optional and indicates that the schedule should be synchronized to the start of the interval: every 5 minutes synchronized means 00:00, 00:05 ... Otherwise the start time is random within the interval. Example: every 5 minutes could be 00:02, 00:07, 00:12, ...
    start_time str
    Start time of the schedule. If not specified, will start as soon as the schedule is created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    time_zone str
    The timezone to use for the groc expression. If not specified, defaults to UTC.
    endTime String
    End time of the schedule. If not specified, will keep scheduling new pipelines for execution until the schedule is no longer active or deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    schedule String
    The groc expression. Format: every number [synchronized] Cron syntax is not supported. Time units can be: minutes, hours Synchronized is optional and indicates that the schedule should be synchronized to the start of the interval: every 5 minutes synchronized means 00:00, 00:05 ... Otherwise the start time is random within the interval. Example: every 5 minutes could be 00:02, 00:07, 00:12, ...
    startTime String
    Start time of the schedule. If not specified, will start as soon as the schedule is created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    timeZone String
    The timezone to use for the groc expression. If not specified, defaults to UTC.

    Import

    AssessmentRule can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/assessmentRules/{{name}}
    • {{project}}/{{location}}/{{name}}
    • {{location}}/{{name}}

    When using the pulumi import command, AssessmentRule can be imported using one of the formats above. For example:

    $ pulumi import gcp:contactcenterinsights/assessmentRule:AssessmentRule default projects/{{project}}/locations/{{location}}/assessmentRules/{{name}}
    $ pulumi import gcp:contactcenterinsights/assessmentRule:AssessmentRule default {{project}}/{{location}}/{{name}}
    $ pulumi import gcp:contactcenterinsights/assessmentRule:AssessmentRule default {{location}}/{{name}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v9.20.0
    published on Wednesday, Apr 15, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.