Reference documentation and code samples for the Workload Manager V1 API class Google::Cloud::WorkloadManager::V1::Evaluation.
Represents a Workload Manager Evaluation configuration. An Evaluation defines a set of rules to be validated against a scope of Cloud resources.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#big_query_destination
def big_query_destination() -> ::Google::Cloud::WorkloadManager::V1::BigQueryDestination- (::Google::Cloud::WorkloadManager::V1::BigQueryDestination) — Optional. The BigQuery destination for detailed evaluation results. If this field is specified, the results of each evaluation execution are exported to BigQuery.
#big_query_destination=
def big_query_destination=(value) -> ::Google::Cloud::WorkloadManager::V1::BigQueryDestination- value (::Google::Cloud::WorkloadManager::V1::BigQueryDestination) — Optional. The BigQuery destination for detailed evaluation results. If this field is specified, the results of each evaluation execution are exported to BigQuery.
- (::Google::Cloud::WorkloadManager::V1::BigQueryDestination) — Optional. The BigQuery destination for detailed evaluation results. If this field is specified, the results of each evaluation execution are exported to BigQuery.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. [Output only] Create time stamp.
#custom_rules_bucket
def custom_rules_bucket() -> ::String- (::String) — The Cloud Storage bucket name for custom rules.
#custom_rules_bucket=
def custom_rules_bucket=(value) -> ::String- value (::String) — The Cloud Storage bucket name for custom rules.
- (::String) — The Cloud Storage bucket name for custom rules.
#description
def description() -> ::String- (::String) — Description of the Evaluation.
#description=
def description=(value) -> ::String- value (::String) — Description of the Evaluation.
- (::String) — Description of the Evaluation.
#evaluation_type
def evaluation_type() -> ::Google::Cloud::WorkloadManager::V1::Evaluation::EvaluationType- (::Google::Cloud::WorkloadManager::V1::Evaluation::EvaluationType) — Evaluation type.
#evaluation_type=
def evaluation_type=(value) -> ::Google::Cloud::WorkloadManager::V1::Evaluation::EvaluationType- value (::Google::Cloud::WorkloadManager::V1::Evaluation::EvaluationType) — Evaluation type.
- (::Google::Cloud::WorkloadManager::V1::Evaluation::EvaluationType) — Evaluation type.
#kms_key
def kms_key() -> ::String- (::String) — 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.
#kms_key=
def kms_key=(value) -> ::String- value (::String) — 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.
- (::String) — 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.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.
- (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.
#name
def name() -> ::String-
(::String) — Name of resource that has the form
projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}.
#name=
def name=(value) -> ::String-
value (::String) — Name of resource that has the form
projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}.
-
(::String) — Name of resource that has the form
projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}.
#resource_filter
def resource_filter() -> ::Google::Cloud::WorkloadManager::V1::ResourceFilter- (::Google::Cloud::WorkloadManager::V1::ResourceFilter) — Resource filter for an evaluation defining the scope of resources to be evaluated.
#resource_filter=
def resource_filter=(value) -> ::Google::Cloud::WorkloadManager::V1::ResourceFilter- value (::Google::Cloud::WorkloadManager::V1::ResourceFilter) — Resource filter for an evaluation defining the scope of resources to be evaluated.
- (::Google::Cloud::WorkloadManager::V1::ResourceFilter) — Resource filter for an evaluation defining the scope of resources to be evaluated.
#resource_status
def resource_status() -> ::Google::Cloud::WorkloadManager::V1::ResourceStatus- (::Google::Cloud::WorkloadManager::V1::ResourceStatus) — Output only. [Output only] The current lifecycle state of the evaluation resource.
#rule_names
def rule_names() -> ::Array<::String>- (::Array<::String>) — The names of the rules used for this evaluation.
#rule_names=
def rule_names=(value) -> ::Array<::String>- value (::Array<::String>) — The names of the rules used for this evaluation.
- (::Array<::String>) — The names of the rules used for this evaluation.
#schedule
def schedule() -> ::String-
(::String) —
Crontab format schedule for scheduled evaluation, currently only supports the following fixed schedules:
0 */1 * * *# Hourly0 */6 * * *# Every 6 hours0 */12 * * *# Every 12 hours0 0 */1 * *# Daily0 0 */7 * *# Weekly0 0 */14 * *# Every 14 days0 0 1 */1 *# Monthly
#schedule=
def schedule=(value) -> ::String-
value (::String) —
Crontab format schedule for scheduled evaluation, currently only supports the following fixed schedules:
0 */1 * * *# Hourly0 */6 * * *# Every 6 hours0 */12 * * *# Every 12 hours0 0 */1 * *# Daily0 0 */7 * *# Weekly0 0 */14 * *# Every 14 days0 0 1 */1 *# Monthly
-
(::String) —
Crontab format schedule for scheduled evaluation, currently only supports the following fixed schedules:
0 */1 * * *# Hourly0 */6 * * *# Every 6 hours0 */12 * * *# Every 12 hours0 0 */1 * *# Daily0 0 */7 * *# Weekly0 0 */14 * *# Every 14 days0 0 1 */1 *# Monthly
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. [Output only] Update time stamp.