Google Cloud Workload Manager V1 Client - Class Evaluation (0.2.0)
0.2.0 (latest)
0.1.0
Reference documentation and code samples for the Google Cloud Workload Manager V1 Client class Evaluation.
Represents a Workload Manager Evaluation configuration.
An Evaluation defines a set of rules to be validated against a scope
of Cloud resources.
Generated from protobuf message google.cloud.workloadmanager.v1.Evaluation
Namespace
Google \ Cloud \ WorkloadManager \ V1
Methods
__construct
Parameter
Name
Description
data
mixed
getName
Name of resource that has the form
projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}.
Returns
Type
Description
string
setName
Name of resource that has the form
projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDescription
Description of the Evaluation.
Returns
Type
Description
string
setDescription
Description of the Evaluation.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getResourceFilter
Resource filter for an evaluation defining the scope of resources to be
evaluated.
hasResourceFilter
clearResourceFilter
setResourceFilter
Resource filter for an evaluation defining the scope of resources to be
evaluated.
Returns
Type
Description
$this
getRuleNames
The names of the rules used for this evaluation.
setRuleNames
The names of the rules used for this evaluation.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getResourceStatus
Output only. [Output only] The current lifecycle state of the evaluation
resource.
hasResourceStatus
clearResourceStatus
setResourceStatus
Output only. [Output only] The current lifecycle state of the evaluation
resource.
Returns
Type
Description
$this
getCreateTime
Output only. [Output only] Create time stamp.
hasCreateTime
clearCreateTime
setCreateTime
Output only. [Output only] Create time stamp.
Returns
Type
Description
$this
getUpdateTime
Output only. [Output only] Update time stamp.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. [Output only] Update time stamp.
Returns
Type
Description
$this
getLabels
Labels as key value pairs.
setLabels
Labels as key value pairs.
Returns
Type
Description
$this
getSchedule
Crontab format schedule for scheduled evaluation, currently only supports
the following fixed schedules:
0 */1 * * * # Hourly
0 */6 * * * # Every 6 hours
0 */12 * * * # Every 12 hours
0 0 */1 * * # Daily
0 0 */7 * * # Weekly
0 0 */14 * * # Every 14 days
0 0 1 */1 * # Monthly
Returns
Type
Description
string
hasSchedule
clearSchedule
setSchedule
Crontab format schedule for scheduled evaluation, currently only supports
the following fixed schedules:
0 */1 * * * # Hourly
0 */6 * * * # Every 6 hours
0 */12 * * * # Every 12 hours
0 0 */1 * * # Daily
0 0 */7 * * # Weekly
0 0 */14 * * # Every 14 days
0 0 1 */1 * # Monthly
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCustomRulesBucket
The Cloud Storage bucket name for custom rules.
Returns
Type
Description
string
setCustomRulesBucket
The Cloud Storage bucket name for custom rules.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEvaluationType
setEvaluationType
Returns
Type
Description
$this
getBigQueryDestination
Optional. The BigQuery destination for detailed evaluation results.
If this field is specified, the results of each evaluation execution are
exported to BigQuery.
hasBigQueryDestination
clearBigQueryDestination
setBigQueryDestination
Optional. The BigQuery destination for detailed evaluation results.
If this field is specified, the results of each evaluation execution are
exported to BigQuery.
Returns
Type
Description
$this
getKmsKey
Optional. Immutable. Customer-managed encryption key name, in the format
projects//locations/ /keyRings//cryptoKeys/ .
The key will be used for CMEK encryption of the evaluation resource.
Returns
Type
Description
string
setKmsKey
Optional. Immutable. Customer-managed encryption key name, in the format
projects//locations/ /keyRings//cryptoKeys/ .
The key will be used for CMEK encryption of the evaluation resource.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-18 UTC."],[],[]]