published on Wednesday, Apr 15, 2026 by Pulumi
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.
- Assessment
Rule stringId - 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 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.
- Sample
Rule AssessmentRule Sample Rule - Message for sampling conversations. Structure is documented below.
- Schedule
Info AssessmentRule Schedule Info - 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.
- Assessment
Rule stringId - 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 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.
- Sample
Rule AssessmentRule Sample Rule Args - Message for sampling conversations. Structure is documented below.
- Schedule
Info AssessmentRule Schedule Info Args - 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.
- assessment
Rule StringId - 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 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.
- sample
Rule AssessmentRule Sample Rule - Message for sampling conversations. Structure is documented below.
- schedule
Info AssessmentRule Schedule Info - 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.
- assessment
Rule stringId - 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 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.
- sample
Rule AssessmentRule Sample Rule - Message for sampling conversations. Structure is documented below.
- schedule
Info AssessmentRule Schedule Info - 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_ strid - 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 AssessmentRule Sample Rule Args - Message for sampling conversations. Structure is documented below.
- schedule_
info AssessmentRule Schedule Info Args - 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.
- assessment
Rule StringId - 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 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.
- sample
Rule Property Map - Message for sampling conversations. Structure is documented below.
- schedule
Info 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:
- Create
Time 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}
- Update
Time string - The most recent time at which this assessment rule was updated.
- Create
Time 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}
- Update
Time string - The most recent time at which this assessment rule was updated.
- create
Time 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}
- update
Time String - The most recent time at which this assessment rule was updated.
- create
Time 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}
- update
Time 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.
- create
Time 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}
- update
Time 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) -> AssessmentRulefunc 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.
- Active bool
- If true, apply this rule to conversations. Otherwise, this rule is inactive.
- Assessment
Rule stringId - 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 string - The time at which this assessment rule was created.
- Display
Name 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.
- Sample
Rule AssessmentRule Sample Rule - Message for sampling conversations. Structure is documented below.
- Schedule
Info AssessmentRule Schedule Info - Message for schedule info. Structure is documented below.
- Update
Time 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 stringId - 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 string - The time at which this assessment rule was created.
- Display
Name 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.
- Sample
Rule AssessmentRule Sample Rule Args - Message for sampling conversations. Structure is documented below.
- Schedule
Info AssessmentRule Schedule Info Args - Message for schedule info. Structure is documented below.
- Update
Time 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.
- assessment
Rule StringId - 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 String - The time at which this assessment rule was created.
- display
Name 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.
- sample
Rule AssessmentRule Sample Rule - Message for sampling conversations. Structure is documented below.
- schedule
Info AssessmentRule Schedule Info - Message for schedule info. Structure is documented below.
- update
Time 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.
- assessment
Rule stringId - 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 string - The time at which this assessment rule was created.
- display
Name 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.
- sample
Rule AssessmentRule Sample Rule - Message for sampling conversations. Structure is documented below.
- schedule
Info AssessmentRule Schedule Info - Message for schedule info. Structure is documented below.
- update
Time 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_ strid - 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 AssessmentRule Sample Rule Args - Message for sampling conversations. Structure is documented below.
- schedule_
info AssessmentRule Schedule Info Args - 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.
- assessment
Rule StringId - 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 String - The time at which this assessment rule was created.
- display
Name 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.
- sample
Rule Property Map - Message for sampling conversations. Structure is documented below.
- schedule
Info Property Map - Message for schedule info. Structure is documented below.
- update
Time String - The most recent time at which this assessment rule was updated.
Supporting Types
AssessmentRuleSampleRule, AssessmentRuleSampleRuleArgs
- Conversation
Filter 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'.
- Sample
Percentage double - 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.
- Conversation
Filter 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'.
- Sample
Percentage float64 - 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.
- conversation
Filter 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'.
- sample
Percentage Double - Percentage of conversations that we should sample based on the dimension between [0, 100].
- sample
Row Integer - Number of the conversations that we should sample based on the dimension.
- conversation
Filter 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'.
- sample
Percentage number - Percentage of conversations that we should sample based on the dimension between [0, 100].
- sample
Row 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.
- conversation
Filter 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'.
- sample
Percentage Number - Percentage of conversations that we should sample based on the dimension between [0, 100].
- sample
Row Number - Number of the conversations that we should sample based on the dimension.
AssessmentRuleScheduleInfo, AssessmentRuleScheduleInfoArgs
- End
Time 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 minutescould be 00:02, 00:07, 00:12, ... - Start
Time 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".
- Time
Zone string - The timezone to use for the groc expression. If not specified, defaults to UTC.
- End
Time 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 minutescould be 00:02, 00:07, 00:12, ... - Start
Time 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".
- Time
Zone string - The timezone to use for the groc expression. If not specified, defaults to UTC.
- end
Time 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 minutescould be 00:02, 00:07, 00:12, ... - start
Time 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".
- time
Zone String - The timezone to use for the groc expression. If not specified, defaults to UTC.
- end
Time 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 minutescould be 00:02, 00:07, 00:12, ... - start
Time 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".
- time
Zone 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 minutescould 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.
- end
Time 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 minutescould be 00:02, 00:07, 00:12, ... - start
Time 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".
- time
Zone 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-betaTerraform Provider.
published on Wednesday, Apr 15, 2026 by Pulumi
