-
Notifications
You must be signed in to change notification settings - Fork 364
/
common_057.proto
645 lines (556 loc) · 28.6 KB
/
common_057.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Generated by the C++ microgenerator.
// If you make any local changes, they will be lost.
// file:///workspace/generator/discovery/compute_public_google_rest_v1.json
// revision: 20230920
syntax = "proto3";
package google.cloud.cpp.compute.v1;
import "google/cloud/compute/v1/internal/common_001.proto";
import "google/cloud/compute/v1/internal/common_029.proto";
import "google/cloud/compute/v1/internal/common_070.proto";
import "google/cloud/compute/v1/internal/common_109.proto";
message InstanceConsumptionData {
// Resources consumed by the instance.
optional InstanceConsumptionInfo consumption_info = 1;
// Server-defined URL for the instance.
optional string instance = 2;
}
message InstanceConsumptionInfo {
// The number of virtual CPUs that are available to the instance.
optional int32 guest_cpus = 1;
// The amount of local SSD storage available to the instance, defined in GiB.
optional int32 local_ssd_gb = 2;
// The amount of physical memory available to the instance, defined in MiB.
optional int32 memory_mb = 3;
// The minimal guaranteed number of virtual CPUs that are reserved.
optional int32 min_node_cpus = 4;
}
// Represents a sole-tenant Node Group resource. A sole-tenant node is a
// physical server that is dedicated to hosting VM instances only for your
// specific project. Use sole-tenant nodes to keep your instances physically
// separated from instances in other projects, or to group your instances
// together on the same host hardware. For more information, read Sole-tenant
// nodes.
message NodeGroup {
// Specifies how autoscaling should behave.
optional NodeGroupAutoscalingPolicy autoscaling_policy = 1;
// [Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 2;
// An optional description of this resource. Provide this property when you
// create the resource.
optional string description = 3;
optional string fingerprint = 4;
// [Output Only] The unique identifier for the resource. This identifier is
// defined by the server.
optional string id = 5;
// [Output Only] The type of the resource. Always compute#nodeGroup for node
// group.
optional string kind = 6;
// An opaque location hint used to place the Node close to other resources.
// This field is for use by internal tools that use the public API. The
// location hint here on the NodeGroup overrides any location_hint present in
// the NodeTemplate.
optional string location_hint = 7;
// Specifies how to handle instances when a node in the group undergoes
// maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or
// MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more
// information, see Maintenance policies.
// DEFAULT: Allow the node and corresponding instances to retain default
// maintenance behavior.
// MAINTENANCE_POLICY_UNSPECIFIED:
// MIGRATE_WITHIN_NODE_GROUP: When maintenance must be done on a node, the
// instances on that node will be moved to other nodes in the group. Instances
// with onHostMaintenance = MIGRATE will live migrate to their destinations
// while instances with onHostMaintenance = TERMINATE will terminate and then
// restart on their destination nodes if automaticRestart = true.
// RESTART_IN_PLACE: Instances in this group will restart on the same node
// when maintenance has completed. Instances must have onHostMaintenance =
// TERMINATE, and they will only restart if automaticRestart = true.
optional string maintenance_policy = 8;
optional NodeGroupMaintenanceWindow maintenance_window = 9;
// The name of the resource, provided by the client when initially creating
// the resource. The resource name must be 1-63 characters long, and comply
// with RFC1035. Specifically, the name must be 1-63 characters long and match
// the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
// character must be a lowercase letter, and all following characters must be
// a dash, lowercase letter, or digit, except the last character, which cannot
// be a dash.
optional string name = 10;
// URL of the node template to create the node group from.
optional string node_template = 11;
// [Output Only] Server-defined URL for the resource.
optional string self_link = 12;
// Share-settings for the node group
optional ShareSettings share_settings = 13;
// [Output Only] The total number of nodes in the node group.
optional int32 size = 14;
// CREATING:
// DELETING:
// INVALID:
// READY:
optional string status = 15;
// [Output Only] The name of the zone where the node group resides, such as
// us-central1-a.
optional string zone = 16;
}
message NodeGroupAggregatedList {
// [Output Only] Unique identifier for the resource; defined by the server.
optional string id = 1;
// A list of NodeGroupsScopedList resources.
map<string, NodeGroupsScopedList> items = 2;
// [Output Only] Type of resource.Always compute#nodeGroupAggregatedList for
// aggregated lists of node groups.
optional string kind = 3;
// [Output Only] This token allows you to get the next page of results for
// list requests. If the number of results is larger than maxResults, use the
// nextPageToken as a value for the query parameter pageToken in the next list
// request. Subsequent list requests will have their own nextPageToken to
// continue paging through the results.
optional string next_page_token = 4;
// [Output Only] Server-defined URL for this resource.
optional string self_link = 5;
// [Output Only] Unreachable resources.
repeated string unreachables = 6;
message Warning {
// [Output Only] A warning code, if applicable. For example, Compute Engine
// returns NO_RESULTS_ON_PAGE if there are no results in the response.
// CLEANUP_FAILED: Warning about failed cleanup of transient changes made by
// a failed operation.
// DEPRECATED_RESOURCE_USED: A link to a deprecated resource was created.
// DEPRECATED_TYPE_USED: When deploying and at least one of the resources
// has a type marked as deprecated
// DISK_SIZE_LARGER_THAN_IMAGE_SIZE: The user created a boot disk that is
// larger than image size.
// EXPERIMENTAL_TYPE_USED: When deploying and at least one of the resources
// has a type marked as experimental
// EXTERNAL_API_WARNING: Warning that is present in an external api call
// FIELD_VALUE_OVERRIDEN: Warning that value of a field has been overridden.
// Deprecated unused field.
// INJECTED_KERNELS_DEPRECATED: The operation involved use of an injected
// kernel, which is deprecated.
// INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB: A WEIGHTED_MAGLEV backend
// service is associated with a health check that is not of type
// HTTP/HTTPS/HTTP2.
// LARGE_DEPLOYMENT_WARNING: When deploying a deployment with a exceedingly
// large number of resources
// LIST_OVERHEAD_QUOTA_EXCEED: Resource can't be retrieved due to list
// overhead quota exceed which captures the amount of resources filtered out
// by user-defined list filter.
// MISSING_TYPE_DEPENDENCY: A resource depends on a missing type
// NEXT_HOP_ADDRESS_NOT_ASSIGNED: The route's nextHopIp address is not
// assigned to an instance on the network.
// NEXT_HOP_CANNOT_IP_FORWARD: The route's next hop instance cannot ip
// forward.
// NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE: The route's nextHopInstance URL
// refers to an instance that does not have an ipv6 interface on the same
// network as the route.
// NEXT_HOP_INSTANCE_NOT_FOUND: The route's nextHopInstance URL refers to an
// instance that does not exist.
// NEXT_HOP_INSTANCE_NOT_ON_NETWORK: The route's nextHopInstance URL refers
// to an instance that is not on the same network as the route.
// NEXT_HOP_NOT_RUNNING: The route's next hop instance does not have a
// status of RUNNING.
// NOT_CRITICAL_ERROR: Error which is not critical. We decided to continue
// the process despite the mentioned error.
// NO_RESULTS_ON_PAGE: No results are present on a particular list page.
// PARTIAL_SUCCESS: Success is reported, but some results may be missing due
// to errors
// REQUIRED_TOS_AGREEMENT: The user attempted to use a resource that
// requires a TOS they have not accepted.
// RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING: Warning that a resource is in
// use.
// RESOURCE_NOT_DELETED: One or more of the resources set to auto-delete
// could not be deleted because they were in use.
// SCHEMA_VALIDATION_IGNORED: When a resource schema validation is ignored.
// SINGLE_INSTANCE_PROPERTY_TEMPLATE: Instance template used in instance
// group manager is valid as such, but its application does not make a lot
// of sense, because it allows only single instance in instance group.
// UNDECLARED_PROPERTIES: When undeclared properties in the schema are
// present
// UNREACHABLE: A given scope cannot be reached.
optional string code = 1;
message DataItem {
// [Output Only] A key that provides more detail on the warning being
// returned. For example, for warnings where there are no results in a
// list request for a particular zone, this key might be scope and the key
// value might be the zone name. Other examples might be a key indicating
// a deprecated resource and a suggested replacement, or a warning about
// invalid network settings (for example, if an instance attempts to
// perform IP forwarding but is not enabled for IP forwarding).
optional string key = 1;
// [Output Only] A warning data value corresponding to the key.
optional string value = 2;
}
// [Output Only] Metadata about this warning in key: value format. For
// example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
repeated DataItem data = 2;
// [Output Only] A human-readable description of the warning code.
optional string message = 3;
}
// [Output Only] Informational warning message.
optional Warning warning = 7;
}
message NodeGroupAutoscalingPolicy {
// The maximum number of nodes that the group should have. Must be set if
// autoscaling is enabled. Maximum value allowed is 100.
optional int32 max_nodes = 1;
// The minimum number of nodes that the group should have.
optional int32 min_nodes = 2;
// The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more
// information, see Autoscaler modes.
// MODE_UNSPECIFIED:
// OFF: Autoscaling is disabled.
// ON: Autocaling is fully enabled.
// ONLY_SCALE_OUT: Autoscaling will only scale out and will not remove nodes.
optional string mode = 3;
}
// Contains a list of nodeGroups.
message NodeGroupList {
// [Output Only] Unique identifier for the resource; defined by the server.
optional string id = 1;
// A list of NodeGroup resources.
repeated NodeGroup items = 2;
// [Output Only] Type of resource.Always compute#nodeGroupList for lists of
// node groups.
optional string kind = 3;
// [Output Only] This token allows you to get the next page of results for
// list requests. If the number of results is larger than maxResults, use the
// nextPageToken as a value for the query parameter pageToken in the next list
// request. Subsequent list requests will have their own nextPageToken to
// continue paging through the results.
optional string next_page_token = 4;
// [Output Only] Server-defined URL for this resource.
optional string self_link = 5;
message Warning {
// [Output Only] A warning code, if applicable. For example, Compute Engine
// returns NO_RESULTS_ON_PAGE if there are no results in the response.
// CLEANUP_FAILED: Warning about failed cleanup of transient changes made by
// a failed operation.
// DEPRECATED_RESOURCE_USED: A link to a deprecated resource was created.
// DEPRECATED_TYPE_USED: When deploying and at least one of the resources
// has a type marked as deprecated
// DISK_SIZE_LARGER_THAN_IMAGE_SIZE: The user created a boot disk that is
// larger than image size.
// EXPERIMENTAL_TYPE_USED: When deploying and at least one of the resources
// has a type marked as experimental
// EXTERNAL_API_WARNING: Warning that is present in an external api call
// FIELD_VALUE_OVERRIDEN: Warning that value of a field has been overridden.
// Deprecated unused field.
// INJECTED_KERNELS_DEPRECATED: The operation involved use of an injected
// kernel, which is deprecated.
// INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB: A WEIGHTED_MAGLEV backend
// service is associated with a health check that is not of type
// HTTP/HTTPS/HTTP2.
// LARGE_DEPLOYMENT_WARNING: When deploying a deployment with a exceedingly
// large number of resources
// LIST_OVERHEAD_QUOTA_EXCEED: Resource can't be retrieved due to list
// overhead quota exceed which captures the amount of resources filtered out
// by user-defined list filter.
// MISSING_TYPE_DEPENDENCY: A resource depends on a missing type
// NEXT_HOP_ADDRESS_NOT_ASSIGNED: The route's nextHopIp address is not
// assigned to an instance on the network.
// NEXT_HOP_CANNOT_IP_FORWARD: The route's next hop instance cannot ip
// forward.
// NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE: The route's nextHopInstance URL
// refers to an instance that does not have an ipv6 interface on the same
// network as the route.
// NEXT_HOP_INSTANCE_NOT_FOUND: The route's nextHopInstance URL refers to an
// instance that does not exist.
// NEXT_HOP_INSTANCE_NOT_ON_NETWORK: The route's nextHopInstance URL refers
// to an instance that is not on the same network as the route.
// NEXT_HOP_NOT_RUNNING: The route's next hop instance does not have a
// status of RUNNING.
// NOT_CRITICAL_ERROR: Error which is not critical. We decided to continue
// the process despite the mentioned error.
// NO_RESULTS_ON_PAGE: No results are present on a particular list page.
// PARTIAL_SUCCESS: Success is reported, but some results may be missing due
// to errors
// REQUIRED_TOS_AGREEMENT: The user attempted to use a resource that
// requires a TOS they have not accepted.
// RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING: Warning that a resource is in
// use.
// RESOURCE_NOT_DELETED: One or more of the resources set to auto-delete
// could not be deleted because they were in use.
// SCHEMA_VALIDATION_IGNORED: When a resource schema validation is ignored.
// SINGLE_INSTANCE_PROPERTY_TEMPLATE: Instance template used in instance
// group manager is valid as such, but its application does not make a lot
// of sense, because it allows only single instance in instance group.
// UNDECLARED_PROPERTIES: When undeclared properties in the schema are
// present
// UNREACHABLE: A given scope cannot be reached.
optional string code = 1;
message DataItem {
// [Output Only] A key that provides more detail on the warning being
// returned. For example, for warnings where there are no results in a
// list request for a particular zone, this key might be scope and the key
// value might be the zone name. Other examples might be a key indicating
// a deprecated resource and a suggested replacement, or a warning about
// invalid network settings (for example, if an instance attempts to
// perform IP forwarding but is not enabled for IP forwarding).
optional string key = 1;
// [Output Only] A warning data value corresponding to the key.
optional string value = 2;
}
// [Output Only] Metadata about this warning in key: value format. For
// example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
repeated DataItem data = 2;
// [Output Only] A human-readable description of the warning code.
optional string message = 3;
}
// [Output Only] Informational warning message.
optional Warning warning = 6;
}
// Time window specified for daily maintenance operations. GCE's internal
// maintenance will be performed within this window.
message NodeGroupMaintenanceWindow {
// [Output only] A predetermined duration for the window, automatically chosen
// to be the smallest possible in the given scenario.
optional Duration maintenance_duration = 1;
// Start time of the window. This must be in UTC format that resolves to one
// of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5
// and 08:00 are valid.
optional string start_time = 2;
}
message NodeGroupNode {
// Accelerators for this node.
repeated AcceleratorConfig accelerators = 1;
// Node resources that are reserved by all instances.
optional InstanceConsumptionInfo consumed_resources = 2;
// CPU overcommit.
// CPU_OVERCOMMIT_TYPE_UNSPECIFIED:
// ENABLED:
// NONE:
optional string cpu_overcommit_type = 3;
// Local disk configurations.
repeated LocalDisk disks = 4;
// Instance data that shows consumed resources on the node.
repeated InstanceConsumptionData instance_consumption_data = 5;
// Instances scheduled on this node.
repeated string instances = 6;
// The name of the node.
optional string name = 7;
// The type of this node.
optional string node_type = 8;
// [Output Only] Reserved for future use.
optional bool satisfies_pzs = 9;
// Binding properties for the physical server.
optional ServerBinding server_binding = 10;
// Server ID associated with this node.
optional string server_id = 11;
// CREATING:
// DELETING:
// INVALID:
// READY:
// REPAIRING:
optional string status = 12;
// Total amount of available resources on the node.
optional InstanceConsumptionInfo total_resources = 13;
}
message NodeGroupsAddNodesRequest {
// Count of additional nodes to be added to the node group.
optional int32 additional_node_count = 1;
}
message NodeGroupsDeleteNodesRequest {
// Names of the nodes to delete.
repeated string nodes = 1;
}
message NodeGroupsListNodes {
// [Output Only] Unique identifier for the resource; defined by the server.
optional string id = 1;
// A list of Node resources.
repeated NodeGroupNode items = 2;
// [Output Only] The resource type, which is always
// compute.nodeGroupsListNodes for the list of nodes in the specified node
// group.
optional string kind = 3;
// [Output Only] This token allows you to get the next page of results for
// list requests. If the number of results is larger than maxResults, use the
// nextPageToken as a value for the query parameter pageToken in the next list
// request. Subsequent list requests will have their own nextPageToken to
// continue paging through the results.
optional string next_page_token = 4;
// [Output Only] Server-defined URL for this resource.
optional string self_link = 5;
message Warning {
// [Output Only] A warning code, if applicable. For example, Compute Engine
// returns NO_RESULTS_ON_PAGE if there are no results in the response.
// CLEANUP_FAILED: Warning about failed cleanup of transient changes made by
// a failed operation.
// DEPRECATED_RESOURCE_USED: A link to a deprecated resource was created.
// DEPRECATED_TYPE_USED: When deploying and at least one of the resources
// has a type marked as deprecated
// DISK_SIZE_LARGER_THAN_IMAGE_SIZE: The user created a boot disk that is
// larger than image size.
// EXPERIMENTAL_TYPE_USED: When deploying and at least one of the resources
// has a type marked as experimental
// EXTERNAL_API_WARNING: Warning that is present in an external api call
// FIELD_VALUE_OVERRIDEN: Warning that value of a field has been overridden.
// Deprecated unused field.
// INJECTED_KERNELS_DEPRECATED: The operation involved use of an injected
// kernel, which is deprecated.
// INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB: A WEIGHTED_MAGLEV backend
// service is associated with a health check that is not of type
// HTTP/HTTPS/HTTP2.
// LARGE_DEPLOYMENT_WARNING: When deploying a deployment with a exceedingly
// large number of resources
// LIST_OVERHEAD_QUOTA_EXCEED: Resource can't be retrieved due to list
// overhead quota exceed which captures the amount of resources filtered out
// by user-defined list filter.
// MISSING_TYPE_DEPENDENCY: A resource depends on a missing type
// NEXT_HOP_ADDRESS_NOT_ASSIGNED: The route's nextHopIp address is not
// assigned to an instance on the network.
// NEXT_HOP_CANNOT_IP_FORWARD: The route's next hop instance cannot ip
// forward.
// NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE: The route's nextHopInstance URL
// refers to an instance that does not have an ipv6 interface on the same
// network as the route.
// NEXT_HOP_INSTANCE_NOT_FOUND: The route's nextHopInstance URL refers to an
// instance that does not exist.
// NEXT_HOP_INSTANCE_NOT_ON_NETWORK: The route's nextHopInstance URL refers
// to an instance that is not on the same network as the route.
// NEXT_HOP_NOT_RUNNING: The route's next hop instance does not have a
// status of RUNNING.
// NOT_CRITICAL_ERROR: Error which is not critical. We decided to continue
// the process despite the mentioned error.
// NO_RESULTS_ON_PAGE: No results are present on a particular list page.
// PARTIAL_SUCCESS: Success is reported, but some results may be missing due
// to errors
// REQUIRED_TOS_AGREEMENT: The user attempted to use a resource that
// requires a TOS they have not accepted.
// RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING: Warning that a resource is in
// use.
// RESOURCE_NOT_DELETED: One or more of the resources set to auto-delete
// could not be deleted because they were in use.
// SCHEMA_VALIDATION_IGNORED: When a resource schema validation is ignored.
// SINGLE_INSTANCE_PROPERTY_TEMPLATE: Instance template used in instance
// group manager is valid as such, but its application does not make a lot
// of sense, because it allows only single instance in instance group.
// UNDECLARED_PROPERTIES: When undeclared properties in the schema are
// present
// UNREACHABLE: A given scope cannot be reached.
optional string code = 1;
message DataItem {
// [Output Only] A key that provides more detail on the warning being
// returned. For example, for warnings where there are no results in a
// list request for a particular zone, this key might be scope and the key
// value might be the zone name. Other examples might be a key indicating
// a deprecated resource and a suggested replacement, or a warning about
// invalid network settings (for example, if an instance attempts to
// perform IP forwarding but is not enabled for IP forwarding).
optional string key = 1;
// [Output Only] A warning data value corresponding to the key.
optional string value = 2;
}
// [Output Only] Metadata about this warning in key: value format. For
// example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
repeated DataItem data = 2;
// [Output Only] A human-readable description of the warning code.
optional string message = 3;
}
// [Output Only] Informational warning message.
optional Warning warning = 6;
}
message NodeGroupsScopedList {
// [Output Only] A list of node groups contained in this scope.
repeated NodeGroup node_groups = 1;
message Warning {
// [Output Only] A warning code, if applicable. For example, Compute Engine
// returns NO_RESULTS_ON_PAGE if there are no results in the response.
// CLEANUP_FAILED: Warning about failed cleanup of transient changes made by
// a failed operation.
// DEPRECATED_RESOURCE_USED: A link to a deprecated resource was created.
// DEPRECATED_TYPE_USED: When deploying and at least one of the resources
// has a type marked as deprecated
// DISK_SIZE_LARGER_THAN_IMAGE_SIZE: The user created a boot disk that is
// larger than image size.
// EXPERIMENTAL_TYPE_USED: When deploying and at least one of the resources
// has a type marked as experimental
// EXTERNAL_API_WARNING: Warning that is present in an external api call
// FIELD_VALUE_OVERRIDEN: Warning that value of a field has been overridden.
// Deprecated unused field.
// INJECTED_KERNELS_DEPRECATED: The operation involved use of an injected
// kernel, which is deprecated.
// INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB: A WEIGHTED_MAGLEV backend
// service is associated with a health check that is not of type
// HTTP/HTTPS/HTTP2.
// LARGE_DEPLOYMENT_WARNING: When deploying a deployment with a exceedingly
// large number of resources
// LIST_OVERHEAD_QUOTA_EXCEED: Resource can't be retrieved due to list
// overhead quota exceed which captures the amount of resources filtered out
// by user-defined list filter.
// MISSING_TYPE_DEPENDENCY: A resource depends on a missing type
// NEXT_HOP_ADDRESS_NOT_ASSIGNED: The route's nextHopIp address is not
// assigned to an instance on the network.
// NEXT_HOP_CANNOT_IP_FORWARD: The route's next hop instance cannot ip
// forward.
// NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE: The route's nextHopInstance URL
// refers to an instance that does not have an ipv6 interface on the same
// network as the route.
// NEXT_HOP_INSTANCE_NOT_FOUND: The route's nextHopInstance URL refers to an
// instance that does not exist.
// NEXT_HOP_INSTANCE_NOT_ON_NETWORK: The route's nextHopInstance URL refers
// to an instance that is not on the same network as the route.
// NEXT_HOP_NOT_RUNNING: The route's next hop instance does not have a
// status of RUNNING.
// NOT_CRITICAL_ERROR: Error which is not critical. We decided to continue
// the process despite the mentioned error.
// NO_RESULTS_ON_PAGE: No results are present on a particular list page.
// PARTIAL_SUCCESS: Success is reported, but some results may be missing due
// to errors
// REQUIRED_TOS_AGREEMENT: The user attempted to use a resource that
// requires a TOS they have not accepted.
// RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING: Warning that a resource is in
// use.
// RESOURCE_NOT_DELETED: One or more of the resources set to auto-delete
// could not be deleted because they were in use.
// SCHEMA_VALIDATION_IGNORED: When a resource schema validation is ignored.
// SINGLE_INSTANCE_PROPERTY_TEMPLATE: Instance template used in instance
// group manager is valid as such, but its application does not make a lot
// of sense, because it allows only single instance in instance group.
// UNDECLARED_PROPERTIES: When undeclared properties in the schema are
// present
// UNREACHABLE: A given scope cannot be reached.
optional string code = 1;
message DataItem {
// [Output Only] A key that provides more detail on the warning being
// returned. For example, for warnings where there are no results in a
// list request for a particular zone, this key might be scope and the key
// value might be the zone name. Other examples might be a key indicating
// a deprecated resource and a suggested replacement, or a warning about
// invalid network settings (for example, if an instance attempts to
// perform IP forwarding but is not enabled for IP forwarding).
optional string key = 1;
// [Output Only] A warning data value corresponding to the key.
optional string value = 2;
}
// [Output Only] Metadata about this warning in key: value format. For
// example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
repeated DataItem data = 2;
// [Output Only] A human-readable description of the warning code.
optional string message = 3;
}
// [Output Only] An informational warning that appears when the nodeGroup list
// is empty.
optional Warning warning = 2;
}
message NodeGroupsSetNodeTemplateRequest {
// Full or partial URL of the node template resource to be updated for this
// node group.
optional string node_template = 1;
}
message NodeGroupsSimulateMaintenanceEventRequest {
// Names of the nodes to go under maintenance simulation.
repeated string nodes = 1;
}