google-cloud-container-v1 0.2.5 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/container/v1/cluster_manager/client.rb +205 -101
- data/lib/google/cloud/container/v1/version.rb +1 -1
- data/lib/google/container/v1/cluster_service_pb.rb +168 -0
- data/lib/google/container/v1/cluster_service_services_pb.rb +42 -34
- data/proto_docs/google/api/resource.rb +50 -14
- data/proto_docs/google/container/v1/cluster_service.rb +800 -207
- metadata +3 -3
@@ -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,13 @@ 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
|
494
582
|
end
|
495
583
|
add_message "google.container.v1.ResourceLimit" do
|
496
584
|
optional :resource_type, :string, 1
|
@@ -535,6 +623,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
535
623
|
optional :accelerator_count, :int64, 1
|
536
624
|
optional :accelerator_type, :string, 2
|
537
625
|
end
|
626
|
+
add_message "google.container.v1.WorkloadMetadataConfig" do
|
627
|
+
optional :mode, :enum, 2, "google.container.v1.WorkloadMetadataConfig.Mode"
|
628
|
+
end
|
629
|
+
add_enum "google.container.v1.WorkloadMetadataConfig.Mode" do
|
630
|
+
value :MODE_UNSPECIFIED, 0
|
631
|
+
value :GCE_METADATA, 1
|
632
|
+
value :GKE_METADATA, 2
|
633
|
+
end
|
538
634
|
add_message "google.container.v1.SetNetworkPolicyRequest" do
|
539
635
|
optional :project_id, :string, 1
|
540
636
|
optional :zone, :string, 2
|
@@ -565,6 +661,45 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
565
661
|
optional :network, :string, 1
|
566
662
|
optional :subnetwork, :string, 2
|
567
663
|
optional :enable_intra_node_visibility, :bool, 5
|
664
|
+
optional :default_snat_status, :message, 7, "google.container.v1.DefaultSnatStatus"
|
665
|
+
end
|
666
|
+
add_message "google.container.v1.GetOpenIDConfigRequest" do
|
667
|
+
optional :parent, :string, 1
|
668
|
+
end
|
669
|
+
add_message "google.container.v1.GetOpenIDConfigResponse" do
|
670
|
+
optional :issuer, :string, 1
|
671
|
+
optional :jwks_uri, :string, 2
|
672
|
+
repeated :response_types_supported, :string, 3
|
673
|
+
repeated :subject_types_supported, :string, 4
|
674
|
+
repeated :id_token_signing_alg_values_supported, :string, 5
|
675
|
+
repeated :claims_supported, :string, 6
|
676
|
+
repeated :grant_types, :string, 7
|
677
|
+
end
|
678
|
+
add_message "google.container.v1.GetJSONWebKeysRequest" do
|
679
|
+
optional :parent, :string, 1
|
680
|
+
end
|
681
|
+
add_message "google.container.v1.Jwk" do
|
682
|
+
optional :kty, :string, 1
|
683
|
+
optional :alg, :string, 2
|
684
|
+
optional :use, :string, 3
|
685
|
+
optional :kid, :string, 4
|
686
|
+
optional :n, :string, 5
|
687
|
+
optional :e, :string, 6
|
688
|
+
optional :x, :string, 7
|
689
|
+
optional :y, :string, 8
|
690
|
+
optional :crv, :string, 9
|
691
|
+
end
|
692
|
+
add_message "google.container.v1.GetJSONWebKeysResponse" do
|
693
|
+
repeated :keys, :message, 1, "google.container.v1.Jwk"
|
694
|
+
end
|
695
|
+
add_message "google.container.v1.ReleaseChannel" do
|
696
|
+
optional :channel, :enum, 1, "google.container.v1.ReleaseChannel.Channel"
|
697
|
+
end
|
698
|
+
add_enum "google.container.v1.ReleaseChannel.Channel" do
|
699
|
+
value :UNSPECIFIED, 0
|
700
|
+
value :RAPID, 1
|
701
|
+
value :REGULAR, 2
|
702
|
+
value :STABLE, 3
|
568
703
|
end
|
569
704
|
add_message "google.container.v1.IntraNodeVisibilityConfig" do
|
570
705
|
optional :enabled, :bool, 1
|
@@ -572,6 +707,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
572
707
|
add_message "google.container.v1.MaxPodsConstraint" do
|
573
708
|
optional :max_pods_per_node, :int64, 1
|
574
709
|
end
|
710
|
+
add_message "google.container.v1.WorkloadIdentityConfig" do
|
711
|
+
optional :workload_pool, :string, 2
|
712
|
+
end
|
575
713
|
add_message "google.container.v1.DatabaseEncryption" do
|
576
714
|
optional :state, :enum, 2, "google.container.v1.DatabaseEncryption.State"
|
577
715
|
optional :key_name, :string, 1
|
@@ -624,6 +762,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
624
762
|
add_message "google.container.v1.VerticalPodAutoscaling" do
|
625
763
|
optional :enabled, :bool, 1
|
626
764
|
end
|
765
|
+
add_message "google.container.v1.DefaultSnatStatus" do
|
766
|
+
optional :disabled, :bool, 1
|
767
|
+
end
|
768
|
+
add_message "google.container.v1.ShieldedNodes" do
|
769
|
+
optional :enabled, :bool, 1
|
770
|
+
end
|
627
771
|
end
|
628
772
|
end
|
629
773
|
|
@@ -633,6 +777,10 @@ module Google
|
|
633
777
|
module V1
|
634
778
|
NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeConfig").msgclass
|
635
779
|
ShieldedInstanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ShieldedInstanceConfig").msgclass
|
780
|
+
SandboxConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.SandboxConfig").msgclass
|
781
|
+
SandboxConfig::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.SandboxConfig.Type").enummodule
|
782
|
+
ReservationAffinity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReservationAffinity").msgclass
|
783
|
+
ReservationAffinity::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReservationAffinity.Type").enummodule
|
636
784
|
NodeTaint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeTaint").msgclass
|
637
785
|
NodeTaint::Effect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeTaint.Effect").enummodule
|
638
786
|
MasterAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuth").msgclass
|
@@ -642,9 +790,13 @@ module Google
|
|
642
790
|
HorizontalPodAutoscaling = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.HorizontalPodAutoscaling").msgclass
|
643
791
|
KubernetesDashboard = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.KubernetesDashboard").msgclass
|
644
792
|
NetworkPolicyConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NetworkPolicyConfig").msgclass
|
793
|
+
DnsCacheConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DnsCacheConfig").msgclass
|
794
|
+
PrivateClusterMasterGlobalAccessConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.PrivateClusterMasterGlobalAccessConfig").msgclass
|
645
795
|
PrivateClusterConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.PrivateClusterConfig").msgclass
|
646
796
|
AuthenticatorGroupsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AuthenticatorGroupsConfig").msgclass
|
647
797
|
CloudRunConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.CloudRunConfig").msgclass
|
798
|
+
CloudRunConfig::LoadBalancerType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.CloudRunConfig.LoadBalancerType").enummodule
|
799
|
+
ConfigConnectorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ConfigConnectorConfig").msgclass
|
648
800
|
MasterAuthorizedNetworksConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuthorizedNetworksConfig").msgclass
|
649
801
|
MasterAuthorizedNetworksConfig::CidrBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock").msgclass
|
650
802
|
LegacyAbac = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LegacyAbac").msgclass
|
@@ -658,6 +810,8 @@ module Google
|
|
658
810
|
Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Operation").msgclass
|
659
811
|
Operation::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Operation.Status").enummodule
|
660
812
|
Operation::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Operation.Type").enummodule
|
813
|
+
OperationProgress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.OperationProgress").msgclass
|
814
|
+
OperationProgress::Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.OperationProgress.Metric").msgclass
|
661
815
|
CreateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.CreateClusterRequest").msgclass
|
662
816
|
GetClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetClusterRequest").msgclass
|
663
817
|
UpdateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.UpdateClusterRequest").msgclass
|
@@ -679,11 +833,13 @@ module Google
|
|
679
833
|
ListOperationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ListOperationsResponse").msgclass
|
680
834
|
GetServerConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetServerConfigRequest").msgclass
|
681
835
|
ServerConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ServerConfig").msgclass
|
836
|
+
ServerConfig::ReleaseChannelConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ServerConfig.ReleaseChannelConfig").msgclass
|
682
837
|
CreateNodePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.CreateNodePoolRequest").msgclass
|
683
838
|
DeleteNodePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DeleteNodePoolRequest").msgclass
|
684
839
|
ListNodePoolsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ListNodePoolsRequest").msgclass
|
685
840
|
GetNodePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetNodePoolRequest").msgclass
|
686
841
|
NodePool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool").msgclass
|
842
|
+
NodePool::UpgradeSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.UpgradeSettings").msgclass
|
687
843
|
NodePool::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePool.Status").enummodule
|
688
844
|
NodeManagement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeManagement").msgclass
|
689
845
|
AutoUpgradeOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AutoUpgradeOptions").msgclass
|
@@ -705,13 +861,23 @@ module Google
|
|
705
861
|
StartIPRotationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StartIPRotationRequest").msgclass
|
706
862
|
CompleteIPRotationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.CompleteIPRotationRequest").msgclass
|
707
863
|
AcceleratorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AcceleratorConfig").msgclass
|
864
|
+
WorkloadMetadataConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.WorkloadMetadataConfig").msgclass
|
865
|
+
WorkloadMetadataConfig::Mode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.WorkloadMetadataConfig.Mode").enummodule
|
708
866
|
SetNetworkPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.SetNetworkPolicyRequest").msgclass
|
709
867
|
SetMaintenancePolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.SetMaintenancePolicyRequest").msgclass
|
710
868
|
StatusCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StatusCondition").msgclass
|
711
869
|
StatusCondition::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StatusCondition.Code").enummodule
|
712
870
|
NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NetworkConfig").msgclass
|
871
|
+
GetOpenIDConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetOpenIDConfigRequest").msgclass
|
872
|
+
GetOpenIDConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetOpenIDConfigResponse").msgclass
|
873
|
+
GetJSONWebKeysRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetJSONWebKeysRequest").msgclass
|
874
|
+
Jwk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Jwk").msgclass
|
875
|
+
GetJSONWebKeysResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetJSONWebKeysResponse").msgclass
|
876
|
+
ReleaseChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReleaseChannel").msgclass
|
877
|
+
ReleaseChannel::Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReleaseChannel.Channel").enummodule
|
713
878
|
IntraNodeVisibilityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.IntraNodeVisibilityConfig").msgclass
|
714
879
|
MaxPodsConstraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MaxPodsConstraint").msgclass
|
880
|
+
WorkloadIdentityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.WorkloadIdentityConfig").msgclass
|
715
881
|
DatabaseEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DatabaseEncryption").msgclass
|
716
882
|
DatabaseEncryption::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DatabaseEncryption.State").enummodule
|
717
883
|
ListUsableSubnetworksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ListUsableSubnetworksRequest").msgclass
|
@@ -723,6 +889,8 @@ module Google
|
|
723
889
|
ResourceUsageExportConfig::BigQueryDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ResourceUsageExportConfig.BigQueryDestination").msgclass
|
724
890
|
ResourceUsageExportConfig::ConsumptionMeteringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig").msgclass
|
725
891
|
VerticalPodAutoscaling = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.VerticalPodAutoscaling").msgclass
|
892
|
+
DefaultSnatStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DefaultSnatStatus").msgclass
|
893
|
+
ShieldedNodes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ShieldedNodes").msgclass
|
726
894
|
end
|
727
895
|
end
|
728
896
|
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'
|
@@ -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
|