google-cloud-gke_hub-v1beta1 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e3cf5571a93e118462eda9e6eda636e92c786bc69122222980f5bed1099ff93
4
- data.tar.gz: 8b87620ea3da5b030dd22bcffdc8f815c677c300d541195c29235bf729fa89aa
3
+ metadata.gz: 0e4911c61d696d1c0ef20fa803121e47b5fb084c0f288817d5bb9a0797a4e621
4
+ data.tar.gz: 1630f36aa2f7c7cfeffa4565e1b68b868e32c6d34944d77227a20c9996bfe811
5
5
  SHA512:
6
- metadata.gz: e091bc48abc5e575ab7e152cecd6fd56dff6e05608fc096f149af09d51e262b774397fe27db683032689629024cc8ec6d3221f1aa941625b53748a2fcd78ac51
7
- data.tar.gz: 38fe70a8dc84a34e9cec0afa1f6899938bb91c299038a08138428e955bda170caa05b92ec1fff9f9237730311d06f59072258db367a0739a9b73078c76d96045
6
+ metadata.gz: 335a05928c601f9d29b82fb8f0aba8968b7ead83fe1a48d3deaa37d2cef7c0eeabdcaed8053a60e44ed8e3832030ef0cc1a06d178e3f35a4129c445e5e177524
7
+ data.tar.gz: 13cb7d06f0cdc2500d5e4e792e06e2fe593e410c6c3f507edca1a74eba007e79118b88afba7829b4934914bdd141458b9e71402d150f18c002ebc2a0496ec64e
@@ -139,7 +139,7 @@ module Google
139
139
  credentials = @config.credentials
140
140
  # Use self-signed JWT if the endpoint is unchanged from default,
141
141
  # but only if the default endpoint does not have a region prefix.
142
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
142
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
143
143
  !@config.endpoint.split(".").first.include?("-")
144
144
  credentials ||= Credentials.default scope: @config.scope,
145
145
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1152,7 +1152,9 @@ module Google
1152
1152
  class Configuration
1153
1153
  extend ::Gapic::Config
1154
1154
 
1155
- config_attr :endpoint, "gkehub.googleapis.com", ::String
1155
+ DEFAULT_ENDPOINT = "gkehub.googleapis.com"
1156
+
1157
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1156
1158
  config_attr :credentials, nil do |value|
1157
1159
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1158
1160
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -664,7 +664,9 @@ module Google
664
664
  class Configuration
665
665
  extend ::Gapic::Config
666
666
 
667
- config_attr :endpoint, "gkehub.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "gkehub.googleapis.com"
668
+
669
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
670
  config_attr :credentials, nil do |value|
669
671
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
672
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -135,7 +135,7 @@ module Google
135
135
  credentials = @config.credentials
136
136
  # Use self-signed JWT if the endpoint is unchanged from default,
137
137
  # but only if the default endpoint does not have a region prefix.
138
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
138
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
139
139
  !@config.endpoint.split(".").first.include?("-")
140
140
  credentials ||= Credentials.default scope: @config.scope,
141
141
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -926,7 +926,9 @@ module Google
926
926
  class Configuration
927
927
  extend ::Gapic::Config
928
928
 
929
- config_attr :endpoint, "gkehub.googleapis.com", ::String
929
+ DEFAULT_ENDPOINT = "gkehub.googleapis.com"
930
+
931
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
930
932
  config_attr :credentials, nil do |value|
931
933
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
932
934
  allowed.any? { |klass| klass === value }
@@ -446,7 +446,9 @@ module Google
446
446
  class Configuration
447
447
  extend ::Gapic::Config
448
448
 
449
- config_attr :endpoint, "gkehub.googleapis.com", ::String
449
+ DEFAULT_ENDPOINT = "gkehub.googleapis.com"
450
+
451
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
450
452
  config_attr :credentials, nil do |value|
451
453
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
452
454
  allowed.any? { |klass| klass === value }
@@ -567,7 +569,7 @@ module Google
567
569
 
568
570
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
569
571
  query_string_params = if query_string_params.any?
570
- query_string_params.to_h { |p| p.split("=", 2) }
572
+ query_string_params.to_h { |p| p.split "=", 2 }
571
573
  else
572
574
  {}
573
575
  end
@@ -605,7 +607,7 @@ module Google
605
607
 
606
608
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
607
609
  query_string_params = if query_string_params.any?
608
- query_string_params.to_h { |p| p.split("=", 2) }
610
+ query_string_params.to_h { |p| p.split "=", 2 }
609
611
  else
610
612
  {}
611
613
  end
@@ -643,7 +645,7 @@ module Google
643
645
 
644
646
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
645
647
  query_string_params = if query_string_params.any?
646
- query_string_params.to_h { |p| p.split("=", 2) }
648
+ query_string_params.to_h { |p| p.split "=", 2 }
647
649
  else
648
650
  {}
649
651
  end
@@ -681,7 +683,7 @@ module Google
681
683
 
682
684
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
683
685
  query_string_params = if query_string_params.any?
684
- query_string_params.to_h { |p| p.split("=", 2) }
686
+ query_string_params.to_h { |p| p.split "=", 2 }
685
687
  else
686
688
  {}
687
689
  end
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_list_memberships_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_membership_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_create_membership_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_membership_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_update_membership_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -249,7 +249,7 @@ module Google
249
249
 
250
250
  verb, uri, query_string_params, body = ServiceStub.transcode_generate_connect_manifest_request request_pb
251
251
  query_string_params = if query_string_params.any?
252
- query_string_params.to_h { |p| p.split("=", 2) }
252
+ query_string_params.to_h { |p| p.split "=", 2 }
253
253
  else
254
254
  {}
255
255
  end
@@ -287,7 +287,7 @@ module Google
287
287
 
288
288
  verb, uri, query_string_params, body = ServiceStub.transcode_validate_exclusivity_request request_pb
289
289
  query_string_params = if query_string_params.any?
290
- query_string_params.to_h { |p| p.split("=", 2) }
290
+ query_string_params.to_h { |p| p.split "=", 2 }
291
291
  else
292
292
  {}
293
293
  end
@@ -325,7 +325,7 @@ module Google
325
325
 
326
326
  verb, uri, query_string_params, body = ServiceStub.transcode_generate_exclusivity_manifest_request request_pb
327
327
  query_string_params = if query_string_params.any?
328
- query_string_params.to_h { |p| p.split("=", 2) }
328
+ query_string_params.to_h { |p| p.split "=", 2 }
329
329
  else
330
330
  {}
331
331
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GkeHub
23
23
  module V1beta1
24
- VERSION = "0.7.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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
 
@@ -13,201 +14,34 @@ require 'google/protobuf/field_mask_pb'
13
14
  require 'google/protobuf/timestamp_pb'
14
15
  require 'google/rpc/status_pb'
15
16
 
16
- Google::Protobuf::DescriptorPool.generated_pool.build do
17
- add_file("google/cloud/gkehub/v1beta1/membership.proto", :syntax => :proto3) do
18
- add_message "google.cloud.gkehub.v1beta1.Membership" do
19
- optional :name, :string, 1
20
- map :labels, :string, :string, 2
21
- optional :description, :string, 3
22
- optional :state, :message, 5, "google.cloud.gkehub.v1beta1.MembershipState"
23
- optional :authority, :message, 9, "google.cloud.gkehub.v1beta1.Authority"
24
- optional :create_time, :message, 6, "google.protobuf.Timestamp"
25
- optional :update_time, :message, 7, "google.protobuf.Timestamp"
26
- optional :delete_time, :message, 8, "google.protobuf.Timestamp"
27
- optional :external_id, :string, 10
28
- optional :last_connection_time, :message, 11, "google.protobuf.Timestamp"
29
- optional :unique_id, :string, 12
30
- optional :infrastructure_type, :enum, 13, "google.cloud.gkehub.v1beta1.Membership.InfrastructureType"
31
- optional :monitoring_config, :message, 14, "google.cloud.gkehub.v1beta1.MonitoringConfig"
32
- oneof :type do
33
- optional :endpoint, :message, 4, "google.cloud.gkehub.v1beta1.MembershipEndpoint"
34
- end
35
- end
36
- add_enum "google.cloud.gkehub.v1beta1.Membership.InfrastructureType" do
37
- value :INFRASTRUCTURE_TYPE_UNSPECIFIED, 0
38
- value :ON_PREM, 1
39
- value :MULTI_CLOUD, 2
40
- end
41
- add_message "google.cloud.gkehub.v1beta1.MembershipEndpoint" do
42
- optional :kubernetes_metadata, :message, 5, "google.cloud.gkehub.v1beta1.KubernetesMetadata"
43
- optional :kubernetes_resource, :message, 6, "google.cloud.gkehub.v1beta1.KubernetesResource"
44
- oneof :type do
45
- optional :gke_cluster, :message, 4, "google.cloud.gkehub.v1beta1.GkeCluster"
46
- optional :on_prem_cluster, :message, 7, "google.cloud.gkehub.v1beta1.OnPremCluster"
47
- optional :multi_cloud_cluster, :message, 8, "google.cloud.gkehub.v1beta1.MultiCloudCluster"
48
- optional :edge_cluster, :message, 9, "google.cloud.gkehub.v1beta1.EdgeCluster"
49
- optional :appliance_cluster, :message, 10, "google.cloud.gkehub.v1beta1.ApplianceCluster"
50
- end
51
- end
52
- add_message "google.cloud.gkehub.v1beta1.KubernetesResource" do
53
- optional :membership_cr_manifest, :string, 1
54
- repeated :membership_resources, :message, 2, "google.cloud.gkehub.v1beta1.ResourceManifest"
55
- repeated :connect_resources, :message, 3, "google.cloud.gkehub.v1beta1.ResourceManifest"
56
- optional :resource_options, :message, 4, "google.cloud.gkehub.v1beta1.ResourceOptions"
57
- end
58
- add_message "google.cloud.gkehub.v1beta1.ResourceOptions" do
59
- optional :connect_version, :string, 1
60
- optional :v1beta1_crd, :bool, 2
61
- optional :k8s_version, :string, 3
62
- end
63
- add_message "google.cloud.gkehub.v1beta1.ResourceManifest" do
64
- optional :manifest, :string, 1
65
- optional :cluster_scoped, :bool, 2
66
- end
67
- add_message "google.cloud.gkehub.v1beta1.GkeCluster" do
68
- optional :resource_link, :string, 1
69
- optional :cluster_missing, :bool, 3
70
- end
71
- add_message "google.cloud.gkehub.v1beta1.OnPremCluster" do
72
- optional :resource_link, :string, 1
73
- optional :cluster_missing, :bool, 2
74
- optional :admin_cluster, :bool, 3
75
- optional :cluster_type, :enum, 4, "google.cloud.gkehub.v1beta1.OnPremCluster.ClusterType"
76
- end
77
- add_enum "google.cloud.gkehub.v1beta1.OnPremCluster.ClusterType" do
78
- value :CLUSTERTYPE_UNSPECIFIED, 0
79
- value :BOOTSTRAP, 1
80
- value :HYBRID, 2
81
- value :STANDALONE, 3
82
- value :USER, 4
83
- end
84
- add_message "google.cloud.gkehub.v1beta1.MultiCloudCluster" do
85
- optional :resource_link, :string, 1
86
- optional :cluster_missing, :bool, 2
87
- end
88
- add_message "google.cloud.gkehub.v1beta1.EdgeCluster" do
89
- optional :resource_link, :string, 1
90
- end
91
- add_message "google.cloud.gkehub.v1beta1.ApplianceCluster" do
92
- optional :resource_link, :string, 1
93
- end
94
- add_message "google.cloud.gkehub.v1beta1.KubernetesMetadata" do
95
- optional :kubernetes_api_server_version, :string, 1
96
- optional :node_provider_id, :string, 2
97
- optional :node_count, :int32, 3
98
- optional :vcpu_count, :int32, 4
99
- optional :memory_mb, :int32, 5
100
- optional :update_time, :message, 100, "google.protobuf.Timestamp"
101
- end
102
- add_message "google.cloud.gkehub.v1beta1.Authority" do
103
- optional :issuer, :string, 1
104
- optional :workload_identity_pool, :string, 2
105
- optional :identity_provider, :string, 3
106
- optional :oidc_jwks, :bytes, 4
107
- end
108
- add_message "google.cloud.gkehub.v1beta1.MonitoringConfig" do
109
- optional :project_id, :string, 1
110
- optional :location, :string, 2
111
- optional :cluster, :string, 3
112
- optional :kubernetes_metrics_prefix, :string, 4
113
- optional :cluster_hash, :string, 5
114
- end
115
- add_message "google.cloud.gkehub.v1beta1.MembershipState" do
116
- optional :code, :enum, 1, "google.cloud.gkehub.v1beta1.MembershipState.Code"
117
- optional :description, :string, 2
118
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
119
- end
120
- add_enum "google.cloud.gkehub.v1beta1.MembershipState.Code" do
121
- value :CODE_UNSPECIFIED, 0
122
- value :CREATING, 1
123
- value :READY, 2
124
- value :DELETING, 3
125
- value :UPDATING, 4
126
- value :SERVICE_UPDATING, 5
127
- end
128
- add_message "google.cloud.gkehub.v1beta1.ListMembershipsRequest" do
129
- optional :parent, :string, 1
130
- optional :page_size, :int32, 2
131
- optional :page_token, :string, 3
132
- optional :filter, :string, 4
133
- optional :order_by, :string, 5
134
- end
135
- add_message "google.cloud.gkehub.v1beta1.ListMembershipsResponse" do
136
- repeated :resources, :message, 1, "google.cloud.gkehub.v1beta1.Membership"
137
- optional :next_page_token, :string, 2
138
- repeated :unreachable, :string, 3
139
- end
140
- add_message "google.cloud.gkehub.v1beta1.GetMembershipRequest" do
141
- optional :name, :string, 1
142
- end
143
- add_message "google.cloud.gkehub.v1beta1.CreateMembershipRequest" do
144
- optional :parent, :string, 1
145
- optional :membership_id, :string, 2
146
- optional :resource, :message, 3, "google.cloud.gkehub.v1beta1.Membership"
147
- optional :request_id, :string, 4
148
- end
149
- add_message "google.cloud.gkehub.v1beta1.DeleteMembershipRequest" do
150
- optional :name, :string, 1
151
- optional :request_id, :string, 4
152
- optional :force, :bool, 5
153
- end
154
- add_message "google.cloud.gkehub.v1beta1.UpdateMembershipRequest" do
155
- optional :name, :string, 1
156
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
157
- optional :resource, :message, 3, "google.cloud.gkehub.v1beta1.Membership"
158
- optional :request_id, :string, 4
159
- end
160
- add_message "google.cloud.gkehub.v1beta1.GenerateConnectManifestRequest" do
161
- optional :name, :string, 1
162
- optional :connect_agent, :message, 2, "google.cloud.gkehub.v1beta1.ConnectAgent"
163
- optional :version, :string, 3
164
- optional :is_upgrade, :bool, 4
165
- optional :registry, :string, 5
166
- optional :image_pull_secret_content, :bytes, 6
167
- end
168
- add_message "google.cloud.gkehub.v1beta1.GenerateConnectManifestResponse" do
169
- repeated :manifest, :message, 1, "google.cloud.gkehub.v1beta1.ConnectAgentResource"
170
- end
171
- add_message "google.cloud.gkehub.v1beta1.ConnectAgentResource" do
172
- optional :type, :message, 1, "google.cloud.gkehub.v1beta1.TypeMeta"
173
- optional :manifest, :string, 2
174
- end
175
- add_message "google.cloud.gkehub.v1beta1.TypeMeta" do
176
- optional :kind, :string, 1
177
- optional :api_version, :string, 2
178
- end
179
- add_message "google.cloud.gkehub.v1beta1.ConnectAgent" do
180
- optional :name, :string, 1
181
- optional :proxy, :bytes, 2
182
- optional :namespace, :string, 3
183
- end
184
- add_message "google.cloud.gkehub.v1beta1.ValidateExclusivityRequest" do
185
- optional :parent, :string, 1
186
- optional :cr_manifest, :string, 2
187
- optional :intended_membership, :string, 3
188
- end
189
- add_message "google.cloud.gkehub.v1beta1.ValidateExclusivityResponse" do
190
- optional :status, :message, 1, "google.rpc.Status"
191
- end
192
- add_message "google.cloud.gkehub.v1beta1.GenerateExclusivityManifestRequest" do
193
- optional :name, :string, 1
194
- optional :crd_manifest, :string, 2
195
- optional :cr_manifest, :string, 3
196
- end
197
- add_message "google.cloud.gkehub.v1beta1.GenerateExclusivityManifestResponse" do
198
- optional :crd_manifest, :string, 1
199
- optional :cr_manifest, :string, 2
200
- end
201
- add_message "google.cloud.gkehub.v1beta1.OperationMetadata" do
202
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
203
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
204
- optional :target, :string, 3
205
- optional :verb, :string, 4
206
- optional :status_detail, :string, 5
207
- optional :cancel_requested, :bool, 6
208
- 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}"
209
41
  end
210
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."
211
45
  end
212
46
 
213
47
  module Google
@@ -83,7 +83,7 @@ module Google
83
83
  # long-running operation pattern.
84
84
  # @!attribute [rw] new_issue_uri
85
85
  # @return [::String]
86
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
87
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
88
88
  # @!attribute [rw] documentation_uri
89
89
  # @return [::String]
@@ -353,6 +353,15 @@ module Google
353
353
 
354
354
  # Street View Org.
355
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
356
365
  end
357
366
 
358
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
- # Example 3: Pack and unpack a message in Python.
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
- # Example 4: Pack and unpack a message in Go
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://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
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_hub-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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-04-24 00:00:00.000000000 Z
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.18.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.18.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a