google-cloud-container 0.7.0 → 0.8.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/lib/google/cloud/container/v1beta1/cluster_manager_client.rb +139 -134
- data/lib/google/cloud/container/v1beta1/cluster_manager_client_config.json +34 -34
- data/lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb +329 -134
- data/lib/google/cloud/container/v1beta1/doc/google/protobuf/timestamp.rb +113 -0
- data/lib/google/cloud/container/version.rb +1 -1
- data/lib/google/container/v1beta1/cluster_service_pb.rb +61 -0
- data/lib/google/container/v1beta1/cluster_service_services_pb.rb +18 -19
- metadata +3 -2
@@ -21,162 +21,162 @@
|
|
21
21
|
},
|
22
22
|
"methods": {
|
23
23
|
"ListClusters": {
|
24
|
-
"timeout_millis":
|
24
|
+
"timeout_millis": 60000,
|
25
25
|
"retry_codes_name": "idempotent",
|
26
26
|
"retry_params_name": "default"
|
27
27
|
},
|
28
28
|
"GetCluster": {
|
29
|
-
"timeout_millis":
|
29
|
+
"timeout_millis": 60000,
|
30
30
|
"retry_codes_name": "idempotent",
|
31
31
|
"retry_params_name": "default"
|
32
32
|
},
|
33
33
|
"CreateCluster": {
|
34
|
-
"timeout_millis":
|
34
|
+
"timeout_millis": 60000,
|
35
35
|
"retry_codes_name": "non_idempotent",
|
36
36
|
"retry_params_name": "default"
|
37
37
|
},
|
38
38
|
"UpdateCluster": {
|
39
|
-
"timeout_millis":
|
39
|
+
"timeout_millis": 60000,
|
40
40
|
"retry_codes_name": "non_idempotent",
|
41
41
|
"retry_params_name": "default"
|
42
42
|
},
|
43
43
|
"UpdateNodePool": {
|
44
|
-
"timeout_millis":
|
44
|
+
"timeout_millis": 60000,
|
45
45
|
"retry_codes_name": "non_idempotent",
|
46
46
|
"retry_params_name": "default"
|
47
47
|
},
|
48
48
|
"SetNodePoolAutoscaling": {
|
49
|
-
"timeout_millis":
|
49
|
+
"timeout_millis": 60000,
|
50
50
|
"retry_codes_name": "non_idempotent",
|
51
51
|
"retry_params_name": "default"
|
52
52
|
},
|
53
53
|
"SetLoggingService": {
|
54
|
-
"timeout_millis":
|
54
|
+
"timeout_millis": 60000,
|
55
55
|
"retry_codes_name": "non_idempotent",
|
56
56
|
"retry_params_name": "default"
|
57
57
|
},
|
58
58
|
"SetMonitoringService": {
|
59
|
-
"timeout_millis":
|
59
|
+
"timeout_millis": 60000,
|
60
60
|
"retry_codes_name": "non_idempotent",
|
61
61
|
"retry_params_name": "default"
|
62
62
|
},
|
63
63
|
"SetAddonsConfig": {
|
64
|
-
"timeout_millis":
|
64
|
+
"timeout_millis": 60000,
|
65
65
|
"retry_codes_name": "non_idempotent",
|
66
66
|
"retry_params_name": "default"
|
67
67
|
},
|
68
68
|
"SetLocations": {
|
69
|
-
"timeout_millis":
|
69
|
+
"timeout_millis": 60000,
|
70
70
|
"retry_codes_name": "non_idempotent",
|
71
71
|
"retry_params_name": "default"
|
72
72
|
},
|
73
73
|
"UpdateMaster": {
|
74
|
-
"timeout_millis":
|
74
|
+
"timeout_millis": 60000,
|
75
75
|
"retry_codes_name": "non_idempotent",
|
76
76
|
"retry_params_name": "default"
|
77
77
|
},
|
78
78
|
"SetMasterAuth": {
|
79
|
-
"timeout_millis":
|
79
|
+
"timeout_millis": 60000,
|
80
80
|
"retry_codes_name": "non_idempotent",
|
81
81
|
"retry_params_name": "default"
|
82
82
|
},
|
83
83
|
"DeleteCluster": {
|
84
|
-
"timeout_millis":
|
85
|
-
"retry_codes_name": "
|
84
|
+
"timeout_millis": 60000,
|
85
|
+
"retry_codes_name": "non_idempotent",
|
86
86
|
"retry_params_name": "default"
|
87
87
|
},
|
88
88
|
"ListOperations": {
|
89
|
-
"timeout_millis":
|
89
|
+
"timeout_millis": 60000,
|
90
90
|
"retry_codes_name": "idempotent",
|
91
91
|
"retry_params_name": "default"
|
92
92
|
},
|
93
93
|
"GetOperation": {
|
94
|
-
"timeout_millis":
|
94
|
+
"timeout_millis": 60000,
|
95
95
|
"retry_codes_name": "idempotent",
|
96
96
|
"retry_params_name": "default"
|
97
97
|
},
|
98
98
|
"CancelOperation": {
|
99
|
-
"timeout_millis":
|
99
|
+
"timeout_millis": 60000,
|
100
100
|
"retry_codes_name": "non_idempotent",
|
101
101
|
"retry_params_name": "default"
|
102
102
|
},
|
103
103
|
"GetServerConfig": {
|
104
|
-
"timeout_millis":
|
104
|
+
"timeout_millis": 60000,
|
105
105
|
"retry_codes_name": "idempotent",
|
106
106
|
"retry_params_name": "default"
|
107
107
|
},
|
108
108
|
"ListNodePools": {
|
109
|
-
"timeout_millis":
|
109
|
+
"timeout_millis": 60000,
|
110
110
|
"retry_codes_name": "idempotent",
|
111
111
|
"retry_params_name": "default"
|
112
112
|
},
|
113
113
|
"GetNodePool": {
|
114
|
-
"timeout_millis":
|
114
|
+
"timeout_millis": 60000,
|
115
115
|
"retry_codes_name": "idempotent",
|
116
116
|
"retry_params_name": "default"
|
117
117
|
},
|
118
118
|
"CreateNodePool": {
|
119
|
-
"timeout_millis":
|
119
|
+
"timeout_millis": 60000,
|
120
120
|
"retry_codes_name": "non_idempotent",
|
121
121
|
"retry_params_name": "default"
|
122
122
|
},
|
123
123
|
"DeleteNodePool": {
|
124
|
-
"timeout_millis":
|
125
|
-
"retry_codes_name": "
|
124
|
+
"timeout_millis": 60000,
|
125
|
+
"retry_codes_name": "non_idempotent",
|
126
126
|
"retry_params_name": "default"
|
127
127
|
},
|
128
128
|
"RollbackNodePoolUpgrade": {
|
129
|
-
"timeout_millis":
|
129
|
+
"timeout_millis": 60000,
|
130
130
|
"retry_codes_name": "non_idempotent",
|
131
131
|
"retry_params_name": "default"
|
132
132
|
},
|
133
133
|
"SetNodePoolManagement": {
|
134
|
-
"timeout_millis":
|
134
|
+
"timeout_millis": 60000,
|
135
135
|
"retry_codes_name": "non_idempotent",
|
136
136
|
"retry_params_name": "default"
|
137
137
|
},
|
138
138
|
"SetLabels": {
|
139
|
-
"timeout_millis":
|
139
|
+
"timeout_millis": 60000,
|
140
140
|
"retry_codes_name": "non_idempotent",
|
141
141
|
"retry_params_name": "default"
|
142
142
|
},
|
143
143
|
"SetLegacyAbac": {
|
144
|
-
"timeout_millis":
|
144
|
+
"timeout_millis": 60000,
|
145
145
|
"retry_codes_name": "non_idempotent",
|
146
146
|
"retry_params_name": "default"
|
147
147
|
},
|
148
148
|
"StartIPRotation": {
|
149
|
-
"timeout_millis":
|
149
|
+
"timeout_millis": 60000,
|
150
150
|
"retry_codes_name": "non_idempotent",
|
151
151
|
"retry_params_name": "default"
|
152
152
|
},
|
153
153
|
"CompleteIPRotation": {
|
154
|
-
"timeout_millis":
|
154
|
+
"timeout_millis": 60000,
|
155
155
|
"retry_codes_name": "non_idempotent",
|
156
156
|
"retry_params_name": "default"
|
157
157
|
},
|
158
158
|
"SetNodePoolSize": {
|
159
|
-
"timeout_millis":
|
159
|
+
"timeout_millis": 60000,
|
160
160
|
"retry_codes_name": "non_idempotent",
|
161
161
|
"retry_params_name": "default"
|
162
162
|
},
|
163
163
|
"SetNetworkPolicy": {
|
164
|
-
"timeout_millis":
|
164
|
+
"timeout_millis": 60000,
|
165
165
|
"retry_codes_name": "non_idempotent",
|
166
166
|
"retry_params_name": "default"
|
167
167
|
},
|
168
168
|
"SetMaintenancePolicy": {
|
169
|
-
"timeout_millis":
|
169
|
+
"timeout_millis": 60000,
|
170
170
|
"retry_codes_name": "non_idempotent",
|
171
171
|
"retry_params_name": "default"
|
172
172
|
},
|
173
173
|
"ListUsableSubnetworks": {
|
174
|
-
"timeout_millis":
|
174
|
+
"timeout_millis": 60000,
|
175
175
|
"retry_codes_name": "idempotent",
|
176
176
|
"retry_params_name": "default"
|
177
177
|
},
|
178
178
|
"ListLocations": {
|
179
|
-
"timeout_millis":
|
179
|
+
"timeout_millis": 60000,
|
180
180
|
"retry_codes_name": "idempotent",
|
181
181
|
"retry_params_name": "default"
|
182
182
|
}
|
@@ -63,14 +63,22 @@ module Google
|
|
63
63
|
# "cluster-name"
|
64
64
|
# "cluster-uid"
|
65
65
|
# "configure-sh"
|
66
|
+
# "containerd-configure-sh"
|
66
67
|
# "enable-oslogin"
|
67
68
|
# "gci-ensure-gke-docker"
|
69
|
+
# "gci-metrics-enabled"
|
68
70
|
# "gci-update-strategy"
|
69
71
|
# "instance-template"
|
70
72
|
# "kube-env"
|
71
73
|
# "startup-script"
|
72
74
|
# "user-data"
|
73
|
-
#
|
75
|
+
# "disable-address-manager"
|
76
|
+
# "windows-startup-script-ps1"
|
77
|
+
# "common-psm1"
|
78
|
+
# "k8s-node-setup-psm1"
|
79
|
+
# "install-ssh-psm1"
|
80
|
+
# "user-profile-psm1"
|
81
|
+
# "serial-port-logging-enable"
|
74
82
|
# Values are free-form strings, and only have meaning as interpreted by
|
75
83
|
# the image running in the instance. The only restriction placed on them is
|
76
84
|
# that each value's size must be less than or equal to 32 KB.
|
@@ -94,9 +102,9 @@ module Google
|
|
94
102
|
# @return [Integer]
|
95
103
|
# The number of local SSD disks to be attached to the node.
|
96
104
|
#
|
97
|
-
# The limit for this value is
|
105
|
+
# The limit for this value is dependent upon the maximum number of
|
98
106
|
# disks available on a machine per zone. See:
|
99
|
-
# https://cloud.google.com/compute/docs/disks/local-ssd
|
107
|
+
# https://cloud.google.com/compute/docs/disks/local-ssd
|
100
108
|
# for more information.
|
101
109
|
# @!attribute [rw] tags
|
102
110
|
# @return [Array<String>]
|
@@ -128,6 +136,7 @@ module Google
|
|
128
136
|
# <code>minCpuPlatform: "Intel Sandy Bridge"</code>. For more
|
129
137
|
# information, read [how to specify min CPU
|
130
138
|
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
|
139
|
+
# To unset the min cpu platform field pass "automatic" as field value.
|
131
140
|
# @!attribute [rw] workload_metadata_config
|
132
141
|
# @return [Google::Container::V1beta1::WorkloadMetadataConfig]
|
133
142
|
# The workload metadata configuration for this node.
|
@@ -137,8 +146,29 @@ module Google
|
|
137
146
|
#
|
138
147
|
# For more information, including usage and the valid values, see:
|
139
148
|
# https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
149
|
+
# @!attribute [rw] shielded_instance_config
|
150
|
+
# @return [Google::Container::V1beta1::ShieldedInstanceConfig]
|
151
|
+
# Shielded Instance options.
|
140
152
|
class NodeConfig; end
|
141
153
|
|
154
|
+
# A set of Shielded Instance options.
|
155
|
+
# @!attribute [rw] enable_secure_boot
|
156
|
+
# @return [true, false]
|
157
|
+
# Defines whether the instance has Secure Boot enabled.
|
158
|
+
#
|
159
|
+
# Secure Boot helps ensure that the system only runs authentic software by
|
160
|
+
# verifying the digital signature of all boot components, and halting the
|
161
|
+
# boot process if signature verification fails.
|
162
|
+
# @!attribute [rw] enable_integrity_monitoring
|
163
|
+
# @return [true, false]
|
164
|
+
# Defines whether the instance has integrity monitoring enabled.
|
165
|
+
#
|
166
|
+
# Enables monitoring and attestation of the boot integrity of the instance.
|
167
|
+
# The attestation is performed against the integrity policy baseline. This
|
168
|
+
# baseline is initially derived from the implicitly trusted boot image when
|
169
|
+
# the instance is created.
|
170
|
+
class ShieldedInstanceConfig; end
|
171
|
+
|
142
172
|
# Kubernetes taint is comprised of three fields: key, value, and effect. Effect
|
143
173
|
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
|
144
174
|
#
|
@@ -223,6 +253,10 @@ module Google
|
|
223
253
|
# @!attribute [rw] kubernetes_dashboard
|
224
254
|
# @return [Google::Container::V1beta1::KubernetesDashboard]
|
225
255
|
# Configuration for the Kubernetes Dashboard.
|
256
|
+
# This addon is deprecated, and will be disabled in 1.15. It is recommended
|
257
|
+
# to use the Cloud Console to manage and monitor your Kubernetes clusters,
|
258
|
+
# workloads and applications. For more information, see:
|
259
|
+
# https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
|
226
260
|
# @!attribute [rw] network_policy_config
|
227
261
|
# @return [Google::Container::V1beta1::NetworkPolicyConfig]
|
228
262
|
# Configuration for NetworkPolicy. This only tracks whether the addon
|
@@ -508,11 +542,23 @@ module Google
|
|
508
542
|
# must be valid under a PodSecurityPolicy to be created.
|
509
543
|
class PodSecurityPolicyConfig; end
|
510
544
|
|
545
|
+
# Configuration for returning group information from authenticators.
|
546
|
+
# @!attribute [rw] enabled
|
547
|
+
# @return [true, false]
|
548
|
+
# Whether this cluster should return group membership lookups
|
549
|
+
# during authentication using a group of security groups.
|
550
|
+
# @!attribute [rw] security_group
|
551
|
+
# @return [String]
|
552
|
+
# The name of the security group-of-groups to be used. Only relevant
|
553
|
+
# if enabled = true.
|
554
|
+
class AuthenticatorGroupsConfig; end
|
555
|
+
|
511
556
|
# A Google Kubernetes Engine cluster.
|
512
557
|
# @!attribute [rw] name
|
513
558
|
# @return [String]
|
514
559
|
# The name of this cluster. The name must be unique within this project
|
515
|
-
# and zone, and can be up to 40 characters with
|
560
|
+
# and location (e.g. zone or region), and can be up to 40 characters with
|
561
|
+
# the following restrictions:
|
516
562
|
#
|
517
563
|
# * Lowercase letters, numbers, and hyphens only.
|
518
564
|
# * Must start with a letter.
|
@@ -530,18 +576,21 @@ module Google
|
|
530
576
|
# "node_pool" object, since this configuration (along with the
|
531
577
|
# "node_config") will be used to create a "NodePool" object with an
|
532
578
|
# auto-generated name. Do not use this and a node_pool at the same time.
|
579
|
+
#
|
580
|
+
# This field is deprecated, use node_pool.initial_node_count instead.
|
533
581
|
# @!attribute [rw] node_config
|
534
582
|
# @return [Google::Container::V1beta1::NodeConfig]
|
535
583
|
# Parameters used in creating the cluster's nodes.
|
536
|
-
# See `nodeConfig` for the description of its properties.
|
537
584
|
# For requests, this field should only be used in lieu of a
|
538
585
|
# "node_pool" object, since this configuration (along with the
|
539
586
|
# "initial_node_count") will be used to create a "NodePool" object with an
|
540
587
|
# auto-generated name. Do not use this and a node_pool at the same time.
|
541
588
|
# For responses, this field will be populated with the node configuration of
|
542
|
-
# the first node pool.
|
589
|
+
# the first node pool. (For configuration of each node pool, see
|
590
|
+
# `node_pool.config`)
|
543
591
|
#
|
544
592
|
# If unspecified, the defaults are used.
|
593
|
+
# This field is deprecated, use node_pool.config instead.
|
545
594
|
# @!attribute [rw] master_auth
|
546
595
|
# @return [Google::Container::V1beta1::MasterAuth]
|
547
596
|
# The authentication information for accessing the master endpoint.
|
@@ -662,6 +711,9 @@ module Google
|
|
662
711
|
# @return [Google::Container::V1beta1::ResourceUsageExportConfig]
|
663
712
|
# Configuration for exporting resource usages. Resource usage export is
|
664
713
|
# disabled when this config unspecified.
|
714
|
+
# @!attribute [rw] authenticator_groups_config
|
715
|
+
# @return [Google::Container::V1beta1::AuthenticatorGroupsConfig]
|
716
|
+
# Configuration controlling RBAC group membership information.
|
665
717
|
# @!attribute [rw] private_cluster_config
|
666
718
|
# @return [Google::Container::V1beta1::PrivateClusterConfig]
|
667
719
|
# Configuration for private cluster.
|
@@ -706,7 +758,7 @@ module Google
|
|
706
758
|
# @!attribute [rw] current_node_version
|
707
759
|
# @return [String]
|
708
760
|
# [Output only] Deprecated, use
|
709
|
-
# [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.
|
761
|
+
# [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
|
710
762
|
# instead. The current version of the node software components.
|
711
763
|
# If they are currently at multiple versions because they're in the process
|
712
764
|
# of being upgraded, this reflects the minimum version of all nodes.
|
@@ -725,7 +777,8 @@ module Google
|
|
725
777
|
# @return [Integer]
|
726
778
|
# [Output only] The size of the address space on each node for hosting
|
727
779
|
# containers. This is provisioned from within the `container_ipv4_cidr`
|
728
|
-
# range.
|
780
|
+
# range. This field will only be set when cluster is in route-based network
|
781
|
+
# mode.
|
729
782
|
# @!attribute [rw] services_ipv4_cidr
|
730
783
|
# @return [String]
|
731
784
|
# [Output only] The IP address range of the Kubernetes services in
|
@@ -758,6 +811,9 @@ module Google
|
|
758
811
|
# [Output only] The IP address range of the Cloud TPUs in this cluster, in
|
759
812
|
# [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
|
760
813
|
# notation (e.g. `1.2.3.4/29`).
|
814
|
+
# @!attribute [rw] database_encryption
|
815
|
+
# @return [Google::Container::V1beta1::DatabaseEncryption]
|
816
|
+
# Configuration of etcd encryption.
|
761
817
|
# @!attribute [rw] conditions
|
762
818
|
# @return [Array<Google::Container::V1beta1::StatusCondition>]
|
763
819
|
# Which conditions caused the current cluster state.
|
@@ -814,7 +870,7 @@ module Google
|
|
814
870
|
# Currently available options:
|
815
871
|
#
|
816
872
|
# * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring
|
817
|
-
# service with Kubernetes-native resource model
|
873
|
+
# service with Kubernetes-native resource model
|
818
874
|
# * "monitoring.googleapis.com" - the Google Cloud Monitoring service
|
819
875
|
# * "none" - no metrics will be exported from the cluster
|
820
876
|
# @!attribute [rw] desired_addons_config
|
@@ -823,9 +879,9 @@ module Google
|
|
823
879
|
# @!attribute [rw] desired_node_pool_id
|
824
880
|
# @return [String]
|
825
881
|
# The node pool to be upgraded. This field is mandatory if
|
826
|
-
# "desired_node_version", "desired_image_family"
|
827
|
-
# "desired_node_pool_autoscaling"
|
828
|
-
# node pool on the cluster.
|
882
|
+
# "desired_node_version", "desired_image_family",
|
883
|
+
# "desired_node_pool_autoscaling", or "desired_workload_metadata_config"
|
884
|
+
# is specified and there is more than one node pool on the cluster.
|
829
885
|
# @!attribute [rw] desired_image_type
|
830
886
|
# @return [String]
|
831
887
|
# The desired image type for the node pool.
|
@@ -863,7 +919,7 @@ module Google
|
|
863
919
|
# Currently available options:
|
864
920
|
#
|
865
921
|
# * "logging.googleapis.com/kubernetes" - the Google Cloud Logging
|
866
|
-
# service with Kubernetes-native resource model
|
922
|
+
# service with Kubernetes-native resource model
|
867
923
|
# * "logging.googleapis.com" - the Google Cloud Logging service
|
868
924
|
# * "none" - no logs will be exported from the cluster
|
869
925
|
# @!attribute [rw] desired_resource_usage_export_config
|
@@ -872,6 +928,9 @@ module Google
|
|
872
928
|
# @!attribute [rw] desired_vertical_pod_autoscaling
|
873
929
|
# @return [Google::Container::V1beta1::VerticalPodAutoscaling]
|
874
930
|
# Cluster-level Vertical Pod Autoscaling configuration.
|
931
|
+
# @!attribute [rw] desired_intra_node_visibility_config
|
932
|
+
# @return [Google::Container::V1beta1::IntraNodeVisibilityConfig]
|
933
|
+
# The desired config of Intra-node visibility.
|
875
934
|
# @!attribute [rw] desired_master_version
|
876
935
|
# @return [String]
|
877
936
|
# The Kubernetes version to change the master to. The only valid value is the
|
@@ -1054,18 +1113,18 @@ module Google
|
|
1054
1113
|
# CreateClusterRequest creates a cluster.
|
1055
1114
|
# @!attribute [rw] project_id
|
1056
1115
|
# @return [String]
|
1057
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1116
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1058
1117
|
# number](https://support.google.com/cloud/answer/6158840).
|
1059
1118
|
# This field has been deprecated and replaced by the parent field.
|
1060
1119
|
# @!attribute [rw] zone
|
1061
1120
|
# @return [String]
|
1062
|
-
# Deprecated. The name of the Google Compute Engine
|
1121
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1063
1122
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1064
1123
|
# resides.
|
1065
1124
|
# This field has been deprecated and replaced by the parent field.
|
1066
1125
|
# @!attribute [rw] cluster
|
1067
1126
|
# @return [Google::Container::V1beta1::Cluster]
|
1068
|
-
# A [cluster
|
1127
|
+
# Required. A [cluster
|
1069
1128
|
# resource](/container-engine/reference/rest/v1beta1/projects.zones.clusters)
|
1070
1129
|
# @!attribute [rw] parent
|
1071
1130
|
# @return [String]
|
@@ -1076,18 +1135,18 @@ module Google
|
|
1076
1135
|
# GetClusterRequest gets the settings of a cluster.
|
1077
1136
|
# @!attribute [rw] project_id
|
1078
1137
|
# @return [String]
|
1079
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1138
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1080
1139
|
# number](https://support.google.com/cloud/answer/6158840).
|
1081
1140
|
# This field has been deprecated and replaced by the name field.
|
1082
1141
|
# @!attribute [rw] zone
|
1083
1142
|
# @return [String]
|
1084
|
-
# Deprecated. The name of the Google Compute Engine
|
1143
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1085
1144
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1086
1145
|
# resides.
|
1087
1146
|
# This field has been deprecated and replaced by the name field.
|
1088
1147
|
# @!attribute [rw] cluster_id
|
1089
1148
|
# @return [String]
|
1090
|
-
# Deprecated. The name of the cluster to retrieve.
|
1149
|
+
# Required. Deprecated. The name of the cluster to retrieve.
|
1091
1150
|
# This field has been deprecated and replaced by the name field.
|
1092
1151
|
# @!attribute [rw] name
|
1093
1152
|
# @return [String]
|
@@ -1098,22 +1157,22 @@ module Google
|
|
1098
1157
|
# UpdateClusterRequest updates the settings of a cluster.
|
1099
1158
|
# @!attribute [rw] project_id
|
1100
1159
|
# @return [String]
|
1101
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1160
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1102
1161
|
# number](https://support.google.com/cloud/answer/6158840).
|
1103
1162
|
# This field has been deprecated and replaced by the name field.
|
1104
1163
|
# @!attribute [rw] zone
|
1105
1164
|
# @return [String]
|
1106
|
-
# Deprecated. The name of the Google Compute Engine
|
1165
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1107
1166
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1108
1167
|
# resides.
|
1109
1168
|
# This field has been deprecated and replaced by the name field.
|
1110
1169
|
# @!attribute [rw] cluster_id
|
1111
1170
|
# @return [String]
|
1112
|
-
# Deprecated. The name of the cluster to upgrade.
|
1171
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
1113
1172
|
# This field has been deprecated and replaced by the name field.
|
1114
1173
|
# @!attribute [rw] update
|
1115
1174
|
# @return [Google::Container::V1beta1::ClusterUpdate]
|
1116
|
-
# A description of the update.
|
1175
|
+
# Required. A description of the update.
|
1117
1176
|
# @!attribute [rw] name
|
1118
1177
|
# @return [String]
|
1119
1178
|
# The name (project, location, cluster) of the cluster to update.
|
@@ -1123,26 +1182,26 @@ module Google
|
|
1123
1182
|
# SetNodePoolVersionRequest updates the version of a node pool.
|
1124
1183
|
# @!attribute [rw] project_id
|
1125
1184
|
# @return [String]
|
1126
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1185
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1127
1186
|
# number](https://support.google.com/cloud/answer/6158840).
|
1128
1187
|
# This field has been deprecated and replaced by the name field.
|
1129
1188
|
# @!attribute [rw] zone
|
1130
1189
|
# @return [String]
|
1131
|
-
# Deprecated. The name of the Google Compute Engine
|
1190
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1132
1191
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1133
1192
|
# resides.
|
1134
1193
|
# This field has been deprecated and replaced by the name field.
|
1135
1194
|
# @!attribute [rw] cluster_id
|
1136
1195
|
# @return [String]
|
1137
|
-
# Deprecated. The name of the cluster to upgrade.
|
1196
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
1138
1197
|
# This field has been deprecated and replaced by the name field.
|
1139
1198
|
# @!attribute [rw] node_pool_id
|
1140
1199
|
# @return [String]
|
1141
|
-
# Deprecated. The name of the node pool to upgrade.
|
1200
|
+
# Required. Deprecated. The name of the node pool to upgrade.
|
1142
1201
|
# This field has been deprecated and replaced by the name field.
|
1143
1202
|
# @!attribute [rw] node_version
|
1144
1203
|
# @return [String]
|
1145
|
-
# The Kubernetes version to change the nodes to (typically an
|
1204
|
+
# Required. The Kubernetes version to change the nodes to (typically an
|
1146
1205
|
# upgrade).
|
1147
1206
|
#
|
1148
1207
|
# Users may specify either explicit versions offered by Kubernetes Engine or
|
@@ -1155,6 +1214,9 @@ module Google
|
|
1155
1214
|
# * "-": picks the Kubernetes master version
|
1156
1215
|
# @!attribute [rw] image_type
|
1157
1216
|
# @return [String]
|
1217
|
+
# Required. The desired image type for the node pool.
|
1218
|
+
# @!attribute [rw] workload_metadata_config
|
1219
|
+
# @return [Google::Container::V1beta1::WorkloadMetadataConfig]
|
1158
1220
|
# The desired image type for the node pool.
|
1159
1221
|
# @!attribute [rw] name
|
1160
1222
|
# @return [String]
|
@@ -1166,26 +1228,26 @@ module Google
|
|
1166
1228
|
# SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
|
1167
1229
|
# @!attribute [rw] project_id
|
1168
1230
|
# @return [String]
|
1169
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1231
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1170
1232
|
# number](https://support.google.com/cloud/answer/6158840).
|
1171
1233
|
# This field has been deprecated and replaced by the name field.
|
1172
1234
|
# @!attribute [rw] zone
|
1173
1235
|
# @return [String]
|
1174
|
-
# Deprecated. The name of the Google Compute Engine
|
1236
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1175
1237
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1176
1238
|
# resides.
|
1177
1239
|
# This field has been deprecated and replaced by the name field.
|
1178
1240
|
# @!attribute [rw] cluster_id
|
1179
1241
|
# @return [String]
|
1180
|
-
# Deprecated. The name of the cluster to upgrade.
|
1242
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
1181
1243
|
# This field has been deprecated and replaced by the name field.
|
1182
1244
|
# @!attribute [rw] node_pool_id
|
1183
1245
|
# @return [String]
|
1184
|
-
# Deprecated. The name of the node pool to upgrade.
|
1246
|
+
# Required. Deprecated. The name of the node pool to upgrade.
|
1185
1247
|
# This field has been deprecated and replaced by the name field.
|
1186
1248
|
# @!attribute [rw] autoscaling
|
1187
1249
|
# @return [Google::Container::V1beta1::NodePoolAutoscaling]
|
1188
|
-
# Autoscaling configuration for the node pool.
|
1250
|
+
# Required. Autoscaling configuration for the node pool.
|
1189
1251
|
# @!attribute [rw] name
|
1190
1252
|
# @return [String]
|
1191
1253
|
# The name (project, location, cluster, node pool) of the node pool to set
|
@@ -1196,22 +1258,22 @@ module Google
|
|
1196
1258
|
# SetLoggingServiceRequest sets the logging service of a cluster.
|
1197
1259
|
# @!attribute [rw] project_id
|
1198
1260
|
# @return [String]
|
1199
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1261
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1200
1262
|
# number](https://support.google.com/cloud/answer/6158840).
|
1201
1263
|
# This field has been deprecated and replaced by the name field.
|
1202
1264
|
# @!attribute [rw] zone
|
1203
1265
|
# @return [String]
|
1204
|
-
# Deprecated. The name of the Google Compute Engine
|
1266
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1205
1267
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1206
1268
|
# resides.
|
1207
1269
|
# This field has been deprecated and replaced by the name field.
|
1208
1270
|
# @!attribute [rw] cluster_id
|
1209
1271
|
# @return [String]
|
1210
|
-
# Deprecated. The name of the cluster to upgrade.
|
1272
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
1211
1273
|
# This field has been deprecated and replaced by the name field.
|
1212
1274
|
# @!attribute [rw] logging_service
|
1213
1275
|
# @return [String]
|
1214
|
-
# The logging service the cluster should use to write metrics.
|
1276
|
+
# Required. The logging service the cluster should use to write metrics.
|
1215
1277
|
# Currently available options:
|
1216
1278
|
#
|
1217
1279
|
# * "logging.googleapis.com" - the Google Cloud Logging service
|
@@ -1225,22 +1287,22 @@ module Google
|
|
1225
1287
|
# SetMonitoringServiceRequest sets the monitoring service of a cluster.
|
1226
1288
|
# @!attribute [rw] project_id
|
1227
1289
|
# @return [String]
|
1228
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1290
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1229
1291
|
# number](https://support.google.com/cloud/answer/6158840).
|
1230
1292
|
# This field has been deprecated and replaced by the name field.
|
1231
1293
|
# @!attribute [rw] zone
|
1232
1294
|
# @return [String]
|
1233
|
-
# Deprecated. The name of the Google Compute Engine
|
1295
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1234
1296
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1235
1297
|
# resides.
|
1236
1298
|
# This field has been deprecated and replaced by the name field.
|
1237
1299
|
# @!attribute [rw] cluster_id
|
1238
1300
|
# @return [String]
|
1239
|
-
# Deprecated. The name of the cluster to upgrade.
|
1301
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
1240
1302
|
# This field has been deprecated and replaced by the name field.
|
1241
1303
|
# @!attribute [rw] monitoring_service
|
1242
1304
|
# @return [String]
|
1243
|
-
# The monitoring service the cluster should use to write metrics.
|
1305
|
+
# Required. The monitoring service the cluster should use to write metrics.
|
1244
1306
|
# Currently available options:
|
1245
1307
|
#
|
1246
1308
|
# * "monitoring.googleapis.com" - the Google Cloud Monitoring service
|
@@ -1254,22 +1316,22 @@ module Google
|
|
1254
1316
|
# SetAddonsRequest sets the addons associated with the cluster.
|
1255
1317
|
# @!attribute [rw] project_id
|
1256
1318
|
# @return [String]
|
1257
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1319
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1258
1320
|
# number](https://support.google.com/cloud/answer/6158840).
|
1259
1321
|
# This field has been deprecated and replaced by the name field.
|
1260
1322
|
# @!attribute [rw] zone
|
1261
1323
|
# @return [String]
|
1262
|
-
# Deprecated. The name of the Google Compute Engine
|
1324
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1263
1325
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1264
1326
|
# resides.
|
1265
1327
|
# This field has been deprecated and replaced by the name field.
|
1266
1328
|
# @!attribute [rw] cluster_id
|
1267
1329
|
# @return [String]
|
1268
|
-
# Deprecated. The name of the cluster to upgrade.
|
1330
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
1269
1331
|
# This field has been deprecated and replaced by the name field.
|
1270
1332
|
# @!attribute [rw] addons_config
|
1271
1333
|
# @return [Google::Container::V1beta1::AddonsConfig]
|
1272
|
-
# The desired configurations for the various addons available to run in the
|
1334
|
+
# Required. The desired configurations for the various addons available to run in the
|
1273
1335
|
# cluster.
|
1274
1336
|
# @!attribute [rw] name
|
1275
1337
|
# @return [String]
|
@@ -1280,22 +1342,22 @@ module Google
|
|
1280
1342
|
# SetLocationsRequest sets the locations of the cluster.
|
1281
1343
|
# @!attribute [rw] project_id
|
1282
1344
|
# @return [String]
|
1283
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1345
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1284
1346
|
# number](https://support.google.com/cloud/answer/6158840).
|
1285
1347
|
# This field has been deprecated and replaced by the name field.
|
1286
1348
|
# @!attribute [rw] zone
|
1287
1349
|
# @return [String]
|
1288
|
-
# Deprecated. The name of the Google Compute Engine
|
1350
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1289
1351
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1290
1352
|
# resides.
|
1291
1353
|
# This field has been deprecated and replaced by the name field.
|
1292
1354
|
# @!attribute [rw] cluster_id
|
1293
1355
|
# @return [String]
|
1294
|
-
# Deprecated. The name of the cluster to upgrade.
|
1356
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
1295
1357
|
# This field has been deprecated and replaced by the name field.
|
1296
1358
|
# @!attribute [rw] locations
|
1297
1359
|
# @return [Array<String>]
|
1298
|
-
# The desired list of Google Compute Engine
|
1360
|
+
# Required. The desired list of Google Compute Engine
|
1299
1361
|
# [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes
|
1300
1362
|
# should be located. Changing the locations a cluster is in will result
|
1301
1363
|
# in nodes being either created or removed from the cluster, depending on
|
@@ -1311,22 +1373,22 @@ module Google
|
|
1311
1373
|
# UpdateMasterRequest updates the master of the cluster.
|
1312
1374
|
# @!attribute [rw] project_id
|
1313
1375
|
# @return [String]
|
1314
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1376
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1315
1377
|
# number](https://support.google.com/cloud/answer/6158840).
|
1316
1378
|
# This field has been deprecated and replaced by the name field.
|
1317
1379
|
# @!attribute [rw] zone
|
1318
1380
|
# @return [String]
|
1319
|
-
# Deprecated. The name of the Google Compute Engine
|
1381
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1320
1382
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1321
1383
|
# resides.
|
1322
1384
|
# This field has been deprecated and replaced by the name field.
|
1323
1385
|
# @!attribute [rw] cluster_id
|
1324
1386
|
# @return [String]
|
1325
|
-
# Deprecated. The name of the cluster to upgrade.
|
1387
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
1326
1388
|
# This field has been deprecated and replaced by the name field.
|
1327
1389
|
# @!attribute [rw] master_version
|
1328
1390
|
# @return [String]
|
1329
|
-
# The Kubernetes version to change the master to.
|
1391
|
+
# Required. The Kubernetes version to change the master to.
|
1330
1392
|
#
|
1331
1393
|
# Users may specify either explicit versions offered by
|
1332
1394
|
# Kubernetes Engine or version aliases, which have the following behavior:
|
@@ -1345,25 +1407,25 @@ module Google
|
|
1345
1407
|
# SetMasterAuthRequest updates the admin password of a cluster.
|
1346
1408
|
# @!attribute [rw] project_id
|
1347
1409
|
# @return [String]
|
1348
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1410
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1349
1411
|
# number](https://support.google.com/cloud/answer/6158840).
|
1350
1412
|
# This field has been deprecated and replaced by the name field.
|
1351
1413
|
# @!attribute [rw] zone
|
1352
1414
|
# @return [String]
|
1353
|
-
# Deprecated. The name of the Google Compute Engine
|
1415
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1354
1416
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1355
1417
|
# resides.
|
1356
1418
|
# This field has been deprecated and replaced by the name field.
|
1357
1419
|
# @!attribute [rw] cluster_id
|
1358
1420
|
# @return [String]
|
1359
|
-
# Deprecated. The name of the cluster to upgrade.
|
1421
|
+
# Required. Deprecated. The name of the cluster to upgrade.
|
1360
1422
|
# This field has been deprecated and replaced by the name field.
|
1361
1423
|
# @!attribute [rw] action
|
1362
1424
|
# @return [Google::Container::V1beta1::SetMasterAuthRequest::Action]
|
1363
|
-
# The exact form of action to be taken on the master auth.
|
1425
|
+
# Required. The exact form of action to be taken on the master auth.
|
1364
1426
|
# @!attribute [rw] update
|
1365
1427
|
# @return [Google::Container::V1beta1::MasterAuth]
|
1366
|
-
# A description of the update.
|
1428
|
+
# Required. A description of the update.
|
1367
1429
|
# @!attribute [rw] name
|
1368
1430
|
# @return [String]
|
1369
1431
|
# The name (project, location, cluster) of the cluster to set auth.
|
@@ -1391,18 +1453,18 @@ module Google
|
|
1391
1453
|
# DeleteClusterRequest deletes a cluster.
|
1392
1454
|
# @!attribute [rw] project_id
|
1393
1455
|
# @return [String]
|
1394
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1456
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1395
1457
|
# number](https://support.google.com/cloud/answer/6158840).
|
1396
1458
|
# This field has been deprecated and replaced by the name field.
|
1397
1459
|
# @!attribute [rw] zone
|
1398
1460
|
# @return [String]
|
1399
|
-
# Deprecated. The name of the Google Compute Engine
|
1461
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1400
1462
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1401
1463
|
# resides.
|
1402
1464
|
# This field has been deprecated and replaced by the name field.
|
1403
1465
|
# @!attribute [rw] cluster_id
|
1404
1466
|
# @return [String]
|
1405
|
-
# Deprecated. The name of the cluster to delete.
|
1467
|
+
# Required. Deprecated. The name of the cluster to delete.
|
1406
1468
|
# This field has been deprecated and replaced by the name field.
|
1407
1469
|
# @!attribute [rw] name
|
1408
1470
|
# @return [String]
|
@@ -1413,12 +1475,12 @@ module Google
|
|
1413
1475
|
# ListClustersRequest lists clusters.
|
1414
1476
|
# @!attribute [rw] project_id
|
1415
1477
|
# @return [String]
|
1416
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1478
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1417
1479
|
# number](https://support.google.com/cloud/answer/6158840).
|
1418
1480
|
# This field has been deprecated and replaced by the parent field.
|
1419
1481
|
# @!attribute [rw] zone
|
1420
1482
|
# @return [String]
|
1421
|
-
# Deprecated. The name of the Google Compute Engine
|
1483
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1422
1484
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1423
1485
|
# resides, or "-" for all zones.
|
1424
1486
|
# This field has been deprecated and replaced by the parent field.
|
@@ -1443,18 +1505,18 @@ module Google
|
|
1443
1505
|
# GetOperationRequest gets a single operation.
|
1444
1506
|
# @!attribute [rw] project_id
|
1445
1507
|
# @return [String]
|
1446
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1508
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1447
1509
|
# number](https://support.google.com/cloud/answer/6158840).
|
1448
1510
|
# This field has been deprecated and replaced by the name field.
|
1449
1511
|
# @!attribute [rw] zone
|
1450
1512
|
# @return [String]
|
1451
|
-
# Deprecated. The name of the Google Compute Engine
|
1513
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1452
1514
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1453
1515
|
# resides.
|
1454
1516
|
# This field has been deprecated and replaced by the name field.
|
1455
1517
|
# @!attribute [rw] operation_id
|
1456
1518
|
# @return [String]
|
1457
|
-
# Deprecated. The server-assigned `name` of the operation.
|
1519
|
+
# Required. Deprecated. The server-assigned `name` of the operation.
|
1458
1520
|
# This field has been deprecated and replaced by the name field.
|
1459
1521
|
# @!attribute [rw] name
|
1460
1522
|
# @return [String]
|
@@ -1465,12 +1527,12 @@ module Google
|
|
1465
1527
|
# ListOperationsRequest lists operations.
|
1466
1528
|
# @!attribute [rw] project_id
|
1467
1529
|
# @return [String]
|
1468
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1530
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1469
1531
|
# number](https://support.google.com/cloud/answer/6158840).
|
1470
1532
|
# This field has been deprecated and replaced by the parent field.
|
1471
1533
|
# @!attribute [rw] zone
|
1472
1534
|
# @return [String]
|
1473
|
-
# Deprecated. The name of the Google Compute Engine
|
1535
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1474
1536
|
# [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for
|
1475
1537
|
# all zones. This field has been deprecated and replaced by the parent field.
|
1476
1538
|
# @!attribute [rw] parent
|
@@ -1483,17 +1545,17 @@ module Google
|
|
1483
1545
|
# CancelOperationRequest cancels a single operation.
|
1484
1546
|
# @!attribute [rw] project_id
|
1485
1547
|
# @return [String]
|
1486
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1548
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1487
1549
|
# number](https://support.google.com/cloud/answer/6158840).
|
1488
1550
|
# This field has been deprecated and replaced by the name field.
|
1489
1551
|
# @!attribute [rw] zone
|
1490
1552
|
# @return [String]
|
1491
|
-
# Deprecated. The name of the Google Compute Engine
|
1553
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1492
1554
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
|
1493
1555
|
# This field has been deprecated and replaced by the name field.
|
1494
1556
|
# @!attribute [rw] operation_id
|
1495
1557
|
# @return [String]
|
1496
|
-
# Deprecated. The server-assigned `name` of the operation.
|
1558
|
+
# Required. Deprecated. The server-assigned `name` of the operation.
|
1497
1559
|
# This field has been deprecated and replaced by the name field.
|
1498
1560
|
# @!attribute [rw] name
|
1499
1561
|
# @return [String]
|
@@ -1514,18 +1576,18 @@ module Google
|
|
1514
1576
|
# Gets the current Kubernetes Engine service configuration.
|
1515
1577
|
# @!attribute [rw] project_id
|
1516
1578
|
# @return [String]
|
1517
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1579
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1518
1580
|
# number](https://support.google.com/cloud/answer/6158840).
|
1519
1581
|
# This field has been deprecated and replaced by the name field.
|
1520
1582
|
# @!attribute [rw] zone
|
1521
1583
|
# @return [String]
|
1522
|
-
# Deprecated. The name of the Google Compute Engine
|
1584
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1523
1585
|
# [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for.
|
1524
1586
|
# This field has been deprecated and replaced by the name field.
|
1525
1587
|
# @!attribute [rw] name
|
1526
1588
|
# @return [String]
|
1527
|
-
# The name (project and location) of the server config to get
|
1528
|
-
#
|
1589
|
+
# The name (project and location) of the server config to get,
|
1590
|
+
# specified in the format 'projects/*/locations/*'.
|
1529
1591
|
class GetServerConfigRequest; end
|
1530
1592
|
|
1531
1593
|
# Kubernetes Engine service configuration.
|
@@ -1549,22 +1611,22 @@ module Google
|
|
1549
1611
|
# CreateNodePoolRequest creates a node pool for a cluster.
|
1550
1612
|
# @!attribute [rw] project_id
|
1551
1613
|
# @return [String]
|
1552
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1614
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1553
1615
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1554
1616
|
# This field has been deprecated and replaced by the parent field.
|
1555
1617
|
# @!attribute [rw] zone
|
1556
1618
|
# @return [String]
|
1557
|
-
# Deprecated. The name of the Google Compute Engine
|
1619
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1558
1620
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1559
1621
|
# resides.
|
1560
1622
|
# This field has been deprecated and replaced by the parent field.
|
1561
1623
|
# @!attribute [rw] cluster_id
|
1562
1624
|
# @return [String]
|
1563
|
-
# Deprecated. The name of the cluster.
|
1625
|
+
# Required. Deprecated. The name of the cluster.
|
1564
1626
|
# This field has been deprecated and replaced by the parent field.
|
1565
1627
|
# @!attribute [rw] node_pool
|
1566
1628
|
# @return [Google::Container::V1beta1::NodePool]
|
1567
|
-
# The node pool to create.
|
1629
|
+
# Required. The node pool to create.
|
1568
1630
|
# @!attribute [rw] parent
|
1569
1631
|
# @return [String]
|
1570
1632
|
# The parent (project, location, cluster id) where the node pool will be
|
@@ -1575,22 +1637,22 @@ module Google
|
|
1575
1637
|
# DeleteNodePoolRequest deletes a node pool for a cluster.
|
1576
1638
|
# @!attribute [rw] project_id
|
1577
1639
|
# @return [String]
|
1578
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1640
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1579
1641
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1580
1642
|
# This field has been deprecated and replaced by the name field.
|
1581
1643
|
# @!attribute [rw] zone
|
1582
1644
|
# @return [String]
|
1583
|
-
# Deprecated. The name of the Google Compute Engine
|
1645
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1584
1646
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1585
1647
|
# resides.
|
1586
1648
|
# This field has been deprecated and replaced by the name field.
|
1587
1649
|
# @!attribute [rw] cluster_id
|
1588
1650
|
# @return [String]
|
1589
|
-
# Deprecated. The name of the cluster.
|
1651
|
+
# Required. Deprecated. The name of the cluster.
|
1590
1652
|
# This field has been deprecated and replaced by the name field.
|
1591
1653
|
# @!attribute [rw] node_pool_id
|
1592
1654
|
# @return [String]
|
1593
|
-
# Deprecated. The name of the node pool to delete.
|
1655
|
+
# Required. Deprecated. The name of the node pool to delete.
|
1594
1656
|
# This field has been deprecated and replaced by the name field.
|
1595
1657
|
# @!attribute [rw] name
|
1596
1658
|
# @return [String]
|
@@ -1602,18 +1664,18 @@ module Google
|
|
1602
1664
|
# ListNodePoolsRequest lists the node pool(s) for a cluster.
|
1603
1665
|
# @!attribute [rw] project_id
|
1604
1666
|
# @return [String]
|
1605
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1667
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1606
1668
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1607
1669
|
# This field has been deprecated and replaced by the parent field.
|
1608
1670
|
# @!attribute [rw] zone
|
1609
1671
|
# @return [String]
|
1610
|
-
# Deprecated. The name of the Google Compute Engine
|
1672
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1611
1673
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1612
1674
|
# resides.
|
1613
1675
|
# This field has been deprecated and replaced by the parent field.
|
1614
1676
|
# @!attribute [rw] cluster_id
|
1615
1677
|
# @return [String]
|
1616
|
-
# Deprecated. The name of the cluster.
|
1678
|
+
# Required. Deprecated. The name of the cluster.
|
1617
1679
|
# This field has been deprecated and replaced by the parent field.
|
1618
1680
|
# @!attribute [rw] parent
|
1619
1681
|
# @return [String]
|
@@ -1624,22 +1686,22 @@ module Google
|
|
1624
1686
|
# GetNodePoolRequest retrieves a node pool for a cluster.
|
1625
1687
|
# @!attribute [rw] project_id
|
1626
1688
|
# @return [String]
|
1627
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1689
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1628
1690
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1629
1691
|
# This field has been deprecated and replaced by the name field.
|
1630
1692
|
# @!attribute [rw] zone
|
1631
1693
|
# @return [String]
|
1632
|
-
# Deprecated. The name of the Google Compute Engine
|
1694
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1633
1695
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1634
1696
|
# resides.
|
1635
1697
|
# This field has been deprecated and replaced by the name field.
|
1636
1698
|
# @!attribute [rw] cluster_id
|
1637
1699
|
# @return [String]
|
1638
|
-
# Deprecated. The name of the cluster.
|
1700
|
+
# Required. Deprecated. The name of the cluster.
|
1639
1701
|
# This field has been deprecated and replaced by the name field.
|
1640
1702
|
# @!attribute [rw] node_pool_id
|
1641
1703
|
# @return [String]
|
1642
|
-
# Deprecated. The name of the node pool.
|
1704
|
+
# Required. Deprecated. The name of the node pool.
|
1643
1705
|
# This field has been deprecated and replaced by the name field.
|
1644
1706
|
# @!attribute [rw] name
|
1645
1707
|
# @return [String]
|
@@ -1698,6 +1760,9 @@ module Google
|
|
1698
1760
|
# @!attribute [rw] conditions
|
1699
1761
|
# @return [Array<Google::Container::V1beta1::StatusCondition>]
|
1700
1762
|
# Which conditions caused the current node pool state.
|
1763
|
+
# @!attribute [rw] pod_ipv4_cidr_size
|
1764
|
+
# @return [Integer]
|
1765
|
+
# [Output only] The pod CIDR block size per node in this node pool.
|
1701
1766
|
class NodePool
|
1702
1767
|
# The current status of the node pool instance.
|
1703
1768
|
module Status
|
@@ -1761,19 +1826,80 @@ module Google
|
|
1761
1826
|
# @!attribute [rw] window
|
1762
1827
|
# @return [Google::Container::V1beta1::MaintenanceWindow]
|
1763
1828
|
# Specifies the maintenance window in which maintenance may be performed.
|
1829
|
+
# @!attribute [rw] resource_version
|
1830
|
+
# @return [String]
|
1831
|
+
# A hash identifying the version of this policy, so that updates to fields of
|
1832
|
+
# the policy won't accidentally undo intermediate changes (and so that users
|
1833
|
+
# of the API unaware of some fields won't accidentally remove other fields).
|
1834
|
+
# Make a <code>get()</code> request to the cluster to get the current
|
1835
|
+
# resource version and include it with requests to set the policy.
|
1764
1836
|
class MaintenancePolicy; end
|
1765
1837
|
|
1766
1838
|
# MaintenanceWindow defines the maintenance window to be used for the cluster.
|
1767
1839
|
# @!attribute [rw] daily_maintenance_window
|
1768
1840
|
# @return [Google::Container::V1beta1::DailyMaintenanceWindow]
|
1769
1841
|
# DailyMaintenanceWindow specifies a daily maintenance operation window.
|
1842
|
+
# @!attribute [rw] recurring_window
|
1843
|
+
# @return [Google::Container::V1beta1::RecurringTimeWindow]
|
1844
|
+
# RecurringWindow specifies some number of recurring time periods for
|
1845
|
+
# maintenance to occur. The time windows may be overlapping. If no
|
1846
|
+
# maintenance windows are set, maintenance can occur at any time.
|
1847
|
+
# @!attribute [rw] maintenance_exclusions
|
1848
|
+
# @return [Hash{String => Google::Container::V1beta1::TimeWindow}]
|
1849
|
+
# Exceptions to maintenance window. Non-emergency maintenance should not
|
1850
|
+
# occur in these windows.
|
1770
1851
|
class MaintenanceWindow; end
|
1771
1852
|
|
1853
|
+
# Represents an arbitrary window of time.
|
1854
|
+
# @!attribute [rw] start_time
|
1855
|
+
# @return [Google::Protobuf::Timestamp]
|
1856
|
+
# The time that the window first starts.
|
1857
|
+
# @!attribute [rw] end_time
|
1858
|
+
# @return [Google::Protobuf::Timestamp]
|
1859
|
+
# The time that the window ends. The end time should take place after the
|
1860
|
+
# start time.
|
1861
|
+
class TimeWindow; end
|
1862
|
+
|
1863
|
+
# Represents an arbitrary window of time that recurs.
|
1864
|
+
# @!attribute [rw] window
|
1865
|
+
# @return [Google::Container::V1beta1::TimeWindow]
|
1866
|
+
# The window of the first recurrence.
|
1867
|
+
# @!attribute [rw] recurrence
|
1868
|
+
# @return [String]
|
1869
|
+
# An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
|
1870
|
+
# this window reccurs. They go on for the span of time between the start and
|
1871
|
+
# end time.
|
1872
|
+
#
|
1873
|
+
# For example, to have something repeat every weekday, you'd use:
|
1874
|
+
# <code>FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR</code>
|
1875
|
+
# To repeat some window daily (equivalent to the DailyMaintenanceWindow):
|
1876
|
+
# <code>FREQ=DAILY</code>
|
1877
|
+
# For the first weekend of every month:
|
1878
|
+
# <code>FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU</code>
|
1879
|
+
# This specifies how frequently the window starts. Eg, if you wanted to have
|
1880
|
+
# a 9-5 UTC-4 window every weekday, you'd use something like:
|
1881
|
+
# <code>
|
1882
|
+
# start time = 2019-01-01T09:00:00-0400
|
1883
|
+
# end time = 2019-01-01T17:00:00-0400
|
1884
|
+
# recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
|
1885
|
+
# </code>
|
1886
|
+
# Windows can span multiple days. Eg, to make the window encompass every
|
1887
|
+
# weekend from midnight Saturday till the last minute of Sunday UTC:
|
1888
|
+
# <code>
|
1889
|
+
# start time = 2019-01-05T00:00:00Z
|
1890
|
+
# end time = 2019-01-07T23:59:00Z
|
1891
|
+
# recurrence = FREQ=WEEKLY;BYDAY=SA
|
1892
|
+
# </code>
|
1893
|
+
# Note the start and end time's specific dates are largely arbitrary except
|
1894
|
+
# to specify duration of the window and when it first starts.
|
1895
|
+
# The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
|
1896
|
+
class RecurringTimeWindow; end
|
1897
|
+
|
1772
1898
|
# Time window specified for daily maintenance operations.
|
1773
1899
|
# @!attribute [rw] start_time
|
1774
1900
|
# @return [String]
|
1775
1901
|
# Time within the maintenance window to start the maintenance operations.
|
1776
|
-
# It must be in format "HH:MM
|
1902
|
+
# It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
|
1777
1903
|
# @!attribute [rw] duration
|
1778
1904
|
# @return [String]
|
1779
1905
|
# [Output only] Duration of the time window, automatically chosen to be
|
@@ -1784,26 +1910,26 @@ module Google
|
|
1784
1910
|
# pool.
|
1785
1911
|
# @!attribute [rw] project_id
|
1786
1912
|
# @return [String]
|
1787
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1913
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1788
1914
|
# number](https://support.google.com/cloud/answer/6158840).
|
1789
1915
|
# This field has been deprecated and replaced by the name field.
|
1790
1916
|
# @!attribute [rw] zone
|
1791
1917
|
# @return [String]
|
1792
|
-
# Deprecated. The name of the Google Compute Engine
|
1918
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1793
1919
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1794
1920
|
# resides.
|
1795
1921
|
# This field has been deprecated and replaced by the name field.
|
1796
1922
|
# @!attribute [rw] cluster_id
|
1797
1923
|
# @return [String]
|
1798
|
-
# Deprecated. The name of the cluster to update.
|
1924
|
+
# Required. Deprecated. The name of the cluster to update.
|
1799
1925
|
# This field has been deprecated and replaced by the name field.
|
1800
1926
|
# @!attribute [rw] node_pool_id
|
1801
1927
|
# @return [String]
|
1802
|
-
# Deprecated. The name of the node pool to update.
|
1928
|
+
# Required. Deprecated. The name of the node pool to update.
|
1803
1929
|
# This field has been deprecated and replaced by the name field.
|
1804
1930
|
# @!attribute [rw] management
|
1805
1931
|
# @return [Google::Container::V1beta1::NodeManagement]
|
1806
|
-
# NodeManagement configuration for the node pool.
|
1932
|
+
# Required. NodeManagement configuration for the node pool.
|
1807
1933
|
# @!attribute [rw] name
|
1808
1934
|
# @return [String]
|
1809
1935
|
# The name (project, location, cluster, node pool id) of the node pool to set
|
@@ -1815,26 +1941,26 @@ module Google
|
|
1815
1941
|
# pool.
|
1816
1942
|
# @!attribute [rw] project_id
|
1817
1943
|
# @return [String]
|
1818
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1944
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1819
1945
|
# number](https://support.google.com/cloud/answer/6158840).
|
1820
1946
|
# This field has been deprecated and replaced by the name field.
|
1821
1947
|
# @!attribute [rw] zone
|
1822
1948
|
# @return [String]
|
1823
|
-
# Deprecated. The name of the Google Compute Engine
|
1949
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1824
1950
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1825
1951
|
# resides.
|
1826
1952
|
# This field has been deprecated and replaced by the name field.
|
1827
1953
|
# @!attribute [rw] cluster_id
|
1828
1954
|
# @return [String]
|
1829
|
-
# Deprecated. The name of the cluster to update.
|
1955
|
+
# Required. Deprecated. The name of the cluster to update.
|
1830
1956
|
# This field has been deprecated and replaced by the name field.
|
1831
1957
|
# @!attribute [rw] node_pool_id
|
1832
1958
|
# @return [String]
|
1833
|
-
# Deprecated. The name of the node pool to update.
|
1959
|
+
# Required. Deprecated. The name of the node pool to update.
|
1834
1960
|
# This field has been deprecated and replaced by the name field.
|
1835
1961
|
# @!attribute [rw] node_count
|
1836
1962
|
# @return [Integer]
|
1837
|
-
# The desired node count for the pool.
|
1963
|
+
# Required. The desired node count for the pool.
|
1838
1964
|
# @!attribute [rw] name
|
1839
1965
|
# @return [String]
|
1840
1966
|
# The name (project, location, cluster, node pool id) of the node pool to set
|
@@ -1847,22 +1973,22 @@ module Google
|
|
1847
1973
|
# completed.
|
1848
1974
|
# @!attribute [rw] project_id
|
1849
1975
|
# @return [String]
|
1850
|
-
# Deprecated. The Google Developers Console [project ID or project
|
1976
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1851
1977
|
# number](https://support.google.com/cloud/answer/6158840).
|
1852
1978
|
# This field has been deprecated and replaced by the name field.
|
1853
1979
|
# @!attribute [rw] zone
|
1854
1980
|
# @return [String]
|
1855
|
-
# Deprecated. The name of the Google Compute Engine
|
1981
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1856
1982
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1857
1983
|
# resides.
|
1858
1984
|
# This field has been deprecated and replaced by the name field.
|
1859
1985
|
# @!attribute [rw] cluster_id
|
1860
1986
|
# @return [String]
|
1861
|
-
# Deprecated. The name of the cluster to rollback.
|
1987
|
+
# Required. Deprecated. The name of the cluster to rollback.
|
1862
1988
|
# This field has been deprecated and replaced by the name field.
|
1863
1989
|
# @!attribute [rw] node_pool_id
|
1864
1990
|
# @return [String]
|
1865
|
-
# Deprecated. The name of the node pool to rollback.
|
1991
|
+
# Required. Deprecated. The name of the node pool to rollback.
|
1866
1992
|
# This field has been deprecated and replaced by the name field.
|
1867
1993
|
# @!attribute [rw] name
|
1868
1994
|
# @return [String]
|
@@ -1888,8 +2014,28 @@ module Google
|
|
1888
2014
|
# @return [Array<Google::Container::V1beta1::ResourceLimit>]
|
1889
2015
|
# Contains global constraints regarding minimum and maximum
|
1890
2016
|
# amount of resources in the cluster.
|
2017
|
+
# @!attribute [rw] autoprovisioning_node_pool_defaults
|
2018
|
+
# @return [Google::Container::V1beta1::AutoprovisioningNodePoolDefaults]
|
2019
|
+
# AutoprovisioningNodePoolDefaults contains defaults for a node pool
|
2020
|
+
# created by NAP.
|
2021
|
+
# @!attribute [rw] autoprovisioning_locations
|
2022
|
+
# @return [Array<String>]
|
2023
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available)
|
2024
|
+
# in which the NodePool's nodes can be created by NAP.
|
1891
2025
|
class ClusterAutoscaling; end
|
1892
2026
|
|
2027
|
+
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created
|
2028
|
+
# by NAP.
|
2029
|
+
# @!attribute [rw] oauth_scopes
|
2030
|
+
# @return [Array<String>]
|
2031
|
+
# Scopes that are used by NAP when creating node pools. If oauth_scopes are
|
2032
|
+
# specified, service_account should be empty.
|
2033
|
+
# @!attribute [rw] service_account
|
2034
|
+
# @return [String]
|
2035
|
+
# The Google Cloud Platform Service Account to be used by the node VMs. If
|
2036
|
+
# service_account is specified, scopes should be empty.
|
2037
|
+
class AutoprovisioningNodePoolDefaults; end
|
2038
|
+
|
1893
2039
|
# Contains information about amount of some resource in the cluster.
|
1894
2040
|
# For memory, value should be in GB.
|
1895
2041
|
# @!attribute [rw] resource_type
|
@@ -1926,25 +2072,25 @@ module Google
|
|
1926
2072
|
# resources used by that cluster
|
1927
2073
|
# @!attribute [rw] project_id
|
1928
2074
|
# @return [String]
|
1929
|
-
# Deprecated. The Google Developers Console [project ID or project
|
2075
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1930
2076
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1931
2077
|
# This field has been deprecated and replaced by the name field.
|
1932
2078
|
# @!attribute [rw] zone
|
1933
2079
|
# @return [String]
|
1934
|
-
# Deprecated. The name of the Google Compute Engine
|
2080
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1935
2081
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1936
2082
|
# resides.
|
1937
2083
|
# This field has been deprecated and replaced by the name field.
|
1938
2084
|
# @!attribute [rw] cluster_id
|
1939
2085
|
# @return [String]
|
1940
|
-
# Deprecated. The name of the cluster.
|
2086
|
+
# Required. Deprecated. The name of the cluster.
|
1941
2087
|
# This field has been deprecated and replaced by the name field.
|
1942
2088
|
# @!attribute [rw] resource_labels
|
1943
2089
|
# @return [Hash{String => String}]
|
1944
|
-
# The labels to set for that cluster.
|
2090
|
+
# Required. The labels to set for that cluster.
|
1945
2091
|
# @!attribute [rw] label_fingerprint
|
1946
2092
|
# @return [String]
|
1947
|
-
# The fingerprint of the previous set of labels for this resource,
|
2093
|
+
# Required. The fingerprint of the previous set of labels for this resource,
|
1948
2094
|
# used to detect conflicts. The fingerprint is initially generated by
|
1949
2095
|
# Kubernetes Engine and changes after every request to modify or update
|
1950
2096
|
# labels. You must always provide an up-to-date fingerprint hash when
|
@@ -1960,22 +2106,22 @@ module Google
|
|
1960
2106
|
# a cluster.
|
1961
2107
|
# @!attribute [rw] project_id
|
1962
2108
|
# @return [String]
|
1963
|
-
# Deprecated. The Google Developers Console [project ID or project
|
2109
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1964
2110
|
# number](https://support.google.com/cloud/answer/6158840).
|
1965
2111
|
# This field has been deprecated and replaced by the name field.
|
1966
2112
|
# @!attribute [rw] zone
|
1967
2113
|
# @return [String]
|
1968
|
-
# Deprecated. The name of the Google Compute Engine
|
2114
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1969
2115
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1970
2116
|
# resides.
|
1971
2117
|
# This field has been deprecated and replaced by the name field.
|
1972
2118
|
# @!attribute [rw] cluster_id
|
1973
2119
|
# @return [String]
|
1974
|
-
# Deprecated. The name of the cluster to update.
|
2120
|
+
# Required. Deprecated. The name of the cluster to update.
|
1975
2121
|
# This field has been deprecated and replaced by the name field.
|
1976
2122
|
# @!attribute [rw] enabled
|
1977
2123
|
# @return [true, false]
|
1978
|
-
# Whether ABAC authorization will be enabled in the cluster.
|
2124
|
+
# Required. Whether ABAC authorization will be enabled in the cluster.
|
1979
2125
|
# @!attribute [rw] name
|
1980
2126
|
# @return [String]
|
1981
2127
|
# The name (project, location, cluster id) of the cluster to set legacy abac.
|
@@ -1986,18 +2132,18 @@ module Google
|
|
1986
2132
|
# a node upgrade on each node pool to point to the new IP.
|
1987
2133
|
# @!attribute [rw] project_id
|
1988
2134
|
# @return [String]
|
1989
|
-
# Deprecated. The Google Developers Console [project ID or project
|
2135
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
1990
2136
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
1991
2137
|
# This field has been deprecated and replaced by the name field.
|
1992
2138
|
# @!attribute [rw] zone
|
1993
2139
|
# @return [String]
|
1994
|
-
# Deprecated. The name of the Google Compute Engine
|
2140
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
1995
2141
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
1996
2142
|
# resides.
|
1997
2143
|
# This field has been deprecated and replaced by the name field.
|
1998
2144
|
# @!attribute [rw] cluster_id
|
1999
2145
|
# @return [String]
|
2000
|
-
# Deprecated. The name of the cluster.
|
2146
|
+
# Required. Deprecated. The name of the cluster.
|
2001
2147
|
# This field has been deprecated and replaced by the name field.
|
2002
2148
|
# @!attribute [rw] name
|
2003
2149
|
# @return [String]
|
@@ -2011,18 +2157,18 @@ module Google
|
|
2011
2157
|
# CompleteIPRotationRequest moves the cluster master back into single-IP mode.
|
2012
2158
|
# @!attribute [rw] project_id
|
2013
2159
|
# @return [String]
|
2014
|
-
# Deprecated. The Google Developers Console [project ID or project
|
2160
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
2015
2161
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
2016
2162
|
# This field has been deprecated and replaced by the name field.
|
2017
2163
|
# @!attribute [rw] zone
|
2018
2164
|
# @return [String]
|
2019
|
-
# Deprecated. The name of the Google Compute Engine
|
2165
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
2020
2166
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
2021
2167
|
# resides.
|
2022
2168
|
# This field has been deprecated and replaced by the name field.
|
2023
2169
|
# @!attribute [rw] cluster_id
|
2024
2170
|
# @return [String]
|
2025
|
-
# Deprecated. The name of the cluster.
|
2171
|
+
# Required. Deprecated. The name of the cluster.
|
2026
2172
|
# This field has been deprecated and replaced by the name field.
|
2027
2173
|
# @!attribute [rw] name
|
2028
2174
|
# @return [String]
|
@@ -2037,15 +2183,15 @@ module Google
|
|
2037
2183
|
# @!attribute [rw] accelerator_type
|
2038
2184
|
# @return [String]
|
2039
2185
|
# The accelerator type resource name. List of supported accelerators
|
2040
|
-
# [here](https://cloud.google.com/compute/docs/gpus
|
2186
|
+
# [here](https://cloud.google.com/compute/docs/gpus)
|
2041
2187
|
class AcceleratorConfig; end
|
2042
2188
|
|
2043
2189
|
# WorkloadMetadataConfig defines the metadata configuration to expose to
|
2044
2190
|
# workloads on the node pool.
|
2045
2191
|
# @!attribute [rw] node_metadata
|
2046
2192
|
# @return [Google::Container::V1beta1::WorkloadMetadataConfig::NodeMetadata]
|
2047
|
-
# NodeMetadata is the configuration for how to expose
|
2048
|
-
#
|
2193
|
+
# NodeMetadata is the configuration for how to expose metadata to the
|
2194
|
+
# workloads running on the node.
|
2049
2195
|
class WorkloadMetadataConfig
|
2050
2196
|
# NodeMetadata is the configuration for if and how to expose the node
|
2051
2197
|
# metadata to the workload running on the node.
|
@@ -2071,22 +2217,22 @@ module Google
|
|
2071
2217
|
# SetNetworkPolicyRequest enables/disables network policy for a cluster.
|
2072
2218
|
# @!attribute [rw] project_id
|
2073
2219
|
# @return [String]
|
2074
|
-
# Deprecated. The Google Developers Console [project ID or project
|
2220
|
+
# Required. Deprecated. The Google Developers Console [project ID or project
|
2075
2221
|
# number](https://developers.google.com/console/help/new/#projectnumber).
|
2076
2222
|
# This field has been deprecated and replaced by the name field.
|
2077
2223
|
# @!attribute [rw] zone
|
2078
2224
|
# @return [String]
|
2079
|
-
# Deprecated. The name of the Google Compute Engine
|
2225
|
+
# Required. Deprecated. The name of the Google Compute Engine
|
2080
2226
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
2081
2227
|
# resides.
|
2082
2228
|
# This field has been deprecated and replaced by the name field.
|
2083
2229
|
# @!attribute [rw] cluster_id
|
2084
2230
|
# @return [String]
|
2085
|
-
# Deprecated. The name of the cluster.
|
2231
|
+
# Required. Deprecated. The name of the cluster.
|
2086
2232
|
# This field has been deprecated and replaced by the name field.
|
2087
2233
|
# @!attribute [rw] network_policy
|
2088
2234
|
# @return [Google::Container::V1beta1::NetworkPolicy]
|
2089
|
-
# Configuration options for the NetworkPolicy feature.
|
2235
|
+
# Required. Configuration options for the NetworkPolicy feature.
|
2090
2236
|
# @!attribute [rw] name
|
2091
2237
|
# @return [String]
|
2092
2238
|
# The name (project, location, cluster id) of the cluster to set networking
|
@@ -2096,19 +2242,19 @@ module Google
|
|
2096
2242
|
# SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
|
2097
2243
|
# @!attribute [rw] project_id
|
2098
2244
|
# @return [String]
|
2099
|
-
# The Google Developers Console [project ID or project
|
2245
|
+
# Required. The Google Developers Console [project ID or project
|
2100
2246
|
# number](https://support.google.com/cloud/answer/6158840).
|
2101
2247
|
# @!attribute [rw] zone
|
2102
2248
|
# @return [String]
|
2103
|
-
# The name of the Google Compute Engine
|
2249
|
+
# Required. The name of the Google Compute Engine
|
2104
2250
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster
|
2105
2251
|
# resides.
|
2106
2252
|
# @!attribute [rw] cluster_id
|
2107
2253
|
# @return [String]
|
2108
|
-
# The name of the cluster to update.
|
2254
|
+
# Required. The name of the cluster to update.
|
2109
2255
|
# @!attribute [rw] maintenance_policy
|
2110
2256
|
# @return [Google::Container::V1beta1::MaintenancePolicy]
|
2111
|
-
# The maintenance policy to be set for the cluster. An empty field
|
2257
|
+
# Required. The maintenance policy to be set for the cluster. An empty field
|
2112
2258
|
# clears the existing maintenance policy.
|
2113
2259
|
# @!attribute [rw] name
|
2114
2260
|
# @return [String]
|
@@ -2120,7 +2266,7 @@ module Google
|
|
2120
2266
|
# ListLocationsRequest is used to request the locations that offer GKE.
|
2121
2267
|
# @!attribute [rw] parent
|
2122
2268
|
# @return [String]
|
2123
|
-
# Contains the name of the resource requested.
|
2269
|
+
# Required. Contains the name of the resource requested.
|
2124
2270
|
# Specified in the format 'projects/*'.
|
2125
2271
|
class ListLocationsRequest; end
|
2126
2272
|
|
@@ -2189,8 +2335,12 @@ module Google
|
|
2189
2335
|
GCE_QUOTA_EXCEEDED = 3
|
2190
2336
|
|
2191
2337
|
# Cluster state was manually changed by an SRE due to a system logic error.
|
2192
|
-
# More codes TBA
|
2193
2338
|
SET_BY_OPERATOR = 4
|
2339
|
+
|
2340
|
+
# Unable to perform an encrypt operation against the CloudKMS key used for
|
2341
|
+
# etcd level encryption.
|
2342
|
+
# More codes TBA
|
2343
|
+
CLOUD_KMS_KEY_ERROR = 7
|
2194
2344
|
end
|
2195
2345
|
end
|
2196
2346
|
|
@@ -2206,13 +2356,17 @@ module Google
|
|
2206
2356
|
# Output only. The relative name of the Google Compute Engine
|
2207
2357
|
# [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the cluster is connected.
|
2208
2358
|
# Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
|
2359
|
+
# @!attribute [rw] enable_intra_node_visibility
|
2360
|
+
# @return [true, false]
|
2361
|
+
# Whether Intra-node visibility is enabled for this cluster.
|
2362
|
+
# This makes same node pod to pod traffic visible for VPC network.
|
2209
2363
|
class NetworkConfig; end
|
2210
2364
|
|
2211
2365
|
# ListUsableSubnetworksRequest requests the list of usable subnetworks.
|
2212
2366
|
# available to a user for creating clusters.
|
2213
2367
|
# @!attribute [rw] parent
|
2214
2368
|
# @return [String]
|
2215
|
-
# The parent project where subnetworks are usable.
|
2369
|
+
# Required. The parent project where subnetworks are usable.
|
2216
2370
|
# Specified in the format 'projects/*'.
|
2217
2371
|
# @!attribute [rw] filter
|
2218
2372
|
# @return [String]
|
@@ -2312,12 +2466,42 @@ module Google
|
|
2312
2466
|
# Enables vertical pod autoscaling.
|
2313
2467
|
class VerticalPodAutoscaling; end
|
2314
2468
|
|
2469
|
+
# IntraNodeVisibilityConfig contains the desired config of the intra-node
|
2470
|
+
# visibility on this cluster.
|
2471
|
+
# @!attribute [rw] enabled
|
2472
|
+
# @return [true, false]
|
2473
|
+
# Enables intra node visibility for this cluster.
|
2474
|
+
class IntraNodeVisibilityConfig; end
|
2475
|
+
|
2315
2476
|
# Constraints applied to pods.
|
2316
2477
|
# @!attribute [rw] max_pods_per_node
|
2317
2478
|
# @return [Integer]
|
2318
2479
|
# Constraint enforced on the max num of pods per node.
|
2319
2480
|
class MaxPodsConstraint; end
|
2320
2481
|
|
2482
|
+
# Configuration of etcd encryption.
|
2483
|
+
# @!attribute [rw] state
|
2484
|
+
# @return [Google::Container::V1beta1::DatabaseEncryption::State]
|
2485
|
+
# Denotes the state of etcd encryption.
|
2486
|
+
# @!attribute [rw] key_name
|
2487
|
+
# @return [String]
|
2488
|
+
# Name of CloudKMS key to use for the encryption of secrets in etcd.
|
2489
|
+
# Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
|
2490
|
+
class DatabaseEncryption
|
2491
|
+
# State of etcd encryption.
|
2492
|
+
module State
|
2493
|
+
# Should never be set
|
2494
|
+
UNKNOWN = 0
|
2495
|
+
|
2496
|
+
# Secrets in etcd are encrypted.
|
2497
|
+
ENCRYPTED = 1
|
2498
|
+
|
2499
|
+
# Secrets in etcd are stored in plain text (at etcd level) - this is
|
2500
|
+
# unrelated to Google Compute Engine level full disk encryption.
|
2501
|
+
DECRYPTED = 2
|
2502
|
+
end
|
2503
|
+
end
|
2504
|
+
|
2321
2505
|
# Configuration for exporting cluster resource usages.
|
2322
2506
|
# @!attribute [rw] bigquery_destination
|
2323
2507
|
# @return [Google::Container::V1beta1::ResourceUsageExportConfig::BigQueryDestination]
|
@@ -2326,12 +2510,23 @@ module Google
|
|
2326
2510
|
# @return [true, false]
|
2327
2511
|
# Whether to enable network egress metering for this cluster. If enabled, a
|
2328
2512
|
# daemonset will be created in the cluster to meter network egress traffic.
|
2513
|
+
# @!attribute [rw] consumption_metering_config
|
2514
|
+
# @return [Google::Container::V1beta1::ResourceUsageExportConfig::ConsumptionMeteringConfig]
|
2515
|
+
# Configuration to enable resource consumption metering.
|
2329
2516
|
class ResourceUsageExportConfig
|
2330
2517
|
# Parameters for using BigQuery as the destination of resource usage export.
|
2331
2518
|
# @!attribute [rw] dataset_id
|
2332
2519
|
# @return [String]
|
2333
2520
|
# The ID of a BigQuery Dataset.
|
2334
2521
|
class BigQueryDestination; end
|
2522
|
+
|
2523
|
+
# Parameters for controlling consumption metering.
|
2524
|
+
# @!attribute [rw] enabled
|
2525
|
+
# @return [true, false]
|
2526
|
+
# Whether to enable consumption metering for this cluster. If enabled, a
|
2527
|
+
# second BigQuery table will be created to hold resource consumption
|
2528
|
+
# records.
|
2529
|
+
class ConsumptionMeteringConfig; end
|
2335
2530
|
end
|
2336
2531
|
end
|
2337
2532
|
end
|