google-cloud-managed_kafka-v1 1.1.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/managed_kafka/v1/managed_kafka/client.rb +726 -0
- data/lib/google/cloud/managed_kafka/v1/managed_kafka/paths.rb +21 -0
- data/lib/google/cloud/managed_kafka/v1/managed_kafka/rest/client.rb +677 -0
- data/lib/google/cloud/managed_kafka/v1/managed_kafka/rest/service_stub.rb +431 -0
- data/lib/google/cloud/managed_kafka/v1/version.rb +1 -1
- data/lib/google/cloud/managedkafka/v1/managed_kafka_pb.rb +11 -1
- data/lib/google/cloud/managedkafka/v1/managed_kafka_services_pb.rb +17 -0
- data/lib/google/cloud/managedkafka/v1/resources_pb.rb +3 -1
- data/proto_docs/google/cloud/managedkafka/v1/managed_kafka.rb +187 -0
- data/proto_docs/google/cloud/managedkafka/v1/resources.rb +89 -0
- metadata +11 -23
@@ -633,6 +633,286 @@ module Google
|
|
633
633
|
end
|
634
634
|
end
|
635
635
|
|
636
|
+
##
|
637
|
+
# Baseline implementation for the list_acls REST call
|
638
|
+
#
|
639
|
+
# @param request_pb [::Google::Cloud::ManagedKafka::V1::ListAclsRequest]
|
640
|
+
# A request object representing the call parameters. Required.
|
641
|
+
# @param options [::Gapic::CallOptions]
|
642
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
643
|
+
#
|
644
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
645
|
+
# @yieldparam result [::Google::Cloud::ManagedKafka::V1::ListAclsResponse]
|
646
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
647
|
+
#
|
648
|
+
# @return [::Google::Cloud::ManagedKafka::V1::ListAclsResponse]
|
649
|
+
# A result object deserialized from the server's reply
|
650
|
+
def list_acls request_pb, options = nil
|
651
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
652
|
+
|
653
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_acls_request request_pb
|
654
|
+
query_string_params = if query_string_params.any?
|
655
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
656
|
+
else
|
657
|
+
{}
|
658
|
+
end
|
659
|
+
|
660
|
+
response = @client_stub.make_http_request(
|
661
|
+
verb,
|
662
|
+
uri: uri,
|
663
|
+
body: body || "",
|
664
|
+
params: query_string_params,
|
665
|
+
method_name: "list_acls",
|
666
|
+
options: options
|
667
|
+
)
|
668
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
669
|
+
result = ::Google::Cloud::ManagedKafka::V1::ListAclsResponse.decode_json response.body, ignore_unknown_fields: true
|
670
|
+
catch :response do
|
671
|
+
yield result, operation if block_given?
|
672
|
+
result
|
673
|
+
end
|
674
|
+
end
|
675
|
+
|
676
|
+
##
|
677
|
+
# Baseline implementation for the get_acl REST call
|
678
|
+
#
|
679
|
+
# @param request_pb [::Google::Cloud::ManagedKafka::V1::GetAclRequest]
|
680
|
+
# A request object representing the call parameters. Required.
|
681
|
+
# @param options [::Gapic::CallOptions]
|
682
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
683
|
+
#
|
684
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
685
|
+
# @yieldparam result [::Google::Cloud::ManagedKafka::V1::Acl]
|
686
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
687
|
+
#
|
688
|
+
# @return [::Google::Cloud::ManagedKafka::V1::Acl]
|
689
|
+
# A result object deserialized from the server's reply
|
690
|
+
def get_acl request_pb, options = nil
|
691
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
692
|
+
|
693
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_acl_request request_pb
|
694
|
+
query_string_params = if query_string_params.any?
|
695
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
696
|
+
else
|
697
|
+
{}
|
698
|
+
end
|
699
|
+
|
700
|
+
response = @client_stub.make_http_request(
|
701
|
+
verb,
|
702
|
+
uri: uri,
|
703
|
+
body: body || "",
|
704
|
+
params: query_string_params,
|
705
|
+
method_name: "get_acl",
|
706
|
+
options: options
|
707
|
+
)
|
708
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
709
|
+
result = ::Google::Cloud::ManagedKafka::V1::Acl.decode_json response.body, ignore_unknown_fields: true
|
710
|
+
catch :response do
|
711
|
+
yield result, operation if block_given?
|
712
|
+
result
|
713
|
+
end
|
714
|
+
end
|
715
|
+
|
716
|
+
##
|
717
|
+
# Baseline implementation for the create_acl REST call
|
718
|
+
#
|
719
|
+
# @param request_pb [::Google::Cloud::ManagedKafka::V1::CreateAclRequest]
|
720
|
+
# A request object representing the call parameters. Required.
|
721
|
+
# @param options [::Gapic::CallOptions]
|
722
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
723
|
+
#
|
724
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
725
|
+
# @yieldparam result [::Google::Cloud::ManagedKafka::V1::Acl]
|
726
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
727
|
+
#
|
728
|
+
# @return [::Google::Cloud::ManagedKafka::V1::Acl]
|
729
|
+
# A result object deserialized from the server's reply
|
730
|
+
def create_acl request_pb, options = nil
|
731
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
732
|
+
|
733
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_acl_request request_pb
|
734
|
+
query_string_params = if query_string_params.any?
|
735
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
736
|
+
else
|
737
|
+
{}
|
738
|
+
end
|
739
|
+
|
740
|
+
response = @client_stub.make_http_request(
|
741
|
+
verb,
|
742
|
+
uri: uri,
|
743
|
+
body: body || "",
|
744
|
+
params: query_string_params,
|
745
|
+
method_name: "create_acl",
|
746
|
+
options: options
|
747
|
+
)
|
748
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
749
|
+
result = ::Google::Cloud::ManagedKafka::V1::Acl.decode_json response.body, ignore_unknown_fields: true
|
750
|
+
catch :response do
|
751
|
+
yield result, operation if block_given?
|
752
|
+
result
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
756
|
+
##
|
757
|
+
# Baseline implementation for the update_acl REST call
|
758
|
+
#
|
759
|
+
# @param request_pb [::Google::Cloud::ManagedKafka::V1::UpdateAclRequest]
|
760
|
+
# A request object representing the call parameters. Required.
|
761
|
+
# @param options [::Gapic::CallOptions]
|
762
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
763
|
+
#
|
764
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
765
|
+
# @yieldparam result [::Google::Cloud::ManagedKafka::V1::Acl]
|
766
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
767
|
+
#
|
768
|
+
# @return [::Google::Cloud::ManagedKafka::V1::Acl]
|
769
|
+
# A result object deserialized from the server's reply
|
770
|
+
def update_acl request_pb, options = nil
|
771
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
772
|
+
|
773
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_acl_request request_pb
|
774
|
+
query_string_params = if query_string_params.any?
|
775
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
776
|
+
else
|
777
|
+
{}
|
778
|
+
end
|
779
|
+
|
780
|
+
response = @client_stub.make_http_request(
|
781
|
+
verb,
|
782
|
+
uri: uri,
|
783
|
+
body: body || "",
|
784
|
+
params: query_string_params,
|
785
|
+
method_name: "update_acl",
|
786
|
+
options: options
|
787
|
+
)
|
788
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
789
|
+
result = ::Google::Cloud::ManagedKafka::V1::Acl.decode_json response.body, ignore_unknown_fields: true
|
790
|
+
catch :response do
|
791
|
+
yield result, operation if block_given?
|
792
|
+
result
|
793
|
+
end
|
794
|
+
end
|
795
|
+
|
796
|
+
##
|
797
|
+
# Baseline implementation for the delete_acl REST call
|
798
|
+
#
|
799
|
+
# @param request_pb [::Google::Cloud::ManagedKafka::V1::DeleteAclRequest]
|
800
|
+
# A request object representing the call parameters. Required.
|
801
|
+
# @param options [::Gapic::CallOptions]
|
802
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
803
|
+
#
|
804
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
805
|
+
# @yieldparam result [::Google::Protobuf::Empty]
|
806
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
807
|
+
#
|
808
|
+
# @return [::Google::Protobuf::Empty]
|
809
|
+
# A result object deserialized from the server's reply
|
810
|
+
def delete_acl request_pb, options = nil
|
811
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
812
|
+
|
813
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_acl_request request_pb
|
814
|
+
query_string_params = if query_string_params.any?
|
815
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
816
|
+
else
|
817
|
+
{}
|
818
|
+
end
|
819
|
+
|
820
|
+
response = @client_stub.make_http_request(
|
821
|
+
verb,
|
822
|
+
uri: uri,
|
823
|
+
body: body || "",
|
824
|
+
params: query_string_params,
|
825
|
+
method_name: "delete_acl",
|
826
|
+
options: options
|
827
|
+
)
|
828
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
829
|
+
result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
|
830
|
+
catch :response do
|
831
|
+
yield result, operation if block_given?
|
832
|
+
result
|
833
|
+
end
|
834
|
+
end
|
835
|
+
|
836
|
+
##
|
837
|
+
# Baseline implementation for the add_acl_entry REST call
|
838
|
+
#
|
839
|
+
# @param request_pb [::Google::Cloud::ManagedKafka::V1::AddAclEntryRequest]
|
840
|
+
# A request object representing the call parameters. Required.
|
841
|
+
# @param options [::Gapic::CallOptions]
|
842
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
843
|
+
#
|
844
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
845
|
+
# @yieldparam result [::Google::Cloud::ManagedKafka::V1::AddAclEntryResponse]
|
846
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
847
|
+
#
|
848
|
+
# @return [::Google::Cloud::ManagedKafka::V1::AddAclEntryResponse]
|
849
|
+
# A result object deserialized from the server's reply
|
850
|
+
def add_acl_entry request_pb, options = nil
|
851
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
852
|
+
|
853
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_add_acl_entry_request request_pb
|
854
|
+
query_string_params = if query_string_params.any?
|
855
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
856
|
+
else
|
857
|
+
{}
|
858
|
+
end
|
859
|
+
|
860
|
+
response = @client_stub.make_http_request(
|
861
|
+
verb,
|
862
|
+
uri: uri,
|
863
|
+
body: body || "",
|
864
|
+
params: query_string_params,
|
865
|
+
method_name: "add_acl_entry",
|
866
|
+
options: options
|
867
|
+
)
|
868
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
869
|
+
result = ::Google::Cloud::ManagedKafka::V1::AddAclEntryResponse.decode_json response.body, ignore_unknown_fields: true
|
870
|
+
catch :response do
|
871
|
+
yield result, operation if block_given?
|
872
|
+
result
|
873
|
+
end
|
874
|
+
end
|
875
|
+
|
876
|
+
##
|
877
|
+
# Baseline implementation for the remove_acl_entry REST call
|
878
|
+
#
|
879
|
+
# @param request_pb [::Google::Cloud::ManagedKafka::V1::RemoveAclEntryRequest]
|
880
|
+
# A request object representing the call parameters. Required.
|
881
|
+
# @param options [::Gapic::CallOptions]
|
882
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
883
|
+
#
|
884
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
885
|
+
# @yieldparam result [::Google::Cloud::ManagedKafka::V1::RemoveAclEntryResponse]
|
886
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
887
|
+
#
|
888
|
+
# @return [::Google::Cloud::ManagedKafka::V1::RemoveAclEntryResponse]
|
889
|
+
# A result object deserialized from the server's reply
|
890
|
+
def remove_acl_entry request_pb, options = nil
|
891
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
892
|
+
|
893
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_remove_acl_entry_request request_pb
|
894
|
+
query_string_params = if query_string_params.any?
|
895
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
896
|
+
else
|
897
|
+
{}
|
898
|
+
end
|
899
|
+
|
900
|
+
response = @client_stub.make_http_request(
|
901
|
+
verb,
|
902
|
+
uri: uri,
|
903
|
+
body: body || "",
|
904
|
+
params: query_string_params,
|
905
|
+
method_name: "remove_acl_entry",
|
906
|
+
options: options
|
907
|
+
)
|
908
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
909
|
+
result = ::Google::Cloud::ManagedKafka::V1::RemoveAclEntryResponse.decode_json response.body, ignore_unknown_fields: true
|
910
|
+
catch :response do
|
911
|
+
yield result, operation if block_given?
|
912
|
+
result
|
913
|
+
end
|
914
|
+
end
|
915
|
+
|
636
916
|
##
|
637
917
|
# @private
|
638
918
|
#
|
@@ -931,6 +1211,157 @@ module Google
|
|
931
1211
|
)
|
932
1212
|
transcoder.transcode request_pb
|
933
1213
|
end
|
1214
|
+
|
1215
|
+
##
|
1216
|
+
# @private
|
1217
|
+
#
|
1218
|
+
# GRPC transcoding helper method for the list_acls REST call
|
1219
|
+
#
|
1220
|
+
# @param request_pb [::Google::Cloud::ManagedKafka::V1::ListAclsRequest]
|
1221
|
+
# A request object representing the call parameters. Required.
|
1222
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1223
|
+
# Uri, Body, Query string parameters
|
1224
|
+
def self.transcode_list_acls_request request_pb
|
1225
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1226
|
+
.with_bindings(
|
1227
|
+
uri_method: :get,
|
1228
|
+
uri_template: "/v1/{parent}/acls",
|
1229
|
+
matches: [
|
1230
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/?$}, false]
|
1231
|
+
]
|
1232
|
+
)
|
1233
|
+
transcoder.transcode request_pb
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
##
|
1237
|
+
# @private
|
1238
|
+
#
|
1239
|
+
# GRPC transcoding helper method for the get_acl REST call
|
1240
|
+
#
|
1241
|
+
# @param request_pb [::Google::Cloud::ManagedKafka::V1::GetAclRequest]
|
1242
|
+
# A request object representing the call parameters. Required.
|
1243
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1244
|
+
# Uri, Body, Query string parameters
|
1245
|
+
def self.transcode_get_acl_request request_pb
|
1246
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1247
|
+
.with_bindings(
|
1248
|
+
uri_method: :get,
|
1249
|
+
uri_template: "/v1/{name}",
|
1250
|
+
matches: [
|
1251
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/acls(?:/.*)?$}, true]
|
1252
|
+
]
|
1253
|
+
)
|
1254
|
+
transcoder.transcode request_pb
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
##
|
1258
|
+
# @private
|
1259
|
+
#
|
1260
|
+
# GRPC transcoding helper method for the create_acl REST call
|
1261
|
+
#
|
1262
|
+
# @param request_pb [::Google::Cloud::ManagedKafka::V1::CreateAclRequest]
|
1263
|
+
# A request object representing the call parameters. Required.
|
1264
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1265
|
+
# Uri, Body, Query string parameters
|
1266
|
+
def self.transcode_create_acl_request request_pb
|
1267
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1268
|
+
.with_bindings(
|
1269
|
+
uri_method: :post,
|
1270
|
+
uri_template: "/v1/{parent}/acls",
|
1271
|
+
body: "acl",
|
1272
|
+
matches: [
|
1273
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/?$}, false]
|
1274
|
+
]
|
1275
|
+
)
|
1276
|
+
transcoder.transcode request_pb
|
1277
|
+
end
|
1278
|
+
|
1279
|
+
##
|
1280
|
+
# @private
|
1281
|
+
#
|
1282
|
+
# GRPC transcoding helper method for the update_acl REST call
|
1283
|
+
#
|
1284
|
+
# @param request_pb [::Google::Cloud::ManagedKafka::V1::UpdateAclRequest]
|
1285
|
+
# A request object representing the call parameters. Required.
|
1286
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1287
|
+
# Uri, Body, Query string parameters
|
1288
|
+
def self.transcode_update_acl_request request_pb
|
1289
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1290
|
+
.with_bindings(
|
1291
|
+
uri_method: :patch,
|
1292
|
+
uri_template: "/v1/{acl.name}",
|
1293
|
+
body: "acl",
|
1294
|
+
matches: [
|
1295
|
+
["acl.name", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/acls(?:/.*)?$}, true]
|
1296
|
+
]
|
1297
|
+
)
|
1298
|
+
transcoder.transcode request_pb
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
##
|
1302
|
+
# @private
|
1303
|
+
#
|
1304
|
+
# GRPC transcoding helper method for the delete_acl REST call
|
1305
|
+
#
|
1306
|
+
# @param request_pb [::Google::Cloud::ManagedKafka::V1::DeleteAclRequest]
|
1307
|
+
# A request object representing the call parameters. Required.
|
1308
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1309
|
+
# Uri, Body, Query string parameters
|
1310
|
+
def self.transcode_delete_acl_request request_pb
|
1311
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1312
|
+
.with_bindings(
|
1313
|
+
uri_method: :delete,
|
1314
|
+
uri_template: "/v1/{name}",
|
1315
|
+
matches: [
|
1316
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/acls(?:/.*)?$}, true]
|
1317
|
+
]
|
1318
|
+
)
|
1319
|
+
transcoder.transcode request_pb
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
##
|
1323
|
+
# @private
|
1324
|
+
#
|
1325
|
+
# GRPC transcoding helper method for the add_acl_entry REST call
|
1326
|
+
#
|
1327
|
+
# @param request_pb [::Google::Cloud::ManagedKafka::V1::AddAclEntryRequest]
|
1328
|
+
# A request object representing the call parameters. Required.
|
1329
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1330
|
+
# Uri, Body, Query string parameters
|
1331
|
+
def self.transcode_add_acl_entry_request request_pb
|
1332
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1333
|
+
.with_bindings(
|
1334
|
+
uri_method: :post,
|
1335
|
+
uri_template: "/v1/{acl}:addAclEntry",
|
1336
|
+
body: "acl_entry",
|
1337
|
+
matches: [
|
1338
|
+
["acl", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/acls(?:/.*)?$}, true]
|
1339
|
+
]
|
1340
|
+
)
|
1341
|
+
transcoder.transcode request_pb
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
##
|
1345
|
+
# @private
|
1346
|
+
#
|
1347
|
+
# GRPC transcoding helper method for the remove_acl_entry REST call
|
1348
|
+
#
|
1349
|
+
# @param request_pb [::Google::Cloud::ManagedKafka::V1::RemoveAclEntryRequest]
|
1350
|
+
# A request object representing the call parameters. Required.
|
1351
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1352
|
+
# Uri, Body, Query string parameters
|
1353
|
+
def self.transcode_remove_acl_entry_request request_pb
|
1354
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1355
|
+
.with_bindings(
|
1356
|
+
uri_method: :post,
|
1357
|
+
uri_template: "/v1/{acl}:removeAclEntry",
|
1358
|
+
body: "acl_entry",
|
1359
|
+
matches: [
|
1360
|
+
["acl", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/acls(?:/.*)?$}, true]
|
1361
|
+
]
|
1362
|
+
)
|
1363
|
+
transcoder.transcode request_pb
|
1364
|
+
end
|
934
1365
|
end
|
935
1366
|
end
|
936
1367
|
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\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"
|
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/ConsumerGroup\"{\n\x0fListAclsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fmanagedkafka.googleapis.com/Acl\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\x10ListAclsResponse\x12/\n\x04\x61\x63ls\x18\x01 \x03(\x0b\x32!.google.cloud.managedkafka.v1.Acl\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"F\n\rGetAclRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmanagedkafka.googleapis.com/Acl\"\x95\x01\n\x10\x43reateAclRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fmanagedkafka.googleapis.com/Acl\x12\x13\n\x06\x61\x63l_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x03\x61\x63l\x18\x03 \x01(\x0b\x32!.google.cloud.managedkafka.v1.AclB\x03\xe0\x41\x02\"}\n\x10UpdateAclRequest\x12\x33\n\x03\x61\x63l\x18\x01 \x01(\x0b\x32!.google.cloud.managedkafka.v1.AclB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"I\n\x10\x44\x65leteAclRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmanagedkafka.googleapis.com/Acl\"\x8a\x01\n\x12\x41\x64\x64\x41\x63lEntryRequest\x12\x34\n\x03\x61\x63l\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmanagedkafka.googleapis.com/Acl\x12>\n\tacl_entry\x18\x02 \x01(\x0b\x32&.google.cloud.managedkafka.v1.AclEntryB\x03\xe0\x41\x02\"Z\n\x13\x41\x64\x64\x41\x63lEntryResponse\x12.\n\x03\x61\x63l\x18\x01 \x01(\x0b\x32!.google.cloud.managedkafka.v1.Acl\x12\x13\n\x0b\x61\x63l_created\x18\x02 \x01(\x08\"\x8d\x01\n\x15RemoveAclEntryRequest\x12\x34\n\x03\x61\x63l\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmanagedkafka.googleapis.com/Acl\x12>\n\tacl_entry\x18\x02 \x01(\x0b\x32&.google.cloud.managedkafka.v1.AclEntryB\x03\xe0\x41\x02\"k\n\x16RemoveAclEntryResponse\x12\x30\n\x03\x61\x63l\x18\x01 \x01(\x0b\x32!.google.cloud.managedkafka.v1.AclH\x00\x12\x15\n\x0b\x61\x63l_deleted\x18\x02 \x01(\x08H\x00\x42\x08\n\x06result2\xd1 \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/**}\x12\xaf\x01\n\x08ListAcls\x12-.google.cloud.managedkafka.v1.ListAclsRequest\x1a..google.cloud.managedkafka.v1.ListAclsResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*/clusters/*}/acls\x12\x9d\x01\n\x06GetAcl\x12+.google.cloud.managedkafka.v1.GetAclRequest\x1a!.google.cloud.managedkafka.v1.Acl\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/clusters/*/acls/**}\x12\xb4\x01\n\tCreateAcl\x12..google.cloud.managedkafka.v1.CreateAclRequest\x1a!.google.cloud.managedkafka.v1.Acl\"T\xda\x41\x11parent,acl,acl_id\x82\xd3\xe4\x93\x02:\"3/v1/{parent=projects/*/locations/*/clusters/*}/acls:\x03\x61\x63l\x12\xb7\x01\n\tUpdateAcl\x12..google.cloud.managedkafka.v1.UpdateAclRequest\x1a!.google.cloud.managedkafka.v1.Acl\"W\xda\x41\x0f\x61\x63l,update_mask\x82\xd3\xe4\x93\x02?28/v1/{acl.name=projects/*/locations/*/clusters/*/acls/**}:\x03\x61\x63l\x12\x98\x01\n\tDeleteAcl\x12..google.cloud.managedkafka.v1.DeleteAclRequest\x1a\x16.google.protobuf.Empty\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/clusters/*/acls/**}\x12\xd6\x01\n\x0b\x41\x64\x64\x41\x63lEntry\x12\x30.google.cloud.managedkafka.v1.AddAclEntryRequest\x1a\x31.google.cloud.managedkafka.v1.AddAclEntryResponse\"b\xda\x41\racl,acl_entry\x82\xd3\xe4\x93\x02L\"?/v1/{acl=projects/*/locations/*/clusters/*/acls/**}:addAclEntry:\tacl_entry\x12\xe2\x01\n\x0eRemoveAclEntry\x12\x33.google.cloud.managedkafka.v1.RemoveAclEntryRequest\x1a\x34.google.cloud.managedkafka.v1.RemoveAclEntryResponse\"e\xda\x41\racl,acl_entry\x82\xd3\xe4\x93\x02O\"B/v1/{acl=projects/*/locations/*/clusters/*/acls/**}:removeAclEntry:\tacl_entry\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
|
|
@@ -64,6 +64,16 @@ module Google
|
|
64
64
|
GetConsumerGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.GetConsumerGroupRequest").msgclass
|
65
65
|
UpdateConsumerGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.UpdateConsumerGroupRequest").msgclass
|
66
66
|
DeleteConsumerGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.DeleteConsumerGroupRequest").msgclass
|
67
|
+
ListAclsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ListAclsRequest").msgclass
|
68
|
+
ListAclsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.ListAclsResponse").msgclass
|
69
|
+
GetAclRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.GetAclRequest").msgclass
|
70
|
+
CreateAclRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.CreateAclRequest").msgclass
|
71
|
+
UpdateAclRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.UpdateAclRequest").msgclass
|
72
|
+
DeleteAclRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.DeleteAclRequest").msgclass
|
73
|
+
AddAclEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.AddAclEntryRequest").msgclass
|
74
|
+
AddAclEntryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.AddAclEntryResponse").msgclass
|
75
|
+
RemoveAclEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.RemoveAclEntryRequest").msgclass
|
76
|
+
RemoveAclEntryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.RemoveAclEntryResponse").msgclass
|
67
77
|
end
|
68
78
|
end
|
69
79
|
end
|
@@ -62,6 +62,23 @@ module Google
|
|
62
62
|
rpc :UpdateConsumerGroup, ::Google::Cloud::ManagedKafka::V1::UpdateConsumerGroupRequest, ::Google::Cloud::ManagedKafka::V1::ConsumerGroup
|
63
63
|
# Deletes a single consumer group.
|
64
64
|
rpc :DeleteConsumerGroup, ::Google::Cloud::ManagedKafka::V1::DeleteConsumerGroupRequest, ::Google::Protobuf::Empty
|
65
|
+
# Lists the acls in a given cluster.
|
66
|
+
rpc :ListAcls, ::Google::Cloud::ManagedKafka::V1::ListAclsRequest, ::Google::Cloud::ManagedKafka::V1::ListAclsResponse
|
67
|
+
# Returns the properties of a single acl.
|
68
|
+
rpc :GetAcl, ::Google::Cloud::ManagedKafka::V1::GetAclRequest, ::Google::Cloud::ManagedKafka::V1::Acl
|
69
|
+
# Creates a new acl in the given project, location, and cluster.
|
70
|
+
rpc :CreateAcl, ::Google::Cloud::ManagedKafka::V1::CreateAclRequest, ::Google::Cloud::ManagedKafka::V1::Acl
|
71
|
+
# Updates the properties of a single acl.
|
72
|
+
rpc :UpdateAcl, ::Google::Cloud::ManagedKafka::V1::UpdateAclRequest, ::Google::Cloud::ManagedKafka::V1::Acl
|
73
|
+
# Deletes an acl.
|
74
|
+
rpc :DeleteAcl, ::Google::Cloud::ManagedKafka::V1::DeleteAclRequest, ::Google::Protobuf::Empty
|
75
|
+
# Incremental update: Adds an acl entry to an acl. Creates the acl if it does
|
76
|
+
# not exist yet.
|
77
|
+
rpc :AddAclEntry, ::Google::Cloud::ManagedKafka::V1::AddAclEntryRequest, ::Google::Cloud::ManagedKafka::V1::AddAclEntryResponse
|
78
|
+
# Incremental update: Removes an acl entry from an acl. Deletes the acl if
|
79
|
+
# its acl entries become empty (i.e. if the removed entry was the last one in
|
80
|
+
# the acl).
|
81
|
+
rpc :RemoveAclEntry, ::Google::Cloud::ManagedKafka::V1::RemoveAclEntryRequest, ::Google::Cloud::ManagedKafka::V1::RemoveAclEntryResponse
|
65
82
|
end
|
66
83
|
|
67
84
|
Stub = Service.rpc_stub_class
|
@@ -10,7 +10,7 @@ require 'google/protobuf/duration_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
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
|
+
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\"\xb8\x02\n\x03\x41\x63l\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12@\n\x0b\x61\x63l_entries\x18\x02 \x03(\x0b\x32&.google.cloud.managedkafka.v1.AclEntryB\x03\xe0\x41\x02\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rresource_type\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rresource_name\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cpattern_type\x18\x06 \x01(\tB\x03\xe0\x41\x03:v\xea\x41s\n\x1fmanagedkafka.googleapis.com/Acl\x12\x45projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl}*\x04\x61\x63ls2\x03\x61\x63l\"k\n\x08\x41\x63lEntry\x12\x16\n\tprincipal\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fpermission_type\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\toperation\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04host\x18\x07 \x01(\tB\x03\xe0\x41\x02\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"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -63,6 +63,8 @@ module Google
|
|
63
63
|
Connector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.Connector").msgclass
|
64
64
|
Connector::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.Connector.State").enummodule
|
65
65
|
TaskRetryPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.TaskRetryPolicy").msgclass
|
66
|
+
Acl = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.Acl").msgclass
|
67
|
+
AclEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.v1.AclEntry").msgclass
|
66
68
|
end
|
67
69
|
end
|
68
70
|
end
|