google-cloud-container-v1 0.2.5 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +188 -190
- data/README.md +66 -2
- data/lib/google/cloud/container/v1.rb +3 -0
- data/lib/google/cloud/container/v1/cluster_manager/client.rb +274 -164
- data/lib/google/cloud/container/v1/version.rb +1 -1
- data/lib/google/container/v1/cluster_service_pb.rb +169 -0
- data/lib/google/container/v1/cluster_service_services_pb.rb +43 -35
- data/proto_docs/google/api/field_behavior.rb +6 -0
- data/proto_docs/google/api/resource.rb +50 -14
- data/proto_docs/google/container/v1/cluster_service.rb +803 -207
- data/proto_docs/google/protobuf/timestamp.rb +10 -1
- metadata +19 -11
@@ -24,13 +24,36 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
24
24
|
repeated :accelerators, :message, 11, "google.container.v1.AcceleratorConfig"
|
25
25
|
optional :disk_type, :string, 12
|
26
26
|
optional :min_cpu_platform, :string, 13
|
27
|
+
optional :workload_metadata_config, :message, 14, "google.container.v1.WorkloadMetadataConfig"
|
27
28
|
repeated :taints, :message, 15, "google.container.v1.NodeTaint"
|
29
|
+
optional :sandbox_config, :message, 17, "google.container.v1.SandboxConfig"
|
30
|
+
optional :node_group, :string, 18
|
31
|
+
optional :reservation_affinity, :message, 19, "google.container.v1.ReservationAffinity"
|
28
32
|
optional :shielded_instance_config, :message, 20, "google.container.v1.ShieldedInstanceConfig"
|
33
|
+
optional :boot_disk_kms_key, :string, 23
|
29
34
|
end
|
30
35
|
add_message "google.container.v1.ShieldedInstanceConfig" do
|
31
36
|
optional :enable_secure_boot, :bool, 1
|
32
37
|
optional :enable_integrity_monitoring, :bool, 2
|
33
38
|
end
|
39
|
+
add_message "google.container.v1.SandboxConfig" do
|
40
|
+
optional :type, :enum, 2, "google.container.v1.SandboxConfig.Type"
|
41
|
+
end
|
42
|
+
add_enum "google.container.v1.SandboxConfig.Type" do
|
43
|
+
value :UNSPECIFIED, 0
|
44
|
+
value :GVISOR, 1
|
45
|
+
end
|
46
|
+
add_message "google.container.v1.ReservationAffinity" do
|
47
|
+
optional :consume_reservation_type, :enum, 1, "google.container.v1.ReservationAffinity.Type"
|
48
|
+
optional :key, :string, 2
|
49
|
+
repeated :values, :string, 3
|
50
|
+
end
|
51
|
+
add_enum "google.container.v1.ReservationAffinity.Type" do
|
52
|
+
value :UNSPECIFIED, 0
|
53
|
+
value :NO_RESERVATION, 1
|
54
|
+
value :ANY_RESERVATION, 2
|
55
|
+
value :SPECIFIC_RESERVATION, 3
|
56
|
+
end
|
34
57
|
add_message "google.container.v1.NodeTaint" do
|
35
58
|
optional :key, :string, 1
|
36
59
|
optional :value, :string, 2
|
@@ -59,6 +82,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
59
82
|
optional :kubernetes_dashboard, :message, 3, "google.container.v1.KubernetesDashboard"
|
60
83
|
optional :network_policy_config, :message, 4, "google.container.v1.NetworkPolicyConfig"
|
61
84
|
optional :cloud_run_config, :message, 7, "google.container.v1.CloudRunConfig"
|
85
|
+
optional :dns_cache_config, :message, 8, "google.container.v1.DnsCacheConfig"
|
86
|
+
optional :config_connector_config, :message, 10, "google.container.v1.ConfigConnectorConfig"
|
62
87
|
end
|
63
88
|
add_message "google.container.v1.HttpLoadBalancing" do
|
64
89
|
optional :disabled, :bool, 1
|
@@ -72,12 +97,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
72
97
|
add_message "google.container.v1.NetworkPolicyConfig" do
|
73
98
|
optional :disabled, :bool, 1
|
74
99
|
end
|
100
|
+
add_message "google.container.v1.DnsCacheConfig" do
|
101
|
+
optional :enabled, :bool, 1
|
102
|
+
end
|
103
|
+
add_message "google.container.v1.PrivateClusterMasterGlobalAccessConfig" do
|
104
|
+
optional :enabled, :bool, 1
|
105
|
+
end
|
75
106
|
add_message "google.container.v1.PrivateClusterConfig" do
|
76
107
|
optional :enable_private_nodes, :bool, 1
|
77
108
|
optional :enable_private_endpoint, :bool, 2
|
78
109
|
optional :master_ipv4_cidr_block, :string, 3
|
79
110
|
optional :private_endpoint, :string, 4
|
80
111
|
optional :public_endpoint, :string, 5
|
112
|
+
optional :peering_name, :string, 7
|
113
|
+
optional :master_global_access_config, :message, 8, "google.container.v1.PrivateClusterMasterGlobalAccessConfig"
|
81
114
|
end
|
82
115
|
add_message "google.container.v1.AuthenticatorGroupsConfig" do
|
83
116
|
optional :enabled, :bool, 1
|
@@ -85,6 +118,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
85
118
|
end
|
86
119
|
add_message "google.container.v1.CloudRunConfig" do
|
87
120
|
optional :disabled, :bool, 1
|
121
|
+
optional :load_balancer_type, :enum, 3, "google.container.v1.CloudRunConfig.LoadBalancerType"
|
122
|
+
end
|
123
|
+
add_enum "google.container.v1.CloudRunConfig.LoadBalancerType" do
|
124
|
+
value :LOAD_BALANCER_TYPE_UNSPECIFIED, 0
|
125
|
+
value :LOAD_BALANCER_TYPE_EXTERNAL, 1
|
126
|
+
value :LOAD_BALANCER_TYPE_INTERNAL, 2
|
127
|
+
end
|
128
|
+
add_message "google.container.v1.ConfigConnectorConfig" do
|
129
|
+
optional :enabled, :bool, 1
|
88
130
|
end
|
89
131
|
add_message "google.container.v1.MasterAuthorizedNetworksConfig" do
|
90
132
|
optional :enabled, :bool, 1
|
@@ -121,6 +163,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
121
163
|
optional :node_ipv4_cidr_block, :string, 10
|
122
164
|
optional :services_ipv4_cidr_block, :string, 11
|
123
165
|
optional :tpu_ipv4_cidr_block, :string, 13
|
166
|
+
optional :use_routes, :bool, 15
|
124
167
|
end
|
125
168
|
add_message "google.container.v1.Cluster" do
|
126
169
|
optional :name, :string, 1
|
@@ -153,6 +196,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
153
196
|
optional :private_cluster_config, :message, 37, "google.container.v1.PrivateClusterConfig"
|
154
197
|
optional :database_encryption, :message, 38, "google.container.v1.DatabaseEncryption"
|
155
198
|
optional :vertical_pod_autoscaling, :message, 39, "google.container.v1.VerticalPodAutoscaling"
|
199
|
+
optional :shielded_nodes, :message, 40, "google.container.v1.ShieldedNodes"
|
200
|
+
optional :release_channel, :message, 41, "google.container.v1.ReleaseChannel"
|
201
|
+
optional :workload_identity_config, :message, 43, "google.container.v1.WorkloadIdentityConfig"
|
156
202
|
optional :self_link, :string, 100
|
157
203
|
optional :zone, :string, 101
|
158
204
|
optional :endpoint, :string, 102
|
@@ -188,6 +234,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
188
234
|
optional :desired_node_pool_id, :string, 7
|
189
235
|
optional :desired_image_type, :string, 8
|
190
236
|
optional :desired_database_encryption, :message, 46, "google.container.v1.DatabaseEncryption"
|
237
|
+
optional :desired_workload_identity_config, :message, 47, "google.container.v1.WorkloadIdentityConfig"
|
238
|
+
optional :desired_shielded_nodes, :message, 48, "google.container.v1.ShieldedNodes"
|
191
239
|
optional :desired_node_pool_autoscaling, :message, 9, "google.container.v1.NodePoolAutoscaling"
|
192
240
|
repeated :desired_locations, :string, 10
|
193
241
|
optional :desired_master_authorized_networks_config, :message, 12, "google.container.v1.MasterAuthorizedNetworksConfig"
|
@@ -196,7 +244,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
196
244
|
optional :desired_logging_service, :string, 19
|
197
245
|
optional :desired_resource_usage_export_config, :message, 21, "google.container.v1.ResourceUsageExportConfig"
|
198
246
|
optional :desired_vertical_pod_autoscaling, :message, 22, "google.container.v1.VerticalPodAutoscaling"
|
247
|
+
optional :desired_private_cluster_config, :message, 25, "google.container.v1.PrivateClusterConfig"
|
199
248
|
optional :desired_intra_node_visibility_config, :message, 26, "google.container.v1.IntraNodeVisibilityConfig"
|
249
|
+
optional :desired_default_snat_status, :message, 28, "google.container.v1.DefaultSnatStatus"
|
250
|
+
optional :desired_release_channel, :message, 31, "google.container.v1.ReleaseChannel"
|
200
251
|
optional :desired_master_version, :string, 100
|
201
252
|
end
|
202
253
|
add_message "google.container.v1.Operation" do
|
@@ -211,6 +262,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
211
262
|
optional :location, :string, 9
|
212
263
|
optional :start_time, :string, 10
|
213
264
|
optional :end_time, :string, 11
|
265
|
+
optional :progress, :message, 12, "google.container.v1.OperationProgress"
|
214
266
|
repeated :cluster_conditions, :message, 13, "google.container.v1.StatusCondition"
|
215
267
|
repeated :nodepool_conditions, :message, 14, "google.container.v1.StatusCondition"
|
216
268
|
end
|
@@ -240,6 +292,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
240
292
|
value :SET_NETWORK_POLICY, 15
|
241
293
|
value :SET_MAINTENANCE_POLICY, 16
|
242
294
|
end
|
295
|
+
add_message "google.container.v1.OperationProgress" do
|
296
|
+
optional :name, :string, 1
|
297
|
+
optional :status, :enum, 2, "google.container.v1.Operation.Status"
|
298
|
+
repeated :metrics, :message, 3, "google.container.v1.OperationProgress.Metric"
|
299
|
+
repeated :stages, :message, 4, "google.container.v1.OperationProgress"
|
300
|
+
end
|
301
|
+
add_message "google.container.v1.OperationProgress.Metric" do
|
302
|
+
optional :name, :string, 1
|
303
|
+
oneof :value do
|
304
|
+
optional :int_value, :int64, 2
|
305
|
+
optional :double_value, :double, 3
|
306
|
+
optional :string_value, :string, 4
|
307
|
+
end
|
308
|
+
end
|
243
309
|
add_message "google.container.v1.CreateClusterRequest" do
|
244
310
|
optional :project_id, :string, 1
|
245
311
|
optional :zone, :string, 2
|
@@ -267,6 +333,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
267
333
|
optional :node_version, :string, 5
|
268
334
|
optional :image_type, :string, 6
|
269
335
|
optional :name, :string, 8
|
336
|
+
repeated :locations, :string, 13
|
337
|
+
optional :workload_metadata_config, :message, 14, "google.container.v1.WorkloadMetadataConfig"
|
338
|
+
optional :upgrade_settings, :message, 15, "google.container.v1.NodePool.UpgradeSettings"
|
270
339
|
end
|
271
340
|
add_message "google.container.v1.SetNodePoolAutoscalingRequest" do
|
272
341
|
optional :project_id, :string, 1
|
@@ -372,6 +441,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
372
441
|
optional :default_image_type, :string, 4
|
373
442
|
repeated :valid_image_types, :string, 5
|
374
443
|
repeated :valid_master_versions, :string, 6
|
444
|
+
repeated :channels, :message, 9, "google.container.v1.ServerConfig.ReleaseChannelConfig"
|
445
|
+
end
|
446
|
+
add_message "google.container.v1.ServerConfig.ReleaseChannelConfig" do
|
447
|
+
optional :channel, :enum, 1, "google.container.v1.ReleaseChannel.Channel"
|
448
|
+
optional :default_version, :string, 2
|
449
|
+
repeated :valid_versions, :string, 4
|
375
450
|
end
|
376
451
|
add_message "google.container.v1.CreateNodePoolRequest" do
|
377
452
|
optional :project_id, :string, 1
|
@@ -404,6 +479,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
404
479
|
optional :name, :string, 1
|
405
480
|
optional :config, :message, 2, "google.container.v1.NodeConfig"
|
406
481
|
optional :initial_node_count, :int32, 3
|
482
|
+
repeated :locations, :string, 13
|
407
483
|
optional :self_link, :string, 100
|
408
484
|
optional :version, :string, 101
|
409
485
|
repeated :instance_group_urls, :string, 102
|
@@ -414,6 +490,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
414
490
|
optional :max_pods_constraint, :message, 6, "google.container.v1.MaxPodsConstraint"
|
415
491
|
repeated :conditions, :message, 105, "google.container.v1.StatusCondition"
|
416
492
|
optional :pod_ipv4_cidr_size, :int32, 7
|
493
|
+
optional :upgrade_settings, :message, 107, "google.container.v1.NodePool.UpgradeSettings"
|
494
|
+
end
|
495
|
+
add_message "google.container.v1.NodePool.UpgradeSettings" do
|
496
|
+
optional :max_surge, :int32, 1
|
497
|
+
optional :max_unavailable, :int32, 2
|
417
498
|
end
|
418
499
|
add_enum "google.container.v1.NodePool.Status" do
|
419
500
|
value :STATUS_UNSPECIFIED, 0
|
@@ -491,6 +572,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
491
572
|
add_message "google.container.v1.AutoprovisioningNodePoolDefaults" do
|
492
573
|
repeated :oauth_scopes, :string, 1
|
493
574
|
optional :service_account, :string, 2
|
575
|
+
optional :upgrade_settings, :message, 3, "google.container.v1.NodePool.UpgradeSettings"
|
576
|
+
optional :management, :message, 4, "google.container.v1.NodeManagement"
|
577
|
+
optional :min_cpu_platform, :string, 5
|
578
|
+
optional :disk_size_gb, :int32, 6
|
579
|
+
optional :disk_type, :string, 7
|
580
|
+
optional :shielded_instance_config, :message, 8, "google.container.v1.ShieldedInstanceConfig"
|
581
|
+
optional :boot_disk_kms_key, :string, 9
|
582
|
+
optional :image_type, :string, 10
|
494
583
|
end
|
495
584
|
add_message "google.container.v1.ResourceLimit" do
|
496
585
|
optional :resource_type, :string, 1
|
@@ -535,6 +624,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
535
624
|
optional :accelerator_count, :int64, 1
|
536
625
|
optional :accelerator_type, :string, 2
|
537
626
|
end
|
627
|
+
add_message "google.container.v1.WorkloadMetadataConfig" do
|
628
|
+
optional :mode, :enum, 2, "google.container.v1.WorkloadMetadataConfig.Mode"
|
629
|
+
end
|
630
|
+
add_enum "google.container.v1.WorkloadMetadataConfig.Mode" do
|
631
|
+
value :MODE_UNSPECIFIED, 0
|
632
|
+
value :GCE_METADATA, 1
|
633
|
+
value :GKE_METADATA, 2
|
634
|
+
end
|
538
635
|
add_message "google.container.v1.SetNetworkPolicyRequest" do
|
539
636
|
optional :project_id, :string, 1
|
540
637
|
optional :zone, :string, 2
|
@@ -565,6 +662,45 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
565
662
|
optional :network, :string, 1
|
566
663
|
optional :subnetwork, :string, 2
|
567
664
|
optional :enable_intra_node_visibility, :bool, 5
|
665
|
+
optional :default_snat_status, :message, 7, "google.container.v1.DefaultSnatStatus"
|
666
|
+
end
|
667
|
+
add_message "google.container.v1.GetOpenIDConfigRequest" do
|
668
|
+
optional :parent, :string, 1
|
669
|
+
end
|
670
|
+
add_message "google.container.v1.GetOpenIDConfigResponse" do
|
671
|
+
optional :issuer, :string, 1
|
672
|
+
optional :jwks_uri, :string, 2
|
673
|
+
repeated :response_types_supported, :string, 3
|
674
|
+
repeated :subject_types_supported, :string, 4
|
675
|
+
repeated :id_token_signing_alg_values_supported, :string, 5
|
676
|
+
repeated :claims_supported, :string, 6
|
677
|
+
repeated :grant_types, :string, 7
|
678
|
+
end
|
679
|
+
add_message "google.container.v1.GetJSONWebKeysRequest" do
|
680
|
+
optional :parent, :string, 1
|
681
|
+
end
|
682
|
+
add_message "google.container.v1.Jwk" do
|
683
|
+
optional :kty, :string, 1
|
684
|
+
optional :alg, :string, 2
|
685
|
+
optional :use, :string, 3
|
686
|
+
optional :kid, :string, 4
|
687
|
+
optional :n, :string, 5
|
688
|
+
optional :e, :string, 6
|
689
|
+
optional :x, :string, 7
|
690
|
+
optional :y, :string, 8
|
691
|
+
optional :crv, :string, 9
|
692
|
+
end
|
693
|
+
add_message "google.container.v1.GetJSONWebKeysResponse" do
|
694
|
+
repeated :keys, :message, 1, "google.container.v1.Jwk"
|
695
|
+
end
|
696
|
+
add_message "google.container.v1.ReleaseChannel" do
|
697
|
+
optional :channel, :enum, 1, "google.container.v1.ReleaseChannel.Channel"
|
698
|
+
end
|
699
|
+
add_enum "google.container.v1.ReleaseChannel.Channel" do
|
700
|
+
value :UNSPECIFIED, 0
|
701
|
+
value :RAPID, 1
|
702
|
+
value :REGULAR, 2
|
703
|
+
value :STABLE, 3
|
568
704
|
end
|
569
705
|
add_message "google.container.v1.IntraNodeVisibilityConfig" do
|
570
706
|
optional :enabled, :bool, 1
|
@@ -572,6 +708,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
572
708
|
add_message "google.container.v1.MaxPodsConstraint" do
|
573
709
|
optional :max_pods_per_node, :int64, 1
|
574
710
|
end
|
711
|
+
add_message "google.container.v1.WorkloadIdentityConfig" do
|
712
|
+
optional :workload_pool, :string, 2
|
713
|
+
end
|
575
714
|
add_message "google.container.v1.DatabaseEncryption" do
|
576
715
|
optional :state, :enum, 2, "google.container.v1.DatabaseEncryption.State"
|
577
716
|
optional :key_name, :string, 1
|
@@ -624,6 +763,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
624
763
|
add_message "google.container.v1.VerticalPodAutoscaling" do
|
625
764
|
optional :enabled, :bool, 1
|
626
765
|
end
|
766
|
+
add_message "google.container.v1.DefaultSnatStatus" do
|
767
|
+
optional :disabled, :bool, 1
|
768
|
+
end
|
769
|
+
add_message "google.container.v1.ShieldedNodes" do
|
770
|
+
optional :enabled, :bool, 1
|
771
|
+
end
|
627
772
|
end
|
628
773
|
end
|
629
774
|
|
@@ -633,6 +778,10 @@ module Google
|
|
633
778
|
module V1
|
634
779
|
NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeConfig").msgclass
|
635
780
|
ShieldedInstanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ShieldedInstanceConfig").msgclass
|
781
|
+
SandboxConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.SandboxConfig").msgclass
|
782
|
+
SandboxConfig::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.SandboxConfig.Type").enummodule
|
783
|
+
ReservationAffinity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReservationAffinity").msgclass
|
784
|
+
ReservationAffinity::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReservationAffinity.Type").enummodule
|
636
785
|
NodeTaint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeTaint").msgclass
|
637
786
|
NodeTaint::Effect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeTaint.Effect").enummodule
|
638
787
|
MasterAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuth").msgclass
|
@@ -642,9 +791,13 @@ module Google
|
|
642
791
|
HorizontalPodAutoscaling = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.HorizontalPodAutoscaling").msgclass
|
643
792
|
KubernetesDashboard = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.KubernetesDashboard").msgclass
|
644
793
|
NetworkPolicyConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NetworkPolicyConfig").msgclass
|
794
|
+
DnsCacheConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DnsCacheConfig").msgclass
|
795
|
+
PrivateClusterMasterGlobalAccessConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.PrivateClusterMasterGlobalAccessConfig").msgclass
|
645
796
|
PrivateClusterConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.PrivateClusterConfig").msgclass
|
646
797
|
AuthenticatorGroupsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AuthenticatorGroupsConfig").msgclass
|
647
798
|
CloudRunConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.CloudRunConfig").msgclass
|
799
|
+
CloudRunConfig::LoadBalancerType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.CloudRunConfig.LoadBalancerType").enummodule
|
800
|
+
ConfigConnectorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ConfigConnectorConfig").msgclass
|
648
801
|
MasterAuthorizedNetworksConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuthorizedNetworksConfig").msgclass
|
649
802
|
MasterAuthorizedNetworksConfig::CidrBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock").msgclass
|
650
803
|
LegacyAbac = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LegacyAbac").msgclass
|
@@ -658,6 +811,8 @@ module Google
|
|
658
811
|
Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Operation").msgclass
|
659
812
|
Operation::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Operation.Status").enummodule
|
660
813
|
Operation::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Operation.Type").enummodule
|
814
|
+
OperationProgress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.OperationProgress").msgclass
|
815
|
+
OperationProgress::Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.OperationProgress.Metric").msgclass
|
661
816
|
CreateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.CreateClusterRequest").msgclass
|
662
817
|
GetClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetClusterRequest").msgclass
|
663
818
|
UpdateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.UpdateClusterRequest").msgclass
|
@@ -679,11 +834,13 @@ module Google
|
|
679
834
|
ListOperationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ListOperationsResponse").msgclass
|
680
835
|
GetServerConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetServerConfigRequest").msgclass
|
681
836
|
ServerConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ServerConfig").msgclass
|
837
|
+
ServerConfig::ReleaseChannelConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ServerConfig.ReleaseChannelConfig").msgclass
|
682
838
|
CreateNodePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.CreateNodePoolRequest").msgclass
|
683
839
|
DeleteNodePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DeleteNodePoolRequest").msgclass
|
684
840
|
ListNodePoolsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ListNodePoolsRequest").msgclass
|
685
841
|
GetNodePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetNodePoolRequest").msgclass
|
686
842
|
NodePool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool").msgclass
|
843
|
+
NodePool::UpgradeSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.UpgradeSettings").msgclass
|
687
844
|
NodePool::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.Status").enummodule
|
688
845
|
NodeManagement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeManagement").msgclass
|
689
846
|
AutoUpgradeOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AutoUpgradeOptions").msgclass
|
@@ -705,13 +862,23 @@ module Google
|
|
705
862
|
StartIPRotationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StartIPRotationRequest").msgclass
|
706
863
|
CompleteIPRotationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.CompleteIPRotationRequest").msgclass
|
707
864
|
AcceleratorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AcceleratorConfig").msgclass
|
865
|
+
WorkloadMetadataConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.WorkloadMetadataConfig").msgclass
|
866
|
+
WorkloadMetadataConfig::Mode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.WorkloadMetadataConfig.Mode").enummodule
|
708
867
|
SetNetworkPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.SetNetworkPolicyRequest").msgclass
|
709
868
|
SetMaintenancePolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.SetMaintenancePolicyRequest").msgclass
|
710
869
|
StatusCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StatusCondition").msgclass
|
711
870
|
StatusCondition::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StatusCondition.Code").enummodule
|
712
871
|
NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NetworkConfig").msgclass
|
872
|
+
GetOpenIDConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetOpenIDConfigRequest").msgclass
|
873
|
+
GetOpenIDConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetOpenIDConfigResponse").msgclass
|
874
|
+
GetJSONWebKeysRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetJSONWebKeysRequest").msgclass
|
875
|
+
Jwk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Jwk").msgclass
|
876
|
+
GetJSONWebKeysResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetJSONWebKeysResponse").msgclass
|
877
|
+
ReleaseChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReleaseChannel").msgclass
|
878
|
+
ReleaseChannel::Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReleaseChannel.Channel").enummodule
|
713
879
|
IntraNodeVisibilityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.IntraNodeVisibilityConfig").msgclass
|
714
880
|
MaxPodsConstraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MaxPodsConstraint").msgclass
|
881
|
+
WorkloadIdentityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.WorkloadIdentityConfig").msgclass
|
715
882
|
DatabaseEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DatabaseEncryption").msgclass
|
716
883
|
DatabaseEncryption::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DatabaseEncryption.State").enummodule
|
717
884
|
ListUsableSubnetworksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ListUsableSubnetworksRequest").msgclass
|
@@ -723,6 +890,8 @@ module Google
|
|
723
890
|
ResourceUsageExportConfig::BigQueryDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ResourceUsageExportConfig.BigQueryDestination").msgclass
|
724
891
|
ResourceUsageExportConfig::ConsumptionMeteringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig").msgclass
|
725
892
|
VerticalPodAutoscaling = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.VerticalPodAutoscaling").msgclass
|
893
|
+
DefaultSnatStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DefaultSnatStatus").msgclass
|
894
|
+
ShieldedNodes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ShieldedNodes").msgclass
|
726
895
|
end
|
727
896
|
end
|
728
897
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/container/v1/cluster_service.proto for package 'Google.Cloud.Container.V1'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2020 Google LLC
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -15,7 +15,6 @@
|
|
15
15
|
# See the License for the specific language governing permissions and
|
16
16
|
# limitations under the License.
|
17
17
|
#
|
18
|
-
#
|
19
18
|
|
20
19
|
require 'grpc'
|
21
20
|
require 'google/container/v1/cluster_service_pb'
|
@@ -28,7 +27,7 @@ module Google
|
|
28
27
|
# Google Kubernetes Engine Cluster Manager v1
|
29
28
|
class Service
|
30
29
|
|
31
|
-
include GRPC::GenericService
|
30
|
+
include ::GRPC::GenericService
|
32
31
|
|
33
32
|
self.marshal_class_method = :encode
|
34
33
|
self.unmarshal_class_method = :decode
|
@@ -36,14 +35,15 @@ module Google
|
|
36
35
|
|
37
36
|
# Lists all clusters owned by a project in either the specified zone or all
|
38
37
|
# zones.
|
39
|
-
rpc :ListClusters, Google::Cloud::Container::V1::ListClustersRequest, Google::Cloud::Container::V1::ListClustersResponse
|
38
|
+
rpc :ListClusters, ::Google::Cloud::Container::V1::ListClustersRequest, ::Google::Cloud::Container::V1::ListClustersResponse
|
40
39
|
# Gets the details of a specific cluster.
|
41
|
-
rpc :GetCluster, Google::Cloud::Container::V1::GetClusterRequest, Google::Cloud::Container::V1::Cluster
|
40
|
+
rpc :GetCluster, ::Google::Cloud::Container::V1::GetClusterRequest, ::Google::Cloud::Container::V1::Cluster
|
42
41
|
# Creates a cluster, consisting of the specified number and type of Google
|
43
42
|
# Compute Engine instances.
|
44
43
|
#
|
45
44
|
# By default, the cluster is created in the project's
|
46
|
-
# [default
|
45
|
+
# [default
|
46
|
+
# network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
|
47
47
|
#
|
48
48
|
# One firewall is added for the cluster. After cluster creation,
|
49
49
|
# the Kubelet creates routes for each node to allow the containers
|
@@ -52,27 +52,30 @@ module Google
|
|
52
52
|
#
|
53
53
|
# Finally, an entry is added to the project's global metadata indicating
|
54
54
|
# which CIDR range the cluster is using.
|
55
|
-
rpc :CreateCluster, Google::Cloud::Container::V1::CreateClusterRequest, Google::Cloud::Container::V1::Operation
|
55
|
+
rpc :CreateCluster, ::Google::Cloud::Container::V1::CreateClusterRequest, ::Google::Cloud::Container::V1::Operation
|
56
56
|
# Updates the settings of a specific cluster.
|
57
|
-
rpc :UpdateCluster, Google::Cloud::Container::V1::UpdateClusterRequest, Google::Cloud::Container::V1::Operation
|
57
|
+
rpc :UpdateCluster, ::Google::Cloud::Container::V1::UpdateClusterRequest, ::Google::Cloud::Container::V1::Operation
|
58
58
|
# Updates the version and/or image type for the specified node pool.
|
59
|
-
rpc :UpdateNodePool, Google::Cloud::Container::V1::UpdateNodePoolRequest, Google::Cloud::Container::V1::Operation
|
59
|
+
rpc :UpdateNodePool, ::Google::Cloud::Container::V1::UpdateNodePoolRequest, ::Google::Cloud::Container::V1::Operation
|
60
60
|
# Sets the autoscaling settings for the specified node pool.
|
61
|
-
rpc :SetNodePoolAutoscaling, Google::Cloud::Container::V1::SetNodePoolAutoscalingRequest, Google::Cloud::Container::V1::Operation
|
61
|
+
rpc :SetNodePoolAutoscaling, ::Google::Cloud::Container::V1::SetNodePoolAutoscalingRequest, ::Google::Cloud::Container::V1::Operation
|
62
62
|
# Sets the logging service for a specific cluster.
|
63
|
-
rpc :SetLoggingService, Google::Cloud::Container::V1::SetLoggingServiceRequest, Google::Cloud::Container::V1::Operation
|
63
|
+
rpc :SetLoggingService, ::Google::Cloud::Container::V1::SetLoggingServiceRequest, ::Google::Cloud::Container::V1::Operation
|
64
64
|
# Sets the monitoring service for a specific cluster.
|
65
|
-
rpc :SetMonitoringService, Google::Cloud::Container::V1::SetMonitoringServiceRequest, Google::Cloud::Container::V1::Operation
|
65
|
+
rpc :SetMonitoringService, ::Google::Cloud::Container::V1::SetMonitoringServiceRequest, ::Google::Cloud::Container::V1::Operation
|
66
66
|
# Sets the addons for a specific cluster.
|
67
|
-
rpc :SetAddonsConfig, Google::Cloud::Container::V1::SetAddonsConfigRequest, Google::Cloud::Container::V1::Operation
|
67
|
+
rpc :SetAddonsConfig, ::Google::Cloud::Container::V1::SetAddonsConfigRequest, ::Google::Cloud::Container::V1::Operation
|
68
68
|
# Sets the locations for a specific cluster.
|
69
|
-
|
69
|
+
# Deprecated. Use
|
70
|
+
# [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
|
71
|
+
# instead.
|
72
|
+
rpc :SetLocations, ::Google::Cloud::Container::V1::SetLocationsRequest, ::Google::Cloud::Container::V1::Operation
|
70
73
|
# Updates the master for a specific cluster.
|
71
|
-
rpc :UpdateMaster, Google::Cloud::Container::V1::UpdateMasterRequest, Google::Cloud::Container::V1::Operation
|
74
|
+
rpc :UpdateMaster, ::Google::Cloud::Container::V1::UpdateMasterRequest, ::Google::Cloud::Container::V1::Operation
|
72
75
|
# Sets master auth materials. Currently supports changing the admin password
|
73
76
|
# or a specific cluster, either via password generation or explicitly setting
|
74
77
|
# the password.
|
75
|
-
rpc :SetMasterAuth, Google::Cloud::Container::V1::SetMasterAuthRequest, Google::Cloud::Container::V1::Operation
|
78
|
+
rpc :SetMasterAuth, ::Google::Cloud::Container::V1::SetMasterAuthRequest, ::Google::Cloud::Container::V1::Operation
|
76
79
|
# Deletes the cluster, including the Kubernetes endpoint and all worker
|
77
80
|
# nodes.
|
78
81
|
#
|
@@ -82,44 +85,49 @@ module Google
|
|
82
85
|
# Other Google Compute Engine resources that might be in use by the cluster,
|
83
86
|
# such as load balancer resources, are not deleted if they weren't present
|
84
87
|
# when the cluster was initially created.
|
85
|
-
rpc :DeleteCluster, Google::Cloud::Container::V1::DeleteClusterRequest, Google::Cloud::Container::V1::Operation
|
88
|
+
rpc :DeleteCluster, ::Google::Cloud::Container::V1::DeleteClusterRequest, ::Google::Cloud::Container::V1::Operation
|
86
89
|
# Lists all operations in a project in a specific zone or all zones.
|
87
|
-
rpc :ListOperations, Google::Cloud::Container::V1::ListOperationsRequest, Google::Cloud::Container::V1::ListOperationsResponse
|
90
|
+
rpc :ListOperations, ::Google::Cloud::Container::V1::ListOperationsRequest, ::Google::Cloud::Container::V1::ListOperationsResponse
|
88
91
|
# Gets the specified operation.
|
89
|
-
rpc :GetOperation, Google::Cloud::Container::V1::GetOperationRequest, Google::Cloud::Container::V1::Operation
|
92
|
+
rpc :GetOperation, ::Google::Cloud::Container::V1::GetOperationRequest, ::Google::Cloud::Container::V1::Operation
|
90
93
|
# Cancels the specified operation.
|
91
|
-
rpc :CancelOperation, Google::Cloud::Container::V1::CancelOperationRequest, Google::Protobuf::Empty
|
94
|
+
rpc :CancelOperation, ::Google::Cloud::Container::V1::CancelOperationRequest, ::Google::Protobuf::Empty
|
92
95
|
# Returns configuration info about the Google Kubernetes Engine service.
|
93
|
-
rpc :GetServerConfig, Google::Cloud::Container::V1::GetServerConfigRequest, Google::Cloud::Container::V1::ServerConfig
|
96
|
+
rpc :GetServerConfig, ::Google::Cloud::Container::V1::GetServerConfigRequest, ::Google::Cloud::Container::V1::ServerConfig
|
97
|
+
# Gets the public component of the cluster signing keys in
|
98
|
+
# JSON Web Key format.
|
99
|
+
# This API is not yet intended for general use, and is not available for all
|
100
|
+
# clusters.
|
101
|
+
rpc :GetJSONWebKeys, ::Google::Cloud::Container::V1::GetJSONWebKeysRequest, ::Google::Cloud::Container::V1::GetJSONWebKeysResponse
|
94
102
|
# Lists the node pools for a cluster.
|
95
|
-
rpc :ListNodePools, Google::Cloud::Container::V1::ListNodePoolsRequest, Google::Cloud::Container::V1::ListNodePoolsResponse
|
103
|
+
rpc :ListNodePools, ::Google::Cloud::Container::V1::ListNodePoolsRequest, ::Google::Cloud::Container::V1::ListNodePoolsResponse
|
96
104
|
# Retrieves the requested node pool.
|
97
|
-
rpc :GetNodePool, Google::Cloud::Container::V1::GetNodePoolRequest, Google::Cloud::Container::V1::NodePool
|
105
|
+
rpc :GetNodePool, ::Google::Cloud::Container::V1::GetNodePoolRequest, ::Google::Cloud::Container::V1::NodePool
|
98
106
|
# Creates a node pool for a cluster.
|
99
|
-
rpc :CreateNodePool, Google::Cloud::Container::V1::CreateNodePoolRequest, Google::Cloud::Container::V1::Operation
|
107
|
+
rpc :CreateNodePool, ::Google::Cloud::Container::V1::CreateNodePoolRequest, ::Google::Cloud::Container::V1::Operation
|
100
108
|
# Deletes a node pool from a cluster.
|
101
|
-
rpc :DeleteNodePool, Google::Cloud::Container::V1::DeleteNodePoolRequest, Google::Cloud::Container::V1::Operation
|
109
|
+
rpc :DeleteNodePool, ::Google::Cloud::Container::V1::DeleteNodePoolRequest, ::Google::Cloud::Container::V1::Operation
|
102
110
|
# Rolls back a previously Aborted or Failed NodePool upgrade.
|
103
111
|
# This makes no changes if the last upgrade successfully completed.
|
104
|
-
rpc :RollbackNodePoolUpgrade, Google::Cloud::Container::V1::RollbackNodePoolUpgradeRequest, Google::Cloud::Container::V1::Operation
|
112
|
+
rpc :RollbackNodePoolUpgrade, ::Google::Cloud::Container::V1::RollbackNodePoolUpgradeRequest, ::Google::Cloud::Container::V1::Operation
|
105
113
|
# Sets the NodeManagement options for a node pool.
|
106
|
-
rpc :SetNodePoolManagement, Google::Cloud::Container::V1::SetNodePoolManagementRequest, Google::Cloud::Container::V1::Operation
|
114
|
+
rpc :SetNodePoolManagement, ::Google::Cloud::Container::V1::SetNodePoolManagementRequest, ::Google::Cloud::Container::V1::Operation
|
107
115
|
# Sets labels on a cluster.
|
108
|
-
rpc :SetLabels, Google::Cloud::Container::V1::SetLabelsRequest, Google::Cloud::Container::V1::Operation
|
116
|
+
rpc :SetLabels, ::Google::Cloud::Container::V1::SetLabelsRequest, ::Google::Cloud::Container::V1::Operation
|
109
117
|
# Enables or disables the ABAC authorization mechanism on a cluster.
|
110
|
-
rpc :SetLegacyAbac, Google::Cloud::Container::V1::SetLegacyAbacRequest, Google::Cloud::Container::V1::Operation
|
118
|
+
rpc :SetLegacyAbac, ::Google::Cloud::Container::V1::SetLegacyAbacRequest, ::Google::Cloud::Container::V1::Operation
|
111
119
|
# Starts master IP rotation.
|
112
|
-
rpc :StartIPRotation, Google::Cloud::Container::V1::StartIPRotationRequest, Google::Cloud::Container::V1::Operation
|
120
|
+
rpc :StartIPRotation, ::Google::Cloud::Container::V1::StartIPRotationRequest, ::Google::Cloud::Container::V1::Operation
|
113
121
|
# Completes master IP rotation.
|
114
|
-
rpc :CompleteIPRotation, Google::Cloud::Container::V1::CompleteIPRotationRequest, Google::Cloud::Container::V1::Operation
|
122
|
+
rpc :CompleteIPRotation, ::Google::Cloud::Container::V1::CompleteIPRotationRequest, ::Google::Cloud::Container::V1::Operation
|
115
123
|
# Sets the size for a specific node pool.
|
116
|
-
rpc :SetNodePoolSize, Google::Cloud::Container::V1::SetNodePoolSizeRequest, Google::Cloud::Container::V1::Operation
|
124
|
+
rpc :SetNodePoolSize, ::Google::Cloud::Container::V1::SetNodePoolSizeRequest, ::Google::Cloud::Container::V1::Operation
|
117
125
|
# Enables or disables Network Policy for a cluster.
|
118
|
-
rpc :SetNetworkPolicy, Google::Cloud::Container::V1::SetNetworkPolicyRequest, Google::Cloud::Container::V1::Operation
|
126
|
+
rpc :SetNetworkPolicy, ::Google::Cloud::Container::V1::SetNetworkPolicyRequest, ::Google::Cloud::Container::V1::Operation
|
119
127
|
# Sets the maintenance policy for a cluster.
|
120
|
-
rpc :SetMaintenancePolicy, Google::Cloud::Container::V1::SetMaintenancePolicyRequest, Google::Cloud::Container::V1::Operation
|
128
|
+
rpc :SetMaintenancePolicy, ::Google::Cloud::Container::V1::SetMaintenancePolicyRequest, ::Google::Cloud::Container::V1::Operation
|
121
129
|
# Lists subnetworks that are usable for creating clusters in a project.
|
122
|
-
rpc :ListUsableSubnetworks, Google::Cloud::Container::V1::ListUsableSubnetworksRequest, Google::Cloud::Container::V1::ListUsableSubnetworksResponse
|
130
|
+
rpc :ListUsableSubnetworks, ::Google::Cloud::Container::V1::ListUsableSubnetworksRequest, ::Google::Cloud::Container::V1::ListUsableSubnetworksResponse
|
123
131
|
end
|
124
132
|
|
125
133
|
Stub = Service.rpc_stub_class
|