google-cloud-gke_multi_cloud-v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +149 -0
- data/LICENSE.md +201 -0
- data/README.md +144 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/client.rb +1729 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/credentials.rb +47 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/operations.rb +767 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/paths.rb +107 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters.rb +51 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/client.rb +2184 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/credentials.rb +47 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/operations.rb +767 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/paths.rb +126 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters.rb +51 -0
- data/lib/google/cloud/gke_multi_cloud/v1/version.rb +28 -0
- data/lib/google/cloud/gke_multi_cloud/v1.rb +41 -0
- data/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb +187 -0
- data/lib/google/cloud/gkemulticloud/v1/aws_service_pb.rb +110 -0
- data/lib/google/cloud/gkemulticloud/v1/aws_service_services_pb.rb +90 -0
- data/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb +183 -0
- data/lib/google/cloud/gkemulticloud/v1/azure_service_pb.rb +138 -0
- data/lib/google/cloud/gkemulticloud/v1/azure_service_services_pb.rb +115 -0
- data/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb +71 -0
- data/lib/google-cloud-gke_multi_cloud-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb +633 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_service.rb +383 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_resources.rb +716 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_service.rb +473 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb +164 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +129 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- metadata +232 -0
@@ -0,0 +1,183 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/gkemulticloud/v1/azure_resources.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
require 'google/cloud/gkemulticloud/v1/common_resources_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("google/cloud/gkemulticloud/v1/azure_resources.proto", :syntax => :proto3) do
|
13
|
+
add_message "google.cloud.gkemulticloud.v1.AzureCluster" do
|
14
|
+
optional :name, :string, 1
|
15
|
+
optional :description, :string, 2
|
16
|
+
optional :azure_region, :string, 3
|
17
|
+
optional :resource_group_id, :string, 17
|
18
|
+
optional :azure_client, :string, 16
|
19
|
+
optional :networking, :message, 4, "google.cloud.gkemulticloud.v1.AzureClusterNetworking"
|
20
|
+
optional :control_plane, :message, 5, "google.cloud.gkemulticloud.v1.AzureControlPlane"
|
21
|
+
optional :authorization, :message, 6, "google.cloud.gkemulticloud.v1.AzureAuthorization"
|
22
|
+
optional :state, :enum, 7, "google.cloud.gkemulticloud.v1.AzureCluster.State"
|
23
|
+
optional :endpoint, :string, 8
|
24
|
+
optional :uid, :string, 9
|
25
|
+
optional :reconciling, :bool, 10
|
26
|
+
optional :create_time, :message, 11, "google.protobuf.Timestamp"
|
27
|
+
optional :update_time, :message, 12, "google.protobuf.Timestamp"
|
28
|
+
optional :etag, :string, 13
|
29
|
+
map :annotations, :string, :string, 14
|
30
|
+
optional :workload_identity_config, :message, 18, "google.cloud.gkemulticloud.v1.WorkloadIdentityConfig"
|
31
|
+
optional :cluster_ca_certificate, :string, 19
|
32
|
+
optional :fleet, :message, 20, "google.cloud.gkemulticloud.v1.Fleet"
|
33
|
+
optional :managed_resources, :message, 21, "google.cloud.gkemulticloud.v1.AzureClusterResources"
|
34
|
+
optional :logging_config, :message, 23, "google.cloud.gkemulticloud.v1.LoggingConfig"
|
35
|
+
end
|
36
|
+
add_enum "google.cloud.gkemulticloud.v1.AzureCluster.State" do
|
37
|
+
value :STATE_UNSPECIFIED, 0
|
38
|
+
value :PROVISIONING, 1
|
39
|
+
value :RUNNING, 2
|
40
|
+
value :RECONCILING, 3
|
41
|
+
value :STOPPING, 4
|
42
|
+
value :ERROR, 5
|
43
|
+
value :DEGRADED, 6
|
44
|
+
end
|
45
|
+
add_message "google.cloud.gkemulticloud.v1.AzureClusterNetworking" do
|
46
|
+
optional :virtual_network_id, :string, 1
|
47
|
+
repeated :pod_address_cidr_blocks, :string, 2
|
48
|
+
repeated :service_address_cidr_blocks, :string, 3
|
49
|
+
optional :service_load_balancer_subnet_id, :string, 5
|
50
|
+
end
|
51
|
+
add_message "google.cloud.gkemulticloud.v1.AzureControlPlane" do
|
52
|
+
optional :version, :string, 1
|
53
|
+
optional :subnet_id, :string, 2
|
54
|
+
optional :vm_size, :string, 3
|
55
|
+
optional :ssh_config, :message, 11, "google.cloud.gkemulticloud.v1.AzureSshConfig"
|
56
|
+
optional :root_volume, :message, 4, "google.cloud.gkemulticloud.v1.AzureDiskTemplate"
|
57
|
+
optional :main_volume, :message, 5, "google.cloud.gkemulticloud.v1.AzureDiskTemplate"
|
58
|
+
optional :database_encryption, :message, 10, "google.cloud.gkemulticloud.v1.AzureDatabaseEncryption"
|
59
|
+
optional :proxy_config, :message, 12, "google.cloud.gkemulticloud.v1.AzureProxyConfig"
|
60
|
+
optional :config_encryption, :message, 14, "google.cloud.gkemulticloud.v1.AzureConfigEncryption"
|
61
|
+
map :tags, :string, :string, 7
|
62
|
+
repeated :replica_placements, :message, 13, "google.cloud.gkemulticloud.v1.ReplicaPlacement"
|
63
|
+
optional :endpoint_subnet_id, :string, 15
|
64
|
+
end
|
65
|
+
add_message "google.cloud.gkemulticloud.v1.ReplicaPlacement" do
|
66
|
+
optional :subnet_id, :string, 1
|
67
|
+
optional :azure_availability_zone, :string, 2
|
68
|
+
end
|
69
|
+
add_message "google.cloud.gkemulticloud.v1.AzureProxyConfig" do
|
70
|
+
optional :resource_group_id, :string, 1
|
71
|
+
optional :secret_id, :string, 2
|
72
|
+
end
|
73
|
+
add_message "google.cloud.gkemulticloud.v1.AzureDatabaseEncryption" do
|
74
|
+
optional :key_id, :string, 3
|
75
|
+
end
|
76
|
+
add_message "google.cloud.gkemulticloud.v1.AzureConfigEncryption" do
|
77
|
+
optional :key_id, :string, 2
|
78
|
+
optional :public_key, :string, 3
|
79
|
+
end
|
80
|
+
add_message "google.cloud.gkemulticloud.v1.AzureDiskTemplate" do
|
81
|
+
optional :size_gib, :int32, 1
|
82
|
+
end
|
83
|
+
add_message "google.cloud.gkemulticloud.v1.AzureClient" do
|
84
|
+
optional :name, :string, 1
|
85
|
+
optional :tenant_id, :string, 2
|
86
|
+
optional :application_id, :string, 3
|
87
|
+
map :annotations, :string, :string, 8
|
88
|
+
optional :pem_certificate, :string, 7
|
89
|
+
optional :uid, :string, 5
|
90
|
+
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
91
|
+
end
|
92
|
+
add_message "google.cloud.gkemulticloud.v1.AzureAuthorization" do
|
93
|
+
repeated :admin_users, :message, 1, "google.cloud.gkemulticloud.v1.AzureClusterUser"
|
94
|
+
end
|
95
|
+
add_message "google.cloud.gkemulticloud.v1.AzureClusterUser" do
|
96
|
+
optional :username, :string, 1
|
97
|
+
end
|
98
|
+
add_message "google.cloud.gkemulticloud.v1.AzureNodePool" do
|
99
|
+
optional :name, :string, 1
|
100
|
+
optional :version, :string, 2
|
101
|
+
optional :config, :message, 22, "google.cloud.gkemulticloud.v1.AzureNodeConfig"
|
102
|
+
optional :subnet_id, :string, 3
|
103
|
+
optional :autoscaling, :message, 4, "google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling"
|
104
|
+
optional :state, :enum, 6, "google.cloud.gkemulticloud.v1.AzureNodePool.State"
|
105
|
+
optional :uid, :string, 8
|
106
|
+
optional :reconciling, :bool, 9
|
107
|
+
optional :create_time, :message, 10, "google.protobuf.Timestamp"
|
108
|
+
optional :update_time, :message, 11, "google.protobuf.Timestamp"
|
109
|
+
optional :etag, :string, 12
|
110
|
+
map :annotations, :string, :string, 13
|
111
|
+
optional :max_pods_constraint, :message, 21, "google.cloud.gkemulticloud.v1.MaxPodsConstraint"
|
112
|
+
optional :azure_availability_zone, :string, 23
|
113
|
+
end
|
114
|
+
add_enum "google.cloud.gkemulticloud.v1.AzureNodePool.State" do
|
115
|
+
value :STATE_UNSPECIFIED, 0
|
116
|
+
value :PROVISIONING, 1
|
117
|
+
value :RUNNING, 2
|
118
|
+
value :RECONCILING, 3
|
119
|
+
value :STOPPING, 4
|
120
|
+
value :ERROR, 5
|
121
|
+
value :DEGRADED, 6
|
122
|
+
end
|
123
|
+
add_message "google.cloud.gkemulticloud.v1.AzureNodeConfig" do
|
124
|
+
optional :vm_size, :string, 1
|
125
|
+
optional :root_volume, :message, 2, "google.cloud.gkemulticloud.v1.AzureDiskTemplate"
|
126
|
+
map :tags, :string, :string, 3
|
127
|
+
optional :image_type, :string, 8
|
128
|
+
optional :ssh_config, :message, 7, "google.cloud.gkemulticloud.v1.AzureSshConfig"
|
129
|
+
optional :proxy_config, :message, 9, "google.cloud.gkemulticloud.v1.AzureProxyConfig"
|
130
|
+
optional :config_encryption, :message, 12, "google.cloud.gkemulticloud.v1.AzureConfigEncryption"
|
131
|
+
repeated :taints, :message, 10, "google.cloud.gkemulticloud.v1.NodeTaint"
|
132
|
+
map :labels, :string, :string, 11
|
133
|
+
end
|
134
|
+
add_message "google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling" do
|
135
|
+
optional :min_node_count, :int32, 1
|
136
|
+
optional :max_node_count, :int32, 2
|
137
|
+
end
|
138
|
+
add_message "google.cloud.gkemulticloud.v1.AzureServerConfig" do
|
139
|
+
optional :name, :string, 1
|
140
|
+
repeated :valid_versions, :message, 2, "google.cloud.gkemulticloud.v1.AzureK8sVersionInfo"
|
141
|
+
repeated :supported_azure_regions, :string, 3
|
142
|
+
end
|
143
|
+
add_message "google.cloud.gkemulticloud.v1.AzureK8sVersionInfo" do
|
144
|
+
optional :version, :string, 1
|
145
|
+
end
|
146
|
+
add_message "google.cloud.gkemulticloud.v1.AzureSshConfig" do
|
147
|
+
optional :authorized_key, :string, 1
|
148
|
+
end
|
149
|
+
add_message "google.cloud.gkemulticloud.v1.AzureClusterResources" do
|
150
|
+
optional :network_security_group_id, :string, 1
|
151
|
+
optional :control_plane_application_security_group_id, :string, 2
|
152
|
+
end
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
module Google
|
157
|
+
module Cloud
|
158
|
+
module GkeMultiCloud
|
159
|
+
module V1
|
160
|
+
AzureCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureCluster").msgclass
|
161
|
+
AzureCluster::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureCluster.State").enummodule
|
162
|
+
AzureClusterNetworking = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureClusterNetworking").msgclass
|
163
|
+
AzureControlPlane = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureControlPlane").msgclass
|
164
|
+
ReplicaPlacement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.ReplicaPlacement").msgclass
|
165
|
+
AzureProxyConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureProxyConfig").msgclass
|
166
|
+
AzureDatabaseEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureDatabaseEncryption").msgclass
|
167
|
+
AzureConfigEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureConfigEncryption").msgclass
|
168
|
+
AzureDiskTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureDiskTemplate").msgclass
|
169
|
+
AzureClient = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureClient").msgclass
|
170
|
+
AzureAuthorization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureAuthorization").msgclass
|
171
|
+
AzureClusterUser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureClusterUser").msgclass
|
172
|
+
AzureNodePool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureNodePool").msgclass
|
173
|
+
AzureNodePool::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureNodePool.State").enummodule
|
174
|
+
AzureNodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureNodeConfig").msgclass
|
175
|
+
AzureNodePoolAutoscaling = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling").msgclass
|
176
|
+
AzureServerConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureServerConfig").msgclass
|
177
|
+
AzureK8sVersionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureK8sVersionInfo").msgclass
|
178
|
+
AzureSshConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureSshConfig").msgclass
|
179
|
+
AzureClusterResources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.AzureClusterResources").msgclass
|
180
|
+
end
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
@@ -0,0 +1,138 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/gkemulticloud/v1/azure_service.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/client_pb'
|
8
|
+
require 'google/api/field_behavior_pb'
|
9
|
+
require 'google/api/resource_pb'
|
10
|
+
require 'google/cloud/gkemulticloud/v1/azure_resources_pb'
|
11
|
+
require 'google/longrunning/operations_pb'
|
12
|
+
require 'google/protobuf/field_mask_pb'
|
13
|
+
require 'google/protobuf/timestamp_pb'
|
14
|
+
|
15
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
16
|
+
add_file("google/cloud/gkemulticloud/v1/azure_service.proto", :syntax => :proto3) do
|
17
|
+
add_message "google.cloud.gkemulticloud.v1.CreateAzureClusterRequest" do
|
18
|
+
optional :parent, :string, 1
|
19
|
+
optional :azure_cluster, :message, 2, "google.cloud.gkemulticloud.v1.AzureCluster"
|
20
|
+
optional :azure_cluster_id, :string, 3
|
21
|
+
optional :validate_only, :bool, 4
|
22
|
+
end
|
23
|
+
add_message "google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest" do
|
24
|
+
optional :azure_cluster, :message, 1, "google.cloud.gkemulticloud.v1.AzureCluster"
|
25
|
+
optional :validate_only, :bool, 2
|
26
|
+
optional :update_mask, :message, 4, "google.protobuf.FieldMask"
|
27
|
+
end
|
28
|
+
add_message "google.cloud.gkemulticloud.v1.GetAzureClusterRequest" do
|
29
|
+
optional :name, :string, 1
|
30
|
+
end
|
31
|
+
add_message "google.cloud.gkemulticloud.v1.ListAzureClustersRequest" do
|
32
|
+
optional :parent, :string, 1
|
33
|
+
optional :page_size, :int32, 2
|
34
|
+
optional :page_token, :string, 3
|
35
|
+
end
|
36
|
+
add_message "google.cloud.gkemulticloud.v1.ListAzureClustersResponse" do
|
37
|
+
repeated :azure_clusters, :message, 1, "google.cloud.gkemulticloud.v1.AzureCluster"
|
38
|
+
optional :next_page_token, :string, 2
|
39
|
+
end
|
40
|
+
add_message "google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest" do
|
41
|
+
optional :name, :string, 1
|
42
|
+
optional :allow_missing, :bool, 2
|
43
|
+
optional :validate_only, :bool, 3
|
44
|
+
optional :etag, :string, 4
|
45
|
+
end
|
46
|
+
add_message "google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest" do
|
47
|
+
optional :parent, :string, 1
|
48
|
+
optional :azure_node_pool, :message, 2, "google.cloud.gkemulticloud.v1.AzureNodePool"
|
49
|
+
optional :azure_node_pool_id, :string, 3
|
50
|
+
optional :validate_only, :bool, 4
|
51
|
+
end
|
52
|
+
add_message "google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest" do
|
53
|
+
optional :azure_node_pool, :message, 1, "google.cloud.gkemulticloud.v1.AzureNodePool"
|
54
|
+
optional :validate_only, :bool, 2
|
55
|
+
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
56
|
+
end
|
57
|
+
add_message "google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest" do
|
58
|
+
optional :name, :string, 1
|
59
|
+
end
|
60
|
+
add_message "google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest" 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.ListAzureNodePoolsResponse" do
|
66
|
+
repeated :azure_node_pools, :message, 1, "google.cloud.gkemulticloud.v1.AzureNodePool"
|
67
|
+
optional :next_page_token, :string, 2
|
68
|
+
end
|
69
|
+
add_message "google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest" 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.GetAzureServerConfigRequest" do
|
76
|
+
optional :name, :string, 1
|
77
|
+
end
|
78
|
+
add_message "google.cloud.gkemulticloud.v1.CreateAzureClientRequest" do
|
79
|
+
optional :parent, :string, 1
|
80
|
+
optional :azure_client, :message, 2, "google.cloud.gkemulticloud.v1.AzureClient"
|
81
|
+
optional :azure_client_id, :string, 4
|
82
|
+
optional :validate_only, :bool, 3
|
83
|
+
end
|
84
|
+
add_message "google.cloud.gkemulticloud.v1.GetAzureClientRequest" do
|
85
|
+
optional :name, :string, 1
|
86
|
+
end
|
87
|
+
add_message "google.cloud.gkemulticloud.v1.ListAzureClientsRequest" do
|
88
|
+
optional :parent, :string, 1
|
89
|
+
optional :page_size, :int32, 2
|
90
|
+
optional :page_token, :string, 3
|
91
|
+
end
|
92
|
+
add_message "google.cloud.gkemulticloud.v1.ListAzureClientsResponse" do
|
93
|
+
repeated :azure_clients, :message, 1, "google.cloud.gkemulticloud.v1.AzureClient"
|
94
|
+
optional :next_page_token, :string, 2
|
95
|
+
end
|
96
|
+
add_message "google.cloud.gkemulticloud.v1.DeleteAzureClientRequest" do
|
97
|
+
optional :name, :string, 1
|
98
|
+
optional :allow_missing, :bool, 2
|
99
|
+
optional :validate_only, :bool, 3
|
100
|
+
end
|
101
|
+
add_message "google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest" do
|
102
|
+
optional :azure_cluster, :string, 1
|
103
|
+
end
|
104
|
+
add_message "google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse" do
|
105
|
+
optional :access_token, :string, 1
|
106
|
+
optional :expiration_time, :message, 2, "google.protobuf.Timestamp"
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
module Google
|
112
|
+
module Cloud
|
113
|
+
module GkeMultiCloud
|
114
|
+
module V1
|
115
|
+
CreateAzureClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.CreateAzureClusterRequest").msgclass
|
116
|
+
UpdateAzureClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest").msgclass
|
117
|
+
GetAzureClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.GetAzureClusterRequest").msgclass
|
118
|
+
ListAzureClustersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.ListAzureClustersRequest").msgclass
|
119
|
+
ListAzureClustersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.ListAzureClustersResponse").msgclass
|
120
|
+
DeleteAzureClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest").msgclass
|
121
|
+
CreateAzureNodePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest").msgclass
|
122
|
+
UpdateAzureNodePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest").msgclass
|
123
|
+
GetAzureNodePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest").msgclass
|
124
|
+
ListAzureNodePoolsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest").msgclass
|
125
|
+
ListAzureNodePoolsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse").msgclass
|
126
|
+
DeleteAzureNodePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest").msgclass
|
127
|
+
GetAzureServerConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest").msgclass
|
128
|
+
CreateAzureClientRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.CreateAzureClientRequest").msgclass
|
129
|
+
GetAzureClientRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.GetAzureClientRequest").msgclass
|
130
|
+
ListAzureClientsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.ListAzureClientsRequest").msgclass
|
131
|
+
ListAzureClientsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.ListAzureClientsResponse").msgclass
|
132
|
+
DeleteAzureClientRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.DeleteAzureClientRequest").msgclass
|
133
|
+
GenerateAzureAccessTokenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest").msgclass
|
134
|
+
GenerateAzureAccessTokenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse").msgclass
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
@@ -0,0 +1,115 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/gkemulticloud/v1/azure_service.proto for package 'Google.Cloud.GkeMultiCloud.V1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2022 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/gkemulticloud/v1/azure_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module GkeMultiCloud
|
25
|
+
module V1
|
26
|
+
module AzureClusters
|
27
|
+
# The AzureClusters API provides a single centrally managed service
|
28
|
+
# to create and manage Anthos clusters that run on Azure infrastructure.
|
29
|
+
class Service
|
30
|
+
|
31
|
+
include ::GRPC::GenericService
|
32
|
+
|
33
|
+
self.marshal_class_method = :encode
|
34
|
+
self.unmarshal_class_method = :decode
|
35
|
+
self.service_name = 'google.cloud.gkemulticloud.v1.AzureClusters'
|
36
|
+
|
37
|
+
# Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given Google Cloud project
|
38
|
+
# and region.
|
39
|
+
#
|
40
|
+
# `AzureClient` resources hold client authentication
|
41
|
+
# information needed by the Anthos Multicloud API to manage Azure resources
|
42
|
+
# on your Azure subscription on your behalf.
|
43
|
+
#
|
44
|
+
# If successful, the response contains a newly created
|
45
|
+
# [Operation][google.longrunning.Operation] resource that can be
|
46
|
+
# described to track the status of the operation.
|
47
|
+
rpc :CreateAzureClient, ::Google::Cloud::GkeMultiCloud::V1::CreateAzureClientRequest, ::Google::Longrunning::Operation
|
48
|
+
# Describes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
|
49
|
+
rpc :GetAzureClient, ::Google::Cloud::GkeMultiCloud::V1::GetAzureClientRequest, ::Google::Cloud::GkeMultiCloud::V1::AzureClient
|
50
|
+
# Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources on a given Google Cloud project and
|
51
|
+
# region.
|
52
|
+
rpc :ListAzureClients, ::Google::Cloud::GkeMultiCloud::V1::ListAzureClientsRequest, ::Google::Cloud::GkeMultiCloud::V1::ListAzureClientsResponse
|
53
|
+
# Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
|
54
|
+
#
|
55
|
+
# If the client is used by one or more clusters, deletion will
|
56
|
+
# fail and a `FAILED_PRECONDITION` error will be returned.
|
57
|
+
#
|
58
|
+
# If successful, the response contains a newly created
|
59
|
+
# [Operation][google.longrunning.Operation] resource that can be
|
60
|
+
# described to track the status of the operation.
|
61
|
+
rpc :DeleteAzureClient, ::Google::Cloud::GkeMultiCloud::V1::DeleteAzureClientRequest, ::Google::Longrunning::Operation
|
62
|
+
# Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.
|
63
|
+
#
|
64
|
+
# If successful, the response contains a newly created
|
65
|
+
# [Operation][google.longrunning.Operation] resource that can be
|
66
|
+
# described to track the status of the operation.
|
67
|
+
rpc :CreateAzureCluster, ::Google::Cloud::GkeMultiCloud::V1::CreateAzureClusterRequest, ::Google::Longrunning::Operation
|
68
|
+
# Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
|
69
|
+
rpc :UpdateAzureCluster, ::Google::Cloud::GkeMultiCloud::V1::UpdateAzureClusterRequest, ::Google::Longrunning::Operation
|
70
|
+
# Describes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
|
71
|
+
rpc :GetAzureCluster, ::Google::Cloud::GkeMultiCloud::V1::GetAzureClusterRequest, ::Google::Cloud::GkeMultiCloud::V1::AzureCluster
|
72
|
+
# Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and
|
73
|
+
# region.
|
74
|
+
rpc :ListAzureClusters, ::Google::Cloud::GkeMultiCloud::V1::ListAzureClustersRequest, ::Google::Cloud::GkeMultiCloud::V1::ListAzureClustersResponse
|
75
|
+
# Deletes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
|
76
|
+
#
|
77
|
+
# Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
|
78
|
+
# resources.
|
79
|
+
#
|
80
|
+
# If successful, the response contains a newly created
|
81
|
+
# [Operation][google.longrunning.Operation] resource that can be
|
82
|
+
# described to track the status of the operation.
|
83
|
+
rpc :DeleteAzureCluster, ::Google::Cloud::GkeMultiCloud::V1::DeleteAzureClusterRequest, ::Google::Longrunning::Operation
|
84
|
+
# Generates a short-lived access token to authenticate to a given
|
85
|
+
# [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
|
86
|
+
rpc :GenerateAzureAccessToken, ::Google::Cloud::GkeMultiCloud::V1::GenerateAzureAccessTokenRequest, ::Google::Cloud::GkeMultiCloud::V1::GenerateAzureAccessTokenResponse
|
87
|
+
# Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool], attached to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
|
88
|
+
#
|
89
|
+
# If successful, the response contains a newly created
|
90
|
+
# [Operation][google.longrunning.Operation] resource that can be
|
91
|
+
# described to track the status of the operation.
|
92
|
+
rpc :CreateAzureNodePool, ::Google::Cloud::GkeMultiCloud::V1::CreateAzureNodePoolRequest, ::Google::Longrunning::Operation
|
93
|
+
# Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
|
94
|
+
rpc :UpdateAzureNodePool, ::Google::Cloud::GkeMultiCloud::V1::UpdateAzureNodePoolRequest, ::Google::Longrunning::Operation
|
95
|
+
# Describes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
|
96
|
+
rpc :GetAzureNodePool, ::Google::Cloud::GkeMultiCloud::V1::GetAzureNodePoolRequest, ::Google::Cloud::GkeMultiCloud::V1::AzureNodePool
|
97
|
+
# Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
|
98
|
+
rpc :ListAzureNodePools, ::Google::Cloud::GkeMultiCloud::V1::ListAzureNodePoolsRequest, ::Google::Cloud::GkeMultiCloud::V1::ListAzureNodePoolsResponse
|
99
|
+
# Deletes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
|
100
|
+
#
|
101
|
+
# If successful, the response contains a newly created
|
102
|
+
# [Operation][google.longrunning.Operation] resource that can be
|
103
|
+
# described to track the status of the operation.
|
104
|
+
rpc :DeleteAzureNodePool, ::Google::Cloud::GkeMultiCloud::V1::DeleteAzureNodePoolRequest, ::Google::Longrunning::Operation
|
105
|
+
# Returns information, such as supported Azure regions and Kubernetes
|
106
|
+
# versions, on a given Google Cloud location.
|
107
|
+
rpc :GetAzureServerConfig, ::Google::Cloud::GkeMultiCloud::V1::GetAzureServerConfigRequest, ::Google::Cloud::GkeMultiCloud::V1::AzureServerConfig
|
108
|
+
end
|
109
|
+
|
110
|
+
Stub = Service.rpc_stub_class
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/gkemulticloud/v1/common_resources.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("google/cloud/gkemulticloud/v1/common_resources.proto", :syntax => :proto3) do
|
11
|
+
add_message "google.cloud.gkemulticloud.v1.WorkloadIdentityConfig" do
|
12
|
+
optional :issuer_uri, :string, 1
|
13
|
+
optional :workload_pool, :string, 2
|
14
|
+
optional :identity_provider, :string, 3
|
15
|
+
end
|
16
|
+
add_message "google.cloud.gkemulticloud.v1.MaxPodsConstraint" do
|
17
|
+
optional :max_pods_per_node, :int64, 1
|
18
|
+
end
|
19
|
+
add_message "google.cloud.gkemulticloud.v1.OperationMetadata" do
|
20
|
+
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
21
|
+
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
22
|
+
optional :target, :string, 3
|
23
|
+
optional :status_detail, :string, 4
|
24
|
+
optional :error_detail, :string, 5
|
25
|
+
end
|
26
|
+
add_message "google.cloud.gkemulticloud.v1.NodeTaint" do
|
27
|
+
optional :key, :string, 1
|
28
|
+
optional :value, :string, 2
|
29
|
+
optional :effect, :enum, 3, "google.cloud.gkemulticloud.v1.NodeTaint.Effect"
|
30
|
+
end
|
31
|
+
add_enum "google.cloud.gkemulticloud.v1.NodeTaint.Effect" do
|
32
|
+
value :EFFECT_UNSPECIFIED, 0
|
33
|
+
value :NO_SCHEDULE, 1
|
34
|
+
value :PREFER_NO_SCHEDULE, 2
|
35
|
+
value :NO_EXECUTE, 3
|
36
|
+
end
|
37
|
+
add_message "google.cloud.gkemulticloud.v1.Fleet" do
|
38
|
+
optional :project, :string, 1
|
39
|
+
optional :membership, :string, 2
|
40
|
+
end
|
41
|
+
add_message "google.cloud.gkemulticloud.v1.LoggingConfig" do
|
42
|
+
optional :component_config, :message, 1, "google.cloud.gkemulticloud.v1.LoggingComponentConfig"
|
43
|
+
end
|
44
|
+
add_message "google.cloud.gkemulticloud.v1.LoggingComponentConfig" do
|
45
|
+
repeated :enable_components, :enum, 1, "google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component"
|
46
|
+
end
|
47
|
+
add_enum "google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component" do
|
48
|
+
value :COMPONENT_UNSPECIFIED, 0
|
49
|
+
value :SYSTEM_COMPONENTS, 1
|
50
|
+
value :WORKLOADS, 2
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
module Google
|
56
|
+
module Cloud
|
57
|
+
module GkeMultiCloud
|
58
|
+
module V1
|
59
|
+
WorkloadIdentityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.WorkloadIdentityConfig").msgclass
|
60
|
+
MaxPodsConstraint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.MaxPodsConstraint").msgclass
|
61
|
+
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.OperationMetadata").msgclass
|
62
|
+
NodeTaint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.NodeTaint").msgclass
|
63
|
+
NodeTaint::Effect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.NodeTaint.Effect").enummodule
|
64
|
+
Fleet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.Fleet").msgclass
|
65
|
+
LoggingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.LoggingConfig").msgclass
|
66
|
+
LoggingComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.LoggingComponentConfig").msgclass
|
67
|
+
LoggingComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component").enummodule
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
# This gem does not autoload during Bundler.require. To load this gem,
|
20
|
+
# issue explicit require statements for the packages desired, e.g.:
|
21
|
+
# require "google/cloud/gke_multi_cloud/v1"
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# An indicator of the behavior of a given field (for example, that a field
|
23
|
+
# is required in requests, or given as output but ignored as input).
|
24
|
+
# This **does not** change the behavior in protocol buffers itself; it only
|
25
|
+
# denotes the behavior and may affect how API tooling handles the field.
|
26
|
+
#
|
27
|
+
# Note: This enum **may** receive new values in the future.
|
28
|
+
module FieldBehavior
|
29
|
+
# Conventional default for enums. Do not use this.
|
30
|
+
FIELD_BEHAVIOR_UNSPECIFIED = 0
|
31
|
+
|
32
|
+
# Specifically denotes a field as optional.
|
33
|
+
# While all fields in protocol buffers are optional, this may be specified
|
34
|
+
# for emphasis if appropriate.
|
35
|
+
OPTIONAL = 1
|
36
|
+
|
37
|
+
# Denotes a field as required.
|
38
|
+
# This indicates that the field **must** be provided as part of the request,
|
39
|
+
# and failure to do so will cause an error (usually `INVALID_ARGUMENT`).
|
40
|
+
REQUIRED = 2
|
41
|
+
|
42
|
+
# Denotes a field as output only.
|
43
|
+
# This indicates that the field is provided in responses, but including the
|
44
|
+
# field in a request does nothing (the server *must* ignore it and
|
45
|
+
# *must not* throw an error as a result of the field's presence).
|
46
|
+
OUTPUT_ONLY = 3
|
47
|
+
|
48
|
+
# Denotes a field as input only.
|
49
|
+
# This indicates that the field is provided in requests, and the
|
50
|
+
# corresponding field is not included in output.
|
51
|
+
INPUT_ONLY = 4
|
52
|
+
|
53
|
+
# Denotes a field as immutable.
|
54
|
+
# This indicates that the field may be set once in a request to create a
|
55
|
+
# resource, but may not be changed thereafter.
|
56
|
+
IMMUTABLE = 5
|
57
|
+
|
58
|
+
# Denotes that a (repeated) field is an unordered list.
|
59
|
+
# This indicates that the service may provide the elements of the list
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
|
+
# provided. Additionally, the list's order may or may not be stable.
|
62
|
+
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|