google-cloud-managed_kafka-v1 1.0.0 → 1.1.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.
Files changed (22) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/managed_kafka/v1/managed_kafka/rest/service_stub.rb +3 -3
  3. data/lib/google/cloud/managed_kafka/v1/managed_kafka_connect/client.rb +1887 -0
  4. data/lib/google/cloud/managed_kafka/v1/managed_kafka_connect/credentials.rb +47 -0
  5. data/lib/google/cloud/managed_kafka/v1/managed_kafka_connect/operations.rb +813 -0
  6. data/lib/google/cloud/managed_kafka/v1/managed_kafka_connect/paths.rb +109 -0
  7. data/lib/google/cloud/managed_kafka/v1/managed_kafka_connect/rest/client.rb +1771 -0
  8. data/lib/google/cloud/managed_kafka/v1/managed_kafka_connect/rest/operations.rb +914 -0
  9. data/lib/google/cloud/managed_kafka/v1/managed_kafka_connect/rest/service_stub.rb +943 -0
  10. data/lib/google/cloud/managed_kafka/v1/managed_kafka_connect/rest.rb +55 -0
  11. data/lib/google/cloud/managed_kafka/v1/managed_kafka_connect.rb +57 -0
  12. data/lib/google/cloud/managed_kafka/v1/rest.rb +1 -0
  13. data/lib/google/cloud/managed_kafka/v1/version.rb +1 -1
  14. data/lib/google/cloud/managed_kafka/v1.rb +1 -0
  15. data/lib/google/cloud/managedkafka/v1/managed_kafka_connect_pb.rb +73 -0
  16. data/lib/google/cloud/managedkafka/v1/managed_kafka_connect_services_pb.rb +72 -0
  17. data/lib/google/cloud/managedkafka/v1/managed_kafka_pb.rb +1 -1
  18. data/lib/google/cloud/managedkafka/v1/resources_pb.rb +11 -1
  19. data/proto_docs/google/api/client.rb +6 -0
  20. data/proto_docs/google/cloud/managedkafka/v1/managed_kafka_connect.rb +344 -0
  21. data/proto_docs/google/cloud/managedkafka/v1/resources.rb +209 -3
  22. metadata +15 -3
@@ -0,0 +1,55 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/managed_kafka/v1/version"
24
+ require "google/cloud/managed_kafka/v1/bindings_override"
25
+
26
+ require "google/cloud/managed_kafka/v1/managed_kafka_connect/credentials"
27
+ require "google/cloud/managed_kafka/v1/managed_kafka_connect/paths"
28
+ require "google/cloud/managed_kafka/v1/managed_kafka_connect/rest/operations"
29
+ require "google/cloud/managed_kafka/v1/managed_kafka_connect/rest/client"
30
+
31
+ module Google
32
+ module Cloud
33
+ module ManagedKafka
34
+ module V1
35
+ ##
36
+ # The service that a client application uses to manage Apache Kafka Connect
37
+ # clusters and connectors.
38
+ #
39
+ # To load this service and instantiate a REST client:
40
+ #
41
+ # require "google/cloud/managed_kafka/v1/managed_kafka_connect/rest"
42
+ # client = ::Google::Cloud::ManagedKafka::V1::ManagedKafkaConnect::Rest::Client.new
43
+ #
44
+ module ManagedKafkaConnect
45
+ # Client for the REST transport
46
+ module Rest
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
55
+ require "google/cloud/managed_kafka/v1/managed_kafka_connect/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/managed_kafka/v1/version"
24
+
25
+ require "google/cloud/managed_kafka/v1/managed_kafka_connect/credentials"
26
+ require "google/cloud/managed_kafka/v1/managed_kafka_connect/paths"
27
+ require "google/cloud/managed_kafka/v1/managed_kafka_connect/operations"
28
+ require "google/cloud/managed_kafka/v1/managed_kafka_connect/client"
29
+ require "google/cloud/managed_kafka/v1/managed_kafka_connect/rest"
30
+
31
+ module Google
32
+ module Cloud
33
+ module ManagedKafka
34
+ module V1
35
+ ##
36
+ # The service that a client application uses to manage Apache Kafka Connect
37
+ # clusters and connectors.
38
+ #
39
+ # @example Load this service and instantiate a gRPC client
40
+ #
41
+ # require "google/cloud/managed_kafka/v1/managed_kafka_connect"
42
+ # client = ::Google::Cloud::ManagedKafka::V1::ManagedKafkaConnect::Client.new
43
+ #
44
+ # @example Load this service and instantiate a REST client
45
+ #
46
+ # require "google/cloud/managed_kafka/v1/managed_kafka_connect/rest"
47
+ # client = ::Google::Cloud::ManagedKafka::V1::ManagedKafkaConnect::Rest::Client.new
48
+ #
49
+ module ManagedKafkaConnect
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
55
+
56
+ helper_path = ::File.join __dir__, "managed_kafka_connect", "helpers.rb"
57
+ require "google/cloud/managed_kafka/v1/managed_kafka_connect/helpers" if ::File.file? helper_path
@@ -17,6 +17,7 @@
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
19
  require "google/cloud/managed_kafka/v1/managed_kafka/rest"
20
+ require "google/cloud/managed_kafka/v1/managed_kafka_connect/rest"
20
21
  require "google/cloud/managed_kafka/v1/bindings_override"
21
22
  require "google/cloud/managed_kafka/v1/version"
22
23
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ManagedKafka
23
23
  module V1
24
- VERSION = "1.0.0"
24
+ VERSION = "1.1.0"
25
25
  end
26
26
  end
27
27
  end
@@ -17,6 +17,7 @@
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
19
  require "google/cloud/managed_kafka/v1/managed_kafka"
20
+ require "google/cloud/managed_kafka/v1/managed_kafka_connect"
20
21
  require "google/cloud/managed_kafka/v1/version"
21
22
 
22
23
  module Google
@@ -0,0 +1,73 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/managedkafka/v1/managed_kafka_connect.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/field_info_pb'
11
+ require 'google/api/resource_pb'
12
+ require 'google/cloud/managedkafka/v1/resources_pb'
13
+ require 'google/longrunning/operations_pb'
14
+ require 'google/protobuf/empty_pb'
15
+ require 'google/protobuf/field_mask_pb'
16
+
17
+
18
+ descriptor_data = "\n8google/cloud/managedkafka/v1/managed_kafka_connect.proto\x12\x1cgoogle.cloud.managedkafka.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/managedkafka/v1/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\\\n\x18GetConnectClusterRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*managedkafka.googleapis.com/ConnectCluster\"\xef\x01\n\x1b\x43reateConnectClusterRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*managedkafka.googleapis.com/ConnectCluster\x12\x1f\n\x12\x63onnect_cluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12J\n\x0f\x63onnect_cluster\x18\x03 \x01(\x0b\x32,.google.cloud.managedkafka.v1.ConnectClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xc0\x01\n\x1bUpdateConnectClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12J\n\x0f\x63onnect_cluster\x18\x02 \x01(\x0b\x32,.google.cloud.managedkafka.v1.ConnectClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x80\x01\n\x1b\x44\x65leteConnectClusterRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*managedkafka.googleapis.com/ConnectCluster\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xbd\x01\n\x1aListConnectClustersRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*managedkafka.googleapis.com/ConnectCluster\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\"\x93\x01\n\x1bListConnectClustersResponse\x12\x46\n\x10\x63onnect_clusters\x18\x01 \x03(\x0b\x32,.google.cloud.managedkafka.v1.ConnectCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"R\n\x13GetConnectorRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%managedkafka.googleapis.com/Connector\"\xb3\x01\n\x16\x43reateConnectorRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%managedkafka.googleapis.com/Connector\x12\x19\n\x0c\x63onnector_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\tconnector\x18\x03 \x01(\x0b\x32\'.google.cloud.managedkafka.v1.ConnectorB\x03\xe0\x41\x02\"\x8f\x01\n\x16UpdateConnectorRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12?\n\tconnector\x18\x02 \x01(\x0b\x32\'.google.cloud.managedkafka.v1.ConnectorB\x03\xe0\x41\x02\"U\n\x16\x44\x65leteConnectorRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%managedkafka.googleapis.com/Connector\"\x87\x01\n\x15ListConnectorsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%managedkafka.googleapis.com/Connector\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\"n\n\x16ListConnectorsResponse\x12;\n\nconnectors\x18\x01 \x03(\x0b\x32\'.google.cloud.managedkafka.v1.Connector\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"T\n\x15PauseConnectorRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%managedkafka.googleapis.com/Connector\"\x18\n\x16PauseConnectorResponse\"U\n\x16ResumeConnectorRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%managedkafka.googleapis.com/Connector\"\x19\n\x17ResumeConnectorResponse\"V\n\x17RestartConnectorRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%managedkafka.googleapis.com/Connector\"\x1a\n\x18RestartConnectorResponse\"S\n\x14StopConnectorRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%managedkafka.googleapis.com/Connector\"\x17\n\x15StopConnectorResponse2\x83\x19\n\x13ManagedKafkaConnect\x12\xd0\x01\n\x13ListConnectClusters\x12\x38.google.cloud.managedkafka.v1.ListConnectClustersRequest\x1a\x39.google.cloud.managedkafka.v1.ListConnectClustersResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*}/connectClusters\x12\xbd\x01\n\x11GetConnectCluster\x12\x36.google.cloud.managedkafka.v1.GetConnectClusterRequest\x1a,.google.cloud.managedkafka.v1.ConnectCluster\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/connectClusters/*}\x12\x91\x02\n\x14\x43reateConnectCluster\x12\x39.google.cloud.managedkafka.v1.CreateConnectClusterRequest\x1a\x1d.google.longrunning.Operation\"\x9e\x01\xca\x41#\n\x0e\x43onnectCluster\x12\x11OperationMetadata\xda\x41)parent,connect_cluster,connect_cluster_id\x82\xd3\xe4\x93\x02\x46\"3/v1/{parent=projects/*/locations/*}/connectClusters:\x0f\x63onnect_cluster\x12\x93\x02\n\x14UpdateConnectCluster\x12\x39.google.cloud.managedkafka.v1.UpdateConnectClusterRequest\x1a\x1d.google.longrunning.Operation\"\xa0\x01\xca\x41#\n\x0e\x43onnectCluster\x12\x11OperationMetadata\xda\x41\x1b\x63onnect_cluster,update_mask\x82\xd3\xe4\x93\x02V2C/v1/{connect_cluster.name=projects/*/locations/*/connectClusters/*}:\x0f\x63onnect_cluster\x12\xe1\x01\n\x14\x44\x65leteConnectCluster\x12\x39.google.cloud.managedkafka.v1.DeleteConnectClusterRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/connectClusters/*}\x12\xce\x01\n\x0eListConnectors\x12\x33.google.cloud.managedkafka.v1.ListConnectorsRequest\x1a\x34.google.cloud.managedkafka.v1.ListConnectorsResponse\"Q\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x42\x12@/v1/{parent=projects/*/locations/*/connectClusters/*}/connectors\x12\xbb\x01\n\x0cGetConnector\x12\x31.google.cloud.managedkafka.v1.GetConnectorRequest\x1a\'.google.cloud.managedkafka.v1.Connector\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\x12@/v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}\x12\xe5\x01\n\x0f\x43reateConnector\x12\x34.google.cloud.managedkafka.v1.CreateConnectorRequest\x1a\'.google.cloud.managedkafka.v1.Connector\"s\xda\x41\x1dparent,connector,connector_id\x82\xd3\xe4\x93\x02M\"@/v1/{parent=projects/*/locations/*/connectClusters/*}/connectors:\tconnector\x12\xe7\x01\n\x0fUpdateConnector\x12\x34.google.cloud.managedkafka.v1.UpdateConnectorRequest\x1a\'.google.cloud.managedkafka.v1.Connector\"u\xda\x41\x15\x63onnector,update_mask\x82\xd3\xe4\x93\x02W2J/v1/{connector.name=projects/*/locations/*/connectClusters/*/connectors/*}:\tconnector\x12\xb0\x01\n\x0f\x44\x65leteConnector\x12\x34.google.cloud.managedkafka.v1.DeleteConnectorRequest\x1a\x16.google.protobuf.Empty\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42*@/v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}\x12\xd5\x01\n\x0ePauseConnector\x12\x33.google.cloud.managedkafka.v1.PauseConnectorRequest\x1a\x34.google.cloud.managedkafka.v1.PauseConnectorResponse\"X\xda\x41\x04name\x82\xd3\xe4\x93\x02K\"F/v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}:pause:\x01*\x12\xd9\x01\n\x0fResumeConnector\x12\x34.google.cloud.managedkafka.v1.ResumeConnectorRequest\x1a\x35.google.cloud.managedkafka.v1.ResumeConnectorResponse\"Y\xda\x41\x04name\x82\xd3\xe4\x93\x02L\"G/v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}:resume:\x01*\x12\xdd\x01\n\x10RestartConnector\x12\x35.google.cloud.managedkafka.v1.RestartConnectorRequest\x1a\x36.google.cloud.managedkafka.v1.RestartConnectorResponse\"Z\xda\x41\x04name\x82\xd3\xe4\x93\x02M\"H/v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}:restart:\x01*\x12\xd1\x01\n\rStopConnector\x12\x32.google.cloud.managedkafka.v1.StopConnectorRequest\x1a\x33.google.cloud.managedkafka.v1.StopConnectorResponse\"W\xda\x41\x04name\x82\xd3\xe4\x93\x02J\"E/v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}:stop:\x01*\x1aO\xca\x41\x1bmanagedkafka.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe4\x01\n com.google.cloud.managedkafka.v1B\x18ManagedKafkaConnectProtoP\x01ZDcloud.google.com/go/managedkafka/apiv1/managedkafkapb;managedkafkapb\xaa\x02\x1cGoogle.Cloud.ManagedKafka.V1\xca\x02\x1cGoogle\\Cloud\\ManagedKafka\\V1\xea\x02\x1fGoogle::Cloud::ManagedKafka::V1b\x06proto3"
19
+
20
+ pool = Google::Protobuf::DescriptorPool.generated_pool
21
+
22
+ begin
23
+ pool.add_serialized_file(descriptor_data)
24
+ rescue TypeError
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.cloud.managedkafka.v1.ConnectCluster", "google/cloud/managedkafka/v1/resources.proto"],
34
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.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}"
40
+ end
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."
44
+ end
45
+
46
+ module Google
47
+ module Cloud
48
+ module ManagedKafka
49
+ module V1
50
+ GetConnectClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.GetConnectClusterRequest").msgclass
51
+ CreateConnectClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.CreateConnectClusterRequest").msgclass
52
+ UpdateConnectClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.UpdateConnectClusterRequest").msgclass
53
+ DeleteConnectClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.DeleteConnectClusterRequest").msgclass
54
+ ListConnectClustersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ListConnectClustersRequest").msgclass
55
+ ListConnectClustersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ListConnectClustersResponse").msgclass
56
+ GetConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.GetConnectorRequest").msgclass
57
+ CreateConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.CreateConnectorRequest").msgclass
58
+ UpdateConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.UpdateConnectorRequest").msgclass
59
+ DeleteConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.DeleteConnectorRequest").msgclass
60
+ ListConnectorsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ListConnectorsRequest").msgclass
61
+ ListConnectorsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ListConnectorsResponse").msgclass
62
+ PauseConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.PauseConnectorRequest").msgclass
63
+ PauseConnectorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.PauseConnectorResponse").msgclass
64
+ ResumeConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ResumeConnectorRequest").msgclass
65
+ ResumeConnectorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ResumeConnectorResponse").msgclass
66
+ RestartConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.RestartConnectorRequest").msgclass
67
+ RestartConnectorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.RestartConnectorResponse").msgclass
68
+ StopConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.StopConnectorRequest").msgclass
69
+ StopConnectorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.StopConnectorResponse").msgclass
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,72 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/managedkafka/v1/managed_kafka_connect.proto for package 'Google.Cloud.ManagedKafka.V1'
3
+ # Original file comments:
4
+ # Copyright 2025 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/managedkafka/v1/managed_kafka_connect_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module ManagedKafka
25
+ module V1
26
+ module ManagedKafkaConnect
27
+ # The service that a client application uses to manage Apache Kafka Connect
28
+ # clusters and connectors.
29
+ class Service
30
+
31
+ include ::GRPC::GenericService
32
+
33
+ self.marshal_class_method = :encode
34
+ self.unmarshal_class_method = :decode
35
+ self.service_name = 'google.cloud.managedkafka.v1.ManagedKafkaConnect'
36
+
37
+ # Lists the Kafka Connect clusters in a given project and location.
38
+ rpc :ListConnectClusters, ::Google::Cloud::ManagedKafka::V1::ListConnectClustersRequest, ::Google::Cloud::ManagedKafka::V1::ListConnectClustersResponse
39
+ # Returns the properties of a single Kafka Connect cluster.
40
+ rpc :GetConnectCluster, ::Google::Cloud::ManagedKafka::V1::GetConnectClusterRequest, ::Google::Cloud::ManagedKafka::V1::ConnectCluster
41
+ # Creates a new Kafka Connect cluster in a given project and location.
42
+ rpc :CreateConnectCluster, ::Google::Cloud::ManagedKafka::V1::CreateConnectClusterRequest, ::Google::Longrunning::Operation
43
+ # Updates the properties of a single Kafka Connect cluster.
44
+ rpc :UpdateConnectCluster, ::Google::Cloud::ManagedKafka::V1::UpdateConnectClusterRequest, ::Google::Longrunning::Operation
45
+ # Deletes a single Connect cluster.
46
+ rpc :DeleteConnectCluster, ::Google::Cloud::ManagedKafka::V1::DeleteConnectClusterRequest, ::Google::Longrunning::Operation
47
+ # Lists the connectors in a given Connect cluster.
48
+ rpc :ListConnectors, ::Google::Cloud::ManagedKafka::V1::ListConnectorsRequest, ::Google::Cloud::ManagedKafka::V1::ListConnectorsResponse
49
+ # Returns the properties of a single connector.
50
+ rpc :GetConnector, ::Google::Cloud::ManagedKafka::V1::GetConnectorRequest, ::Google::Cloud::ManagedKafka::V1::Connector
51
+ # Creates a new connector in a given Connect cluster.
52
+ rpc :CreateConnector, ::Google::Cloud::ManagedKafka::V1::CreateConnectorRequest, ::Google::Cloud::ManagedKafka::V1::Connector
53
+ # Updates the properties of a connector.
54
+ rpc :UpdateConnector, ::Google::Cloud::ManagedKafka::V1::UpdateConnectorRequest, ::Google::Cloud::ManagedKafka::V1::Connector
55
+ # Deletes a connector.
56
+ rpc :DeleteConnector, ::Google::Cloud::ManagedKafka::V1::DeleteConnectorRequest, ::Google::Protobuf::Empty
57
+ # Pauses the connector and its tasks.
58
+ rpc :PauseConnector, ::Google::Cloud::ManagedKafka::V1::PauseConnectorRequest, ::Google::Cloud::ManagedKafka::V1::PauseConnectorResponse
59
+ # Resumes the connector and its tasks.
60
+ rpc :ResumeConnector, ::Google::Cloud::ManagedKafka::V1::ResumeConnectorRequest, ::Google::Cloud::ManagedKafka::V1::ResumeConnectorResponse
61
+ # Restarts the connector.
62
+ rpc :RestartConnector, ::Google::Cloud::ManagedKafka::V1::RestartConnectorRequest, ::Google::Cloud::ManagedKafka::V1::RestartConnectorResponse
63
+ # Stops the connector.
64
+ rpc :StopConnector, ::Google::Cloud::ManagedKafka::V1::StopConnectorRequest, ::Google::Cloud::ManagedKafka::V1::StopConnectorResponse
65
+ end
66
+
67
+ Stub = Service.rpc_stub_class
68
+ end
69
+ end
70
+ end
71
+ end
72
+ end
@@ -15,7 +15,7 @@ require 'google/protobuf/empty_pb'
15
15
  require 'google/protobuf/field_mask_pb'
16
16
 
17
17
 
18
- descriptor_data = "\n0google/cloud/managedkafka/v1/managed_kafka.proto\x12\x1cgoogle.cloud.managedkafka.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/managedkafka/v1/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xaf\x01\n\x13ListClustersRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#managedkafka.googleapis.com/Cluster\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\"}\n\x14ListClustersResponse\x12\x37\n\x08\x63lusters\x18\x01 \x03(\x0b\x32%.google.cloud.managedkafka.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"N\n\x11GetClusterRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#managedkafka.googleapis.com/Cluster\"\xca\x01\n\x14\x43reateClusterRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#managedkafka.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12;\n\x07\x63luster\x18\x03 \x01(\x0b\x32%.google.cloud.managedkafka.v1.ClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xaa\x01\n\x14UpdateClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12;\n\x07\x63luster\x18\x02 \x01(\x0b\x32%.google.cloud.managedkafka.v1.ClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"r\n\x14\x44\x65leteClusterRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#managedkafka.googleapis.com/Cluster\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x7f\n\x11ListTopicsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!managedkafka.googleapis.com/Topic\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\"b\n\x12ListTopicsResponse\x12\x33\n\x06topics\x18\x01 \x03(\x0b\x32#.google.cloud.managedkafka.v1.Topic\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"J\n\x0fGetTopicRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!managedkafka.googleapis.com/Topic\"\x9f\x01\n\x12\x43reateTopicRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!managedkafka.googleapis.com/Topic\x12\x15\n\x08topic_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x05topic\x18\x03 \x01(\x0b\x32#.google.cloud.managedkafka.v1.TopicB\x03\xe0\x41\x02\"\x83\x01\n\x12UpdateTopicRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x37\n\x05topic\x18\x02 \x01(\x0b\x32#.google.cloud.managedkafka.v1.TopicB\x03\xe0\x41\x02\"M\n\x12\x44\x65leteTopicRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!managedkafka.googleapis.com/Topic\"\x8f\x01\n\x19ListConsumerGroupsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)managedkafka.googleapis.com/ConsumerGroup\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\"{\n\x1aListConsumerGroupsResponse\x12\x44\n\x0f\x63onsumer_groups\x18\x01 \x03(\x0b\x32+.google.cloud.managedkafka.v1.ConsumerGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Z\n\x17GetConsumerGroupRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)managedkafka.googleapis.com/ConsumerGroup\"\x9c\x01\n\x1aUpdateConsumerGroupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12H\n\x0e\x63onsumer_group\x18\x02 \x01(\x0b\x32+.google.cloud.managedkafka.v1.ConsumerGroupB\x03\xe0\x41\x02\"]\n\x1a\x44\x65leteConsumerGroupRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)managedkafka.googleapis.com/ConsumerGroup2\xb2\x16\n\x0cManagedKafka\x12\xb4\x01\n\x0cListClusters\x12\x31.google.cloud.managedkafka.v1.ListClustersRequest\x1a\x32.google.cloud.managedkafka.v1.ListClustersResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/clusters\x12\xa1\x01\n\nGetCluster\x12/.google.cloud.managedkafka.v1.GetClusterRequest\x1a%.google.cloud.managedkafka.v1.Cluster\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/clusters/*}\x12\xdc\x01\n\rCreateCluster\x12\x32.google.cloud.managedkafka.v1.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/clusters:\x07\x63luster\x12\xde\x01\n\rUpdateCluster\x12\x32.google.cloud.managedkafka.v1.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x13\x63luster,update_mask\x82\xd3\xe4\x93\x02?24/v1/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\x12\xcc\x01\n\rDeleteCluster\x12\x32.google.cloud.managedkafka.v1.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/clusters/*}\x12\xb7\x01\n\nListTopics\x12/.google.cloud.managedkafka.v1.ListTopicsRequest\x1a\x30.google.cloud.managedkafka.v1.ListTopicsResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*/clusters/*}/topics\x12\xa4\x01\n\x08GetTopic\x12-.google.cloud.managedkafka.v1.GetTopicRequest\x1a#.google.cloud.managedkafka.v1.Topic\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/clusters/*/topics/*}\x12\xc2\x01\n\x0b\x43reateTopic\x12\x30.google.cloud.managedkafka.v1.CreateTopicRequest\x1a#.google.cloud.managedkafka.v1.Topic\"\\\xda\x41\x15parent,topic,topic_id\x82\xd3\xe4\x93\x02>\"5/v1/{parent=projects/*/locations/*/clusters/*}/topics:\x05topic\x12\xc4\x01\n\x0bUpdateTopic\x12\x30.google.cloud.managedkafka.v1.UpdateTopicRequest\x1a#.google.cloud.managedkafka.v1.Topic\"^\xda\x41\x11topic,update_mask\x82\xd3\xe4\x93\x02\x44\x32;/v1/{topic.name=projects/*/locations/*/clusters/*/topics/*}:\x05topic\x12\x9d\x01\n\x0b\x44\x65leteTopic\x12\x30.google.cloud.managedkafka.v1.DeleteTopicRequest\x1a\x16.google.protobuf.Empty\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/clusters/*/topics/*}\x12\xd7\x01\n\x12ListConsumerGroups\x12\x37.google.cloud.managedkafka.v1.ListConsumerGroupsRequest\x1a\x38.google.cloud.managedkafka.v1.ListConsumerGroupsResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*/clusters/*}/consumerGroups\x12\xc4\x01\n\x10GetConsumerGroup\x12\x35.google.cloud.managedkafka.v1.GetConsumerGroupRequest\x1a+.google.cloud.managedkafka.v1.ConsumerGroup\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v1/{name=projects/*/locations/*/clusters/*/consumerGroups/*}\x12\x80\x02\n\x13UpdateConsumerGroup\x12\x38.google.cloud.managedkafka.v1.UpdateConsumerGroupRequest\x1a+.google.cloud.managedkafka.v1.ConsumerGroup\"\x81\x01\xda\x41\x1a\x63onsumer_group,update_mask\x82\xd3\xe4\x93\x02^2L/v1/{consumer_group.name=projects/*/locations/*/clusters/*/consumerGroups/*}:\x0e\x63onsumer_group\x12\xb5\x01\n\x13\x44\x65leteConsumerGroup\x12\x38.google.cloud.managedkafka.v1.DeleteConsumerGroupRequest\x1a\x16.google.protobuf.Empty\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?*=/v1/{name=projects/*/locations/*/clusters/*/consumerGroups/*}\x1aO\xca\x41\x1bmanagedkafka.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdd\x01\n com.google.cloud.managedkafka.v1B\x11ManagedKafkaProtoP\x01ZDcloud.google.com/go/managedkafka/apiv1/managedkafkapb;managedkafkapb\xaa\x02\x1cGoogle.Cloud.ManagedKafka.V1\xca\x02\x1cGoogle\\Cloud\\ManagedKafka\\V1\xea\x02\x1fGoogle::Cloud::ManagedKafka::V1b\x06proto3"
18
+ descriptor_data = "\n0google/cloud/managedkafka/v1/managed_kafka.proto\x12\x1cgoogle.cloud.managedkafka.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/managedkafka/v1/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xaf\x01\n\x13ListClustersRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#managedkafka.googleapis.com/Cluster\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\"}\n\x14ListClustersResponse\x12\x37\n\x08\x63lusters\x18\x01 \x03(\x0b\x32%.google.cloud.managedkafka.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"N\n\x11GetClusterRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#managedkafka.googleapis.com/Cluster\"\xca\x01\n\x14\x43reateClusterRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#managedkafka.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12;\n\x07\x63luster\x18\x03 \x01(\x0b\x32%.google.cloud.managedkafka.v1.ClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xaa\x01\n\x14UpdateClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12;\n\x07\x63luster\x18\x02 \x01(\x0b\x32%.google.cloud.managedkafka.v1.ClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"r\n\x14\x44\x65leteClusterRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#managedkafka.googleapis.com/Cluster\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x7f\n\x11ListTopicsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!managedkafka.googleapis.com/Topic\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\"b\n\x12ListTopicsResponse\x12\x33\n\x06topics\x18\x01 \x03(\x0b\x32#.google.cloud.managedkafka.v1.Topic\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"J\n\x0fGetTopicRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!managedkafka.googleapis.com/Topic\"\x9f\x01\n\x12\x43reateTopicRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!managedkafka.googleapis.com/Topic\x12\x15\n\x08topic_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x05topic\x18\x03 \x01(\x0b\x32#.google.cloud.managedkafka.v1.TopicB\x03\xe0\x41\x02\"\x83\x01\n\x12UpdateTopicRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x37\n\x05topic\x18\x02 \x01(\x0b\x32#.google.cloud.managedkafka.v1.TopicB\x03\xe0\x41\x02\"M\n\x12\x44\x65leteTopicRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!managedkafka.googleapis.com/Topic\"\x8f\x01\n\x19ListConsumerGroupsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)managedkafka.googleapis.com/ConsumerGroup\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\"{\n\x1aListConsumerGroupsResponse\x12\x44\n\x0f\x63onsumer_groups\x18\x01 \x03(\x0b\x32+.google.cloud.managedkafka.v1.ConsumerGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Z\n\x17GetConsumerGroupRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)managedkafka.googleapis.com/ConsumerGroup\"\x9c\x01\n\x1aUpdateConsumerGroupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12H\n\x0e\x63onsumer_group\x18\x02 \x01(\x0b\x32+.google.cloud.managedkafka.v1.ConsumerGroupB\x03\xe0\x41\x02\"]\n\x1a\x44\x65leteConsumerGroupRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)managedkafka.googleapis.com/ConsumerGroup2\xb5\x16\n\x0cManagedKafka\x12\xb4\x01\n\x0cListClusters\x12\x31.google.cloud.managedkafka.v1.ListClustersRequest\x1a\x32.google.cloud.managedkafka.v1.ListClustersResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/clusters\x12\xa1\x01\n\nGetCluster\x12/.google.cloud.managedkafka.v1.GetClusterRequest\x1a%.google.cloud.managedkafka.v1.Cluster\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/clusters/*}\x12\xdc\x01\n\rCreateCluster\x12\x32.google.cloud.managedkafka.v1.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/clusters:\x07\x63luster\x12\xde\x01\n\rUpdateCluster\x12\x32.google.cloud.managedkafka.v1.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x13\x63luster,update_mask\x82\xd3\xe4\x93\x02?24/v1/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\x12\xcc\x01\n\rDeleteCluster\x12\x32.google.cloud.managedkafka.v1.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/clusters/*}\x12\xb7\x01\n\nListTopics\x12/.google.cloud.managedkafka.v1.ListTopicsRequest\x1a\x30.google.cloud.managedkafka.v1.ListTopicsResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*/clusters/*}/topics\x12\xa4\x01\n\x08GetTopic\x12-.google.cloud.managedkafka.v1.GetTopicRequest\x1a#.google.cloud.managedkafka.v1.Topic\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/clusters/*/topics/*}\x12\xc2\x01\n\x0b\x43reateTopic\x12\x30.google.cloud.managedkafka.v1.CreateTopicRequest\x1a#.google.cloud.managedkafka.v1.Topic\"\\\xda\x41\x15parent,topic,topic_id\x82\xd3\xe4\x93\x02>\"5/v1/{parent=projects/*/locations/*/clusters/*}/topics:\x05topic\x12\xc4\x01\n\x0bUpdateTopic\x12\x30.google.cloud.managedkafka.v1.UpdateTopicRequest\x1a#.google.cloud.managedkafka.v1.Topic\"^\xda\x41\x11topic,update_mask\x82\xd3\xe4\x93\x02\x44\x32;/v1/{topic.name=projects/*/locations/*/clusters/*/topics/*}:\x05topic\x12\x9d\x01\n\x0b\x44\x65leteTopic\x12\x30.google.cloud.managedkafka.v1.DeleteTopicRequest\x1a\x16.google.protobuf.Empty\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/clusters/*/topics/*}\x12\xd7\x01\n\x12ListConsumerGroups\x12\x37.google.cloud.managedkafka.v1.ListConsumerGroupsRequest\x1a\x38.google.cloud.managedkafka.v1.ListConsumerGroupsResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*/clusters/*}/consumerGroups\x12\xc5\x01\n\x10GetConsumerGroup\x12\x35.google.cloud.managedkafka.v1.GetConsumerGroupRequest\x1a+.google.cloud.managedkafka.v1.ConsumerGroup\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/clusters/*/consumerGroups/**}\x12\x81\x02\n\x13UpdateConsumerGroup\x12\x38.google.cloud.managedkafka.v1.UpdateConsumerGroupRequest\x1a+.google.cloud.managedkafka.v1.ConsumerGroup\"\x82\x01\xda\x41\x1a\x63onsumer_group,update_mask\x82\xd3\xe4\x93\x02_2M/v1/{consumer_group.name=projects/*/locations/*/clusters/*/consumerGroups/**}:\x0e\x63onsumer_group\x12\xb6\x01\n\x13\x44\x65leteConsumerGroup\x12\x38.google.cloud.managedkafka.v1.DeleteConsumerGroupRequest\x1a\x16.google.protobuf.Empty\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@*>/v1/{name=projects/*/locations/*/clusters/*/consumerGroups/**}\x1aO\xca\x41\x1bmanagedkafka.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdd\x01\n com.google.cloud.managedkafka.v1B\x11ManagedKafkaProtoP\x01ZDcloud.google.com/go/managedkafka/apiv1/managedkafkapb;managedkafkapb\xaa\x02\x1cGoogle.Cloud.ManagedKafka.V1\xca\x02\x1cGoogle\\Cloud\\ManagedKafka\\V1\xea\x02\x1fGoogle::Cloud::ManagedKafka::V1b\x06proto3"
19
19
 
20
20
  pool = Google::Protobuf::DescriptorPool.generated_pool
21
21
 
@@ -6,10 +6,11 @@ require 'google/protobuf'
6
6
 
7
7
  require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
+ require 'google/protobuf/duration_pb'
9
10
  require 'google/protobuf/timestamp_pb'
10
11
 
11
12
 
12
- descriptor_data = "\n,google/cloud/managedkafka/v1/resources.proto\x12\x1cgoogle.cloud.managedkafka.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd8\x06\n\x07\x43luster\x12\x42\n\ngcp_config\x18\t \x01(\x0b\x32\'.google.cloud.managedkafka.v1.GcpConfigB\x03\xe0\x41\x02H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x46\n\x06labels\x18\x04 \x03(\x0b\x32\x31.google.cloud.managedkafka.v1.Cluster.LabelsEntryB\x03\xe0\x41\x01\x12J\n\x0f\x63\x61pacity_config\x18\x05 \x01(\x0b\x32,.google.cloud.managedkafka.v1.CapacityConfigB\x03\xe0\x41\x02\x12L\n\x10rebalance_config\x18\x08 \x01(\x0b\x32-.google.cloud.managedkafka.v1.RebalanceConfigB\x03\xe0\x41\x01\x12?\n\x05state\x18\n \x01(\x0e\x32+.google.cloud.managedkafka.v1.Cluster.StateB\x03\xe0\x41\x03\x12\x1f\n\rsatisfies_pzi\x18\x0b \x01(\x08\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12\x1f\n\rsatisfies_pzs\x18\x0c \x01(\x08\x42\x03\xe0\x41\x03H\x02\x88\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03:w\xea\x41t\n#managedkafka.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}*\x08\x63lusters2\x07\x63lusterB\x11\n\x0fplatform_configB\x10\n\x0e_satisfies_pziB\x10\n\x0e_satisfies_pzs\"D\n\x0e\x43\x61pacityConfig\x12\x17\n\nvcpu_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x19\n\x0cmemory_bytes\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\"\xa8\x01\n\x0fRebalanceConfig\x12\x45\n\x04mode\x18\x01 \x01(\x0e\x32\x32.google.cloud.managedkafka.v1.RebalanceConfig.ModeB\x03\xe0\x41\x01\"N\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cNO_REBALANCE\x10\x01\x12\x1e\n\x1a\x41UTO_REBALANCE_ON_SCALE_UP\x10\x02\"$\n\rNetworkConfig\x12\x13\n\x06subnet\x18\x02 \x01(\tB\x03\xe0\x41\x02\"Y\n\x0c\x41\x63\x63\x65ssConfig\x12I\n\x0fnetwork_configs\x18\x01 \x03(\x0b\x32+.google.cloud.managedkafka.v1.NetworkConfigB\x03\xe0\x41\x02\"\x92\x01\n\tGcpConfig\x12\x46\n\raccess_config\x18\x03 \x01(\x0b\x32*.google.cloud.managedkafka.v1.AccessConfigB\x03\xe0\x41\x02\x12=\n\x07kms_key\x18\x02 \x01(\tB,\xe0\x41\x01\xe0\x41\x05\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\"\xd7\x02\n\x05Topic\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1c\n\x0fpartition_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\"\n\x12replication_factor\x18\x03 \x01(\x05\x42\x06\xe0\x41\x02\xe0\x41\x05\x12\x46\n\x07\x63onfigs\x18\x04 \x03(\x0b\x32\x30.google.cloud.managedkafka.v1.Topic.ConfigsEntryB\x03\xe0\x41\x01\x1a.\n\x0c\x43onfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x80\x01\xea\x41}\n!managedkafka.googleapis.com/Topic\x12Iprojects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}*\x06topics2\x05topic\"\xe1\x01\n\x15\x43onsumerTopicMetadata\x12\\\n\npartitions\x18\x01 \x03(\x0b\x32\x43.google.cloud.managedkafka.v1.ConsumerTopicMetadata.PartitionsEntryB\x03\xe0\x41\x01\x1aj\n\x0fPartitionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.google.cloud.managedkafka.v1.ConsumerPartitionMetadata:\x02\x38\x01\"G\n\x19\x43onsumerPartitionMetadata\x12\x13\n\x06offset\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x15\n\x08metadata\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x81\x03\n\rConsumerGroup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12L\n\x06topics\x18\x02 \x03(\x0b\x32\x37.google.cloud.managedkafka.v1.ConsumerGroup.TopicsEntryB\x03\xe0\x41\x01\x1a\x62\n\x0bTopicsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.google.cloud.managedkafka.v1.ConsumerTopicMetadata:\x02\x38\x01:\xaa\x01\xea\x41\xa6\x01\n)managedkafka.googleapis.com/ConsumerGroup\x12Zprojects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumer_group}*\x0e\x63onsumerGroups2\rconsumerGroup\"\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\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x42\xc3\x03\n com.google.cloud.managedkafka.v1B\x0eResourcesProtoP\x01ZDcloud.google.com/go/managedkafka/apiv1/managedkafkapb;managedkafkapb\xaa\x02\x1cGoogle.Cloud.ManagedKafka.V1\xca\x02\x1cGoogle\\Cloud\\ManagedKafka\\V1\xea\x02\x1fGoogle::Cloud::ManagedKafka::V1\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41k\n*secretmanager.googleapis.com/SecretVersion\x12=projects/{project}/secrets/{secret}/versions/{secret_version}b\x06proto3"
13
+ descriptor_data = "\n,google/cloud/managedkafka/v1/resources.proto\x12\x1cgoogle.cloud.managedkafka.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd8\x06\n\x07\x43luster\x12\x42\n\ngcp_config\x18\t \x01(\x0b\x32\'.google.cloud.managedkafka.v1.GcpConfigB\x03\xe0\x41\x02H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x46\n\x06labels\x18\x04 \x03(\x0b\x32\x31.google.cloud.managedkafka.v1.Cluster.LabelsEntryB\x03\xe0\x41\x01\x12J\n\x0f\x63\x61pacity_config\x18\x05 \x01(\x0b\x32,.google.cloud.managedkafka.v1.CapacityConfigB\x03\xe0\x41\x02\x12L\n\x10rebalance_config\x18\x08 \x01(\x0b\x32-.google.cloud.managedkafka.v1.RebalanceConfigB\x03\xe0\x41\x01\x12?\n\x05state\x18\n \x01(\x0e\x32+.google.cloud.managedkafka.v1.Cluster.StateB\x03\xe0\x41\x03\x12\x1f\n\rsatisfies_pzi\x18\x0b \x01(\x08\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12\x1f\n\rsatisfies_pzs\x18\x0c \x01(\x08\x42\x03\xe0\x41\x03H\x02\x88\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03:w\xea\x41t\n#managedkafka.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}*\x08\x63lusters2\x07\x63lusterB\x11\n\x0fplatform_configB\x10\n\x0e_satisfies_pziB\x10\n\x0e_satisfies_pzs\"D\n\x0e\x43\x61pacityConfig\x12\x17\n\nvcpu_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x19\n\x0cmemory_bytes\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\"\xa8\x01\n\x0fRebalanceConfig\x12\x45\n\x04mode\x18\x01 \x01(\x0e\x32\x32.google.cloud.managedkafka.v1.RebalanceConfig.ModeB\x03\xe0\x41\x01\"N\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cNO_REBALANCE\x10\x01\x12\x1e\n\x1a\x41UTO_REBALANCE_ON_SCALE_UP\x10\x02\"$\n\rNetworkConfig\x12\x13\n\x06subnet\x18\x02 \x01(\tB\x03\xe0\x41\x02\"Y\n\x0c\x41\x63\x63\x65ssConfig\x12I\n\x0fnetwork_configs\x18\x01 \x03(\x0b\x32+.google.cloud.managedkafka.v1.NetworkConfigB\x03\xe0\x41\x02\"\x92\x01\n\tGcpConfig\x12\x46\n\raccess_config\x18\x03 \x01(\x0b\x32*.google.cloud.managedkafka.v1.AccessConfigB\x03\xe0\x41\x02\x12=\n\x07kms_key\x18\x02 \x01(\tB,\xe0\x41\x01\xe0\x41\x05\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\"\xd7\x02\n\x05Topic\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1c\n\x0fpartition_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\"\n\x12replication_factor\x18\x03 \x01(\x05\x42\x06\xe0\x41\x02\xe0\x41\x05\x12\x46\n\x07\x63onfigs\x18\x04 \x03(\x0b\x32\x30.google.cloud.managedkafka.v1.Topic.ConfigsEntryB\x03\xe0\x41\x01\x1a.\n\x0c\x43onfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x80\x01\xea\x41}\n!managedkafka.googleapis.com/Topic\x12Iprojects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}*\x06topics2\x05topic\"\xe1\x01\n\x15\x43onsumerTopicMetadata\x12\\\n\npartitions\x18\x01 \x03(\x0b\x32\x43.google.cloud.managedkafka.v1.ConsumerTopicMetadata.PartitionsEntryB\x03\xe0\x41\x01\x1aj\n\x0fPartitionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.google.cloud.managedkafka.v1.ConsumerPartitionMetadata:\x02\x38\x01\"G\n\x19\x43onsumerPartitionMetadata\x12\x13\n\x06offset\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x15\n\x08metadata\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x81\x03\n\rConsumerGroup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12L\n\x06topics\x18\x02 \x03(\x0b\x32\x37.google.cloud.managedkafka.v1.ConsumerGroup.TopicsEntryB\x03\xe0\x41\x01\x1a\x62\n\x0bTopicsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.google.cloud.managedkafka.v1.ConsumerTopicMetadata:\x02\x38\x01:\xaa\x01\xea\x41\xa6\x01\n)managedkafka.googleapis.com/ConsumerGroup\x12Zprojects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumer_group}*\x0e\x63onsumerGroups2\rconsumerGroup\"\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\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\x83\x07\n\x0e\x43onnectCluster\x12I\n\ngcp_config\x18\x07 \x01(\x0b\x32..google.cloud.managedkafka.v1.ConnectGcpConfigB\x03\xe0\x41\x02H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1d\n\rkafka_cluster\x18\x02 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12M\n\x06labels\x18\x05 \x03(\x0b\x32\x38.google.cloud.managedkafka.v1.ConnectCluster.LabelsEntryB\x03\xe0\x41\x01\x12J\n\x0f\x63\x61pacity_config\x18\x06 \x01(\x0b\x32,.google.cloud.managedkafka.v1.CapacityConfigB\x03\xe0\x41\x02\x12\x46\n\x05state\x18\x08 \x01(\x0e\x32\x32.google.cloud.managedkafka.v1.ConnectCluster.StateB\x03\xe0\x41\x03\x12M\n\x06\x63onfig\x18\t \x03(\x0b\x32\x38.google.cloud.managedkafka.v1.ConnectCluster.ConfigEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03:\x9c\x01\xea\x41\x98\x01\n*managedkafka.googleapis.com/ConnectCluster\x12Iprojects/{project}/locations/{location}/connectClusters/{connect_cluster}*\x0f\x63onnectClusters2\x0e\x63onnectClusterB\x11\n\x0fplatform_config\"s\n\x14\x43onnectNetworkConfig\x12\x1b\n\x0eprimary_subnet\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12\x61\x64\x64itional_subnets\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x64ns_domain_names\x18\x02 \x03(\tB\x03\xe0\x41\x01\"g\n\x13\x43onnectAccessConfig\x12P\n\x0fnetwork_configs\x18\x01 \x03(\x0b\x32\x32.google.cloud.managedkafka.v1.ConnectNetworkConfigB\x03\xe0\x41\x02\"\xab\x01\n\x10\x43onnectGcpConfig\x12M\n\raccess_config\x18\x01 \x01(\x0b\x32\x31.google.cloud.managedkafka.v1.ConnectAccessConfigB\x03\xe0\x41\x02\x12H\n\x0csecret_paths\x18\x02 \x03(\tB2\xe0\x41\x01\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"\xdb\x04\n\tConnector\x12Q\n\x13task_restart_policy\x18\x04 \x01(\x0b\x32-.google.cloud.managedkafka.v1.TaskRetryPolicyB\x03\xe0\x41\x01H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12J\n\x07\x63onfigs\x18\x02 \x03(\x0b\x32\x34.google.cloud.managedkafka.v1.Connector.ConfigsEntryB\x03\xe0\x41\x01\x12\x41\n\x05state\x18\x03 \x01(\x0e\x32-.google.cloud.managedkafka.v1.Connector.StateB\x03\xe0\x41\x03\x1a.\n\x0c\x43onfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"p\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0e\n\nUNASSIGNED\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\n\n\x06PAUSED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0e\n\nRESTARTING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06:\xa4\x01\xea\x41\xa0\x01\n%managedkafka.googleapis.com/Connector\x12`projects/{project}/locations/{location}/connectClusters/{connect_cluster}/connectors/{connector}*\nconnectors2\tconnectorB\x10\n\x0erestart_policy\"\x83\x01\n\x0fTaskRetryPolicy\x12\x37\n\x0fminimum_backoff\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x37\n\x0fmaximum_backoff\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x42\xa2\x04\n com.google.cloud.managedkafka.v1B\x0eResourcesProtoP\x01ZDcloud.google.com/go/managedkafka/apiv1/managedkafkapb;managedkafkapb\xaa\x02\x1cGoogle.Cloud.ManagedKafka.V1\xca\x02\x1cGoogle\\Cloud\\ManagedKafka\\V1\xea\x02\x1fGoogle::Cloud::ManagedKafka::V1\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41k\n*secretmanager.googleapis.com/SecretVersion\x12=projects/{project}/secrets/{secret}/versions/{secret_version}\xea\x41\\\n\x1fprivateca.googleapis.com/CaPool\x12\x39projects/{project}/locations/{location}/caPools/{ca_pool}b\x06proto3"
13
14
 
14
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
16
 
@@ -25,6 +26,7 @@ rescue TypeError
25
26
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
27
  imports = [
27
28
  ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
28
30
  ]
29
31
  imports.each do |type_name, expected_filename|
30
32
  import_file = pool.lookup(type_name).file_descriptor
@@ -53,6 +55,14 @@ module Google
53
55
  ConsumerPartitionMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ConsumerPartitionMetadata").msgclass
54
56
  ConsumerGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ConsumerGroup").msgclass
55
57
  OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.OperationMetadata").msgclass
58
+ ConnectCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ConnectCluster").msgclass
59
+ ConnectCluster::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ConnectCluster.State").enummodule
60
+ ConnectNetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ConnectNetworkConfig").msgclass
61
+ ConnectAccessConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ConnectAccessConfig").msgclass
62
+ ConnectGcpConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ConnectGcpConfig").msgclass
63
+ Connector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.Connector").msgclass
64
+ Connector::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.Connector.State").enummodule
65
+ TaskRetryPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.TaskRetryPolicy").msgclass
56
66
  end
57
67
  end
58
68
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods