google-cloud-gke_hub-v1beta1 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/client.rb +40 -29
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/operations.rb +5 -3
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/rest/client.rb +40 -29
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/rest/operations.rb +9 -7
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/rest/service_stub.rb +8 -8
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/rest.rb +4 -2
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service.rb +4 -2
- data/lib/google/cloud/gke_hub/v1beta1/version.rb +1 -1
- data/lib/google/cloud/gkehub/v1beta1/membership_pb.rb +29 -184
- data/lib/google/cloud/gkehub/v1beta1/membership_services_pb.rb +4 -2
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/gkehub/v1beta1/membership.rb +126 -75
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
|
@@ -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/gkehub/v1beta1/membership.proto
|
|
3
4
|
|
|
@@ -8,196 +9,39 @@ require 'google/api/client_pb'
|
|
|
8
9
|
require 'google/api/field_behavior_pb'
|
|
9
10
|
require 'google/api/resource_pb'
|
|
10
11
|
require 'google/longrunning/operations_pb'
|
|
12
|
+
require 'google/protobuf/empty_pb'
|
|
11
13
|
require 'google/protobuf/field_mask_pb'
|
|
12
14
|
require 'google/protobuf/timestamp_pb'
|
|
13
15
|
require 'google/rpc/status_pb'
|
|
14
16
|
|
|
15
|
-
|
|
16
|
-
add_file("google/cloud/gkehub/v1beta1/membership.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
|
-
add_message "google.cloud.gkehub.v1beta1.MembershipEndpoint" do
|
|
40
|
-
optional :kubernetes_metadata, :message, 5, "google.cloud.gkehub.v1beta1.KubernetesMetadata"
|
|
41
|
-
optional :kubernetes_resource, :message, 6, "google.cloud.gkehub.v1beta1.KubernetesResource"
|
|
42
|
-
oneof :type do
|
|
43
|
-
optional :gke_cluster, :message, 4, "google.cloud.gkehub.v1beta1.GkeCluster"
|
|
44
|
-
optional :on_prem_cluster, :message, 7, "google.cloud.gkehub.v1beta1.OnPremCluster"
|
|
45
|
-
optional :multi_cloud_cluster, :message, 8, "google.cloud.gkehub.v1beta1.MultiCloudCluster"
|
|
46
|
-
optional :edge_cluster, :message, 9, "google.cloud.gkehub.v1beta1.EdgeCluster"
|
|
47
|
-
optional :appliance_cluster, :message, 10, "google.cloud.gkehub.v1beta1.ApplianceCluster"
|
|
48
|
-
end
|
|
49
|
-
end
|
|
50
|
-
add_message "google.cloud.gkehub.v1beta1.KubernetesResource" do
|
|
51
|
-
optional :membership_cr_manifest, :string, 1
|
|
52
|
-
repeated :membership_resources, :message, 2, "google.cloud.gkehub.v1beta1.ResourceManifest"
|
|
53
|
-
repeated :connect_resources, :message, 3, "google.cloud.gkehub.v1beta1.ResourceManifest"
|
|
54
|
-
optional :resource_options, :message, 4, "google.cloud.gkehub.v1beta1.ResourceOptions"
|
|
55
|
-
end
|
|
56
|
-
add_message "google.cloud.gkehub.v1beta1.ResourceOptions" do
|
|
57
|
-
optional :connect_version, :string, 1
|
|
58
|
-
optional :v1beta1_crd, :bool, 2
|
|
59
|
-
optional :k8s_version, :string, 3
|
|
60
|
-
end
|
|
61
|
-
add_message "google.cloud.gkehub.v1beta1.ResourceManifest" do
|
|
62
|
-
optional :manifest, :string, 1
|
|
63
|
-
optional :cluster_scoped, :bool, 2
|
|
64
|
-
end
|
|
65
|
-
add_message "google.cloud.gkehub.v1beta1.GkeCluster" do
|
|
66
|
-
optional :resource_link, :string, 1
|
|
67
|
-
optional :cluster_missing, :bool, 3
|
|
68
|
-
end
|
|
69
|
-
add_message "google.cloud.gkehub.v1beta1.OnPremCluster" do
|
|
70
|
-
optional :resource_link, :string, 1
|
|
71
|
-
optional :cluster_missing, :bool, 2
|
|
72
|
-
optional :admin_cluster, :bool, 3
|
|
73
|
-
optional :cluster_type, :enum, 4, "google.cloud.gkehub.v1beta1.OnPremCluster.ClusterType"
|
|
74
|
-
end
|
|
75
|
-
add_enum "google.cloud.gkehub.v1beta1.OnPremCluster.ClusterType" do
|
|
76
|
-
value :CLUSTERTYPE_UNSPECIFIED, 0
|
|
77
|
-
value :BOOTSTRAP, 1
|
|
78
|
-
value :HYBRID, 2
|
|
79
|
-
value :STANDALONE, 3
|
|
80
|
-
value :USER, 4
|
|
81
|
-
end
|
|
82
|
-
add_message "google.cloud.gkehub.v1beta1.MultiCloudCluster" do
|
|
83
|
-
optional :resource_link, :string, 1
|
|
84
|
-
optional :cluster_missing, :bool, 2
|
|
85
|
-
end
|
|
86
|
-
add_message "google.cloud.gkehub.v1beta1.EdgeCluster" do
|
|
87
|
-
optional :resource_link, :string, 1
|
|
88
|
-
end
|
|
89
|
-
add_message "google.cloud.gkehub.v1beta1.ApplianceCluster" do
|
|
90
|
-
optional :resource_link, :string, 1
|
|
91
|
-
end
|
|
92
|
-
add_message "google.cloud.gkehub.v1beta1.KubernetesMetadata" do
|
|
93
|
-
optional :kubernetes_api_server_version, :string, 1
|
|
94
|
-
optional :node_provider_id, :string, 2
|
|
95
|
-
optional :node_count, :int32, 3
|
|
96
|
-
optional :vcpu_count, :int32, 4
|
|
97
|
-
optional :memory_mb, :int32, 5
|
|
98
|
-
optional :update_time, :message, 100, "google.protobuf.Timestamp"
|
|
99
|
-
end
|
|
100
|
-
add_message "google.cloud.gkehub.v1beta1.Authority" do
|
|
101
|
-
optional :issuer, :string, 1
|
|
102
|
-
optional :workload_identity_pool, :string, 2
|
|
103
|
-
optional :identity_provider, :string, 3
|
|
104
|
-
optional :oidc_jwks, :bytes, 4
|
|
105
|
-
end
|
|
106
|
-
add_message "google.cloud.gkehub.v1beta1.MembershipState" do
|
|
107
|
-
optional :code, :enum, 1, "google.cloud.gkehub.v1beta1.MembershipState.Code"
|
|
108
|
-
optional :description, :string, 2
|
|
109
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
|
110
|
-
end
|
|
111
|
-
add_enum "google.cloud.gkehub.v1beta1.MembershipState.Code" do
|
|
112
|
-
value :CODE_UNSPECIFIED, 0
|
|
113
|
-
value :CREATING, 1
|
|
114
|
-
value :READY, 2
|
|
115
|
-
value :DELETING, 3
|
|
116
|
-
value :UPDATING, 4
|
|
117
|
-
value :SERVICE_UPDATING, 5
|
|
118
|
-
end
|
|
119
|
-
add_message "google.cloud.gkehub.v1beta1.ListMembershipsRequest" do
|
|
120
|
-
optional :parent, :string, 1
|
|
121
|
-
optional :page_size, :int32, 2
|
|
122
|
-
optional :page_token, :string, 3
|
|
123
|
-
optional :filter, :string, 4
|
|
124
|
-
optional :order_by, :string, 5
|
|
125
|
-
end
|
|
126
|
-
add_message "google.cloud.gkehub.v1beta1.ListMembershipsResponse" do
|
|
127
|
-
repeated :resources, :message, 1, "google.cloud.gkehub.v1beta1.Membership"
|
|
128
|
-
optional :next_page_token, :string, 2
|
|
129
|
-
repeated :unreachable, :string, 3
|
|
130
|
-
end
|
|
131
|
-
add_message "google.cloud.gkehub.v1beta1.GetMembershipRequest" do
|
|
132
|
-
optional :name, :string, 1
|
|
133
|
-
end
|
|
134
|
-
add_message "google.cloud.gkehub.v1beta1.CreateMembershipRequest" do
|
|
135
|
-
optional :parent, :string, 1
|
|
136
|
-
optional :membership_id, :string, 2
|
|
137
|
-
optional :resource, :message, 3, "google.cloud.gkehub.v1beta1.Membership"
|
|
138
|
-
optional :request_id, :string, 4
|
|
139
|
-
end
|
|
140
|
-
add_message "google.cloud.gkehub.v1beta1.DeleteMembershipRequest" do
|
|
141
|
-
optional :name, :string, 1
|
|
142
|
-
optional :request_id, :string, 4
|
|
143
|
-
end
|
|
144
|
-
add_message "google.cloud.gkehub.v1beta1.UpdateMembershipRequest" do
|
|
145
|
-
optional :name, :string, 1
|
|
146
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
|
147
|
-
optional :resource, :message, 3, "google.cloud.gkehub.v1beta1.Membership"
|
|
148
|
-
optional :request_id, :string, 4
|
|
149
|
-
end
|
|
150
|
-
add_message "google.cloud.gkehub.v1beta1.GenerateConnectManifestRequest" do
|
|
151
|
-
optional :name, :string, 1
|
|
152
|
-
optional :connect_agent, :message, 2, "google.cloud.gkehub.v1beta1.ConnectAgent"
|
|
153
|
-
optional :version, :string, 3
|
|
154
|
-
optional :is_upgrade, :bool, 4
|
|
155
|
-
optional :registry, :string, 5
|
|
156
|
-
optional :image_pull_secret_content, :bytes, 6
|
|
157
|
-
end
|
|
158
|
-
add_message "google.cloud.gkehub.v1beta1.GenerateConnectManifestResponse" do
|
|
159
|
-
repeated :manifest, :message, 1, "google.cloud.gkehub.v1beta1.ConnectAgentResource"
|
|
160
|
-
end
|
|
161
|
-
add_message "google.cloud.gkehub.v1beta1.ConnectAgentResource" do
|
|
162
|
-
optional :type, :message, 1, "google.cloud.gkehub.v1beta1.TypeMeta"
|
|
163
|
-
optional :manifest, :string, 2
|
|
164
|
-
end
|
|
165
|
-
add_message "google.cloud.gkehub.v1beta1.TypeMeta" do
|
|
166
|
-
optional :kind, :string, 1
|
|
167
|
-
optional :api_version, :string, 2
|
|
168
|
-
end
|
|
169
|
-
add_message "google.cloud.gkehub.v1beta1.ConnectAgent" do
|
|
170
|
-
optional :name, :string, 1
|
|
171
|
-
optional :proxy, :bytes, 2
|
|
172
|
-
optional :namespace, :string, 3
|
|
173
|
-
end
|
|
174
|
-
add_message "google.cloud.gkehub.v1beta1.ValidateExclusivityRequest" do
|
|
175
|
-
optional :parent, :string, 1
|
|
176
|
-
optional :cr_manifest, :string, 2
|
|
177
|
-
optional :intended_membership, :string, 3
|
|
178
|
-
end
|
|
179
|
-
add_message "google.cloud.gkehub.v1beta1.ValidateExclusivityResponse" do
|
|
180
|
-
optional :status, :message, 1, "google.rpc.Status"
|
|
181
|
-
end
|
|
182
|
-
add_message "google.cloud.gkehub.v1beta1.GenerateExclusivityManifestRequest" do
|
|
183
|
-
optional :name, :string, 1
|
|
184
|
-
optional :crd_manifest, :string, 2
|
|
185
|
-
optional :cr_manifest, :string, 3
|
|
186
|
-
end
|
|
187
|
-
add_message "google.cloud.gkehub.v1beta1.GenerateExclusivityManifestResponse" do
|
|
188
|
-
optional :crd_manifest, :string, 1
|
|
189
|
-
optional :cr_manifest, :string, 2
|
|
190
|
-
end
|
|
191
|
-
add_message "google.cloud.gkehub.v1beta1.OperationMetadata" do
|
|
192
|
-
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
|
193
|
-
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
|
194
|
-
optional :target, :string, 3
|
|
195
|
-
optional :verb, :string, 4
|
|
196
|
-
optional :status_detail, :string, 5
|
|
197
|
-
optional :cancel_requested, :bool, 6
|
|
198
|
-
optional :api_version, :string, 7
|
|
17
|
+
|
|
18
|
+
descriptor_data = "\n,google/cloud/gkehub/v1beta1/membership.proto\x12\x1bgoogle.cloud.gkehub.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x88\x08\n\nMembership\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12H\n\x06labels\x18\x02 \x03(\x0b\x32\x33.google.cloud.gkehub.v1beta1.Membership.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12H\n\x08\x65ndpoint\x18\x04 \x01(\x0b\x32/.google.cloud.gkehub.v1beta1.MembershipEndpointB\x03\xe0\x41\x01H\x00\x12@\n\x05state\x18\x05 \x01(\x0b\x32,.google.cloud.gkehub.v1beta1.MembershipStateB\x03\xe0\x41\x03\x12>\n\tauthority\x18\t \x01(\x0b\x32&.google.cloud.gkehub.v1beta1.AuthorityB\x03\xe0\x41\x01\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\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xternal_id\x18\n \x01(\tB\x03\xe0\x41\x01\x12=\n\x14last_connection_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x16\n\tunique_id\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\\\n\x13infrastructure_type\x18\r \x01(\x0e\x32:.google.cloud.gkehub.v1beta1.Membership.InfrastructureTypeB\x03\xe0\x41\x01\x12M\n\x11monitoring_config\x18\x0e \x01(\x0b\x32-.google.cloud.gkehub.v1beta1.MonitoringConfigB\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\"W\n\x12InfrastructureType\x12#\n\x1fINFRASTRUCTURE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07ON_PREM\x10\x01\x12\x0f\n\x0bMULTI_CLOUD\x10\x02:g\xea\x41\x64\n gkehub.googleapis.com/Membership\x12@projects/{project}/locations/{location}/memberships/{membership}B\x06\n\x04type\"\xbf\x04\n\x12MembershipEndpoint\x12\x43\n\x0bgke_cluster\x18\x04 \x01(\x0b\x32\'.google.cloud.gkehub.v1beta1.GkeClusterB\x03\xe0\x41\x01H\x00\x12J\n\x0fon_prem_cluster\x18\x07 \x01(\x0b\x32*.google.cloud.gkehub.v1beta1.OnPremClusterB\x03\xe0\x41\x01H\x00\x12R\n\x13multi_cloud_cluster\x18\x08 \x01(\x0b\x32..google.cloud.gkehub.v1beta1.MultiCloudClusterB\x03\xe0\x41\x01H\x00\x12\x45\n\x0c\x65\x64ge_cluster\x18\t \x01(\x0b\x32(.google.cloud.gkehub.v1beta1.EdgeClusterB\x03\xe0\x41\x01H\x00\x12O\n\x11\x61ppliance_cluster\x18\n \x01(\x0b\x32-.google.cloud.gkehub.v1beta1.ApplianceClusterB\x03\xe0\x41\x01H\x00\x12Q\n\x13kubernetes_metadata\x18\x05 \x01(\x0b\x32/.google.cloud.gkehub.v1beta1.KubernetesMetadataB\x03\xe0\x41\x03\x12Q\n\x13kubernetes_resource\x18\x06 \x01(\x0b\x32/.google.cloud.gkehub.v1beta1.KubernetesResourceB\x03\xe0\x41\x01\x42\x06\n\x04type\"\xa7\x02\n\x12KubernetesResource\x12#\n\x16membership_cr_manifest\x18\x01 \x01(\tB\x03\xe0\x41\x04\x12P\n\x14membership_resources\x18\x02 \x03(\x0b\x32-.google.cloud.gkehub.v1beta1.ResourceManifestB\x03\xe0\x41\x03\x12M\n\x11\x63onnect_resources\x18\x03 \x03(\x0b\x32-.google.cloud.gkehub.v1beta1.ResourceManifestB\x03\xe0\x41\x03\x12K\n\x10resource_options\x18\x04 \x01(\x0b\x32,.google.cloud.gkehub.v1beta1.ResourceOptionsB\x03\xe0\x41\x01\"c\n\x0fResourceOptions\x12\x1c\n\x0f\x63onnect_version\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bv1beta1_crd\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0bk8s_version\x18\x03 \x01(\tB\x03\xe0\x41\x01\"<\n\x10ResourceManifest\x12\x10\n\x08manifest\x18\x01 \x01(\t\x12\x16\n\x0e\x63luster_scoped\x18\x02 \x01(\x08\"F\n\nGkeCluster\x12\x1a\n\rresource_link\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x1c\n\x0f\x63luster_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\"\x99\x02\n\rOnPremCluster\x12\x1a\n\rresource_link\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x1c\n\x0f\x63luster_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\radmin_cluster\x18\x03 \x01(\x08\x42\x03\xe0\x41\x05\x12Q\n\x0c\x63luster_type\x18\x04 \x01(\x0e\x32\x36.google.cloud.gkehub.v1beta1.OnPremCluster.ClusterTypeB\x03\xe0\x41\x05\"_\n\x0b\x43lusterType\x12\x1b\n\x17\x43LUSTERTYPE_UNSPECIFIED\x10\x00\x12\r\n\tBOOTSTRAP\x10\x01\x12\n\n\x06HYBRID\x10\x02\x12\x0e\n\nSTANDALONE\x10\x03\x12\x08\n\x04USER\x10\x04\"M\n\x11MultiCloudCluster\x12\x1a\n\rresource_link\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x1c\n\x0f\x63luster_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\")\n\x0b\x45\x64geCluster\x12\x1a\n\rresource_link\x18\x01 \x01(\tB\x03\xe0\x41\x05\".\n\x10\x41pplianceCluster\x12\x1a\n\rresource_link\x18\x01 \x01(\tB\x03\xe0\x41\x05\"\xdf\x01\n\x12KubernetesMetadata\x12*\n\x1dkubernetes_api_server_version\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10node_provider_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nnode_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x17\n\nvcpu_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12\x16\n\tmemory_mb\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"}\n\tAuthority\x12\x13\n\x06issuer\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12#\n\x16workload_identity_pool\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1e\n\x11identity_provider\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\toidc_jwks\x18\x04 \x01(\x0c\x42\x03\xe0\x41\x01\"\x96\x01\n\x10MonitoringConfig\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x15\n\x08location\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12\x14\n\x07\x63luster\x18\x03 \x01(\tB\x03\xe0\x41\x05\x12!\n\x19kubernetes_metrics_prefix\x18\x04 \x01(\t\x12\x19\n\x0c\x63luster_hash\x18\x05 \x01(\tB\x03\xe0\x41\x05\"\x8e\x02\n\x0fMembershipState\x12\x44\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x31.google.cloud.gkehub.v1beta1.MembershipState.CodeB\x03\xe0\x41\x03\x12\x17\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x02\x18\x01\x12\x33\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01\"g\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x14\n\x10SERVICE_UPDATING\x10\x05\"\xaf\x01\n\x16ListMembershipsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 gkehub.googleapis.com/Membership\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x83\x01\n\x17ListMembershipsResponse\x12:\n\tresources\x18\x01 \x03(\x0b\x32\'.google.cloud.gkehub.v1beta1.Membership\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"N\n\x14GetMembershipRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\"\xc8\x01\n\x17\x43reateMembershipRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 gkehub.googleapis.com/Membership\x12\x1a\n\rmembership_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\x08resource\x18\x03 \x01(\x0b\x32\'.google.cloud.gkehub.v1beta1.MembershipB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"~\n\x17\x44\x65leteMembershipRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xe0\x01\n\x17UpdateMembershipRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12>\n\x08resource\x18\x03 \x01(\x0b\x32\'.google.cloud.gkehub.v1beta1.MembershipB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x8d\x02\n\x1eGenerateConnectManifestRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\x12\x45\n\rconnect_agent\x18\x02 \x01(\x0b\x32).google.cloud.gkehub.v1beta1.ConnectAgentB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nis_upgrade\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08registry\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12&\n\x19image_pull_secret_content\x18\x06 \x01(\x0c\x42\x03\xe0\x41\x01\"f\n\x1fGenerateConnectManifestResponse\x12\x43\n\x08manifest\x18\x01 \x03(\x0b\x32\x31.google.cloud.gkehub.v1beta1.ConnectAgentResource\"]\n\x14\x43onnectAgentResource\x12\x33\n\x04type\x18\x01 \x01(\x0b\x32%.google.cloud.gkehub.v1beta1.TypeMeta\x12\x10\n\x08manifest\x18\x02 \x01(\t\"-\n\x08TypeMeta\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x13\n\x0b\x61pi_version\x18\x02 \x01(\t\"L\n\x0c\x43onnectAgent\x12\x10\n\x04name\x18\x01 \x01(\tB\x02\x18\x01\x12\x12\n\x05proxy\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x01\x12\x16\n\tnamespace\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x92\x01\n\x1aValidateExclusivityRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 gkehub.googleapis.com/Membership\x12\x18\n\x0b\x63r_manifest\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12 \n\x13intended_membership\x18\x03 \x01(\tB\x03\xe0\x41\x02\"A\n\x1bValidateExclusivityResponse\x12\"\n\x06status\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\"\x91\x01\n\"GenerateExclusivityManifestRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\x12\x19\n\x0c\x63rd_manifest\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x63r_manifest\x18\x03 \x01(\tB\x03\xe0\x41\x01\"P\n#GenerateExclusivityManifestResponse\x12\x14\n\x0c\x63rd_manifest\x18\x01 \x01(\t\x12\x13\n\x0b\x63r_manifest\x18\x02 \x01(\t\"\xf9\x01\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\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rstatus_detail\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x63\x61ncel_requested\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xe6\x0e\n\x17GkeHubMembershipService\x12\xc3\x01\n\x0fListMemberships\x12\x33.google.cloud.gkehub.v1beta1.ListMembershipsRequest\x1a\x34.google.cloud.gkehub.v1beta1.ListMembershipsResponse\"E\x82\xd3\xe4\x93\x02\x36\x12\x34/v1beta1/{parent=projects/*/locations/*}/memberships\xda\x41\x06parent\x12\xb0\x01\n\rGetMembership\x12\x31.google.cloud.gkehub.v1beta1.GetMembershipRequest\x1a\'.google.cloud.gkehub.v1beta1.Membership\"C\x82\xd3\xe4\x93\x02\x36\x12\x34/v1beta1/{name=projects/*/locations/*/memberships/*}\xda\x41\x04name\x12\xf2\x01\n\x10\x43reateMembership\x12\x34.google.cloud.gkehub.v1beta1.CreateMembershipRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02@\"4/v1beta1/{parent=projects/*/locations/*}/memberships:\x08resource\xda\x41\x1dparent,resource,membership_id\xca\x41\x1f\n\nMembership\x12\x11OperationMetadata\x12\xd9\x01\n\x10\x44\x65leteMembership\x12\x34.google.cloud.gkehub.v1beta1.DeleteMembershipRequest\x1a\x1d.google.longrunning.Operation\"p\x82\xd3\xe4\x93\x02\x36*4/v1beta1/{name=projects/*/locations/*/memberships/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xee\x01\n\x10UpdateMembership\x12\x34.google.cloud.gkehub.v1beta1.UpdateMembershipRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\x82\xd3\xe4\x93\x02@24/v1beta1/{name=projects/*/locations/*/memberships/*}:\x08resource\xda\x41\x19name,resource,update_mask\xca\x41\x1f\n\nMembership\x12\x11OperationMetadata\x12\xea\x01\n\x17GenerateConnectManifest\x12;.google.cloud.gkehub.v1beta1.GenerateConnectManifestRequest\x1a<.google.cloud.gkehub.v1beta1.GenerateConnectManifestResponse\"T\x82\xd3\xe4\x93\x02N\x12L/v1beta1/{name=projects/*/locations/*/memberships/*}:generateConnectManifest\x12\xda\x01\n\x13ValidateExclusivity\x12\x37.google.cloud.gkehub.v1beta1.ValidateExclusivityRequest\x1a\x38.google.cloud.gkehub.v1beta1.ValidateExclusivityResponse\"P\x82\xd3\xe4\x93\x02J\x12H/v1beta1/{parent=projects/*/locations/*}/memberships:validateExclusivity\x12\xfa\x01\n\x1bGenerateExclusivityManifest\x12?.google.cloud.gkehub.v1beta1.GenerateExclusivityManifestRequest\x1a@.google.cloud.gkehub.v1beta1.GenerateExclusivityManifestResponse\"X\x82\xd3\xe4\x93\x02R\x12P/v1beta1/{name=projects/*/locations/*/memberships/*}:generateExclusivityManifest\x1aI\xca\x41\x15gkehub.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb9\x01\n\x1f\x63om.google.cloud.gkehub.v1beta1P\x01Z7cloud.google.com/go/gkehub/apiv1beta1/gkehubpb;gkehubpb\xaa\x02\x1bGoogle.Cloud.GkeHub.V1Beta1\xca\x02\x1bGoogle\\Cloud\\GkeHub\\V1beta1\xea\x02\x1eGoogle::Cloud::GkeHub::V1beta1b\x06proto3"
|
|
19
|
+
|
|
20
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
21
|
+
|
|
22
|
+
begin
|
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
|
24
|
+
rescue TypeError => e
|
|
25
|
+
# Compatibility code: will be removed in the next major version.
|
|
26
|
+
require 'google/protobuf/descriptor_pb'
|
|
27
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
28
|
+
parsed.clear_dependency
|
|
29
|
+
serialized = parsed.class.encode(parsed)
|
|
30
|
+
file = pool.add_serialized_file(serialized)
|
|
31
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
32
|
+
imports = [
|
|
33
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
34
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
35
|
+
["google.rpc.Status", "google/rpc/status.proto"],
|
|
36
|
+
]
|
|
37
|
+
imports.each do |type_name, expected_filename|
|
|
38
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
39
|
+
if import_file.name != expected_filename
|
|
40
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
199
41
|
end
|
|
200
42
|
end
|
|
43
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
44
|
+
warn "This will become an error in the next major version."
|
|
201
45
|
end
|
|
202
46
|
|
|
203
47
|
module Google
|
|
@@ -218,6 +62,7 @@ module Google
|
|
|
218
62
|
ApplianceCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.ApplianceCluster").msgclass
|
|
219
63
|
KubernetesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.KubernetesMetadata").msgclass
|
|
220
64
|
Authority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.Authority").msgclass
|
|
65
|
+
MonitoringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.MonitoringConfig").msgclass
|
|
221
66
|
MembershipState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.MembershipState").msgclass
|
|
222
67
|
MembershipState::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.MembershipState.Code").enummodule
|
|
223
68
|
ListMembershipsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.ListMembershipsRequest").msgclass
|
|
@@ -25,9 +25,11 @@ module Google
|
|
|
25
25
|
module V1beta1
|
|
26
26
|
module GkeHubMembershipService
|
|
27
27
|
# The GKE Hub MembershipService handles the registration of many Kubernetes
|
|
28
|
-
# clusters to Google Cloud, represented with the
|
|
28
|
+
# clusters to Google Cloud, represented with the
|
|
29
|
+
# [Membership][google.cloud.gkehub.v1beta1.Membership] resource.
|
|
29
30
|
#
|
|
30
|
-
# GKE Hub is currently
|
|
31
|
+
# GKE Hub is currently available in the global region and all regions in
|
|
32
|
+
# https://cloud.google.com/compute/docs/regions-zones.
|
|
31
33
|
#
|
|
32
34
|
# **Membership management may be non-trivial:** it is recommended to use one
|
|
33
35
|
# of the Google-provided client libraries or tools where possible when working
|
|
@@ -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?
|