google-cloud-gke_multi_cloud-v1 0.4.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 +26 -26
- 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 +38 -40
- 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 +50 -54
- 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/aws_resources_pb.rb +26 -158
- data/lib/google/cloud/gkemulticloud/v1/aws_service_pb.rb +27 -69
- data/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb +26 -157
- data/lib/google/cloud/gkemulticloud/v1/azure_service_pb.rb +27 -92
- 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/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +13 -7
@@ -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_service.proto
|
3
4
|
|
@@ -12,100 +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
|
-
add_file("google/cloud/gkemulticloud/v1/azure_service.proto", :syntax => :proto3) do
|
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.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"
|
16
|
+
|
17
|
+
descriptor_data = "\n1google/cloud/gkemulticloud/v1/azure_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\x33google/cloud/gkemulticloud/v1/azure_resources.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdd\x01\n\x19\x43reateAzureClusterRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)gkemulticloud.googleapis.com/AzureCluster\x12G\n\razure_cluster\x18\x02 \x01(\x0b\x32+.google.cloud.gkemulticloud.v1.AzureClusterB\x03\xe0\x41\x02\x12\x1d\n\x10\x61zure_cluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xb1\x01\n\x19UpdateAzureClusterRequest\x12G\n\razure_cluster\x18\x01 \x01(\x0b\x32+.google.cloud.gkemulticloud.v1.AzureClusterB\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\"Y\n\x16GetAzureClusterRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\"\x84\x01\n\x18ListAzureClustersRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)gkemulticloud.googleapis.com/AzureCluster\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"y\n\x19ListAzureClustersResponse\x12\x43\n\x0e\x61zure_clusters\x18\x01 \x03(\x0b\x32+.google.cloud.gkemulticloud.v1.AzureCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x98\x01\n\x19\x44\x65leteAzureClusterRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\"\xe4\x01\n\x1a\x43reateAzureNodePoolRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*gkemulticloud.googleapis.com/AzureNodePool\x12J\n\x0f\x61zure_node_pool\x18\x02 \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.AzureNodePoolB\x03\xe0\x41\x02\x12\x1f\n\x12\x61zure_node_pool_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xb5\x01\n\x1aUpdateAzureNodePoolRequest\x12J\n\x0f\x61zure_node_pool\x18\x01 \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.AzureNodePoolB\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\"[\n\x17GetAzureNodePoolRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gkemulticloud.googleapis.com/AzureNodePool\"\x86\x01\n\x19ListAzureNodePoolsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*gkemulticloud.googleapis.com/AzureNodePool\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"}\n\x1aListAzureNodePoolsResponse\x12\x46\n\x10\x61zure_node_pools\x18\x01 \x03(\x0b\x32,.google.cloud.gkemulticloud.v1.AzureNodePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9a\x01\n\x1a\x44\x65leteAzureNodePoolRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gkemulticloud.googleapis.com/AzureNodePool\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\"c\n\x1bGetAzureServerConfigRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.gkemulticloud.googleapis.com/AzureServerConfig\"\xd8\x01\n\x18\x43reateAzureClientRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(gkemulticloud.googleapis.com/AzureClient\x12\x45\n\x0c\x61zure_client\x18\x02 \x01(\x0b\x32*.google.cloud.gkemulticloud.v1.AzureClientB\x03\xe0\x41\x02\x12\x1c\n\x0f\x61zure_client_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"W\n\x15GetAzureClientRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gkemulticloud.googleapis.com/AzureClient\"\x82\x01\n\x17ListAzureClientsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(gkemulticloud.googleapis.com/AzureClient\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"v\n\x18ListAzureClientsResponse\x12\x41\n\razure_clients\x18\x01 \x03(\x0b\x32*.google.cloud.gkemulticloud.v1.AzureClient\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x88\x01\n\x18\x44\x65leteAzureClientRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gkemulticloud.googleapis.com/AzureClient\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"k\n\x1fGenerateAzureAccessTokenRequest\x12H\n\razure_cluster\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\"w\n GenerateAzureAccessTokenResponse\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\xdd\x1d\n\rAzureClusters\x12\xfd\x01\n\x11\x43reateAzureClient\x12\x37.google.cloud.gkemulticloud.v1.CreateAzureClientRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/azureClients:\x0c\x61zure_client\xda\x41#parent,azure_client,azure_client_id\xca\x41 \n\x0b\x41zureClient\x12\x11OperationMetadata\x12\xb3\x01\n\x0eGetAzureClient\x12\x34.google.cloud.gkemulticloud.v1.GetAzureClientRequest\x1a*.google.cloud.gkemulticloud.v1.AzureClient\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/azureClients/*}\xda\x41\x04name\x12\xc6\x01\n\x10ListAzureClients\x12\x36.google.cloud.gkemulticloud.v1.ListAzureClientsRequest\x1a\x37.google.cloud.gkemulticloud.v1.ListAzureClientsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/azureClients\xda\x41\x06parent\x12\xd9\x01\n\x11\x44\x65leteAzureClient\x12\x37.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/azureClients/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\x84\x02\n\x12\x43reateAzureCluster\x12\x38.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02\x42\"1/v1/{parent=projects/*/locations/*}/azureClusters:\razure_cluster\xda\x41%parent,azure_cluster,azure_cluster_id\xca\x41!\n\x0c\x41zureCluster\x12\x11OperationMetadata\x12\x86\x02\n\x12UpdateAzureCluster\x12\x38.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\x82\xd3\xe4\x93\x02P2?/v1/{azure_cluster.name=projects/*/locations/*/azureClusters/*}:\razure_cluster\xda\x41\x19\x61zure_cluster,update_mask\xca\x41!\n\x0c\x41zureCluster\x12\x11OperationMetadata\x12\xb7\x01\n\x0fGetAzureCluster\x12\x35.google.cloud.gkemulticloud.v1.GetAzureClusterRequest\x1a+.google.cloud.gkemulticloud.v1.AzureCluster\"@\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/azureClusters/*}\xda\x41\x04name\x12\xca\x01\n\x11ListAzureClusters\x12\x37.google.cloud.gkemulticloud.v1.ListAzureClustersRequest\x1a\x38.google.cloud.gkemulticloud.v1.ListAzureClustersResponse\"B\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/azureClusters\xda\x41\x06parent\x12\xdc\x01\n\x12\x44\x65leteAzureCluster\x12\x38.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest\x1a\x1d.google.longrunning.Operation\"m\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/azureClusters/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xf8\x01\n\x18GenerateAzureAccessToken\x12>.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest\x1a?.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse\"[\x82\xd3\xe4\x93\x02U\x12S/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}:generateAzureAccessToken\x12\x9e\x02\n\x13\x43reateAzureNodePool\x12\x39.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\xac\x01\x82\xd3\xe4\x93\x02U\"B/v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools:\x0f\x61zure_node_pool\xda\x41)parent,azure_node_pool,azure_node_pool_id\xca\x41\"\n\rAzureNodePool\x12\x11OperationMetadata\x12\xa0\x02\n\x13UpdateAzureNodePool\x12\x39.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\xae\x01\x82\xd3\xe4\x93\x02\x65\x32R/v1/{azure_node_pool.name=projects/*/locations/*/azureClusters/*/azureNodePools/*}:\x0f\x61zure_node_pool\xda\x41\x1b\x61zure_node_pool,update_mask\xca\x41\"\n\rAzureNodePool\x12\x11OperationMetadata\x12\xcb\x01\n\x10GetAzureNodePool\x12\x36.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest\x1a,.google.cloud.gkemulticloud.v1.AzureNodePool\"Q\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}\xda\x41\x04name\x12\xde\x01\n\x12ListAzureNodePools\x12\x38.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest\x1a\x39.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse\"S\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools\xda\x41\x06parent\x12\xef\x01\n\x13\x44\x65leteAzureNodePool\x12\x39.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest\x1a\x1d.google.longrunning.Operation\"~\x82\xd3\xe4\x93\x02\x44*B/v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xc8\x01\n\x14GetAzureServerConfig\x12:.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest\x1a\x30.google.cloud.gkemulticloud.v1.AzureServerConfig\"B\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/azureServerConfig}\xda\x41\x04name\x1aP\xca\x41\x1cgkemulticloud.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe4\x01\n!com.google.cloud.gkemulticloud.v1B\x11\x41zureServiceProtoP\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.AzureCluster", "google/cloud/gkemulticloud/v1/azure_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}"
|
107
40
|
end
|
108
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."
|
109
44
|
end
|
110
45
|
|
111
46
|
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/common_resources.proto
|
3
4
|
|
@@ -6,58 +7,32 @@ require 'google/protobuf'
|
|
6
7
|
require 'google/api/field_behavior_pb'
|
7
8
|
require 'google/protobuf/timestamp_pb'
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
optional :effect, :enum, 3, "google.cloud.gkemulticloud.v1.NodeTaint.Effect"
|
32
|
-
end
|
33
|
-
add_enum "google.cloud.gkemulticloud.v1.NodeTaint.Effect" do
|
34
|
-
value :EFFECT_UNSPECIFIED, 0
|
35
|
-
value :NO_SCHEDULE, 1
|
36
|
-
value :PREFER_NO_SCHEDULE, 2
|
37
|
-
value :NO_EXECUTE, 3
|
38
|
-
end
|
39
|
-
add_message "google.cloud.gkemulticloud.v1.Fleet" do
|
40
|
-
optional :project, :string, 1
|
41
|
-
optional :membership, :string, 2
|
42
|
-
end
|
43
|
-
add_message "google.cloud.gkemulticloud.v1.LoggingConfig" do
|
44
|
-
optional :component_config, :message, 1, "google.cloud.gkemulticloud.v1.LoggingComponentConfig"
|
45
|
-
end
|
46
|
-
add_message "google.cloud.gkemulticloud.v1.LoggingComponentConfig" do
|
47
|
-
repeated :enable_components, :enum, 1, "google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component"
|
48
|
-
end
|
49
|
-
add_enum "google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component" do
|
50
|
-
value :COMPONENT_UNSPECIFIED, 0
|
51
|
-
value :SYSTEM_COMPONENTS, 1
|
52
|
-
value :WORKLOADS, 2
|
53
|
-
end
|
54
|
-
add_message "google.cloud.gkemulticloud.v1.MonitoringConfig" do
|
55
|
-
optional :managed_prometheus_config, :message, 2, "google.cloud.gkemulticloud.v1.ManagedPrometheusConfig"
|
56
|
-
end
|
57
|
-
add_message "google.cloud.gkemulticloud.v1.ManagedPrometheusConfig" do
|
58
|
-
optional :enabled, :bool, 1
|
10
|
+
|
11
|
+
descriptor_data = "\n4google/cloud/gkemulticloud/v1/common_resources.proto\x12\x1dgoogle.cloud.gkemulticloud.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"^\n\x16WorkloadIdentityConfig\x12\x12\n\nissuer_uri\x18\x01 \x01(\t\x12\x15\n\rworkload_pool\x18\x02 \x01(\t\x12\x19\n\x11identity_provider\x18\x03 \x01(\t\"3\n\x11MaxPodsConstraint\x12\x1e\n\x11max_pods_per_node\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rstatus_detail\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x65rror_detail\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\"\xd2\x01\n\tNodeTaint\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x06\x65\x66\x66\x65\x63t\x18\x03 \x01(\x0e\x32/.google.cloud.gkemulticloud.v1.NodeTaint.EffectB\x03\xe0\x41\x02\"Y\n\x06\x45\x66\x66\x65\x63t\x12\x16\n\x12\x45\x46\x46\x45\x43T_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNO_SCHEDULE\x10\x01\x12\x16\n\x12PREFER_NO_SCHEDULE\x10\x02\x12\x0e\n\nNO_EXECUTE\x10\x03\"6\n\x05\x46leet\x12\x14\n\x07project\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nmembership\x18\x02 \x01(\tB\x03\xe0\x41\x03\"`\n\rLoggingConfig\x12O\n\x10\x63omponent_config\x18\x01 \x01(\x0b\x32\x35.google.cloud.gkemulticloud.v1.LoggingComponentConfig\"\xc2\x01\n\x16LoggingComponentConfig\x12Z\n\x11\x65nable_components\x18\x01 \x03(\x0e\x32?.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component\"L\n\tComponent\x12\x19\n\x15\x43OMPONENT_UNSPECIFIED\x10\x00\x12\x15\n\x11SYSTEM_COMPONENTS\x10\x01\x12\r\n\tWORKLOADS\x10\x02\"m\n\x10MonitoringConfig\x12Y\n\x19managed_prometheus_config\x18\x02 \x01(\x0b\x32\x36.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig\"*\n\x17ManagedPrometheusConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x42\xe7\x01\n!com.google.cloud.gkemulticloud.v1B\x14\x43ommonResourcesProtoP\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"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError => e
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
59
32
|
end
|
60
33
|
end
|
34
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
+
warn "This will become an error in the next major version."
|
61
36
|
end
|
62
37
|
|
63
38
|
module Google
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -81,7 +83,7 @@ module Google
|
|
81
83
|
# long-running operation pattern.
|
82
84
|
# @!attribute [rw] new_issue_uri
|
83
85
|
# @return [::String]
|
84
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
85
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
86
88
|
# @!attribute [rw] documentation_uri
|
87
89
|
# @return [::String]
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +209,57 @@ module Google
|
|
203
209
|
# @!attribute [rw] common
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
205
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
206
242
|
class DotnetSettings
|
207
243
|
include ::Google::Protobuf::MessageExts
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
209
263
|
end
|
210
264
|
|
211
265
|
# Settings for Ruby client libraries.
|
@@ -240,8 +294,8 @@ module Google
|
|
240
294
|
# Example of a YAML configuration::
|
241
295
|
#
|
242
296
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
299
|
# long_running:
|
246
300
|
# initial_poll_delay:
|
247
301
|
# seconds: 60 # 1 minute
|
@@ -299,6 +353,15 @@ module Google
|
|
299
353
|
|
300
354
|
# Street View Org.
|
301
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
302
365
|
end
|
303
366
|
|
304
367
|
# To where should client libraries be published?
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-gke_multi_cloud-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.19.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.
|
53
|
+
version: 1.26.3
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.
|
60
|
+
version: 1.26.3
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: minitest
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -240,5 +240,11 @@ requirements: []
|
|
240
240
|
rubygems_version: 3.4.2
|
241
241
|
signing_key:
|
242
242
|
specification_version: 4
|
243
|
-
summary:
|
243
|
+
summary: Anthos Multi-Cloud provides a way to manage Kubernetes clusters that run
|
244
|
+
on AWS and Azure infrastructure using the Anthos Multi-Cloud API. Combined with
|
245
|
+
Connect, you can manage Kubernetes clusters on Google Cloud, AWS, and Azure from
|
246
|
+
the Google Cloud Console. When you create a cluster with Anthos Multi-Cloud, Google
|
247
|
+
creates the resources needed and brings up a cluster on your behalf. You can deploy
|
248
|
+
workloads with the Anthos Multi-Cloud API or the gcloud and kubectl command-line
|
249
|
+
tools.
|
244
250
|
test_files: []
|