Debian Codegraph @

docs/dyn/workloadmanager_v1.projects.locations.evaluations.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="workloadmanager_v1.html">Workload Manager API</a> . <a href="workloadmanager_v1.projects.html">projects</a> . <a href="workloadmanager_v1.projects.locations.html">locations</a> . <a href="workloadmanager_v1.projects.locations.evaluations.html">evaluations</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="workloadmanager_v1.projects.locations.evaluations.executions.html">executions()</a></code>
79 </p>
80 <p class="firstline">Returns the executions Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, evaluationId=None, requestId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a new Evaluation in a given project and location.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, force=None, requestId=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes a single Evaluation.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Gets details of a single Evaluation.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Lists Evaluations in a given project and location.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Updates the parameters of a single Evaluation.</p>
103 <h3>Method Details</h3>
104 <div class="method">
105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107 </div>
108
109 <div class="method">
110 <code class="details" id="create">create(parent, body=None, evaluationId=None, requestId=None, x__xgafv=None)</code>
111 <pre>Creates a new Evaluation in a given project and location.
112
113 Args:
114 parent: string, Required. The resource prefix of the evaluation location using the form: `projects/{project_id}/locations/{location_id}`. (required)
115 body: object, The request body.
116 The object takes the form of:
117
118 { # Represents a Workload Manager Evaluation configuration. An Evaluation defines a set of rules to be validated against a scope of Cloud resources.
119 &quot;bigQueryDestination&quot;: { # BigQuery destination for evaluation results. # Optional. The BigQuery destination for detailed evaluation results. If this field is specified, the results of each evaluation execution are exported to BigQuery.
120 &quot;createNewResultsTable&quot;: True or False, # Optional. Determines if a new results table will be created when an Execution is created.
121 &quot;destinationDataset&quot;: &quot;A String&quot;, # Optional. Destination dataset to save evaluation results.
122 },
123 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp.
124 &quot;customRulesBucket&quot;: &quot;A String&quot;, # The Cloud Storage bucket name for custom rules.
125 &quot;description&quot;: &quot;A String&quot;, # Description of the Evaluation.
126 &quot;evaluationType&quot;: &quot;A String&quot;, # Evaluation type.
127 &quot;kmsKey&quot;: &quot;A String&quot;, # 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.
128 &quot;labels&quot;: { # Labels as key value pairs.
129 &quot;a_key&quot;: &quot;A String&quot;,
130 },
131 &quot;name&quot;: &quot;A String&quot;, # Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.
132 &quot;resourceFilter&quot;: { # Resource filter for an evaluation defining the scope of resources to be evaluated. # Resource filter for an evaluation defining the scope of resources to be evaluated.
133 &quot;gceInstanceFilter&quot;: { # A filter for matching Compute Engine instances. # Filter compute engine resources.
134 &quot;serviceAccounts&quot;: [ # If non-empty, only Compute Engine instances associated with at least one of the provided service accounts will be included in the evaluation.
135 &quot;A String&quot;,
136 ],
137 },
138 &quot;inclusionLabels&quot;: { # Labels to filter resources by. Each key-value pair in the map must exist on the resource for it to be included (e.g. VM instance labels). For example, specifying `{ &quot;env&quot;: &quot;prod&quot;, &quot;database&quot;: &quot;nosql&quot; }` will only include resources that have labels `env=prod` and `database=nosql`.
139 &quot;a_key&quot;: &quot;A String&quot;,
140 },
141 &quot;resourceIdPatterns&quot;: [ # The pattern to filter resources by their id For example, a pattern of &quot;.*prod-cluster.*&quot; will match all resources that contain &quot;prod-cluster&quot; in their ID.
142 &quot;A String&quot;,
143 ],
144 &quot;scopes&quot;: [ # The scopes of evaluation resource. Format: * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`
145 &quot;A String&quot;,
146 ],
147 },
148 &quot;resourceStatus&quot;: { # The lifecycle status of an Evaluation resource. # Output only. [Output only] The current lifecycle state of the evaluation resource.
149 &quot;state&quot;: &quot;A String&quot;, # State of the Evaluation resource.
150 },
151 &quot;ruleNames&quot;: [ # The names of the rules used for this evaluation.
152 &quot;A String&quot;,
153 ],
154 &quot;schedule&quot;: &quot;A String&quot;, # 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
155 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp.
156 }
157
158 evaluationId: string, Required. Id of the requesting object.
159 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
160 x__xgafv: string, V1 error format.
161 Allowed values
162 1 - v1 error format
163 2 - v2 error format
164
165 Returns:
166 An object of the form:
167
168 { # This resource represents a long-running operation that is the result of a network API call.
169 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
170 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
171 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
172 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
173 {
174 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
175 },
176 ],
177 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
178 },
179 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
180 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
181 },
182 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
183 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
184 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
185 },
186 }</pre>
187 </div>
188
189 <div class="method">
190 <code class="details" id="delete">delete(name, force=None, requestId=None, x__xgafv=None)</code>
191 <pre>Deletes a single Evaluation.
192
193 Args:
194 name: string, Required. Name of the resource. (required)
195 force: boolean, Optional. Followed the best practice from https://aip.dev/135#cascading-delete.
196 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
197 x__xgafv: string, V1 error format.
198 Allowed values
199 1 - v1 error format
200 2 - v2 error format
201
202 Returns:
203 An object of the form:
204
205 { # This resource represents a long-running operation that is the result of a network API call.
206 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
207 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
208 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
209 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
210 {
211 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
212 },
213 ],
214 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
215 },
216 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
217 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
218 },
219 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
220 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
221 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
222 },
223 }</pre>
224 </div>
225
226 <div class="method">
227 <code class="details" id="get">get(name, x__xgafv=None)</code>
228 <pre>Gets details of a single Evaluation.
229
230 Args:
231 name: string, Required. Name of the resource. (required)
232 x__xgafv: string, V1 error format.
233 Allowed values
234 1 - v1 error format
235 2 - v2 error format
236
237 Returns:
238 An object of the form:
239
240 { # Represents a Workload Manager Evaluation configuration. An Evaluation defines a set of rules to be validated against a scope of Cloud resources.
241 &quot;bigQueryDestination&quot;: { # BigQuery destination for evaluation results. # Optional. The BigQuery destination for detailed evaluation results. If this field is specified, the results of each evaluation execution are exported to BigQuery.
242 &quot;createNewResultsTable&quot;: True or False, # Optional. Determines if a new results table will be created when an Execution is created.
243 &quot;destinationDataset&quot;: &quot;A String&quot;, # Optional. Destination dataset to save evaluation results.
244 },
245 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp.
246 &quot;customRulesBucket&quot;: &quot;A String&quot;, # The Cloud Storage bucket name for custom rules.
247 &quot;description&quot;: &quot;A String&quot;, # Description of the Evaluation.
248 &quot;evaluationType&quot;: &quot;A String&quot;, # Evaluation type.
249 &quot;kmsKey&quot;: &quot;A String&quot;, # 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.
250 &quot;labels&quot;: { # Labels as key value pairs.
251 &quot;a_key&quot;: &quot;A String&quot;,
252 },
253 &quot;name&quot;: &quot;A String&quot;, # Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.
254 &quot;resourceFilter&quot;: { # Resource filter for an evaluation defining the scope of resources to be evaluated. # Resource filter for an evaluation defining the scope of resources to be evaluated.
255 &quot;gceInstanceFilter&quot;: { # A filter for matching Compute Engine instances. # Filter compute engine resources.
256 &quot;serviceAccounts&quot;: [ # If non-empty, only Compute Engine instances associated with at least one of the provided service accounts will be included in the evaluation.
257 &quot;A String&quot;,
258 ],
259 },
260 &quot;inclusionLabels&quot;: { # Labels to filter resources by. Each key-value pair in the map must exist on the resource for it to be included (e.g. VM instance labels). For example, specifying `{ &quot;env&quot;: &quot;prod&quot;, &quot;database&quot;: &quot;nosql&quot; }` will only include resources that have labels `env=prod` and `database=nosql`.
261 &quot;a_key&quot;: &quot;A String&quot;,
262 },
263 &quot;resourceIdPatterns&quot;: [ # The pattern to filter resources by their id For example, a pattern of &quot;.*prod-cluster.*&quot; will match all resources that contain &quot;prod-cluster&quot; in their ID.
264 &quot;A String&quot;,
265 ],
266 &quot;scopes&quot;: [ # The scopes of evaluation resource. Format: * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`
267 &quot;A String&quot;,
268 ],
269 },
270 &quot;resourceStatus&quot;: { # The lifecycle status of an Evaluation resource. # Output only. [Output only] The current lifecycle state of the evaluation resource.
271 &quot;state&quot;: &quot;A String&quot;, # State of the Evaluation resource.
272 },
273 &quot;ruleNames&quot;: [ # The names of the rules used for this evaluation.
274 &quot;A String&quot;,
275 ],
276 &quot;schedule&quot;: &quot;A String&quot;, # 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
277 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp.
278 }</pre>
279 </div>
280
281 <div class="method">
282 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
283 <pre>Lists Evaluations in a given project and location.
284
285 Args:
286 parent: string, Required. Parent value for ListEvaluationsRequest. (required)
287 filter: string, Filter to be applied when listing the evaluation results.
288 orderBy: string, Hint for how to order the results.
289 pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
290 pageToken: string, A token identifying a page of results the server should return.
291 x__xgafv: string, V1 error format.
292 Allowed values
293 1 - v1 error format
294 2 - v2 error format
295
296 Returns:
297 An object of the form:
298
299 { # Response message for the ListEvaluations RPC.
300 &quot;evaluations&quot;: [ # The list of evaluations.
301 { # Represents a Workload Manager Evaluation configuration. An Evaluation defines a set of rules to be validated against a scope of Cloud resources.
302 &quot;bigQueryDestination&quot;: { # BigQuery destination for evaluation results. # Optional. The BigQuery destination for detailed evaluation results. If this field is specified, the results of each evaluation execution are exported to BigQuery.
303 &quot;createNewResultsTable&quot;: True or False, # Optional. Determines if a new results table will be created when an Execution is created.
304 &quot;destinationDataset&quot;: &quot;A String&quot;, # Optional. Destination dataset to save evaluation results.
305 },
306 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp.
307 &quot;customRulesBucket&quot;: &quot;A String&quot;, # The Cloud Storage bucket name for custom rules.
308 &quot;description&quot;: &quot;A String&quot;, # Description of the Evaluation.
309 &quot;evaluationType&quot;: &quot;A String&quot;, # Evaluation type.
310 &quot;kmsKey&quot;: &quot;A String&quot;, # 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.
311 &quot;labels&quot;: { # Labels as key value pairs.
312 &quot;a_key&quot;: &quot;A String&quot;,
313 },
314 &quot;name&quot;: &quot;A String&quot;, # Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.
315 &quot;resourceFilter&quot;: { # Resource filter for an evaluation defining the scope of resources to be evaluated. # Resource filter for an evaluation defining the scope of resources to be evaluated.
316 &quot;gceInstanceFilter&quot;: { # A filter for matching Compute Engine instances. # Filter compute engine resources.
317 &quot;serviceAccounts&quot;: [ # If non-empty, only Compute Engine instances associated with at least one of the provided service accounts will be included in the evaluation.
318 &quot;A String&quot;,
319 ],
320 },
321 &quot;inclusionLabels&quot;: { # Labels to filter resources by. Each key-value pair in the map must exist on the resource for it to be included (e.g. VM instance labels). For example, specifying `{ &quot;env&quot;: &quot;prod&quot;, &quot;database&quot;: &quot;nosql&quot; }` will only include resources that have labels `env=prod` and `database=nosql`.
322 &quot;a_key&quot;: &quot;A String&quot;,
323 },
324 &quot;resourceIdPatterns&quot;: [ # The pattern to filter resources by their id For example, a pattern of &quot;.*prod-cluster.*&quot; will match all resources that contain &quot;prod-cluster&quot; in their ID.
325 &quot;A String&quot;,
326 ],
327 &quot;scopes&quot;: [ # The scopes of evaluation resource. Format: * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`
328 &quot;A String&quot;,
329 ],
330 },
331 &quot;resourceStatus&quot;: { # The lifecycle status of an Evaluation resource. # Output only. [Output only] The current lifecycle state of the evaluation resource.
332 &quot;state&quot;: &quot;A String&quot;, # State of the Evaluation resource.
333 },
334 &quot;ruleNames&quot;: [ # The names of the rules used for this evaluation.
335 &quot;A String&quot;,
336 ],
337 &quot;schedule&quot;: &quot;A String&quot;, # 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
338 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp.
339 },
340 ],
341 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
342 &quot;unreachable&quot;: [ # Locations that could not be reached.
343 &quot;A String&quot;,
344 ],
345 }</pre>
346 </div>
347
348 <div class="method">
349 <code class="details" id="list_next">list_next()</code>
350 <pre>Retrieves the next page of results.
351
352 Args:
353 previous_request: The request for the previous page. (required)
354 previous_response: The response from the request for the previous page. (required)
355
356 Returns:
357 A request object that you can call &#x27;execute()&#x27; on to request the next
358 page. Returns None if there are no more items in the collection.
359 </pre>
360 </div>
361
362 <div class="method">
363 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
364 <pre>Updates the parameters of a single Evaluation.
365
366 Args:
367 name: string, Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`. (required)
368 body: object, The request body.
369 The object takes the form of:
370
371 { # Represents a Workload Manager Evaluation configuration. An Evaluation defines a set of rules to be validated against a scope of Cloud resources.
372 &quot;bigQueryDestination&quot;: { # BigQuery destination for evaluation results. # Optional. The BigQuery destination for detailed evaluation results. If this field is specified, the results of each evaluation execution are exported to BigQuery.
373 &quot;createNewResultsTable&quot;: True or False, # Optional. Determines if a new results table will be created when an Execution is created.
374 &quot;destinationDataset&quot;: &quot;A String&quot;, # Optional. Destination dataset to save evaluation results.
375 },
376 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp.
377 &quot;customRulesBucket&quot;: &quot;A String&quot;, # The Cloud Storage bucket name for custom rules.
378 &quot;description&quot;: &quot;A String&quot;, # Description of the Evaluation.
379 &quot;evaluationType&quot;: &quot;A String&quot;, # Evaluation type.
380 &quot;kmsKey&quot;: &quot;A String&quot;, # 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.
381 &quot;labels&quot;: { # Labels as key value pairs.
382 &quot;a_key&quot;: &quot;A String&quot;,
383 },
384 &quot;name&quot;: &quot;A String&quot;, # Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.
385 &quot;resourceFilter&quot;: { # Resource filter for an evaluation defining the scope of resources to be evaluated. # Resource filter for an evaluation defining the scope of resources to be evaluated.
386 &quot;gceInstanceFilter&quot;: { # A filter for matching Compute Engine instances. # Filter compute engine resources.
387 &quot;serviceAccounts&quot;: [ # If non-empty, only Compute Engine instances associated with at least one of the provided service accounts will be included in the evaluation.
388 &quot;A String&quot;,
389 ],
390 },
391 &quot;inclusionLabels&quot;: { # Labels to filter resources by. Each key-value pair in the map must exist on the resource for it to be included (e.g. VM instance labels). For example, specifying `{ &quot;env&quot;: &quot;prod&quot;, &quot;database&quot;: &quot;nosql&quot; }` will only include resources that have labels `env=prod` and `database=nosql`.
392 &quot;a_key&quot;: &quot;A String&quot;,
393 },
394 &quot;resourceIdPatterns&quot;: [ # The pattern to filter resources by their id For example, a pattern of &quot;.*prod-cluster.*&quot; will match all resources that contain &quot;prod-cluster&quot; in their ID.
395 &quot;A String&quot;,
396 ],
397 &quot;scopes&quot;: [ # The scopes of evaluation resource. Format: * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`
398 &quot;A String&quot;,
399 ],
400 },
401 &quot;resourceStatus&quot;: { # The lifecycle status of an Evaluation resource. # Output only. [Output only] The current lifecycle state of the evaluation resource.
402 &quot;state&quot;: &quot;A String&quot;, # State of the Evaluation resource.
403 },
404 &quot;ruleNames&quot;: [ # The names of the rules used for this evaluation.
405 &quot;A String&quot;,
406 ],
407 &quot;schedule&quot;: &quot;A String&quot;, # 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
408 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp.
409 }
410
411 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
412 updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the Evaluation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.
413 x__xgafv: string, V1 error format.
414 Allowed values
415 1 - v1 error format
416 2 - v2 error format
417
418 Returns:
419 An object of the form:
420
421 { # This resource represents a long-running operation that is the result of a network API call.
422 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
423 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
424 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
425 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
426 {
427 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
428 },
429 ],
430 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
431 },
432 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
433 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
434 },
435 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
436 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
437 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
438 },
439 }</pre>
440 </div>
441
442 </body></html>