google-cloud-gke_multi_cloud-v1 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/client.rb +32 -32
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/operations.rb +17 -17
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/client.rb +42 -44
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/operations.rb +17 -17
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/client.rb +58 -59
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/operations.rb +17 -17
- data/lib/google/cloud/gke_multi_cloud/v1/version.rb +1 -1
- data/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb +26 -52
- data/lib/google/cloud/gkemulticloud/v1/attached_service_pb.rb +26 -49
- data/lib/google/cloud/gkemulticloud/v1/attached_service_services_pb.rb +1 -1
- data/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb +26 -158
- data/lib/google/cloud/gkemulticloud/v1/aws_service_pb.rb +27 -69
- data/lib/google/cloud/gkemulticloud/v1/aws_service_services_pb.rb +1 -1
- data/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb +27 -150
- data/lib/google/cloud/gkemulticloud/v1/azure_service_pb.rb +27 -92
- data/lib/google/cloud/gkemulticloud/v1/azure_service_services_pb.rb +1 -1
- data/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb +25 -50
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb +3 -3
- data/proto_docs/google/cloud/gkemulticloud/v1/attached_service.rb +6 -6
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb +1 -1
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_service.rb +4 -4
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_resources.rb +26 -5
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_service.rb +8 -5
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +14 -8
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/gkemulticloud/v1/aws_resources.proto
|
3
4
|
|
@@ -8,166 +9,33 @@ require 'google/api/resource_pb'
|
|
8
9
|
require 'google/cloud/gkemulticloud/v1/common_resources_pb'
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
11
|
|
11
|
-
|
12
|
-
add_file("google/cloud/gkemulticloud/v1/aws_resources.proto", :syntax => :proto3) do
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
end
|
35
|
-
add_enum "google.cloud.gkemulticloud.v1.AwsCluster.State" do
|
36
|
-
value :STATE_UNSPECIFIED, 0
|
37
|
-
value :PROVISIONING, 1
|
38
|
-
value :RUNNING, 2
|
39
|
-
value :RECONCILING, 3
|
40
|
-
value :STOPPING, 4
|
41
|
-
value :ERROR, 5
|
42
|
-
value :DEGRADED, 6
|
43
|
-
end
|
44
|
-
add_message "google.cloud.gkemulticloud.v1.AwsControlPlane" do
|
45
|
-
optional :version, :string, 1
|
46
|
-
optional :instance_type, :string, 2
|
47
|
-
optional :ssh_config, :message, 14, "google.cloud.gkemulticloud.v1.AwsSshConfig"
|
48
|
-
repeated :subnet_ids, :string, 4
|
49
|
-
repeated :security_group_ids, :string, 5
|
50
|
-
optional :iam_instance_profile, :string, 7
|
51
|
-
optional :root_volume, :message, 8, "google.cloud.gkemulticloud.v1.AwsVolumeTemplate"
|
52
|
-
optional :main_volume, :message, 9, "google.cloud.gkemulticloud.v1.AwsVolumeTemplate"
|
53
|
-
optional :database_encryption, :message, 10, "google.cloud.gkemulticloud.v1.AwsDatabaseEncryption"
|
54
|
-
map :tags, :string, :string, 11
|
55
|
-
optional :aws_services_authentication, :message, 12, "google.cloud.gkemulticloud.v1.AwsServicesAuthentication"
|
56
|
-
optional :proxy_config, :message, 16, "google.cloud.gkemulticloud.v1.AwsProxyConfig"
|
57
|
-
optional :config_encryption, :message, 17, "google.cloud.gkemulticloud.v1.AwsConfigEncryption"
|
58
|
-
optional :instance_placement, :message, 18, "google.cloud.gkemulticloud.v1.AwsInstancePlacement"
|
59
|
-
end
|
60
|
-
add_message "google.cloud.gkemulticloud.v1.AwsServicesAuthentication" do
|
61
|
-
optional :role_arn, :string, 1
|
62
|
-
optional :role_session_name, :string, 2
|
63
|
-
end
|
64
|
-
add_message "google.cloud.gkemulticloud.v1.AwsAuthorization" do
|
65
|
-
repeated :admin_users, :message, 1, "google.cloud.gkemulticloud.v1.AwsClusterUser"
|
66
|
-
end
|
67
|
-
add_message "google.cloud.gkemulticloud.v1.AwsClusterUser" do
|
68
|
-
optional :username, :string, 1
|
69
|
-
end
|
70
|
-
add_message "google.cloud.gkemulticloud.v1.AwsDatabaseEncryption" do
|
71
|
-
optional :kms_key_arn, :string, 1
|
72
|
-
end
|
73
|
-
add_message "google.cloud.gkemulticloud.v1.AwsVolumeTemplate" do
|
74
|
-
optional :size_gib, :int32, 1
|
75
|
-
optional :volume_type, :enum, 2, "google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType"
|
76
|
-
optional :iops, :int32, 3
|
77
|
-
optional :kms_key_arn, :string, 4
|
78
|
-
end
|
79
|
-
add_enum "google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType" do
|
80
|
-
value :VOLUME_TYPE_UNSPECIFIED, 0
|
81
|
-
value :GP2, 1
|
82
|
-
value :GP3, 2
|
83
|
-
end
|
84
|
-
add_message "google.cloud.gkemulticloud.v1.AwsClusterNetworking" do
|
85
|
-
optional :vpc_id, :string, 1
|
86
|
-
repeated :pod_address_cidr_blocks, :string, 2
|
87
|
-
repeated :service_address_cidr_blocks, :string, 3
|
88
|
-
end
|
89
|
-
add_message "google.cloud.gkemulticloud.v1.AwsNodePool" do
|
90
|
-
optional :name, :string, 1
|
91
|
-
optional :version, :string, 3
|
92
|
-
optional :config, :message, 28, "google.cloud.gkemulticloud.v1.AwsNodeConfig"
|
93
|
-
optional :autoscaling, :message, 25, "google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling"
|
94
|
-
optional :subnet_id, :string, 6
|
95
|
-
optional :state, :enum, 16, "google.cloud.gkemulticloud.v1.AwsNodePool.State"
|
96
|
-
optional :uid, :string, 17
|
97
|
-
optional :reconciling, :bool, 18
|
98
|
-
optional :create_time, :message, 19, "google.protobuf.Timestamp"
|
99
|
-
optional :update_time, :message, 20, "google.protobuf.Timestamp"
|
100
|
-
optional :etag, :string, 21
|
101
|
-
map :annotations, :string, :string, 22
|
102
|
-
optional :max_pods_constraint, :message, 27, "google.cloud.gkemulticloud.v1.MaxPodsConstraint"
|
103
|
-
repeated :errors, :message, 29, "google.cloud.gkemulticloud.v1.AwsNodePoolError"
|
104
|
-
end
|
105
|
-
add_enum "google.cloud.gkemulticloud.v1.AwsNodePool.State" do
|
106
|
-
value :STATE_UNSPECIFIED, 0
|
107
|
-
value :PROVISIONING, 1
|
108
|
-
value :RUNNING, 2
|
109
|
-
value :RECONCILING, 3
|
110
|
-
value :STOPPING, 4
|
111
|
-
value :ERROR, 5
|
112
|
-
value :DEGRADED, 6
|
113
|
-
end
|
114
|
-
add_message "google.cloud.gkemulticloud.v1.AwsNodeConfig" do
|
115
|
-
optional :instance_type, :string, 1
|
116
|
-
optional :root_volume, :message, 2, "google.cloud.gkemulticloud.v1.AwsVolumeTemplate"
|
117
|
-
repeated :taints, :message, 3, "google.cloud.gkemulticloud.v1.NodeTaint"
|
118
|
-
map :labels, :string, :string, 4
|
119
|
-
map :tags, :string, :string, 5
|
120
|
-
optional :iam_instance_profile, :string, 6
|
121
|
-
optional :image_type, :string, 11
|
122
|
-
optional :ssh_config, :message, 9, "google.cloud.gkemulticloud.v1.AwsSshConfig"
|
123
|
-
repeated :security_group_ids, :string, 10
|
124
|
-
optional :proxy_config, :message, 12, "google.cloud.gkemulticloud.v1.AwsProxyConfig"
|
125
|
-
optional :config_encryption, :message, 13, "google.cloud.gkemulticloud.v1.AwsConfigEncryption"
|
126
|
-
optional :instance_placement, :message, 14, "google.cloud.gkemulticloud.v1.AwsInstancePlacement"
|
127
|
-
optional :autoscaling_metrics_collection, :message, 15, "google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection"
|
128
|
-
end
|
129
|
-
add_message "google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling" do
|
130
|
-
optional :min_node_count, :int32, 1
|
131
|
-
optional :max_node_count, :int32, 2
|
132
|
-
end
|
133
|
-
add_message "google.cloud.gkemulticloud.v1.AwsServerConfig" do
|
134
|
-
optional :name, :string, 1
|
135
|
-
repeated :valid_versions, :message, 2, "google.cloud.gkemulticloud.v1.AwsK8sVersionInfo"
|
136
|
-
repeated :supported_aws_regions, :string, 3
|
137
|
-
end
|
138
|
-
add_message "google.cloud.gkemulticloud.v1.AwsK8sVersionInfo" do
|
139
|
-
optional :version, :string, 1
|
140
|
-
end
|
141
|
-
add_message "google.cloud.gkemulticloud.v1.AwsSshConfig" do
|
142
|
-
optional :ec2_key_pair, :string, 1
|
143
|
-
end
|
144
|
-
add_message "google.cloud.gkemulticloud.v1.AwsProxyConfig" do
|
145
|
-
optional :secret_arn, :string, 1
|
146
|
-
optional :secret_version, :string, 2
|
147
|
-
end
|
148
|
-
add_message "google.cloud.gkemulticloud.v1.AwsConfigEncryption" do
|
149
|
-
optional :kms_key_arn, :string, 1
|
150
|
-
end
|
151
|
-
add_message "google.cloud.gkemulticloud.v1.AwsInstancePlacement" do
|
152
|
-
optional :tenancy, :enum, 1, "google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy"
|
153
|
-
end
|
154
|
-
add_enum "google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy" do
|
155
|
-
value :TENANCY_UNSPECIFIED, 0
|
156
|
-
value :DEFAULT, 1
|
157
|
-
value :DEDICATED, 2
|
158
|
-
value :HOST, 3
|
159
|
-
end
|
160
|
-
add_message "google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection" do
|
161
|
-
optional :granularity, :string, 1
|
162
|
-
repeated :metrics, :string, 2
|
163
|
-
end
|
164
|
-
add_message "google.cloud.gkemulticloud.v1.AwsClusterError" do
|
165
|
-
optional :message, :string, 1
|
166
|
-
end
|
167
|
-
add_message "google.cloud.gkemulticloud.v1.AwsNodePoolError" do
|
168
|
-
optional :message, :string, 1
|
12
|
+
|
13
|
+
descriptor_data = "\n1google/cloud/gkemulticloud/v1/aws_resources.proto\x12\x1dgoogle.cloud.gkemulticloud.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/gkemulticloud/v1/common_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc6\n\n\nAwsCluster\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12L\n\nnetworking\x18\x03 \x01(\x0b\x32\x33.google.cloud.gkemulticloud.v1.AwsClusterNetworkingB\x03\xe0\x41\x02\x12\x17\n\naws_region\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12J\n\rcontrol_plane\x18\x05 \x01(\x0b\x32..google.cloud.gkemulticloud.v1.AwsControlPlaneB\x03\xe0\x41\x02\x12K\n\rauthorization\x18\x0f \x01(\x0b\x32/.google.cloud.gkemulticloud.v1.AwsAuthorizationB\x03\xe0\x41\x02\x12\x43\n\x05state\x18\x07 \x01(\x0e\x32/.google.cloud.gkemulticloud.v1.AwsCluster.StateB\x03\xe0\x41\x03\x12\x15\n\x08\x65ndpoint\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\n \x01(\x08\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\r \x01(\t\x12T\n\x0b\x61nnotations\x18\x0e \x03(\x0b\x32:.google.cloud.gkemulticloud.v1.AwsCluster.AnnotationsEntryB\x03\xe0\x41\x01\x12\\\n\x18workload_identity_config\x18\x10 \x01(\x0b\x32\x35.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigB\x03\xe0\x41\x03\x12#\n\x16\x63luster_ca_certificate\x18\x11 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x05\x66leet\x18\x12 \x01(\x0b\x32$.google.cloud.gkemulticloud.v1.FleetB\x03\xe0\x41\x02\x12I\n\x0elogging_config\x18\x13 \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.LoggingConfigB\x03\xe0\x41\x01\x12\x43\n\x06\x65rrors\x18\x14 \x03(\x0b\x32..google.cloud.gkemulticloud.v1.AwsClusterErrorB\x03\xe0\x41\x03\x12O\n\x11monitoring_config\x18\x15 \x01(\x0b\x32/.google.cloud.gkemulticloud.v1.MonitoringConfigB\x03\xe0\x41\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0f\n\x0bRECONCILING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x44\x45GRADED\x10\x06:o\xea\x41l\n\'gkemulticloud.googleapis.com/AwsCluster\x12\x41projects/{project}/locations/{location}/awsClusters/{aws_cluster}\"\xa8\x07\n\x0f\x41wsControlPlane\x12\x14\n\x07version\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rinstance_type\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\nssh_config\x18\x0e \x01(\x0b\x32+.google.cloud.gkemulticloud.v1.AwsSshConfigB\x03\xe0\x41\x01\x12\x17\n\nsubnet_ids\x18\x04 \x03(\tB\x03\xe0\x41\x02\x12\x1f\n\x12security_group_ids\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12!\n\x14iam_instance_profile\x18\x07 \x01(\tB\x03\xe0\x41\x02\x12J\n\x0broot_volume\x18\x08 \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AwsVolumeTemplateB\x03\xe0\x41\x01\x12J\n\x0bmain_volume\x18\t \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AwsVolumeTemplateB\x03\xe0\x41\x01\x12V\n\x13\x64\x61tabase_encryption\x18\n \x01(\x0b\x32\x34.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionB\x03\xe0\x41\x02\x12K\n\x04tags\x18\x0b \x03(\x0b\x32\x38.google.cloud.gkemulticloud.v1.AwsControlPlane.TagsEntryB\x03\xe0\x41\x01\x12\x62\n\x1b\x61ws_services_authentication\x18\x0c \x01(\x0b\x32\x38.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationB\x03\xe0\x41\x02\x12H\n\x0cproxy_config\x18\x10 \x01(\x0b\x32-.google.cloud.gkemulticloud.v1.AwsProxyConfigB\x03\xe0\x41\x01\x12R\n\x11\x63onfig_encryption\x18\x11 \x01(\x0b\x32\x32.google.cloud.gkemulticloud.v1.AwsConfigEncryptionB\x03\xe0\x41\x02\x12T\n\x12instance_placement\x18\x12 \x01(\x0b\x32\x33.google.cloud.gkemulticloud.v1.AwsInstancePlacementB\x03\xe0\x41\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"R\n\x19\x41wsServicesAuthentication\x12\x15\n\x08role_arn\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11role_session_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\"[\n\x10\x41wsAuthorization\x12G\n\x0b\x61\x64min_users\x18\x01 \x03(\x0b\x32-.google.cloud.gkemulticloud.v1.AwsClusterUserB\x03\xe0\x41\x02\"\'\n\x0e\x41wsClusterUser\x12\x15\n\x08username\x18\x01 \x01(\tB\x03\xe0\x41\x02\"1\n\x15\x41wsDatabaseEncryption\x12\x18\n\x0bkms_key_arn\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xeb\x01\n\x11\x41wsVolumeTemplate\x12\x15\n\x08size_gib\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12U\n\x0bvolume_type\x18\x02 \x01(\x0e\x32;.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeTypeB\x03\xe0\x41\x01\x12\x11\n\x04iops\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x18\n\x0bkms_key_arn\x18\x04 \x01(\tB\x03\xe0\x41\x01\";\n\nVolumeType\x12\x1b\n\x17VOLUME_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03GP2\x10\x01\x12\x07\n\x03GP3\x10\x02\"{\n\x14\x41wsClusterNetworking\x12\x13\n\x06vpc_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12$\n\x17pod_address_cidr_blocks\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12(\n\x1bservice_address_cidr_blocks\x18\x03 \x03(\tB\x03\xe0\x41\x02\"\xf6\x07\n\x0b\x41wsNodePool\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x06\x63onfig\x18\x1c \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.AwsNodeConfigB\x03\xe0\x41\x02\x12O\n\x0b\x61utoscaling\x18\x19 \x01(\x0b\x32\x35.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingB\x03\xe0\x41\x02\x12\x16\n\tsubnet_id\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x05state\x18\x10 \x01(\x0e\x32\x30.google.cloud.gkemulticloud.v1.AwsNodePool.StateB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x11 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x12 \x01(\x08\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x15 \x01(\t\x12U\n\x0b\x61nnotations\x18\x16 \x03(\x0b\x32;.google.cloud.gkemulticloud.v1.AwsNodePool.AnnotationsEntryB\x03\xe0\x41\x01\x12R\n\x13max_pods_constraint\x18\x1b \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.MaxPodsConstraintB\x03\xe0\x41\x02\x12\x44\n\x06\x65rrors\x18\x1d \x03(\x0b\x32/.google.cloud.gkemulticloud.v1.AwsNodePoolErrorB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0f\n\x0bRECONCILING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x44\x45GRADED\x10\x06:\x8e\x01\xea\x41\x8a\x01\n(gkemulticloud.googleapis.com/AwsNodePool\x12^projects/{project}/locations/{location}/awsClusters/{aws_cluster}/awsNodePools/{aws_node_pool}\"\xb5\x07\n\rAwsNodeConfig\x12\x1a\n\rinstance_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12J\n\x0broot_volume\x18\x02 \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AwsVolumeTemplateB\x03\xe0\x41\x01\x12=\n\x06taints\x18\x03 \x03(\x0b\x32(.google.cloud.gkemulticloud.v1.NodeTaintB\x03\xe0\x41\x01\x12M\n\x06labels\x18\x04 \x03(\x0b\x32\x38.google.cloud.gkemulticloud.v1.AwsNodeConfig.LabelsEntryB\x03\xe0\x41\x01\x12I\n\x04tags\x18\x05 \x03(\x0b\x32\x36.google.cloud.gkemulticloud.v1.AwsNodeConfig.TagsEntryB\x03\xe0\x41\x01\x12!\n\x14iam_instance_profile\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nimage_type\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x44\n\nssh_config\x18\t \x01(\x0b\x32+.google.cloud.gkemulticloud.v1.AwsSshConfigB\x03\xe0\x41\x01\x12\x1f\n\x12security_group_ids\x18\n \x03(\tB\x03\xe0\x41\x01\x12H\n\x0cproxy_config\x18\x0c \x01(\x0b\x32-.google.cloud.gkemulticloud.v1.AwsProxyConfigB\x03\xe0\x41\x01\x12R\n\x11\x63onfig_encryption\x18\r \x01(\x0b\x32\x32.google.cloud.gkemulticloud.v1.AwsConfigEncryptionB\x03\xe0\x41\x02\x12T\n\x12instance_placement\x18\x0e \x01(\x0b\x32\x33.google.cloud.gkemulticloud.v1.AwsInstancePlacementB\x03\xe0\x41\x01\x12p\n\x1e\x61utoscaling_metrics_collection\x18\x0f \x01(\x0b\x32\x43.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"R\n\x16\x41wsNodePoolAutoscaling\x12\x1b\n\x0emin_node_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0emax_node_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\"\xf4\x01\n\x0f\x41wsServerConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12H\n\x0evalid_versions\x18\x02 \x03(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo\x12\x1d\n\x15supported_aws_regions\x18\x03 \x03(\t:j\xea\x41g\n,gkemulticloud.googleapis.com/AwsServerConfig\x12\x37projects/{project}/locations/{location}/awsServerConfig\"$\n\x11\x41wsK8sVersionInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\")\n\x0c\x41wsSshConfig\x12\x19\n\x0c\x65\x63\x32_key_pair\x18\x01 \x01(\tB\x03\xe0\x41\x02\"<\n\x0e\x41wsProxyConfig\x12\x12\n\nsecret_arn\x18\x01 \x01(\t\x12\x16\n\x0esecret_version\x18\x02 \x01(\t\"/\n\x13\x41wsConfigEncryption\x12\x18\n\x0bkms_key_arn\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xb3\x01\n\x14\x41wsInstancePlacement\x12Q\n\x07tenancy\x18\x01 \x01(\x0e\x32;.google.cloud.gkemulticloud.v1.AwsInstancePlacement.TenancyB\x03\xe0\x41\x02\"H\n\x07Tenancy\x12\x17\n\x13TENANCY_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\r\n\tDEDICATED\x10\x02\x12\x08\n\x04HOST\x10\x03\"V\n$AwsAutoscalingGroupMetricsCollection\x12\x18\n\x0bgranularity\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07metrics\x18\x02 \x03(\tB\x03\xe0\x41\x01\"\"\n\x0f\x41wsClusterError\x12\x0f\n\x07message\x18\x01 \x01(\t\"#\n\x10\x41wsNodePoolError\x12\x0f\n\x07message\x18\x01 \x01(\tB\xe4\x01\n!com.google.cloud.gkemulticloud.v1B\x11\x41wsResourcesProtoP\x01ZGcloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb\xaa\x02\x1dGoogle.Cloud.GkeMultiCloud.V1\xca\x02\x1dGoogle\\Cloud\\GkeMultiCloud\\V1\xea\x02 Google::Cloud::GkeMultiCloud::V1b\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError => e
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.cloud.gkemulticloud.v1.WorkloadIdentityConfig", "google/cloud/gkemulticloud/v1/common_resources.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
169
35
|
end
|
170
36
|
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
171
39
|
end
|
172
40
|
|
173
41
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/gkemulticloud/v1/aws_service.proto
|
3
4
|
|
@@ -12,77 +13,34 @@ require 'google/longrunning/operations_pb'
|
|
12
13
|
require 'google/protobuf/field_mask_pb'
|
13
14
|
require 'google/protobuf/timestamp_pb'
|
14
15
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
end
|
40
|
-
add_message "google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest" do
|
41
|
-
optional :name, :string, 1
|
42
|
-
optional :validate_only, :bool, 2
|
43
|
-
optional :allow_missing, :bool, 3
|
44
|
-
optional :etag, :string, 4
|
45
|
-
end
|
46
|
-
add_message "google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest" do
|
47
|
-
optional :parent, :string, 1
|
48
|
-
optional :aws_node_pool, :message, 2, "google.cloud.gkemulticloud.v1.AwsNodePool"
|
49
|
-
optional :aws_node_pool_id, :string, 3
|
50
|
-
optional :validate_only, :bool, 4
|
51
|
-
end
|
52
|
-
add_message "google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest" do
|
53
|
-
optional :aws_node_pool, :message, 1, "google.cloud.gkemulticloud.v1.AwsNodePool"
|
54
|
-
optional :validate_only, :bool, 2
|
55
|
-
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
56
|
-
end
|
57
|
-
add_message "google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest" do
|
58
|
-
optional :name, :string, 1
|
59
|
-
end
|
60
|
-
add_message "google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest" do
|
61
|
-
optional :parent, :string, 1
|
62
|
-
optional :page_size, :int32, 2
|
63
|
-
optional :page_token, :string, 3
|
64
|
-
end
|
65
|
-
add_message "google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse" do
|
66
|
-
repeated :aws_node_pools, :message, 1, "google.cloud.gkemulticloud.v1.AwsNodePool"
|
67
|
-
optional :next_page_token, :string, 2
|
68
|
-
end
|
69
|
-
add_message "google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest" do
|
70
|
-
optional :name, :string, 1
|
71
|
-
optional :validate_only, :bool, 2
|
72
|
-
optional :allow_missing, :bool, 3
|
73
|
-
optional :etag, :string, 4
|
74
|
-
end
|
75
|
-
add_message "google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest" do
|
76
|
-
optional :name, :string, 1
|
77
|
-
end
|
78
|
-
add_message "google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest" do
|
79
|
-
optional :aws_cluster, :string, 1
|
80
|
-
end
|
81
|
-
add_message "google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse" do
|
82
|
-
optional :access_token, :string, 1
|
83
|
-
optional :expiration_time, :message, 2, "google.protobuf.Timestamp"
|
16
|
+
|
17
|
+
descriptor_data = "\n/google/cloud/gkemulticloud/v1/aws_service.proto\x12\x1dgoogle.cloud.gkemulticloud.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/gkemulticloud/v1/aws_resources.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd3\x01\n\x17\x43reateAwsClusterRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'gkemulticloud.googleapis.com/AwsCluster\x12\x43\n\x0b\x61ws_cluster\x18\x02 \x01(\x0b\x32).google.cloud.gkemulticloud.v1.AwsClusterB\x03\xe0\x41\x02\x12\x1b\n\x0e\x61ws_cluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xab\x01\n\x17UpdateAwsClusterRequest\x12\x43\n\x0b\x61ws_cluster\x18\x01 \x01(\x0b\x32).google.cloud.gkemulticloud.v1.AwsClusterB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"U\n\x14GetAwsClusterRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'gkemulticloud.googleapis.com/AwsCluster\"\x80\x01\n\x16ListAwsClustersRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'gkemulticloud.googleapis.com/AwsCluster\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"s\n\x17ListAwsClustersResponse\x12?\n\x0c\x61ws_clusters\x18\x01 \x03(\x0b\x32).google.cloud.gkemulticloud.v1.AwsCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x94\x01\n\x17\x44\x65leteAwsClusterRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'gkemulticloud.googleapis.com/AwsCluster\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\"\xda\x01\n\x18\x43reateAwsNodePoolRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(gkemulticloud.googleapis.com/AwsNodePool\x12\x46\n\raws_node_pool\x18\x02 \x01(\x0b\x32*.google.cloud.gkemulticloud.v1.AwsNodePoolB\x03\xe0\x41\x02\x12\x1d\n\x10\x61ws_node_pool_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xaf\x01\n\x18UpdateAwsNodePoolRequest\x12\x46\n\raws_node_pool\x18\x01 \x01(\x0b\x32*.google.cloud.gkemulticloud.v1.AwsNodePoolB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"W\n\x15GetAwsNodePoolRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gkemulticloud.googleapis.com/AwsNodePool\"\x82\x01\n\x17ListAwsNodePoolsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(gkemulticloud.googleapis.com/AwsNodePool\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"w\n\x18ListAwsNodePoolsResponse\x12\x42\n\x0e\x61ws_node_pools\x18\x01 \x03(\x0b\x32*.google.cloud.gkemulticloud.v1.AwsNodePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x96\x01\n\x18\x44\x65leteAwsNodePoolRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gkemulticloud.googleapis.com/AwsNodePool\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\"_\n\x19GetAwsServerConfigRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,gkemulticloud.googleapis.com/AwsServerConfig\"e\n\x1dGenerateAwsAccessTokenRequest\x12\x44\n\x0b\x61ws_cluster\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'gkemulticloud.googleapis.com/AwsCluster\"u\n\x1eGenerateAwsAccessTokenResponse\x12\x19\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x0f\x65xpiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x32\xfe\x15\n\x0b\x41wsClusters\x12\xf6\x01\n\x10\x43reateAwsCluster\x12\x36.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/awsClusters:\x0b\x61ws_cluster\xda\x41!parent,aws_cluster,aws_cluster_id\xca\x41\x1f\n\nAwsCluster\x12\x11OperationMetadata\x12\xf8\x01\n\x10UpdateAwsCluster\x12\x36.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02J2;/v1/{aws_cluster.name=projects/*/locations/*/awsClusters/*}:\x0b\x61ws_cluster\xda\x41\x17\x61ws_cluster,update_mask\xca\x41\x1f\n\nAwsCluster\x12\x11OperationMetadata\x12\xaf\x01\n\rGetAwsCluster\x12\x33.google.cloud.gkemulticloud.v1.GetAwsClusterRequest\x1a).google.cloud.gkemulticloud.v1.AwsCluster\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/awsClusters/*}\xda\x41\x04name\x12\xc2\x01\n\x0fListAwsClusters\x12\x35.google.cloud.gkemulticloud.v1.ListAwsClustersRequest\x1a\x36.google.cloud.gkemulticloud.v1.ListAwsClustersResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/awsClusters\xda\x41\x06parent\x12\xd6\x01\n\x10\x44\x65leteAwsCluster\x12\x36.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest\x1a\x1d.google.longrunning.Operation\"k\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/awsClusters/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xec\x01\n\x16GenerateAwsAccessToken\x12<.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest\x1a=.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse\"U\x82\xd3\xe4\x93\x02O\x12M/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}:generateAwsAccessToken\x12\x8e\x02\n\x11\x43reateAwsNodePool\x12\x37.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\xa0\x01\x82\xd3\xe4\x93\x02O\">/v1/{parent=projects/*/locations/*/awsClusters/*}/awsNodePools:\raws_node_pool\xda\x41%parent,aws_node_pool,aws_node_pool_id\xca\x41 \n\x0b\x41wsNodePool\x12\x11OperationMetadata\x12\x90\x02\n\x11UpdateAwsNodePool\x12\x37.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\xa2\x01\x82\xd3\xe4\x93\x02]2L/v1/{aws_node_pool.name=projects/*/locations/*/awsClusters/*/awsNodePools/*}:\raws_node_pool\xda\x41\x19\x61ws_node_pool,update_mask\xca\x41 \n\x0b\x41wsNodePool\x12\x11OperationMetadata\x12\xc1\x01\n\x0eGetAwsNodePool\x12\x34.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest\x1a*.google.cloud.gkemulticloud.v1.AwsNodePool\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}\xda\x41\x04name\x12\xd4\x01\n\x10ListAwsNodePools\x12\x36.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest\x1a\x37.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse\"O\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/awsClusters/*}/awsNodePools\xda\x41\x06parent\x12\xe7\x01\n\x11\x44\x65leteAwsNodePool\x12\x37.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02@*>/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xc0\x01\n\x12GetAwsServerConfig\x12\x38.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest\x1a..google.cloud.gkemulticloud.v1.AwsServerConfig\"@\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/awsServerConfig}\xda\x41\x04name\x1aP\xca\x41\x1cgkemulticloud.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe2\x01\n!com.google.cloud.gkemulticloud.v1B\x0f\x41wsServiceProtoP\x01ZGcloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb\xaa\x02\x1dGoogle.Cloud.GkeMultiCloud.V1\xca\x02\x1dGoogle\\Cloud\\GkeMultiCloud\\V1\xea\x02 Google::Cloud::GkeMultiCloud::V1b\x06proto3"
|
18
|
+
|
19
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
|
+
|
21
|
+
begin
|
22
|
+
pool.add_serialized_file(descriptor_data)
|
23
|
+
rescue TypeError => e
|
24
|
+
# Compatibility code: will be removed in the next major version.
|
25
|
+
require 'google/protobuf/descriptor_pb'
|
26
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
27
|
+
parsed.clear_dependency
|
28
|
+
serialized = parsed.class.encode(parsed)
|
29
|
+
file = pool.add_serialized_file(serialized)
|
30
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
31
|
+
imports = [
|
32
|
+
["google.cloud.gkemulticloud.v1.AwsCluster", "google/cloud/gkemulticloud/v1/aws_resources.proto"],
|
33
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
34
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
35
|
+
]
|
36
|
+
imports.each do |type_name, expected_filename|
|
37
|
+
import_file = pool.lookup(type_name).file_descriptor
|
38
|
+
if import_file.name != expected_filename
|
39
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
84
40
|
end
|
85
41
|
end
|
42
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
43
|
+
warn "This will become an error in the next major version."
|
86
44
|
end
|
87
45
|
|
88
46
|
module Google
|
@@ -35,7 +35,7 @@ module Google
|
|
35
35
|
self.service_name = 'google.cloud.gkemulticloud.v1.AwsClusters'
|
36
36
|
|
37
37
|
# Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
|
38
|
-
# resource on a given
|
38
|
+
# resource on a given Google Cloud Platform project and region.
|
39
39
|
#
|
40
40
|
# If successful, the response contains a newly created
|
41
41
|
# [Operation][google.longrunning.Operation] resource that can be
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/gkemulticloud/v1/azure_resources.proto
|
3
4
|
|
@@ -8,158 +9,33 @@ require 'google/api/resource_pb'
|
|
8
9
|
require 'google/cloud/gkemulticloud/v1/common_resources_pb'
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
11
|
|
11
|
-
|
12
|
-
add_file("google/cloud/gkemulticloud/v1/azure_resources.proto", :syntax => :proto3) do
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
optional :logging_config, :message, 23, "google.cloud.gkemulticloud.v1.LoggingConfig"
|
35
|
-
repeated :errors, :message, 24, "google.cloud.gkemulticloud.v1.AzureClusterError"
|
36
|
-
optional :monitoring_config, :message, 25, "google.cloud.gkemulticloud.v1.MonitoringConfig"
|
37
|
-
end
|
38
|
-
add_enum "google.cloud.gkemulticloud.v1.AzureCluster.State" do
|
39
|
-
value :STATE_UNSPECIFIED, 0
|
40
|
-
value :PROVISIONING, 1
|
41
|
-
value :RUNNING, 2
|
42
|
-
value :RECONCILING, 3
|
43
|
-
value :STOPPING, 4
|
44
|
-
value :ERROR, 5
|
45
|
-
value :DEGRADED, 6
|
46
|
-
end
|
47
|
-
add_message "google.cloud.gkemulticloud.v1.AzureClusterNetworking" do
|
48
|
-
optional :virtual_network_id, :string, 1
|
49
|
-
repeated :pod_address_cidr_blocks, :string, 2
|
50
|
-
repeated :service_address_cidr_blocks, :string, 3
|
51
|
-
optional :service_load_balancer_subnet_id, :string, 5
|
52
|
-
end
|
53
|
-
add_message "google.cloud.gkemulticloud.v1.AzureControlPlane" do
|
54
|
-
optional :version, :string, 1
|
55
|
-
optional :subnet_id, :string, 2
|
56
|
-
optional :vm_size, :string, 3
|
57
|
-
optional :ssh_config, :message, 11, "google.cloud.gkemulticloud.v1.AzureSshConfig"
|
58
|
-
optional :root_volume, :message, 4, "google.cloud.gkemulticloud.v1.AzureDiskTemplate"
|
59
|
-
optional :main_volume, :message, 5, "google.cloud.gkemulticloud.v1.AzureDiskTemplate"
|
60
|
-
optional :database_encryption, :message, 10, "google.cloud.gkemulticloud.v1.AzureDatabaseEncryption"
|
61
|
-
optional :proxy_config, :message, 12, "google.cloud.gkemulticloud.v1.AzureProxyConfig"
|
62
|
-
optional :config_encryption, :message, 14, "google.cloud.gkemulticloud.v1.AzureConfigEncryption"
|
63
|
-
map :tags, :string, :string, 7
|
64
|
-
repeated :replica_placements, :message, 13, "google.cloud.gkemulticloud.v1.ReplicaPlacement"
|
65
|
-
optional :endpoint_subnet_id, :string, 15
|
66
|
-
end
|
67
|
-
add_message "google.cloud.gkemulticloud.v1.ReplicaPlacement" do
|
68
|
-
optional :subnet_id, :string, 1
|
69
|
-
optional :azure_availability_zone, :string, 2
|
70
|
-
end
|
71
|
-
add_message "google.cloud.gkemulticloud.v1.AzureProxyConfig" do
|
72
|
-
optional :resource_group_id, :string, 1
|
73
|
-
optional :secret_id, :string, 2
|
74
|
-
end
|
75
|
-
add_message "google.cloud.gkemulticloud.v1.AzureDatabaseEncryption" do
|
76
|
-
optional :key_id, :string, 3
|
77
|
-
end
|
78
|
-
add_message "google.cloud.gkemulticloud.v1.AzureConfigEncryption" do
|
79
|
-
optional :key_id, :string, 2
|
80
|
-
optional :public_key, :string, 3
|
81
|
-
end
|
82
|
-
add_message "google.cloud.gkemulticloud.v1.AzureDiskTemplate" do
|
83
|
-
optional :size_gib, :int32, 1
|
84
|
-
end
|
85
|
-
add_message "google.cloud.gkemulticloud.v1.AzureClient" do
|
86
|
-
optional :name, :string, 1
|
87
|
-
optional :tenant_id, :string, 2
|
88
|
-
optional :application_id, :string, 3
|
89
|
-
map :annotations, :string, :string, 8
|
90
|
-
optional :pem_certificate, :string, 7
|
91
|
-
optional :uid, :string, 5
|
92
|
-
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
93
|
-
end
|
94
|
-
add_message "google.cloud.gkemulticloud.v1.AzureAuthorization" do
|
95
|
-
repeated :admin_users, :message, 1, "google.cloud.gkemulticloud.v1.AzureClusterUser"
|
96
|
-
end
|
97
|
-
add_message "google.cloud.gkemulticloud.v1.AzureClusterUser" do
|
98
|
-
optional :username, :string, 1
|
99
|
-
end
|
100
|
-
add_message "google.cloud.gkemulticloud.v1.AzureNodePool" do
|
101
|
-
optional :name, :string, 1
|
102
|
-
optional :version, :string, 2
|
103
|
-
optional :config, :message, 22, "google.cloud.gkemulticloud.v1.AzureNodeConfig"
|
104
|
-
optional :subnet_id, :string, 3
|
105
|
-
optional :autoscaling, :message, 4, "google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling"
|
106
|
-
optional :state, :enum, 6, "google.cloud.gkemulticloud.v1.AzureNodePool.State"
|
107
|
-
optional :uid, :string, 8
|
108
|
-
optional :reconciling, :bool, 9
|
109
|
-
optional :create_time, :message, 10, "google.protobuf.Timestamp"
|
110
|
-
optional :update_time, :message, 11, "google.protobuf.Timestamp"
|
111
|
-
optional :etag, :string, 12
|
112
|
-
map :annotations, :string, :string, 13
|
113
|
-
optional :max_pods_constraint, :message, 21, "google.cloud.gkemulticloud.v1.MaxPodsConstraint"
|
114
|
-
optional :azure_availability_zone, :string, 23
|
115
|
-
repeated :errors, :message, 29, "google.cloud.gkemulticloud.v1.AzureNodePoolError"
|
116
|
-
end
|
117
|
-
add_enum "google.cloud.gkemulticloud.v1.AzureNodePool.State" do
|
118
|
-
value :STATE_UNSPECIFIED, 0
|
119
|
-
value :PROVISIONING, 1
|
120
|
-
value :RUNNING, 2
|
121
|
-
value :RECONCILING, 3
|
122
|
-
value :STOPPING, 4
|
123
|
-
value :ERROR, 5
|
124
|
-
value :DEGRADED, 6
|
125
|
-
end
|
126
|
-
add_message "google.cloud.gkemulticloud.v1.AzureNodeConfig" do
|
127
|
-
optional :vm_size, :string, 1
|
128
|
-
optional :root_volume, :message, 2, "google.cloud.gkemulticloud.v1.AzureDiskTemplate"
|
129
|
-
map :tags, :string, :string, 3
|
130
|
-
optional :image_type, :string, 8
|
131
|
-
optional :ssh_config, :message, 7, "google.cloud.gkemulticloud.v1.AzureSshConfig"
|
132
|
-
optional :proxy_config, :message, 9, "google.cloud.gkemulticloud.v1.AzureProxyConfig"
|
133
|
-
optional :config_encryption, :message, 12, "google.cloud.gkemulticloud.v1.AzureConfigEncryption"
|
134
|
-
repeated :taints, :message, 10, "google.cloud.gkemulticloud.v1.NodeTaint"
|
135
|
-
map :labels, :string, :string, 11
|
136
|
-
end
|
137
|
-
add_message "google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling" do
|
138
|
-
optional :min_node_count, :int32, 1
|
139
|
-
optional :max_node_count, :int32, 2
|
140
|
-
end
|
141
|
-
add_message "google.cloud.gkemulticloud.v1.AzureServerConfig" do
|
142
|
-
optional :name, :string, 1
|
143
|
-
repeated :valid_versions, :message, 2, "google.cloud.gkemulticloud.v1.AzureK8sVersionInfo"
|
144
|
-
repeated :supported_azure_regions, :string, 3
|
145
|
-
end
|
146
|
-
add_message "google.cloud.gkemulticloud.v1.AzureK8sVersionInfo" do
|
147
|
-
optional :version, :string, 1
|
148
|
-
end
|
149
|
-
add_message "google.cloud.gkemulticloud.v1.AzureSshConfig" do
|
150
|
-
optional :authorized_key, :string, 1
|
151
|
-
end
|
152
|
-
add_message "google.cloud.gkemulticloud.v1.AzureClusterResources" do
|
153
|
-
optional :network_security_group_id, :string, 1
|
154
|
-
optional :control_plane_application_security_group_id, :string, 2
|
155
|
-
end
|
156
|
-
add_message "google.cloud.gkemulticloud.v1.AzureClusterError" do
|
157
|
-
optional :message, :string, 1
|
158
|
-
end
|
159
|
-
add_message "google.cloud.gkemulticloud.v1.AzureNodePoolError" do
|
160
|
-
optional :message, :string, 1
|
12
|
+
|
13
|
+
descriptor_data = "\n3google/cloud/gkemulticloud/v1/azure_resources.proto\x12\x1dgoogle.cloud.gkemulticloud.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/gkemulticloud/v1/common_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd5\x0c\n\x0c\x41zureCluster\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x61zure_region\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11resource_group_id\x18\x11 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x61zure_client\x18\x10 \x01(\tB\x03\xe0\x41\x01\x12N\n\nnetworking\x18\x04 \x01(\x0b\x32\x35.google.cloud.gkemulticloud.v1.AzureClusterNetworkingB\x03\xe0\x41\x02\x12L\n\rcontrol_plane\x18\x05 \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AzureControlPlaneB\x03\xe0\x41\x02\x12M\n\rauthorization\x18\x06 \x01(\x0b\x32\x31.google.cloud.gkemulticloud.v1.AzureAuthorizationB\x03\xe0\x41\x02\x12\x66\n\x1d\x61zure_services_authentication\x18\x16 \x01(\x0b\x32:.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationB\x03\xe0\x41\x01\x12\x45\n\x05state\x18\x07 \x01(\x0e\x32\x31.google.cloud.gkemulticloud.v1.AzureCluster.StateB\x03\xe0\x41\x03\x12\x15\n\x08\x65ndpoint\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\n \x01(\x08\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\r \x01(\t\x12V\n\x0b\x61nnotations\x18\x0e \x03(\x0b\x32<.google.cloud.gkemulticloud.v1.AzureCluster.AnnotationsEntryB\x03\xe0\x41\x01\x12\\\n\x18workload_identity_config\x18\x12 \x01(\x0b\x32\x35.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigB\x03\xe0\x41\x03\x12#\n\x16\x63luster_ca_certificate\x18\x13 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x05\x66leet\x18\x14 \x01(\x0b\x32$.google.cloud.gkemulticloud.v1.FleetB\x03\xe0\x41\x02\x12T\n\x11managed_resources\x18\x15 \x01(\x0b\x32\x34.google.cloud.gkemulticloud.v1.AzureClusterResourcesB\x03\xe0\x41\x03\x12I\n\x0elogging_config\x18\x17 \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.LoggingConfigB\x03\xe0\x41\x01\x12\x45\n\x06\x65rrors\x18\x18 \x03(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AzureClusterErrorB\x03\xe0\x41\x03\x12O\n\x11monitoring_config\x18\x19 \x01(\x0b\x32/.google.cloud.gkemulticloud.v1.MonitoringConfigB\x03\xe0\x41\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0f\n\x0bRECONCILING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x44\x45GRADED\x10\x06:u\xea\x41r\n)gkemulticloud.googleapis.com/AzureCluster\x12\x45projects/{project}/locations/{location}/azureClusters/{azure_cluster}\"\xb7\x01\n\x16\x41zureClusterNetworking\x12\x1f\n\x12virtual_network_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12$\n\x17pod_address_cidr_blocks\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12(\n\x1bservice_address_cidr_blocks\x18\x03 \x03(\tB\x03\xe0\x41\x02\x12,\n\x1fservice_load_balancer_subnet_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xa2\x06\n\x11\x41zureControlPlane\x12\x14\n\x07version\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tsubnet_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07vm_size\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x46\n\nssh_config\x18\x0b \x01(\x0b\x32-.google.cloud.gkemulticloud.v1.AzureSshConfigB\x03\xe0\x41\x02\x12J\n\x0broot_volume\x18\x04 \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AzureDiskTemplateB\x03\xe0\x41\x01\x12J\n\x0bmain_volume\x18\x05 \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AzureDiskTemplateB\x03\xe0\x41\x01\x12X\n\x13\x64\x61tabase_encryption\x18\n \x01(\x0b\x32\x36.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionB\x03\xe0\x41\x01\x12J\n\x0cproxy_config\x18\x0c \x01(\x0b\x32/.google.cloud.gkemulticloud.v1.AzureProxyConfigB\x03\xe0\x41\x01\x12T\n\x11\x63onfig_encryption\x18\x0e \x01(\x0b\x32\x34.google.cloud.gkemulticloud.v1.AzureConfigEncryptionB\x03\xe0\x41\x01\x12M\n\x04tags\x18\x07 \x03(\x0b\x32:.google.cloud.gkemulticloud.v1.AzureControlPlane.TagsEntryB\x03\xe0\x41\x01\x12P\n\x12replica_placements\x18\r \x03(\x0b\x32/.google.cloud.gkemulticloud.v1.ReplicaPlacementB\x03\xe0\x41\x01\x12\x1f\n\x12\x65ndpoint_subnet_id\x18\x0f \x01(\tB\x03\xe0\x41\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"P\n\x10ReplicaPlacement\x12\x16\n\tsubnet_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12$\n\x17\x61zure_availability_zone\x18\x02 \x01(\tB\x03\xe0\x41\x02\"@\n\x10\x41zureProxyConfig\x12\x19\n\x11resource_group_id\x18\x01 \x01(\t\x12\x11\n\tsecret_id\x18\x02 \x01(\t\".\n\x17\x41zureDatabaseEncryption\x12\x13\n\x06key_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"E\n\x15\x41zureConfigEncryption\x12\x13\n\x06key_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\npublic_key\x18\x03 \x01(\tB\x03\xe0\x41\x01\"*\n\x11\x41zureDiskTemplate\x12\x15\n\x08size_gib\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\"\x85\x04\n\x0b\x41zureClient\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x16\n\ttenant_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x61pplication_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0breconciling\x18\t \x01(\x08\x42\x03\xe0\x41\x03\x12U\n\x0b\x61nnotations\x18\x08 \x03(\x0b\x32;.google.cloud.gkemulticloud.v1.AzureClient.AnnotationsEntryB\x03\xe0\x41\x01\x12\x1c\n\x0fpem_certificate\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:r\xea\x41o\n(gkemulticloud.googleapis.com/AzureClient\x12\x43projects/{project}/locations/{location}/azureClients/{azure_client}\"_\n\x12\x41zureAuthorization\x12I\n\x0b\x61\x64min_users\x18\x01 \x03(\x0b\x32/.google.cloud.gkemulticloud.v1.AzureClusterUserB\x03\xe0\x41\x02\"R\n\x1b\x41zureServicesAuthentication\x12\x16\n\ttenant_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x61pplication_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\")\n\x10\x41zureClusterUser\x12\x15\n\x08username\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xb2\x08\n\rAzureNodePool\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x07version\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\x06\x63onfig\x18\x16 \x01(\x0b\x32..google.cloud.gkemulticloud.v1.AzureNodeConfigB\x03\xe0\x41\x02\x12\x16\n\tsubnet_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12Q\n\x0b\x61utoscaling\x18\x04 \x01(\x0b\x32\x37.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingB\x03\xe0\x41\x02\x12\x46\n\x05state\x18\x06 \x01(\x0e\x32\x32.google.cloud.gkemulticloud.v1.AzureNodePool.StateB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\t \x01(\x08\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0c \x01(\t\x12W\n\x0b\x61nnotations\x18\r \x03(\x0b\x32=.google.cloud.gkemulticloud.v1.AzureNodePool.AnnotationsEntryB\x03\xe0\x41\x01\x12R\n\x13max_pods_constraint\x18\x15 \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.MaxPodsConstraintB\x03\xe0\x41\x02\x12$\n\x17\x61zure_availability_zone\x18\x17 \x01(\tB\x03\xe0\x41\x01\x12\x46\n\x06\x65rrors\x18\x1d \x03(\x0b\x32\x31.google.cloud.gkemulticloud.v1.AzureNodePoolErrorB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0f\n\x0bRECONCILING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x44\x45GRADED\x10\x06:\x98\x01\xea\x41\x94\x01\n*gkemulticloud.googleapis.com/AzureNodePool\x12\x66projects/{project}/locations/{location}/azureClusters/{azure_cluster}/azureNodePools/{azure_node_pool}\"\xaf\x05\n\x0f\x41zureNodeConfig\x12\x14\n\x07vm_size\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12J\n\x0broot_volume\x18\x02 \x01(\x0b\x32\x30.google.cloud.gkemulticloud.v1.AzureDiskTemplateB\x03\xe0\x41\x01\x12K\n\x04tags\x18\x03 \x03(\x0b\x32\x38.google.cloud.gkemulticloud.v1.AzureNodeConfig.TagsEntryB\x03\xe0\x41\x01\x12\x17\n\nimage_type\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x46\n\nssh_config\x18\x07 \x01(\x0b\x32-.google.cloud.gkemulticloud.v1.AzureSshConfigB\x03\xe0\x41\x02\x12J\n\x0cproxy_config\x18\t \x01(\x0b\x32/.google.cloud.gkemulticloud.v1.AzureProxyConfigB\x03\xe0\x41\x01\x12T\n\x11\x63onfig_encryption\x18\x0c \x01(\x0b\x32\x34.google.cloud.gkemulticloud.v1.AzureConfigEncryptionB\x03\xe0\x41\x01\x12=\n\x06taints\x18\n \x03(\x0b\x32(.google.cloud.gkemulticloud.v1.NodeTaintB\x03\xe0\x41\x01\x12O\n\x06labels\x18\x0b \x03(\x0b\x32:.google.cloud.gkemulticloud.v1.AzureNodeConfig.LabelsEntryB\x03\xe0\x41\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x18\x41zureNodePoolAutoscaling\x12\x1b\n\x0emin_node_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0emax_node_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\"\xfe\x01\n\x11\x41zureServerConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12J\n\x0evalid_versions\x18\x02 \x03(\x0b\x32\x32.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo\x12\x1f\n\x17supported_azure_regions\x18\x03 \x03(\t:n\xea\x41k\n.gkemulticloud.googleapis.com/AzureServerConfig\x12\x39projects/{project}/locations/{location}/azureServerConfig\"&\n\x13\x41zureK8sVersionInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\"-\n\x0e\x41zureSshConfig\x12\x1b\n\x0e\x61uthorized_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\"y\n\x15\x41zureClusterResources\x12&\n\x19network_security_group_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x38\n+control_plane_application_security_group_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\"$\n\x11\x41zureClusterError\x12\x0f\n\x07message\x18\x01 \x01(\t\"%\n\x12\x41zureNodePoolError\x12\x0f\n\x07message\x18\x01 \x01(\tB\xe6\x01\n!com.google.cloud.gkemulticloud.v1B\x13\x41zureResourcesProtoP\x01ZGcloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb\xaa\x02\x1dGoogle.Cloud.GkeMultiCloud.V1\xca\x02\x1dGoogle\\Cloud\\GkeMultiCloud\\V1\xea\x02 Google::Cloud::GkeMultiCloud::V1b\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError => e
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.cloud.gkemulticloud.v1.WorkloadIdentityConfig", "google/cloud/gkemulticloud/v1/common_resources.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
161
35
|
end
|
162
36
|
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
163
39
|
end
|
164
40
|
|
165
41
|
module Google
|
@@ -177,6 +53,7 @@ module Google
|
|
177
53
|
AzureDiskTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureDiskTemplate").msgclass
|
178
54
|
AzureClient = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureClient").msgclass
|
179
55
|
AzureAuthorization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureAuthorization").msgclass
|
56
|
+
AzureServicesAuthentication = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureServicesAuthentication").msgclass
|
180
57
|
AzureClusterUser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureClusterUser").msgclass
|
181
58
|
AzureNodePool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureNodePool").msgclass
|
182
59
|
AzureNodePool::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureNodePool.State").enummodule
|