google-cloud-container 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/README.md +5 -5
- data/lib/google/cloud/container.rb +5 -5
- data/lib/google/cloud/container/v1.rb +5 -5
- data/lib/google/cloud/container/v1/cluster_manager_client.rb +409 -139
- data/lib/google/cloud/container/v1/cluster_manager_client_config.json +30 -30
- data/lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb +457 -117
- data/lib/google/container/v1/cluster_service_pb.rb +50 -0
- data/lib/google/container/v1/cluster_service_services_pb.rb +13 -12
- metadata +6 -6
@@ -21,152 +21,152 @@
|
|
21
21
|
},
|
22
22
|
"methods": {
|
23
23
|
"ListClusters": {
|
24
|
-
"timeout_millis":
|
24
|
+
"timeout_millis": 20000,
|
25
25
|
"retry_codes_name": "idempotent",
|
26
26
|
"retry_params_name": "default"
|
27
27
|
},
|
28
28
|
"GetCluster": {
|
29
|
-
"timeout_millis":
|
29
|
+
"timeout_millis": 20000,
|
30
30
|
"retry_codes_name": "idempotent",
|
31
31
|
"retry_params_name": "default"
|
32
32
|
},
|
33
33
|
"CreateCluster": {
|
34
|
-
"timeout_millis":
|
34
|
+
"timeout_millis": 45000,
|
35
35
|
"retry_codes_name": "non_idempotent",
|
36
36
|
"retry_params_name": "default"
|
37
37
|
},
|
38
38
|
"UpdateCluster": {
|
39
|
-
"timeout_millis":
|
39
|
+
"timeout_millis": 20000,
|
40
40
|
"retry_codes_name": "non_idempotent",
|
41
41
|
"retry_params_name": "default"
|
42
42
|
},
|
43
43
|
"UpdateNodePool": {
|
44
|
-
"timeout_millis":
|
44
|
+
"timeout_millis": 20000,
|
45
45
|
"retry_codes_name": "non_idempotent",
|
46
46
|
"retry_params_name": "default"
|
47
47
|
},
|
48
48
|
"SetNodePoolAutoscaling": {
|
49
|
-
"timeout_millis":
|
49
|
+
"timeout_millis": 20000,
|
50
50
|
"retry_codes_name": "non_idempotent",
|
51
51
|
"retry_params_name": "default"
|
52
52
|
},
|
53
53
|
"SetLoggingService": {
|
54
|
-
"timeout_millis":
|
54
|
+
"timeout_millis": 20000,
|
55
55
|
"retry_codes_name": "non_idempotent",
|
56
56
|
"retry_params_name": "default"
|
57
57
|
},
|
58
58
|
"SetMonitoringService": {
|
59
|
-
"timeout_millis":
|
59
|
+
"timeout_millis": 20000,
|
60
60
|
"retry_codes_name": "non_idempotent",
|
61
61
|
"retry_params_name": "default"
|
62
62
|
},
|
63
63
|
"SetAddonsConfig": {
|
64
|
-
"timeout_millis":
|
64
|
+
"timeout_millis": 20000,
|
65
65
|
"retry_codes_name": "non_idempotent",
|
66
66
|
"retry_params_name": "default"
|
67
67
|
},
|
68
68
|
"SetLocations": {
|
69
|
-
"timeout_millis":
|
69
|
+
"timeout_millis": 20000,
|
70
70
|
"retry_codes_name": "non_idempotent",
|
71
71
|
"retry_params_name": "default"
|
72
72
|
},
|
73
73
|
"UpdateMaster": {
|
74
|
-
"timeout_millis":
|
74
|
+
"timeout_millis": 20000,
|
75
75
|
"retry_codes_name": "non_idempotent",
|
76
76
|
"retry_params_name": "default"
|
77
77
|
},
|
78
78
|
"SetMasterAuth": {
|
79
|
-
"timeout_millis":
|
79
|
+
"timeout_millis": 20000,
|
80
80
|
"retry_codes_name": "non_idempotent",
|
81
81
|
"retry_params_name": "default"
|
82
82
|
},
|
83
83
|
"DeleteCluster": {
|
84
|
-
"timeout_millis":
|
84
|
+
"timeout_millis": 20000,
|
85
85
|
"retry_codes_name": "idempotent",
|
86
86
|
"retry_params_name": "default"
|
87
87
|
},
|
88
88
|
"ListOperations": {
|
89
|
-
"timeout_millis":
|
89
|
+
"timeout_millis": 20000,
|
90
90
|
"retry_codes_name": "idempotent",
|
91
91
|
"retry_params_name": "default"
|
92
92
|
},
|
93
93
|
"GetOperation": {
|
94
|
-
"timeout_millis":
|
94
|
+
"timeout_millis": 20000,
|
95
95
|
"retry_codes_name": "idempotent",
|
96
96
|
"retry_params_name": "default"
|
97
97
|
},
|
98
98
|
"CancelOperation": {
|
99
|
-
"timeout_millis":
|
99
|
+
"timeout_millis": 20000,
|
100
100
|
"retry_codes_name": "non_idempotent",
|
101
101
|
"retry_params_name": "default"
|
102
102
|
},
|
103
103
|
"GetServerConfig": {
|
104
|
-
"timeout_millis":
|
104
|
+
"timeout_millis": 20000,
|
105
105
|
"retry_codes_name": "idempotent",
|
106
106
|
"retry_params_name": "default"
|
107
107
|
},
|
108
108
|
"ListNodePools": {
|
109
|
-
"timeout_millis":
|
109
|
+
"timeout_millis": 20000,
|
110
110
|
"retry_codes_name": "idempotent",
|
111
111
|
"retry_params_name": "default"
|
112
112
|
},
|
113
113
|
"GetNodePool": {
|
114
|
-
"timeout_millis":
|
114
|
+
"timeout_millis": 20000,
|
115
115
|
"retry_codes_name": "idempotent",
|
116
116
|
"retry_params_name": "default"
|
117
117
|
},
|
118
118
|
"CreateNodePool": {
|
119
|
-
"timeout_millis":
|
119
|
+
"timeout_millis": 20000,
|
120
120
|
"retry_codes_name": "non_idempotent",
|
121
121
|
"retry_params_name": "default"
|
122
122
|
},
|
123
123
|
"DeleteNodePool": {
|
124
|
-
"timeout_millis":
|
124
|
+
"timeout_millis": 20000,
|
125
125
|
"retry_codes_name": "idempotent",
|
126
126
|
"retry_params_name": "default"
|
127
127
|
},
|
128
128
|
"RollbackNodePoolUpgrade": {
|
129
|
-
"timeout_millis":
|
129
|
+
"timeout_millis": 20000,
|
130
130
|
"retry_codes_name": "non_idempotent",
|
131
131
|
"retry_params_name": "default"
|
132
132
|
},
|
133
133
|
"SetNodePoolManagement": {
|
134
|
-
"timeout_millis":
|
134
|
+
"timeout_millis": 20000,
|
135
135
|
"retry_codes_name": "non_idempotent",
|
136
136
|
"retry_params_name": "default"
|
137
137
|
},
|
138
138
|
"SetLabels": {
|
139
|
-
"timeout_millis":
|
139
|
+
"timeout_millis": 20000,
|
140
140
|
"retry_codes_name": "non_idempotent",
|
141
141
|
"retry_params_name": "default"
|
142
142
|
},
|
143
143
|
"SetLegacyAbac": {
|
144
|
-
"timeout_millis":
|
144
|
+
"timeout_millis": 20000,
|
145
145
|
"retry_codes_name": "non_idempotent",
|
146
146
|
"retry_params_name": "default"
|
147
147
|
},
|
148
148
|
"StartIPRotation": {
|
149
|
-
"timeout_millis":
|
149
|
+
"timeout_millis": 20000,
|
150
150
|
"retry_codes_name": "non_idempotent",
|
151
151
|
"retry_params_name": "default"
|
152
152
|
},
|
153
153
|
"CompleteIPRotation": {
|
154
|
-
"timeout_millis":
|
154
|
+
"timeout_millis": 20000,
|
155
155
|
"retry_codes_name": "non_idempotent",
|
156
156
|
"retry_params_name": "default"
|
157
157
|
},
|
158
158
|
"SetNodePoolSize": {
|
159
|
-
"timeout_millis":
|
159
|
+
"timeout_millis": 20000,
|
160
160
|
"retry_codes_name": "non_idempotent",
|
161
161
|
"retry_params_name": "default"
|
162
162
|
},
|
163
163
|
"SetNetworkPolicy": {
|
164
|
-
"timeout_millis":
|
164
|
+
"timeout_millis": 20000,
|
165
165
|
"retry_codes_name": "non_idempotent",
|
166
166
|
"retry_params_name": "default"
|
167
167
|
},
|
168
168
|
"SetMaintenancePolicy": {
|
169
|
-
"timeout_millis":
|
169
|
+
"timeout_millis": 20000,
|
170
170
|
"retry_codes_name": "non_idempotent",
|
171
171
|
"retry_params_name": "default"
|
172
172
|
}
|
@@ -58,8 +58,18 @@ module Google
|
|
58
58
|
# Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
|
59
59
|
# in length. These are reflected as part of a URL in the metadata server.
|
60
60
|
# Additionally, to avoid ambiguity, keys must not conflict with any other
|
61
|
-
# metadata keys for the project or be one of the
|
62
|
-
#
|
61
|
+
# metadata keys for the project or be one of the reserved keys:
|
62
|
+
# "cluster-location"
|
63
|
+
# "cluster-name"
|
64
|
+
# "cluster-uid"
|
65
|
+
# "configure-sh"
|
66
|
+
# "enable-os-login"
|
67
|
+
# "gci-update-strategy"
|
68
|
+
# "gci-ensure-gke-docker"
|
69
|
+
# "instance-template"
|
70
|
+
# "kube-env"
|
71
|
+
# "startup-script"
|
72
|
+
# "user-data"
|
63
73
|
#
|
64
74
|
# Values are free-form strings, and only have meaning as interpreted by
|
65
75
|
# the image running in the instance. The only restriction placed on them is
|
@@ -104,6 +114,11 @@ module Google
|
|
104
114
|
# A list of hardware accelerators to be attached to each node.
|
105
115
|
# See https://cloud.google.com/compute/docs/gpus for more information about
|
106
116
|
# support for GPUs.
|
117
|
+
# @!attribute [rw] disk_type
|
118
|
+
# @return [String]
|
119
|
+
# Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')
|
120
|
+
#
|
121
|
+
# If unspecified, the default disk type is 'pd-standard'
|
107
122
|
# @!attribute [rw] min_cpu_platform
|
108
123
|
# @return [String]
|
109
124
|
# Minimum CPU platform to be used by this instance. The instance may be
|
@@ -111,7 +126,8 @@ module Google
|
|
111
126
|
# friendly names of CPU platforms, such as
|
112
127
|
# <code>minCpuPlatform: "Intel Haswell"</code> or
|
113
128
|
# <code>minCpuPlatform: "Intel Sandy Bridge"</code>. For more
|
114
|
-
# information, read [how to specify min CPU
|
129
|
+
# information, read [how to specify min CPU
|
130
|
+
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
|
115
131
|
class NodeConfig; end
|
116
132
|
|
117
133
|
# The authentication information for accessing the master endpoint.
|
@@ -130,8 +146,9 @@ module Google
|
|
130
146
|
# must be non-empty.
|
131
147
|
# @!attribute [rw] client_certificate_config
|
132
148
|
# @return [Google::Container::V1::ClientCertificateConfig]
|
133
|
-
# Configuration for client certificate authentication on the cluster.
|
134
|
-
# configuration is specified, a client
|
149
|
+
# Configuration for client certificate authentication on the cluster. For
|
150
|
+
# clusters before v1.12, if no configuration is specified, a client
|
151
|
+
# certificate is issued.
|
135
152
|
# @!attribute [rw] cluster_ca_certificate
|
136
153
|
# @return [String]
|
137
154
|
# [Output only] Base64-encoded public certificate that is the root of
|
@@ -206,7 +223,29 @@ module Google
|
|
206
223
|
# Whether NetworkPolicy is enabled for this cluster.
|
207
224
|
class NetworkPolicyConfig; end
|
208
225
|
|
209
|
-
#
|
226
|
+
# Configuration options for private clusters.
|
227
|
+
# @!attribute [rw] enable_private_nodes
|
228
|
+
# @return [true, false]
|
229
|
+
# Whether nodes have internal IP addresses only. If enabled, all nodes are
|
230
|
+
# given only RFC 1918 private addresses and communicate with the master via
|
231
|
+
# private networking.
|
232
|
+
# @!attribute [rw] enable_private_endpoint
|
233
|
+
# @return [true, false]
|
234
|
+
# Whether the master's internal IP address is used as the cluster endpoint.
|
235
|
+
# @!attribute [rw] master_ipv4_cidr_block
|
236
|
+
# @return [String]
|
237
|
+
# The IP range in CIDR notation to use for the hosted master network. This
|
238
|
+
# range will be used for assigning internal IP addresses to the master or
|
239
|
+
# set of masters, as well as the ILB VIP. This range must not overlap with
|
240
|
+
# any other ranges in use within the cluster's network.
|
241
|
+
# @!attribute [rw] private_endpoint
|
242
|
+
# @return [String]
|
243
|
+
# Output only. The internal IP address of this cluster's master endpoint.
|
244
|
+
# @!attribute [rw] public_endpoint
|
245
|
+
# @return [String]
|
246
|
+
# Output only. The external IP address of this cluster's master endpoint.
|
247
|
+
class PrivateClusterConfig; end
|
248
|
+
|
210
249
|
# Configuration options for the master authorized networks feature. Enabled
|
211
250
|
# master authorized networks will disallow all external traffic to access
|
212
251
|
# Kubernetes master through HTTPS except traffic from the given CIDR blocks,
|
@@ -351,7 +390,7 @@ module Google
|
|
351
390
|
# to use.
|
352
391
|
class IPAllocationPolicy; end
|
353
392
|
|
354
|
-
# A Google
|
393
|
+
# A Google Kubernetes Engine cluster.
|
355
394
|
# @!attribute [rw] name
|
356
395
|
# @return [String]
|
357
396
|
# The name of this cluster. The name must be unique within this project
|
@@ -460,11 +499,16 @@ module Google
|
|
460
499
|
# Configuration for cluster IP allocation.
|
461
500
|
# @!attribute [rw] master_authorized_networks_config
|
462
501
|
# @return [Google::Container::V1::MasterAuthorizedNetworksConfig]
|
463
|
-
# Master authorized networks is a Beta feature.
|
464
502
|
# The configuration options for master authorized networks feature.
|
465
503
|
# @!attribute [rw] maintenance_policy
|
466
504
|
# @return [Google::Container::V1::MaintenancePolicy]
|
467
505
|
# Configure the maintenance policy for this cluster.
|
506
|
+
# @!attribute [rw] network_config
|
507
|
+
# @return [Google::Container::V1::NetworkConfig]
|
508
|
+
# Configuration for cluster networking.
|
509
|
+
# @!attribute [rw] private_cluster_config
|
510
|
+
# @return [Google::Container::V1::PrivateClusterConfig]
|
511
|
+
# Configuration for private cluster.
|
468
512
|
# @!attribute [rw] self_link
|
469
513
|
# @return [String]
|
470
514
|
# [Output only] Server-defined URL for the resource.
|
@@ -473,6 +517,7 @@ module Google
|
|
473
517
|
# [Output only] The name of the Google Compute Engine
|
474
518
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
475
519
|
# resides.
|
520
|
+
# This field is deprecated, use location instead.
|
476
521
|
# @!attribute [rw] endpoint
|
477
522
|
# @return [String]
|
478
523
|
# [Output only] The IP address of this cluster's master endpoint.
|
@@ -487,14 +532,25 @@ module Google
|
|
487
532
|
# found in validMasterVersions returned by getServerConfig. The version can
|
488
533
|
# be upgraded over time; such upgrades are reflected in
|
489
534
|
# currentMasterVersion and currentNodeVersion.
|
535
|
+
#
|
536
|
+
# Users may specify either explicit versions offered by
|
537
|
+
# Kubernetes Engine or version aliases, which have the following behavior:
|
538
|
+
#
|
539
|
+
# * "latest": picks the highest valid Kubernetes version
|
540
|
+
# * "1.X": picks the highest valid patch+gke.N patch in the 1.X version
|
541
|
+
# * "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
|
542
|
+
# * "1.X.Y-gke.N": picks an explicit Kubernetes version
|
543
|
+
# * "","-": picks the default Kubernetes version
|
490
544
|
# @!attribute [rw] current_master_version
|
491
545
|
# @return [String]
|
492
546
|
# [Output only] The current software version of the master endpoint.
|
493
547
|
# @!attribute [rw] current_node_version
|
494
548
|
# @return [String]
|
495
|
-
# [Output only]
|
496
|
-
#
|
497
|
-
#
|
549
|
+
# [Output only] Deprecated, use
|
550
|
+
# [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.zones.clusters.nodePool)
|
551
|
+
# instead. The current version of the node software components. If they are
|
552
|
+
# currently at multiple versions because they're in the process of being
|
553
|
+
# upgraded, this reflects the minimum version of all nodes.
|
498
554
|
# @!attribute [rw] create_time
|
499
555
|
# @return [String]
|
500
556
|
# [Output only] The time the cluster was created, in
|
@@ -528,6 +584,12 @@ module Google
|
|
528
584
|
# @return [String]
|
529
585
|
# [Output only] The time the cluster will be automatically
|
530
586
|
# deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
587
|
+
# @!attribute [rw] location
|
588
|
+
# @return [String]
|
589
|
+
# [Output only] The name of the Google Compute Engine
|
590
|
+
# [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or
|
591
|
+
# [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
|
592
|
+
# the cluster resides.
|
531
593
|
class Cluster
|
532
594
|
# The current status of the cluster.
|
533
595
|
module Status
|
@@ -552,6 +614,10 @@ module Google
|
|
552
614
|
# The ERROR state indicates the cluster may be unusable. Details
|
553
615
|
# can be found in the `statusMessage` field.
|
554
616
|
ERROR = 5
|
617
|
+
|
618
|
+
# The DEGRADED state indicates the cluster requires user action to restore
|
619
|
+
# full functionality. Details can be found in the `statusMessage` field.
|
620
|
+
DEGRADED = 6
|
555
621
|
end
|
556
622
|
end
|
557
623
|
|
@@ -561,8 +627,16 @@ module Google
|
|
561
627
|
# @!attribute [rw] desired_node_version
|
562
628
|
# @return [String]
|
563
629
|
# The Kubernetes version to change the nodes to (typically an
|
564
|
-
# upgrade).
|
565
|
-
#
|
630
|
+
# upgrade).
|
631
|
+
#
|
632
|
+
# Users may specify either explicit versions offered by
|
633
|
+
# Kubernetes Engine or version aliases, which have the following behavior:
|
634
|
+
#
|
635
|
+
# * "latest": picks the highest valid Kubernetes version
|
636
|
+
# * "1.X": picks the highest valid patch+gke.N patch in the 1.X version
|
637
|
+
# * "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
|
638
|
+
# * "1.X.Y-gke.N": picks an explicit Kubernetes version
|
639
|
+
# * "-": picks the Kubernetes master version
|
566
640
|
# @!attribute [rw] desired_monitoring_service
|
567
641
|
# @return [String]
|
568
642
|
# The monitoring service the cluster should use to write metrics.
|
@@ -600,13 +674,19 @@ module Google
|
|
600
674
|
# This list must always include the cluster's primary zone.
|
601
675
|
# @!attribute [rw] desired_master_authorized_networks_config
|
602
676
|
# @return [Google::Container::V1::MasterAuthorizedNetworksConfig]
|
603
|
-
# Master authorized networks is a Beta feature.
|
604
677
|
# The desired configuration options for master authorized networks feature.
|
605
678
|
# @!attribute [rw] desired_master_version
|
606
679
|
# @return [String]
|
607
|
-
# The Kubernetes version to change the master to.
|
608
|
-
#
|
609
|
-
#
|
680
|
+
# The Kubernetes version to change the master to.
|
681
|
+
#
|
682
|
+
# Users may specify either explicit versions offered by
|
683
|
+
# Kubernetes Engine or version aliases, which have the following behavior:
|
684
|
+
#
|
685
|
+
# * "latest": picks the highest valid Kubernetes version
|
686
|
+
# * "1.X": picks the highest valid patch+gke.N patch in the 1.X version
|
687
|
+
# * "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
|
688
|
+
# * "1.X.Y-gke.N": picks an explicit Kubernetes version
|
689
|
+
# * "-": picks the default Kubernetes version
|
610
690
|
class ClusterUpdate; end
|
611
691
|
|
612
692
|
# This operation resource represents operations that may have happened or are
|
@@ -619,6 +699,7 @@ module Google
|
|
619
699
|
# The name of the Google Compute Engine
|
620
700
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation
|
621
701
|
# is taking place.
|
702
|
+
# This field is deprecated, use location instead.
|
622
703
|
# @!attribute [rw] operation_type
|
623
704
|
# @return [Google::Container::V1::Operation::Type]
|
624
705
|
# The operation type.
|
@@ -637,6 +718,12 @@ module Google
|
|
637
718
|
# @!attribute [rw] target_link
|
638
719
|
# @return [String]
|
639
720
|
# Server-defined URL for the target of the operation.
|
721
|
+
# @!attribute [rw] location
|
722
|
+
# @return [String]
|
723
|
+
# [Output only] The name of the Google Compute Engine
|
724
|
+
# [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or
|
725
|
+
# [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
|
726
|
+
# the cluster resides.
|
640
727
|
# @!attribute [rw] start_time
|
641
728
|
# @return [String]
|
642
729
|
# [Output only] The time the operation started, in
|
@@ -722,112 +809,161 @@ module Google
|
|
722
809
|
# CreateClusterRequest creates a cluster.
|
723
810
|
# @!attribute [rw] project_id
|
724
811
|
# @return [String]
|
725
|
-
# The Google Developers Console [project ID or project
|
812
|
+
# Deprecated. The Google Developers Console [project ID or project
|
726
813
|
# number](https://support.google.com/cloud/answer/6158840).
|
814
|
+
# This field has been deprecated and replaced by the parent field.
|
727
815
|
# @!attribute [rw] zone
|
728
816
|
# @return [String]
|
729
|
-
# The name of the Google Compute Engine
|
817
|
+
# Deprecated. The name of the Google Compute Engine
|
730
818
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
731
819
|
# resides.
|
820
|
+
# This field has been deprecated and replaced by the parent field.
|
732
821
|
# @!attribute [rw] cluster
|
733
822
|
# @return [Google::Container::V1::Cluster]
|
734
823
|
# A [cluster
|
735
824
|
# resource](/container-engine/reference/rest/v1/projects.zones.clusters)
|
825
|
+
# @!attribute [rw] parent
|
826
|
+
# @return [String]
|
827
|
+
# The parent (project and location) where the cluster will be created.
|
828
|
+
# Specified in the format 'projects/*/locations/*'.
|
736
829
|
class CreateClusterRequest; end
|
737
830
|
|
738
831
|
# GetClusterRequest gets the settings of a cluster.
|
739
832
|
# @!attribute [rw] project_id
|
740
833
|
# @return [String]
|
741
|
-
# The Google Developers Console [project ID or project
|
834
|
+
# Deprecated. The Google Developers Console [project ID or project
|
742
835
|
# number](https://support.google.com/cloud/answer/6158840).
|
836
|
+
# This field has been deprecated and replaced by the name field.
|
743
837
|
# @!attribute [rw] zone
|
744
838
|
# @return [String]
|
745
|
-
# The name of the Google Compute Engine
|
839
|
+
# Deprecated. The name of the Google Compute Engine
|
746
840
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
747
841
|
# resides.
|
842
|
+
# This field has been deprecated and replaced by the name field.
|
748
843
|
# @!attribute [rw] cluster_id
|
749
844
|
# @return [String]
|
750
|
-
# The name of the cluster to retrieve.
|
845
|
+
# Deprecated. The name of the cluster to retrieve.
|
846
|
+
# This field has been deprecated and replaced by the name field.
|
847
|
+
# @!attribute [rw] name
|
848
|
+
# @return [String]
|
849
|
+
# The name (project, location, cluster) of the cluster to retrieve.
|
850
|
+
# Specified in the format 'projects/*/locations/*/clusters/*'.
|
751
851
|
class GetClusterRequest; end
|
752
852
|
|
753
853
|
# UpdateClusterRequest updates the settings of a cluster.
|
754
854
|
# @!attribute [rw] project_id
|
755
855
|
# @return [String]
|
756
|
-
# The Google Developers Console [project ID or project
|
856
|
+
# Deprecated. The Google Developers Console [project ID or project
|
757
857
|
# number](https://support.google.com/cloud/answer/6158840).
|
858
|
+
# This field has been deprecated and replaced by the name field.
|
758
859
|
# @!attribute [rw] zone
|
759
860
|
# @return [String]
|
760
|
-
# The name of the Google Compute Engine
|
861
|
+
# Deprecated. The name of the Google Compute Engine
|
761
862
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
762
863
|
# resides.
|
864
|
+
# This field has been deprecated and replaced by the name field.
|
763
865
|
# @!attribute [rw] cluster_id
|
764
866
|
# @return [String]
|
765
|
-
# The name of the cluster to upgrade.
|
867
|
+
# Deprecated. The name of the cluster to upgrade.
|
868
|
+
# This field has been deprecated and replaced by the name field.
|
766
869
|
# @!attribute [rw] update
|
767
870
|
# @return [Google::Container::V1::ClusterUpdate]
|
768
871
|
# A description of the update.
|
872
|
+
# @!attribute [rw] name
|
873
|
+
# @return [String]
|
874
|
+
# The name (project, location, cluster) of the cluster to update.
|
875
|
+
# Specified in the format 'projects/*/locations/*/clusters/*'.
|
769
876
|
class UpdateClusterRequest; end
|
770
877
|
|
771
878
|
# UpdateNodePoolRequests update a node pool's image and/or version.
|
772
879
|
# @!attribute [rw] project_id
|
773
880
|
# @return [String]
|
774
|
-
# The Google Developers Console [project ID or project
|
881
|
+
# Deprecated. The Google Developers Console [project ID or project
|
775
882
|
# number](https://support.google.com/cloud/answer/6158840).
|
883
|
+
# This field has been deprecated and replaced by the name field.
|
776
884
|
# @!attribute [rw] zone
|
777
885
|
# @return [String]
|
778
|
-
# The name of the Google Compute Engine
|
886
|
+
# Deprecated. The name of the Google Compute Engine
|
779
887
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
780
888
|
# resides.
|
889
|
+
# This field has been deprecated and replaced by the name field.
|
781
890
|
# @!attribute [rw] cluster_id
|
782
891
|
# @return [String]
|
783
|
-
# The name of the cluster to upgrade.
|
892
|
+
# Deprecated. The name of the cluster to upgrade.
|
893
|
+
# This field has been deprecated and replaced by the name field.
|
784
894
|
# @!attribute [rw] node_pool_id
|
785
895
|
# @return [String]
|
786
|
-
# The name of the node pool to upgrade.
|
896
|
+
# Deprecated. The name of the node pool to upgrade.
|
897
|
+
# This field has been deprecated and replaced by the name field.
|
787
898
|
# @!attribute [rw] node_version
|
788
899
|
# @return [String]
|
789
900
|
# The Kubernetes version to change the nodes to (typically an
|
790
|
-
# upgrade).
|
791
|
-
#
|
901
|
+
# upgrade).
|
902
|
+
#
|
903
|
+
# Users may specify either explicit versions offered by Kubernetes Engine or
|
904
|
+
# version aliases, which have the following behavior:
|
905
|
+
#
|
906
|
+
# * "latest": picks the highest valid Kubernetes version
|
907
|
+
# * "1.X": picks the highest valid patch+gke.N patch in the 1.X version
|
908
|
+
# * "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
|
909
|
+
# * "1.X.Y-gke.N": picks an explicit Kubernetes version
|
910
|
+
# * "-": picks the Kubernetes master version
|
792
911
|
# @!attribute [rw] image_type
|
793
912
|
# @return [String]
|
794
913
|
# The desired image type for the node pool.
|
914
|
+
# @!attribute [rw] name
|
915
|
+
# @return [String]
|
916
|
+
# The name (project, location, cluster, node pool) of the node pool to
|
917
|
+
# update. Specified in the format
|
918
|
+
# 'projects/*/locations/*/clusters/*/nodePools/*'.
|
795
919
|
class UpdateNodePoolRequest; end
|
796
920
|
|
797
921
|
# SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
|
798
922
|
# @!attribute [rw] project_id
|
799
923
|
# @return [String]
|
800
|
-
# The Google Developers Console [project ID or project
|
924
|
+
# Deprecated. The Google Developers Console [project ID or project
|
801
925
|
# number](https://support.google.com/cloud/answer/6158840).
|
926
|
+
# This field has been deprecated and replaced by the name field.
|
802
927
|
# @!attribute [rw] zone
|
803
928
|
# @return [String]
|
804
|
-
# The name of the Google Compute Engine
|
929
|
+
# Deprecated. The name of the Google Compute Engine
|
805
930
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
806
931
|
# resides.
|
932
|
+
# This field has been deprecated and replaced by the name field.
|
807
933
|
# @!attribute [rw] cluster_id
|
808
934
|
# @return [String]
|
809
|
-
# The name of the cluster to upgrade.
|
935
|
+
# Deprecated. The name of the cluster to upgrade.
|
936
|
+
# This field has been deprecated and replaced by the name field.
|
810
937
|
# @!attribute [rw] node_pool_id
|
811
938
|
# @return [String]
|
812
|
-
# The name of the node pool to upgrade.
|
939
|
+
# Deprecated. The name of the node pool to upgrade.
|
940
|
+
# This field has been deprecated and replaced by the name field.
|
813
941
|
# @!attribute [rw] autoscaling
|
814
942
|
# @return [Google::Container::V1::NodePoolAutoscaling]
|
815
943
|
# Autoscaling configuration for the node pool.
|
944
|
+
# @!attribute [rw] name
|
945
|
+
# @return [String]
|
946
|
+
# The name (project, location, cluster, node pool) of the node pool to set
|
947
|
+
# autoscaler settings. Specified in the format
|
948
|
+
# 'projects/*/locations/*/clusters/*/nodePools/*'.
|
816
949
|
class SetNodePoolAutoscalingRequest; end
|
817
950
|
|
818
951
|
# SetLoggingServiceRequest sets the logging service of a cluster.
|
819
952
|
# @!attribute [rw] project_id
|
820
953
|
# @return [String]
|
821
|
-
# The Google Developers Console [project ID or project
|
954
|
+
# Deprecated. The Google Developers Console [project ID or project
|
822
955
|
# number](https://support.google.com/cloud/answer/6158840).
|
956
|
+
# This field has been deprecated and replaced by the name field.
|
823
957
|
# @!attribute [rw] zone
|
824
958
|
# @return [String]
|
825
|
-
# The name of the Google Compute Engine
|
959
|
+
# Deprecated. The name of the Google Compute Engine
|
826
960
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
827
961
|
# resides.
|
962
|
+
# This field has been deprecated and replaced by the name field.
|
828
963
|
# @!attribute [rw] cluster_id
|
829
964
|
# @return [String]
|
830
|
-
# The name of the cluster to upgrade.
|
965
|
+
# Deprecated. The name of the cluster to upgrade.
|
966
|
+
# This field has been deprecated and replaced by the name field.
|
831
967
|
# @!attribute [rw] logging_service
|
832
968
|
# @return [String]
|
833
969
|
# The logging service the cluster should use to write metrics.
|
@@ -835,21 +971,28 @@ module Google
|
|
835
971
|
#
|
836
972
|
# * "logging.googleapis.com" - the Google Cloud Logging service
|
837
973
|
# * "none" - no metrics will be exported from the cluster
|
974
|
+
# @!attribute [rw] name
|
975
|
+
# @return [String]
|
976
|
+
# The name (project, location, cluster) of the cluster to set logging.
|
977
|
+
# Specified in the format 'projects/*/locations/*/clusters/*'.
|
838
978
|
class SetLoggingServiceRequest; end
|
839
979
|
|
840
980
|
# SetMonitoringServiceRequest sets the monitoring service of a cluster.
|
841
981
|
# @!attribute [rw] project_id
|
842
982
|
# @return [String]
|
843
|
-
# The Google Developers Console [project ID or project
|
983
|
+
# Deprecated. The Google Developers Console [project ID or project
|
844
984
|
# number](https://support.google.com/cloud/answer/6158840).
|
985
|
+
# This field has been deprecated and replaced by the name field.
|
845
986
|
# @!attribute [rw] zone
|
846
987
|
# @return [String]
|
847
|
-
# The name of the Google Compute Engine
|
988
|
+
# Deprecated. The name of the Google Compute Engine
|
848
989
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
849
990
|
# resides.
|
991
|
+
# This field has been deprecated and replaced by the name field.
|
850
992
|
# @!attribute [rw] cluster_id
|
851
993
|
# @return [String]
|
852
|
-
# The name of the cluster to upgrade.
|
994
|
+
# Deprecated. The name of the cluster to upgrade.
|
995
|
+
# This field has been deprecated and replaced by the name field.
|
853
996
|
# @!attribute [rw] monitoring_service
|
854
997
|
# @return [String]
|
855
998
|
# The monitoring service the cluster should use to write metrics.
|
@@ -857,40 +1000,54 @@ module Google
|
|
857
1000
|
#
|
858
1001
|
# * "monitoring.googleapis.com" - the Google Cloud Monitoring service
|
859
1002
|
# * "none" - no metrics will be exported from the cluster
|
1003
|
+
# @!attribute [rw] name
|
1004
|
+
# @return [String]
|
1005
|
+
# The name (project, location, cluster) of the cluster to set monitoring.
|
1006
|
+
# Specified in the format 'projects/*/locations/*/clusters/*'.
|
860
1007
|
class SetMonitoringServiceRequest; end
|
861
1008
|
|
862
1009
|
# SetAddonsConfigRequest sets the addons associated with the cluster.
|
863
1010
|
# @!attribute [rw] project_id
|
864
1011
|
# @return [String]
|
865
|
-
# The Google Developers Console [project ID or project
|
1012
|
+
# Deprecated. The Google Developers Console [project ID or project
|
866
1013
|
# number](https://support.google.com/cloud/answer/6158840).
|
1014
|
+
# This field has been deprecated and replaced by the name field.
|
867
1015
|
# @!attribute [rw] zone
|
868
1016
|
# @return [String]
|
869
|
-
# The name of the Google Compute Engine
|
1017
|
+
# Deprecated. The name of the Google Compute Engine
|
870
1018
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
871
1019
|
# resides.
|
1020
|
+
# This field has been deprecated and replaced by the name field.
|
872
1021
|
# @!attribute [rw] cluster_id
|
873
1022
|
# @return [String]
|
874
|
-
# The name of the cluster to upgrade.
|
1023
|
+
# Deprecated. The name of the cluster to upgrade.
|
1024
|
+
# This field has been deprecated and replaced by the name field.
|
875
1025
|
# @!attribute [rw] addons_config
|
876
1026
|
# @return [Google::Container::V1::AddonsConfig]
|
877
1027
|
# The desired configurations for the various addons available to run in the
|
878
1028
|
# cluster.
|
1029
|
+
# @!attribute [rw] name
|
1030
|
+
# @return [String]
|
1031
|
+
# The name (project, location, cluster) of the cluster to set addons.
|
1032
|
+
# Specified in the format 'projects/*/locations/*/clusters/*'.
|
879
1033
|
class SetAddonsConfigRequest; end
|
880
1034
|
|
881
1035
|
# SetLocationsRequest sets the locations of the cluster.
|
882
1036
|
# @!attribute [rw] project_id
|
883
1037
|
# @return [String]
|
884
|
-
# The Google Developers Console [project ID or project
|
1038
|
+
# Deprecated. The Google Developers Console [project ID or project
|
885
1039
|
# number](https://support.google.com/cloud/answer/6158840).
|
1040
|
+
# This field has been deprecated and replaced by the name field.
|
886
1041
|
# @!attribute [rw] zone
|
887
1042
|
# @return [String]
|
888
|
-
# The name of the Google Compute Engine
|
1043
|
+
# Deprecated. The name of the Google Compute Engine
|
889
1044
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
890
1045
|
# resides.
|
1046
|
+
# This field has been deprecated and replaced by the name field.
|
891
1047
|
# @!attribute [rw] cluster_id
|
892
1048
|
# @return [String]
|
893
|
-
# The name of the cluster to upgrade.
|
1049
|
+
# Deprecated. The name of the cluster to upgrade.
|
1050
|
+
# This field has been deprecated and replaced by the name field.
|
894
1051
|
# @!attribute [rw] locations
|
895
1052
|
# @return [Array<String>]
|
896
1053
|
# The desired list of Google Compute Engine
|
@@ -900,47 +1057,72 @@ module Google
|
|
900
1057
|
# whether locations are being added or removed.
|
901
1058
|
#
|
902
1059
|
# This list must always include the cluster's primary zone.
|
1060
|
+
# @!attribute [rw] name
|
1061
|
+
# @return [String]
|
1062
|
+
# The name (project, location, cluster) of the cluster to set locations.
|
1063
|
+
# Specified in the format 'projects/*/locations/*/clusters/*'.
|
903
1064
|
class SetLocationsRequest; end
|
904
1065
|
|
905
1066
|
# UpdateMasterRequest updates the master of the cluster.
|
906
1067
|
# @!attribute [rw] project_id
|
907
1068
|
# @return [String]
|
908
|
-
# The Google Developers Console [project ID or project
|
1069
|
+
# Deprecated. The Google Developers Console [project ID or project
|
909
1070
|
# number](https://support.google.com/cloud/answer/6158840).
|
1071
|
+
# This field has been deprecated and replaced by the name field.
|
910
1072
|
# @!attribute [rw] zone
|
911
1073
|
# @return [String]
|
912
|
-
# The name of the Google Compute Engine
|
1074
|
+
# Deprecated. The name of the Google Compute Engine
|
913
1075
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
914
1076
|
# resides.
|
1077
|
+
# This field has been deprecated and replaced by the name field.
|
915
1078
|
# @!attribute [rw] cluster_id
|
916
1079
|
# @return [String]
|
917
|
-
# The name of the cluster to upgrade.
|
1080
|
+
# Deprecated. The name of the cluster to upgrade.
|
1081
|
+
# This field has been deprecated and replaced by the name field.
|
918
1082
|
# @!attribute [rw] master_version
|
919
1083
|
# @return [String]
|
920
|
-
# The Kubernetes version to change the master to.
|
921
|
-
#
|
922
|
-
#
|
1084
|
+
# The Kubernetes version to change the master to.
|
1085
|
+
#
|
1086
|
+
# Users may specify either explicit versions offered by Kubernetes Engine or
|
1087
|
+
# version aliases, which have the following behavior:
|
1088
|
+
#
|
1089
|
+
# * "latest": picks the highest valid Kubernetes version
|
1090
|
+
# * "1.X": picks the highest valid patch+gke.N patch in the 1.X version
|
1091
|
+
# * "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
|
1092
|
+
# * "1.X.Y-gke.N": picks an explicit Kubernetes version
|
1093
|
+
# * "-": picks the default Kubernetes version
|
1094
|
+
# @!attribute [rw] name
|
1095
|
+
# @return [String]
|
1096
|
+
# The name (project, location, cluster) of the cluster to update.
|
1097
|
+
# Specified in the format 'projects/*/locations/*/clusters/*'.
|
923
1098
|
class UpdateMasterRequest; end
|
924
1099
|
|
925
1100
|
# SetMasterAuthRequest updates the admin password of a cluster.
|
926
1101
|
# @!attribute [rw] project_id
|
927
1102
|
# @return [String]
|
928
|
-
# The Google Developers Console [project ID or project
|
1103
|
+
# Deprecated. The Google Developers Console [project ID or project
|
929
1104
|
# number](https://support.google.com/cloud/answer/6158840).
|
1105
|
+
# This field has been deprecated and replaced by the name field.
|
930
1106
|
# @!attribute [rw] zone
|
931
1107
|
# @return [String]
|
932
|
-
# The name of the Google Compute Engine
|
1108
|
+
# Deprecated. The name of the Google Compute Engine
|
933
1109
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
934
1110
|
# resides.
|
1111
|
+
# This field has been deprecated and replaced by the name field.
|
935
1112
|
# @!attribute [rw] cluster_id
|
936
1113
|
# @return [String]
|
937
|
-
# The name of the cluster to upgrade.
|
1114
|
+
# Deprecated. The name of the cluster to upgrade.
|
1115
|
+
# This field has been deprecated and replaced by the name field.
|
938
1116
|
# @!attribute [rw] action
|
939
1117
|
# @return [Google::Container::V1::SetMasterAuthRequest::Action]
|
940
1118
|
# The exact form of action to be taken on the master auth.
|
941
1119
|
# @!attribute [rw] update
|
942
1120
|
# @return [Google::Container::V1::MasterAuth]
|
943
1121
|
# A description of the update.
|
1122
|
+
# @!attribute [rw] name
|
1123
|
+
# @return [String]
|
1124
|
+
# The name (project, location, cluster) of the cluster to set auth.
|
1125
|
+
# Specified in the format 'projects/*/locations/*/clusters/*'.
|
944
1126
|
class SetMasterAuthRequest
|
945
1127
|
# Operation type: what type update to perform.
|
946
1128
|
module Action
|
@@ -964,28 +1146,42 @@ module Google
|
|
964
1146
|
# DeleteClusterRequest deletes a cluster.
|
965
1147
|
# @!attribute [rw] project_id
|
966
1148
|
# @return [String]
|
967
|
-
# The Google Developers Console [project ID or project
|
1149
|
+
# Deprecated. The Google Developers Console [project ID or project
|
968
1150
|
# number](https://support.google.com/cloud/answer/6158840).
|
1151
|
+
# This field has been deprecated and replaced by the name field.
|
969
1152
|
# @!attribute [rw] zone
|
970
1153
|
# @return [String]
|
971
|
-
# The name of the Google Compute Engine
|
1154
|
+
# Deprecated. The name of the Google Compute Engine
|
972
1155
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
973
1156
|
# resides.
|
1157
|
+
# This field has been deprecated and replaced by the name field.
|
974
1158
|
# @!attribute [rw] cluster_id
|
975
1159
|
# @return [String]
|
976
|
-
# The name of the cluster to delete.
|
1160
|
+
# Deprecated. The name of the cluster to delete.
|
1161
|
+
# This field has been deprecated and replaced by the name field.
|
1162
|
+
# @!attribute [rw] name
|
1163
|
+
# @return [String]
|
1164
|
+
# The name (project, location, cluster) of the cluster to delete.
|
1165
|
+
# Specified in the format 'projects/*/locations/*/clusters/*'.
|
977
1166
|
class DeleteClusterRequest; end
|
978
1167
|
|
979
1168
|
# ListClustersRequest lists clusters.
|
980
1169
|
# @!attribute [rw] project_id
|
981
1170
|
# @return [String]
|
982
|
-
# The Google Developers Console [project ID or project
|
1171
|
+
# Deprecated. The Google Developers Console [project ID or project
|
983
1172
|
# number](https://support.google.com/cloud/answer/6158840).
|
1173
|
+
# This field has been deprecated and replaced by the parent field.
|
984
1174
|
# @!attribute [rw] zone
|
985
1175
|
# @return [String]
|
986
|
-
# The name of the Google Compute Engine
|
1176
|
+
# Deprecated. The name of the Google Compute Engine
|
987
1177
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
988
1178
|
# resides, or "-" for all zones.
|
1179
|
+
# This field has been deprecated and replaced by the parent field.
|
1180
|
+
# @!attribute [rw] parent
|
1181
|
+
# @return [String]
|
1182
|
+
# The parent (project and location) where the clusters will be listed.
|
1183
|
+
# Specified in the format 'projects/*/locations/*'.
|
1184
|
+
# Location "-" matches all zones and all regions.
|
989
1185
|
class ListClustersRequest; end
|
990
1186
|
|
991
1187
|
# ListClustersResponse is the result of ListClustersRequest.
|
@@ -1002,41 +1198,62 @@ module Google
|
|
1002
1198
|
# GetOperationRequest gets a single operation.
|
1003
1199
|
# @!attribute [rw] project_id
|
1004
1200
|
# @return [String]
|
1005
|
-
# The Google Developers Console [project ID or project
|
1201
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1006
1202
|
# number](https://support.google.com/cloud/answer/6158840).
|
1203
|
+
# This field has been deprecated and replaced by the name field.
|
1007
1204
|
# @!attribute [rw] zone
|
1008
1205
|
# @return [String]
|
1009
|
-
# The name of the Google Compute Engine
|
1206
|
+
# Deprecated. The name of the Google Compute Engine
|
1010
1207
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1011
1208
|
# resides.
|
1209
|
+
# This field has been deprecated and replaced by the name field.
|
1012
1210
|
# @!attribute [rw] operation_id
|
1013
1211
|
# @return [String]
|
1014
|
-
# The server-assigned `name` of the operation.
|
1212
|
+
# Deprecated. The server-assigned `name` of the operation.
|
1213
|
+
# This field has been deprecated and replaced by the name field.
|
1214
|
+
# @!attribute [rw] name
|
1215
|
+
# @return [String]
|
1216
|
+
# The name (project, location, operation id) of the operation to get.
|
1217
|
+
# Specified in the format 'projects/*/locations/*/operations/*'.
|
1015
1218
|
class GetOperationRequest; end
|
1016
1219
|
|
1017
1220
|
# ListOperationsRequest lists operations.
|
1018
1221
|
# @!attribute [rw] project_id
|
1019
1222
|
# @return [String]
|
1020
|
-
# The Google Developers Console [project ID or project
|
1223
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1021
1224
|
# number](https://support.google.com/cloud/answer/6158840).
|
1225
|
+
# This field has been deprecated and replaced by the parent field.
|
1022
1226
|
# @!attribute [rw] zone
|
1023
1227
|
# @return [String]
|
1024
|
-
# The name of the Google Compute Engine
|
1025
|
-
# to return operations for, or `-` for
|
1228
|
+
# Deprecated. The name of the Google Compute Engine
|
1229
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for
|
1230
|
+
# all zones. This field has been deprecated and replaced by the parent field.
|
1231
|
+
# @!attribute [rw] parent
|
1232
|
+
# @return [String]
|
1233
|
+
# The parent (project and location) where the operations will be listed.
|
1234
|
+
# Specified in the format 'projects/*/locations/*'.
|
1235
|
+
# Location "-" matches all zones and all regions.
|
1026
1236
|
class ListOperationsRequest; end
|
1027
1237
|
|
1028
1238
|
# CancelOperationRequest cancels a single operation.
|
1029
1239
|
# @!attribute [rw] project_id
|
1030
1240
|
# @return [String]
|
1031
|
-
# The Google Developers Console [project ID or project
|
1241
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1032
1242
|
# number](https://support.google.com/cloud/answer/6158840).
|
1243
|
+
# This field has been deprecated and replaced by the name field.
|
1033
1244
|
# @!attribute [rw] zone
|
1034
1245
|
# @return [String]
|
1035
|
-
# The name of the Google Compute Engine
|
1246
|
+
# Deprecated. The name of the Google Compute Engine
|
1036
1247
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
|
1248
|
+
# This field has been deprecated and replaced by the name field.
|
1037
1249
|
# @!attribute [rw] operation_id
|
1038
1250
|
# @return [String]
|
1039
|
-
# The server-assigned `name` of the operation.
|
1251
|
+
# Deprecated. The server-assigned `name` of the operation.
|
1252
|
+
# This field has been deprecated and replaced by the name field.
|
1253
|
+
# @!attribute [rw] name
|
1254
|
+
# @return [String]
|
1255
|
+
# The name (project, location, operation id) of the operation to cancel.
|
1256
|
+
# Specified in the format 'projects/*/locations/*/operations/*'.
|
1040
1257
|
class CancelOperationRequest; end
|
1041
1258
|
|
1042
1259
|
# ListOperationsResponse is the result of ListOperationsRequest.
|
@@ -1049,18 +1266,24 @@ module Google
|
|
1049
1266
|
# may be missing the operations from those zones.
|
1050
1267
|
class ListOperationsResponse; end
|
1051
1268
|
|
1052
|
-
# Gets the current
|
1269
|
+
# Gets the current Kubernetes Engine service configuration.
|
1053
1270
|
# @!attribute [rw] project_id
|
1054
1271
|
# @return [String]
|
1055
|
-
# The Google Developers Console [project ID or project
|
1272
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1056
1273
|
# number](https://support.google.com/cloud/answer/6158840).
|
1274
|
+
# This field has been deprecated and replaced by the name field.
|
1057
1275
|
# @!attribute [rw] zone
|
1058
1276
|
# @return [String]
|
1059
|
-
# The name of the Google Compute Engine
|
1060
|
-
# to return operations for.
|
1277
|
+
# Deprecated. The name of the Google Compute Engine
|
1278
|
+
# [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for.
|
1279
|
+
# This field has been deprecated and replaced by the name field.
|
1280
|
+
# @!attribute [rw] name
|
1281
|
+
# @return [String]
|
1282
|
+
# The name (project and location) of the server config to get
|
1283
|
+
# Specified in the format 'projects/*/locations/*'.
|
1061
1284
|
class GetServerConfigRequest; end
|
1062
1285
|
|
1063
|
-
#
|
1286
|
+
# Kubernetes Engine service configuration.
|
1064
1287
|
# @!attribute [rw] default_cluster_version
|
1065
1288
|
# @return [String]
|
1066
1289
|
# Version of Kubernetes the service deploys by default.
|
@@ -1081,70 +1304,103 @@ module Google
|
|
1081
1304
|
# CreateNodePoolRequest creates a node pool for a cluster.
|
1082
1305
|
# @!attribute [rw] project_id
|
1083
1306
|
# @return [String]
|
1084
|
-
# The Google Developers Console [project ID or project
|
1307
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1085
1308
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1309
|
+
# This field has been deprecated and replaced by the parent field.
|
1086
1310
|
# @!attribute [rw] zone
|
1087
1311
|
# @return [String]
|
1088
|
-
# The name of the Google Compute Engine
|
1312
|
+
# Deprecated. The name of the Google Compute Engine
|
1089
1313
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1090
1314
|
# resides.
|
1315
|
+
# This field has been deprecated and replaced by the parent field.
|
1091
1316
|
# @!attribute [rw] cluster_id
|
1092
1317
|
# @return [String]
|
1093
|
-
# The name of the cluster.
|
1318
|
+
# Deprecated. The name of the cluster.
|
1319
|
+
# This field has been deprecated and replaced by the parent field.
|
1094
1320
|
# @!attribute [rw] node_pool
|
1095
1321
|
# @return [Google::Container::V1::NodePool]
|
1096
1322
|
# The node pool to create.
|
1323
|
+
# @!attribute [rw] parent
|
1324
|
+
# @return [String]
|
1325
|
+
# The parent (project, location, cluster id) where the node pool will be
|
1326
|
+
# created. Specified in the format
|
1327
|
+
# 'projects/*/locations/*/clusters/*'.
|
1097
1328
|
class CreateNodePoolRequest; end
|
1098
1329
|
|
1099
1330
|
# DeleteNodePoolRequest deletes a node pool for a cluster.
|
1100
1331
|
# @!attribute [rw] project_id
|
1101
1332
|
# @return [String]
|
1102
|
-
# The Google Developers Console [project ID or project
|
1333
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1103
1334
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1335
|
+
# This field has been deprecated and replaced by the name field.
|
1104
1336
|
# @!attribute [rw] zone
|
1105
1337
|
# @return [String]
|
1106
|
-
# The name of the Google Compute Engine
|
1338
|
+
# Deprecated. The name of the Google Compute Engine
|
1107
1339
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1108
1340
|
# resides.
|
1341
|
+
# This field has been deprecated and replaced by the name field.
|
1109
1342
|
# @!attribute [rw] cluster_id
|
1110
1343
|
# @return [String]
|
1111
|
-
# The name of the cluster.
|
1344
|
+
# Deprecated. The name of the cluster.
|
1345
|
+
# This field has been deprecated and replaced by the name field.
|
1112
1346
|
# @!attribute [rw] node_pool_id
|
1113
1347
|
# @return [String]
|
1114
|
-
# The name of the node pool to delete.
|
1348
|
+
# Deprecated. The name of the node pool to delete.
|
1349
|
+
# This field has been deprecated and replaced by the name field.
|
1350
|
+
# @!attribute [rw] name
|
1351
|
+
# @return [String]
|
1352
|
+
# The name (project, location, cluster, node pool id) of the node pool to
|
1353
|
+
# delete. Specified in the format
|
1354
|
+
# 'projects/*/locations/*/clusters/*/nodePools/*'.
|
1115
1355
|
class DeleteNodePoolRequest; end
|
1116
1356
|
|
1117
1357
|
# ListNodePoolsRequest lists the node pool(s) for a cluster.
|
1118
1358
|
# @!attribute [rw] project_id
|
1119
1359
|
# @return [String]
|
1120
|
-
# The Google Developers Console [project ID or project
|
1360
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1121
1361
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1362
|
+
# This field has been deprecated and replaced by the parent field.
|
1122
1363
|
# @!attribute [rw] zone
|
1123
1364
|
# @return [String]
|
1124
|
-
# The name of the Google Compute Engine
|
1365
|
+
# Deprecated. The name of the Google Compute Engine
|
1125
1366
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1126
1367
|
# resides.
|
1368
|
+
# This field has been deprecated and replaced by the parent field.
|
1127
1369
|
# @!attribute [rw] cluster_id
|
1128
1370
|
# @return [String]
|
1129
|
-
# The name of the cluster.
|
1371
|
+
# Deprecated. The name of the cluster.
|
1372
|
+
# This field has been deprecated and replaced by the parent field.
|
1373
|
+
# @!attribute [rw] parent
|
1374
|
+
# @return [String]
|
1375
|
+
# The parent (project, location, cluster id) where the node pools will be
|
1376
|
+
# listed. Specified in the format 'projects/*/locations/*/clusters/*'.
|
1130
1377
|
class ListNodePoolsRequest; end
|
1131
1378
|
|
1132
1379
|
# GetNodePoolRequest retrieves a node pool for a cluster.
|
1133
1380
|
# @!attribute [rw] project_id
|
1134
1381
|
# @return [String]
|
1135
|
-
# The Google Developers Console [project ID or project
|
1382
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1136
1383
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1384
|
+
# This field has been deprecated and replaced by the name field.
|
1137
1385
|
# @!attribute [rw] zone
|
1138
1386
|
# @return [String]
|
1139
|
-
# The name of the Google Compute Engine
|
1387
|
+
# Deprecated. The name of the Google Compute Engine
|
1140
1388
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1141
1389
|
# resides.
|
1390
|
+
# This field has been deprecated and replaced by the name field.
|
1142
1391
|
# @!attribute [rw] cluster_id
|
1143
1392
|
# @return [String]
|
1144
|
-
# The name of the cluster.
|
1393
|
+
# Deprecated. The name of the cluster.
|
1394
|
+
# This field has been deprecated and replaced by the name field.
|
1145
1395
|
# @!attribute [rw] node_pool_id
|
1146
1396
|
# @return [String]
|
1147
|
-
# The name of the node pool.
|
1397
|
+
# Deprecated. The name of the node pool.
|
1398
|
+
# This field has been deprecated and replaced by the name field.
|
1399
|
+
# @!attribute [rw] name
|
1400
|
+
# @return [String]
|
1401
|
+
# The name (project, location, cluster, node pool id) of the node pool to
|
1402
|
+
# get. Specified in the format
|
1403
|
+
# 'projects/*/locations/*/clusters/*/nodePools/*'.
|
1148
1404
|
class GetNodePoolRequest; end
|
1149
1405
|
|
1150
1406
|
# NodePool contains the name and configuration for a cluster's node pool.
|
@@ -1284,44 +1540,62 @@ module Google
|
|
1284
1540
|
# pool.
|
1285
1541
|
# @!attribute [rw] project_id
|
1286
1542
|
# @return [String]
|
1287
|
-
# The Google Developers Console [project ID or project
|
1543
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1288
1544
|
# number](https://support.google.com/cloud/answer/6158840).
|
1545
|
+
# This field has been deprecated and replaced by the name field.
|
1289
1546
|
# @!attribute [rw] zone
|
1290
1547
|
# @return [String]
|
1291
|
-
# The name of the Google Compute Engine
|
1548
|
+
# Deprecated. The name of the Google Compute Engine
|
1292
1549
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1293
1550
|
# resides.
|
1551
|
+
# This field has been deprecated and replaced by the name field.
|
1294
1552
|
# @!attribute [rw] cluster_id
|
1295
1553
|
# @return [String]
|
1296
|
-
# The name of the cluster to update.
|
1554
|
+
# Deprecated. The name of the cluster to update.
|
1555
|
+
# This field has been deprecated and replaced by the name field.
|
1297
1556
|
# @!attribute [rw] node_pool_id
|
1298
1557
|
# @return [String]
|
1299
|
-
# The name of the node pool to update.
|
1558
|
+
# Deprecated. The name of the node pool to update.
|
1559
|
+
# This field has been deprecated and replaced by the name field.
|
1300
1560
|
# @!attribute [rw] management
|
1301
1561
|
# @return [Google::Container::V1::NodeManagement]
|
1302
1562
|
# NodeManagement configuration for the node pool.
|
1563
|
+
# @!attribute [rw] name
|
1564
|
+
# @return [String]
|
1565
|
+
# The name (project, location, cluster, node pool id) of the node pool to set
|
1566
|
+
# management properties. Specified in the format
|
1567
|
+
# 'projects/*/locations/*/clusters/*/nodePools/*'.
|
1303
1568
|
class SetNodePoolManagementRequest; end
|
1304
1569
|
|
1305
1570
|
# SetNodePoolSizeRequest sets the size a node
|
1306
1571
|
# pool.
|
1307
1572
|
# @!attribute [rw] project_id
|
1308
1573
|
# @return [String]
|
1309
|
-
# The Google Developers Console [project ID or project
|
1574
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1310
1575
|
# number](https://support.google.com/cloud/answer/6158840).
|
1576
|
+
# This field has been deprecated and replaced by the name field.
|
1311
1577
|
# @!attribute [rw] zone
|
1312
1578
|
# @return [String]
|
1313
|
-
# The name of the Google Compute Engine
|
1579
|
+
# Deprecated. The name of the Google Compute Engine
|
1314
1580
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1315
1581
|
# resides.
|
1582
|
+
# This field has been deprecated and replaced by the name field.
|
1316
1583
|
# @!attribute [rw] cluster_id
|
1317
1584
|
# @return [String]
|
1318
|
-
# The name of the cluster to update.
|
1585
|
+
# Deprecated. The name of the cluster to update.
|
1586
|
+
# This field has been deprecated and replaced by the name field.
|
1319
1587
|
# @!attribute [rw] node_pool_id
|
1320
1588
|
# @return [String]
|
1321
|
-
# The name of the node pool to update.
|
1589
|
+
# Deprecated. The name of the node pool to update.
|
1590
|
+
# This field has been deprecated and replaced by the name field.
|
1322
1591
|
# @!attribute [rw] node_count
|
1323
1592
|
# @return [Integer]
|
1324
1593
|
# The desired node count for the pool.
|
1594
|
+
# @!attribute [rw] name
|
1595
|
+
# @return [String]
|
1596
|
+
# The name (project, location, cluster, node pool id) of the node pool to set
|
1597
|
+
# size.
|
1598
|
+
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
|
1325
1599
|
class SetNodePoolSizeRequest; end
|
1326
1600
|
|
1327
1601
|
# RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
|
@@ -1329,19 +1603,28 @@ module Google
|
|
1329
1603
|
# completed.
|
1330
1604
|
# @!attribute [rw] project_id
|
1331
1605
|
# @return [String]
|
1332
|
-
# The Google Developers Console [project ID or project
|
1606
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1333
1607
|
# number](https://support.google.com/cloud/answer/6158840).
|
1608
|
+
# This field has been deprecated and replaced by the name field.
|
1334
1609
|
# @!attribute [rw] zone
|
1335
1610
|
# @return [String]
|
1336
|
-
# The name of the Google Compute Engine
|
1611
|
+
# Deprecated. The name of the Google Compute Engine
|
1337
1612
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1338
1613
|
# resides.
|
1614
|
+
# This field has been deprecated and replaced by the name field.
|
1339
1615
|
# @!attribute [rw] cluster_id
|
1340
1616
|
# @return [String]
|
1341
|
-
# The name of the cluster to rollback.
|
1617
|
+
# Deprecated. The name of the cluster to rollback.
|
1618
|
+
# This field has been deprecated and replaced by the name field.
|
1342
1619
|
# @!attribute [rw] node_pool_id
|
1343
1620
|
# @return [String]
|
1344
|
-
# The name of the node pool to rollback.
|
1621
|
+
# Deprecated. The name of the node pool to rollback.
|
1622
|
+
# This field has been deprecated and replaced by the name field.
|
1623
|
+
# @!attribute [rw] name
|
1624
|
+
# @return [String]
|
1625
|
+
# The name (project, location, cluster, node pool id) of the node poll to
|
1626
|
+
# rollback upgrade.
|
1627
|
+
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
|
1345
1628
|
class RollbackNodePoolUpgradeRequest; end
|
1346
1629
|
|
1347
1630
|
# ListNodePoolsResponse is the result of ListNodePoolsRequest.
|
@@ -1370,16 +1653,19 @@ module Google
|
|
1370
1653
|
# resources used by that cluster
|
1371
1654
|
# @!attribute [rw] project_id
|
1372
1655
|
# @return [String]
|
1373
|
-
# The Google Developers Console [project ID or project
|
1656
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1374
1657
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1658
|
+
# This field has been deprecated and replaced by the name field.
|
1375
1659
|
# @!attribute [rw] zone
|
1376
1660
|
# @return [String]
|
1377
|
-
# The name of the Google Compute Engine
|
1661
|
+
# Deprecated. The name of the Google Compute Engine
|
1378
1662
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1379
1663
|
# resides.
|
1664
|
+
# This field has been deprecated and replaced by the name field.
|
1380
1665
|
# @!attribute [rw] cluster_id
|
1381
1666
|
# @return [String]
|
1382
|
-
# The name of the cluster.
|
1667
|
+
# Deprecated. The name of the cluster.
|
1668
|
+
# This field has been deprecated and replaced by the name field.
|
1383
1669
|
# @!attribute [rw] resource_labels
|
1384
1670
|
# @return [Hash{String => String}]
|
1385
1671
|
# The labels to set for that cluster.
|
@@ -1387,60 +1673,88 @@ module Google
|
|
1387
1673
|
# @return [String]
|
1388
1674
|
# The fingerprint of the previous set of labels for this resource,
|
1389
1675
|
# used to detect conflicts. The fingerprint is initially generated by
|
1390
|
-
#
|
1676
|
+
# Kubernetes Engine and changes after every request to modify or update
|
1391
1677
|
# labels. You must always provide an up-to-date fingerprint hash when
|
1392
1678
|
# updating or changing labels. Make a <code>get()</code> request to the
|
1393
1679
|
# resource to get the latest fingerprint.
|
1680
|
+
# @!attribute [rw] name
|
1681
|
+
# @return [String]
|
1682
|
+
# The name (project, location, cluster id) of the cluster to set labels.
|
1683
|
+
# Specified in the format 'projects/*/locations/*/clusters/*'.
|
1394
1684
|
class SetLabelsRequest; end
|
1395
1685
|
|
1396
1686
|
# SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
|
1397
1687
|
# a cluster.
|
1398
1688
|
# @!attribute [rw] project_id
|
1399
1689
|
# @return [String]
|
1400
|
-
# The Google Developers Console [project ID or project
|
1690
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1401
1691
|
# number](https://support.google.com/cloud/answer/6158840).
|
1692
|
+
# This field has been deprecated and replaced by the name field.
|
1402
1693
|
# @!attribute [rw] zone
|
1403
1694
|
# @return [String]
|
1404
|
-
# The name of the Google Compute Engine
|
1695
|
+
# Deprecated. The name of the Google Compute Engine
|
1405
1696
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1406
1697
|
# resides.
|
1698
|
+
# This field has been deprecated and replaced by the name field.
|
1407
1699
|
# @!attribute [rw] cluster_id
|
1408
1700
|
# @return [String]
|
1409
|
-
# The name of the cluster to update.
|
1701
|
+
# Deprecated. The name of the cluster to update.
|
1702
|
+
# This field has been deprecated and replaced by the name field.
|
1410
1703
|
# @!attribute [rw] enabled
|
1411
1704
|
# @return [true, false]
|
1412
1705
|
# Whether ABAC authorization will be enabled in the cluster.
|
1706
|
+
# @!attribute [rw] name
|
1707
|
+
# @return [String]
|
1708
|
+
# The name (project, location, cluster id) of the cluster to set legacy abac.
|
1709
|
+
# Specified in the format 'projects/*/locations/*/clusters/*'.
|
1413
1710
|
class SetLegacyAbacRequest; end
|
1414
1711
|
|
1415
1712
|
# StartIPRotationRequest creates a new IP for the cluster and then performs
|
1416
1713
|
# a node upgrade on each node pool to point to the new IP.
|
1417
1714
|
# @!attribute [rw] project_id
|
1418
1715
|
# @return [String]
|
1419
|
-
# The Google Developers Console [project ID or project
|
1716
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1420
1717
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1718
|
+
# This field has been deprecated and replaced by the name field.
|
1421
1719
|
# @!attribute [rw] zone
|
1422
1720
|
# @return [String]
|
1423
|
-
# The name of the Google Compute Engine
|
1721
|
+
# Deprecated. The name of the Google Compute Engine
|
1424
1722
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1425
1723
|
# resides.
|
1724
|
+
# This field has been deprecated and replaced by the name field.
|
1426
1725
|
# @!attribute [rw] cluster_id
|
1427
1726
|
# @return [String]
|
1428
|
-
# The name of the cluster.
|
1727
|
+
# Deprecated. The name of the cluster.
|
1728
|
+
# This field has been deprecated and replaced by the name field.
|
1729
|
+
# @!attribute [rw] name
|
1730
|
+
# @return [String]
|
1731
|
+
# The name (project, location, cluster id) of the cluster to start IP
|
1732
|
+
# rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
|
1733
|
+
# @!attribute [rw] rotate_credentials
|
1734
|
+
# @return [true, false]
|
1735
|
+
# Whether to rotate credentials during IP rotation.
|
1429
1736
|
class StartIPRotationRequest; end
|
1430
1737
|
|
1431
1738
|
# CompleteIPRotationRequest moves the cluster master back into single-IP mode.
|
1432
1739
|
# @!attribute [rw] project_id
|
1433
1740
|
# @return [String]
|
1434
|
-
# The Google Developers Console [project ID or project
|
1741
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1435
1742
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1743
|
+
# This field has been deprecated and replaced by the name field.
|
1436
1744
|
# @!attribute [rw] zone
|
1437
1745
|
# @return [String]
|
1438
|
-
# The name of the Google Compute Engine
|
1746
|
+
# Deprecated. The name of the Google Compute Engine
|
1439
1747
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1440
1748
|
# resides.
|
1749
|
+
# This field has been deprecated and replaced by the name field.
|
1441
1750
|
# @!attribute [rw] cluster_id
|
1442
1751
|
# @return [String]
|
1443
|
-
# The name of the cluster.
|
1752
|
+
# Deprecated. The name of the cluster.
|
1753
|
+
# This field has been deprecated and replaced by the name field.
|
1754
|
+
# @!attribute [rw] name
|
1755
|
+
# @return [String]
|
1756
|
+
# The name (project, location, cluster id) of the cluster to complete IP
|
1757
|
+
# rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
|
1444
1758
|
class CompleteIPRotationRequest; end
|
1445
1759
|
|
1446
1760
|
# AcceleratorConfig represents a Hardware Accelerator request.
|
@@ -1456,19 +1770,26 @@ module Google
|
|
1456
1770
|
# SetNetworkPolicyRequest enables/disables network policy for a cluster.
|
1457
1771
|
# @!attribute [rw] project_id
|
1458
1772
|
# @return [String]
|
1459
|
-
# The Google Developers Console [project ID or project
|
1773
|
+
# Deprecated. The Google Developers Console [project ID or project
|
1460
1774
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1775
|
+
# This field has been deprecated and replaced by the name field.
|
1461
1776
|
# @!attribute [rw] zone
|
1462
1777
|
# @return [String]
|
1463
|
-
# The name of the Google Compute Engine
|
1778
|
+
# Deprecated. The name of the Google Compute Engine
|
1464
1779
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1465
1780
|
# resides.
|
1781
|
+
# This field has been deprecated and replaced by the name field.
|
1466
1782
|
# @!attribute [rw] cluster_id
|
1467
1783
|
# @return [String]
|
1468
|
-
# The name of the cluster.
|
1784
|
+
# Deprecated. The name of the cluster.
|
1785
|
+
# This field has been deprecated and replaced by the name field.
|
1469
1786
|
# @!attribute [rw] network_policy
|
1470
1787
|
# @return [Google::Container::V1::NetworkPolicy]
|
1471
1788
|
# Configuration options for the NetworkPolicy feature.
|
1789
|
+
# @!attribute [rw] name
|
1790
|
+
# @return [String]
|
1791
|
+
# The name (project, location, cluster id) of the cluster to set networking
|
1792
|
+
# policy. Specified in the format 'projects/*/locations/*/clusters/*'.
|
1472
1793
|
class SetNetworkPolicyRequest; end
|
1473
1794
|
|
1474
1795
|
# SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
|
@@ -1488,7 +1809,26 @@ module Google
|
|
1488
1809
|
# @return [Google::Container::V1::MaintenancePolicy]
|
1489
1810
|
# The maintenance policy to be set for the cluster. An empty field
|
1490
1811
|
# clears the existing maintenance policy.
|
1812
|
+
# @!attribute [rw] name
|
1813
|
+
# @return [String]
|
1814
|
+
# The name (project, location, cluster id) of the cluster to set maintenance
|
1815
|
+
# policy.
|
1816
|
+
# Specified in the format 'projects/*/locations/*/clusters/*'.
|
1491
1817
|
class SetMaintenancePolicyRequest; end
|
1818
|
+
|
1819
|
+
# NetworkConfig reports the relative names of network & subnetwork.
|
1820
|
+
# @!attribute [rw] network
|
1821
|
+
# @return [String]
|
1822
|
+
# Output only. The relative name of the Google Compute Engine
|
1823
|
+
# {Google::Container::V1::NetworkConfig#network network}(/compute/docs/networks-and-firewalls#networks) to which
|
1824
|
+
# the cluster is connected.
|
1825
|
+
# Example: projects/my-project/global/networks/my-network
|
1826
|
+
# @!attribute [rw] subnetwork
|
1827
|
+
# @return [String]
|
1828
|
+
# Output only. The relative name of the Google Compute Engine
|
1829
|
+
# [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the cluster is connected.
|
1830
|
+
# Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
|
1831
|
+
class NetworkConfig; end
|
1492
1832
|
end
|
1493
1833
|
end
|
1494
1834
|
end
|