Class: Google::Apis::WorkloadmanagerV1::Evaluation
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::Evaluation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb
Overview
LINT.IfChange Message describing Evaluation object
Instance Attribute Summary collapse
-
#big_query_destination ⇒ Google::Apis::WorkloadmanagerV1::BigQueryDestination
Message describing big query destination Corresponds to the JSON property
bigQueryDestination. -
#create_time ⇒ String
Output only.
-
#custom_rules_bucket ⇒ String
The Cloud Storage bucket name for custom rules.
-
#description ⇒ String
Description of the Evaluation Corresponds to the JSON property
description. -
#evaluation_type ⇒ String
Evaluation type Corresponds to the JSON property
evaluationType. -
#labels ⇒ Hash<String,String>
Labels as key value pairs Corresponds to the JSON property
labels. -
#name ⇒ String
name of resource names have the form 'projects/
project_id/locations/location_id/evaluations/evaluation_id' Corresponds to the JSON propertyname. -
#resource_filter ⇒ Google::Apis::WorkloadmanagerV1::ResourceFilter
Message describing resource filters Corresponds to the JSON property
resourceFilter. -
#resource_status ⇒ Google::Apis::WorkloadmanagerV1::ResourceStatus
Message describing resource status Corresponds to the JSON property
resourceStatus. -
#rule_names ⇒ Array<String>
the name of the rule Corresponds to the JSON property
ruleNames. -
#rule_versions ⇒ Array<String>
Output only.
-
#schedule ⇒ String
crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *" , "0 0 */7 * *", Corresponds to the JSON property
schedule. -
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Evaluation
constructor
A new instance of Evaluation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Evaluation
Returns a new instance of Evaluation.
203 204 205 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 203 def initialize(**args) update!(**args) end |
Instance Attribute Details
#big_query_destination ⇒ Google::Apis::WorkloadmanagerV1::BigQueryDestination
Message describing big query destination
Corresponds to the JSON property bigQueryDestination
138 139 140 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 138 def big_query_destination @big_query_destination end |
#create_time ⇒ String
Output only. [Output only] Create time stamp
Corresponds to the JSON property createTime
143 144 145 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 143 def create_time @create_time end |
#custom_rules_bucket ⇒ String
The Cloud Storage bucket name for custom rules.
Corresponds to the JSON property customRulesBucket
148 149 150 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 148 def custom_rules_bucket @custom_rules_bucket end |
#description ⇒ String
Description of the Evaluation
Corresponds to the JSON property description
153 154 155 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 153 def description @description end |
#evaluation_type ⇒ String
Evaluation type
Corresponds to the JSON property evaluationType
158 159 160 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 158 def evaluation_type @evaluation_type end |
#labels ⇒ Hash<String,String>
Labels as key value pairs
Corresponds to the JSON property labels
163 164 165 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 163 def labels @labels end |
#name ⇒ String
name of resource names have the form 'projects/project_id/locations/
location_id/evaluations/evaluation_id'
Corresponds to the JSON property name
169 170 171 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 169 def name @name end |
#resource_filter ⇒ Google::Apis::WorkloadmanagerV1::ResourceFilter
Message describing resource filters
Corresponds to the JSON property resourceFilter
174 175 176 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 174 def resource_filter @resource_filter end |
#resource_status ⇒ Google::Apis::WorkloadmanagerV1::ResourceStatus
Message describing resource status
Corresponds to the JSON property resourceStatus
179 180 181 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 179 def resource_status @resource_status end |
#rule_names ⇒ Array<String>
the name of the rule
Corresponds to the JSON property ruleNames
184 185 186 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 184 def rule_names @rule_names end |
#rule_versions ⇒ Array<String>
Output only. [Output only] The updated rule ids if exist.
Corresponds to the JSON property ruleVersions
189 190 191 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 189 def rule_versions @rule_versions end |
#schedule ⇒ String
crontab format schedule for scheduled evaluation, currently only support the
following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *"
, "0 0 */7 * *",
Corresponds to the JSON property schedule
196 197 198 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 196 def schedule @schedule end |
#update_time ⇒ String
Output only. [Output only] Update time stamp
Corresponds to the JSON property updateTime
201 202 203 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 201 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 208 def update!(**args) @big_query_destination = args[:big_query_destination] if args.key?(:big_query_destination) @create_time = args[:create_time] if args.key?(:create_time) @custom_rules_bucket = args[:custom_rules_bucket] if args.key?(:custom_rules_bucket) @description = args[:description] if args.key?(:description) @evaluation_type = args[:evaluation_type] if args.key?(:evaluation_type) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @resource_filter = args[:resource_filter] if args.key?(:resource_filter) @resource_status = args[:resource_status] if args.key?(:resource_status) @rule_names = args[:rule_names] if args.key?(:rule_names) @rule_versions = args[:rule_versions] if args.key?(:rule_versions) @schedule = args[:schedule] if args.key?(:schedule) @update_time = args[:update_time] if args.key?(:update_time) end |