Workload Manager V1 API - Class Google::Cloud::WorkloadManager::V1::Evaluation (v0.1.0)

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
Returns

#big_query_destination=

def big_query_destination=(value) -> ::Google::Cloud::WorkloadManager::V1::BigQueryDestination
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#custom_rules_bucket

def custom_rules_bucket() -> ::String
Returns
  • (::String) — The Cloud Storage bucket name for custom rules.

#custom_rules_bucket=

def custom_rules_bucket=(value) -> ::String
Parameter
  • value (::String) — The Cloud Storage bucket name for custom rules.
Returns
  • (::String) — The Cloud Storage bucket name for custom rules.

#description

def description() -> ::String
Returns
  • (::String) — Description of the Evaluation.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Description of the Evaluation.
Returns
  • (::String) — Description of the Evaluation.

#evaluation_type

def evaluation_type() -> ::Google::Cloud::WorkloadManager::V1::Evaluation::EvaluationType

#evaluation_type=

def evaluation_type=(value) -> ::Google::Cloud::WorkloadManager::V1::Evaluation::EvaluationType

#kms_key

def kms_key() -> ::String
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.

#name

def name() -> ::String
Returns
  • (::String) — Name of resource that has the form projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of resource that has the form projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}.
Returns
  • (::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
Returns

#resource_filter=

def resource_filter=(value) -> ::Google::Cloud::WorkloadManager::V1::ResourceFilter
Parameter
Returns

#resource_status

def resource_status() -> ::Google::Cloud::WorkloadManager::V1::ResourceStatus
Returns

#rule_names

def rule_names() -> ::Array<::String>
Returns
  • (::Array<::String>) — The names of the rules used for this evaluation.

#rule_names=

def rule_names=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The names of the rules used for this evaluation.
Returns
  • (::Array<::String>) — The names of the rules used for this evaluation.

#schedule

def schedule() -> ::String
Returns
  • (::String) —

    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

#schedule=

def schedule=(value) -> ::String
Parameter
  • value (::String) —

    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
  • (::String) —

    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

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns