google-apis-managedkafka_v1 0.25.0 → 0.26.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 64ba922b2f5f5f2a544a53f080c15ebaa74542afe5ff5d7afb84fb03d03e45c3
|
|
4
|
+
data.tar.gz: f57674aa1d552b773178ca5de40727e1b3052b98e7cb17b567dde04ff29281d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cfb6c8387dca71eb7e6e7727aa6b7474d5152693c8ff79f8584c67dc16e6abae6c3fc966cd35590a13a88a276dbd9e721756b4e0f2b4298ca9660d91318a27ff
|
|
7
|
+
data.tar.gz: 4e1bff4c4b225f14c2ec55ccb157601ec7807d0742b5b036adba9524efae214f341d4ed1664b4be631bd0c1453d40b45cb8e5c45dc86bf0c5e809ee8bbb7c923
|
data/CHANGELOG.md
CHANGED
|
@@ -33,6 +33,11 @@ module Google
|
|
|
33
33
|
# @return [Array<Google::Apis::ManagedkafkaV1::NetworkConfig>]
|
|
34
34
|
attr_accessor :network_configs
|
|
35
35
|
|
|
36
|
+
# The configuration for a public Kafka cluster
|
|
37
|
+
# Corresponds to the JSON property `publicClusterConfig`
|
|
38
|
+
# @return [Google::Apis::ManagedkafkaV1::PublicClusterConfig]
|
|
39
|
+
attr_accessor :public_cluster_config
|
|
40
|
+
|
|
36
41
|
def initialize(**args)
|
|
37
42
|
update!(**args)
|
|
38
43
|
end
|
|
@@ -40,6 +45,7 @@ module Google
|
|
|
40
45
|
# Update properties of this object
|
|
41
46
|
def update!(**args)
|
|
42
47
|
@network_configs = args[:network_configs] if args.key?(:network_configs)
|
|
48
|
+
@public_cluster_config = args[:public_cluster_config] if args.key?(:public_cluster_config)
|
|
43
49
|
end
|
|
44
50
|
end
|
|
45
51
|
|
|
@@ -186,6 +192,26 @@ module Google
|
|
|
186
192
|
end
|
|
187
193
|
end
|
|
188
194
|
|
|
195
|
+
# Capacity configuration at a per-broker level within the Kafka cluster. The
|
|
196
|
+
# config will be appled to each broker in the cluster.
|
|
197
|
+
class BrokerCapacityConfig
|
|
198
|
+
include Google::Apis::Core::Hashable
|
|
199
|
+
|
|
200
|
+
# Optional. The disk to provision for each broker in Gibibytes. Minimum: 100 GiB.
|
|
201
|
+
# Corresponds to the JSON property `diskSizeGib`
|
|
202
|
+
# @return [Fixnum]
|
|
203
|
+
attr_accessor :disk_size_gib
|
|
204
|
+
|
|
205
|
+
def initialize(**args)
|
|
206
|
+
update!(**args)
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
# Update properties of this object
|
|
210
|
+
def update!(**args)
|
|
211
|
+
@disk_size_gib = args[:disk_size_gib] if args.key?(:disk_size_gib)
|
|
212
|
+
end
|
|
213
|
+
end
|
|
214
|
+
|
|
189
215
|
# Details of a broker in the Kafka cluster.
|
|
190
216
|
class BrokerDetails
|
|
191
217
|
include Google::Apis::Core::Hashable
|
|
@@ -347,6 +373,23 @@ module Google
|
|
|
347
373
|
class Cluster
|
|
348
374
|
include Google::Apis::Core::Hashable
|
|
349
375
|
|
|
376
|
+
# Output only. The bootstrap address of the Kafka cluster. The returned address
|
|
377
|
+
# format is: `bootstrap-...managedkafka.s.cloud.goog` or `bootstrap...
|
|
378
|
+
# managedkafka..cloud.goog` (legacy format). ## Examples: `bootstrap-
|
|
379
|
+
# nol2mecj8p94jhx2ge2rg54579a.c0aad26f.europe-west1.managedkafka.s.cloud.goog` -
|
|
380
|
+
# `bootstrap.my-cluster.us-central1.managedkafka.my-project.cloud.goog` The port
|
|
381
|
+
# number is omitted so clients can connect to their target listener (for example,
|
|
382
|
+
# `:9092` for TLS or `:9094` for mTLS).
|
|
383
|
+
# Corresponds to the JSON property `bootstrapAddress`
|
|
384
|
+
# @return [String]
|
|
385
|
+
attr_accessor :bootstrap_address
|
|
386
|
+
|
|
387
|
+
# Capacity configuration at a per-broker level within the Kafka cluster. The
|
|
388
|
+
# config will be appled to each broker in the cluster.
|
|
389
|
+
# Corresponds to the JSON property `brokerCapacityConfig`
|
|
390
|
+
# @return [Google::Apis::ManagedkafkaV1::BrokerCapacityConfig]
|
|
391
|
+
attr_accessor :broker_capacity_config
|
|
392
|
+
|
|
350
393
|
# Output only. Only populated when FULL view is requested. Details of each
|
|
351
394
|
# broker in the cluster.
|
|
352
395
|
# Corresponds to the JSON property `brokerDetails`
|
|
@@ -363,6 +406,12 @@ module Google
|
|
|
363
406
|
# @return [String]
|
|
364
407
|
attr_accessor :create_time
|
|
365
408
|
|
|
409
|
+
# Describes the effective capacity configuration of a Kafka cluster, both
|
|
410
|
+
# cluster-wide and per-broker.
|
|
411
|
+
# Corresponds to the JSON property `effectiveCapacityConfig`
|
|
412
|
+
# @return [Google::Apis::ManagedkafkaV1::EffectiveCapacityConfig]
|
|
413
|
+
attr_accessor :effective_capacity_config
|
|
414
|
+
|
|
366
415
|
# Configuration properties for a Kafka cluster deployed to Google Cloud Platform.
|
|
367
416
|
# Corresponds to the JSON property `gcpConfig`
|
|
368
417
|
# @return [Google::Apis::ManagedkafkaV1::GcpConfig]
|
|
@@ -385,6 +434,11 @@ module Google
|
|
|
385
434
|
# @return [String]
|
|
386
435
|
attr_accessor :name
|
|
387
436
|
|
|
437
|
+
# Details of the public cluster feature for the Kafka cluster.
|
|
438
|
+
# Corresponds to the JSON property `publicClusterDetails`
|
|
439
|
+
# @return [Google::Apis::ManagedkafkaV1::PublicClusterDetails]
|
|
440
|
+
attr_accessor :public_cluster_details
|
|
441
|
+
|
|
388
442
|
# Defines rebalancing behavior of a Kafka cluster.
|
|
389
443
|
# Corresponds to the JSON property `rebalanceConfig`
|
|
390
444
|
# @return [Google::Apis::ManagedkafkaV1::RebalanceConfig]
|
|
@@ -430,13 +484,17 @@ module Google
|
|
|
430
484
|
|
|
431
485
|
# Update properties of this object
|
|
432
486
|
def update!(**args)
|
|
487
|
+
@bootstrap_address = args[:bootstrap_address] if args.key?(:bootstrap_address)
|
|
488
|
+
@broker_capacity_config = args[:broker_capacity_config] if args.key?(:broker_capacity_config)
|
|
433
489
|
@broker_details = args[:broker_details] if args.key?(:broker_details)
|
|
434
490
|
@capacity_config = args[:capacity_config] if args.key?(:capacity_config)
|
|
435
491
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
492
|
+
@effective_capacity_config = args[:effective_capacity_config] if args.key?(:effective_capacity_config)
|
|
436
493
|
@gcp_config = args[:gcp_config] if args.key?(:gcp_config)
|
|
437
494
|
@kafka_version = args[:kafka_version] if args.key?(:kafka_version)
|
|
438
495
|
@labels = args[:labels] if args.key?(:labels)
|
|
439
496
|
@name = args[:name] if args.key?(:name)
|
|
497
|
+
@public_cluster_details = args[:public_cluster_details] if args.key?(:public_cluster_details)
|
|
440
498
|
@rebalance_config = args[:rebalance_config] if args.key?(:rebalance_config)
|
|
441
499
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
|
442
500
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
|
@@ -885,6 +943,32 @@ module Google
|
|
|
885
943
|
end
|
|
886
944
|
end
|
|
887
945
|
|
|
946
|
+
# Describes the effective capacity configuration of a Kafka cluster, both
|
|
947
|
+
# cluster-wide and per-broker.
|
|
948
|
+
class EffectiveCapacityConfig
|
|
949
|
+
include Google::Apis::Core::Hashable
|
|
950
|
+
|
|
951
|
+
# Output only. The number of brokers in the cluster.
|
|
952
|
+
# Corresponds to the JSON property `brokerCount`
|
|
953
|
+
# @return [Fixnum]
|
|
954
|
+
attr_accessor :broker_count
|
|
955
|
+
|
|
956
|
+
# Output only. The disk assigned to each broker in Gibibytes.
|
|
957
|
+
# Corresponds to the JSON property `brokerDiskSizeGib`
|
|
958
|
+
# @return [Fixnum]
|
|
959
|
+
attr_accessor :broker_disk_size_gib
|
|
960
|
+
|
|
961
|
+
def initialize(**args)
|
|
962
|
+
update!(**args)
|
|
963
|
+
end
|
|
964
|
+
|
|
965
|
+
# Update properties of this object
|
|
966
|
+
def update!(**args)
|
|
967
|
+
@broker_count = args[:broker_count] if args.key?(:broker_count)
|
|
968
|
+
@broker_disk_size_gib = args[:broker_disk_size_gib] if args.key?(:broker_disk_size_gib)
|
|
969
|
+
end
|
|
970
|
+
end
|
|
971
|
+
|
|
888
972
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
889
973
|
# messages in your APIs. A typical example is to use it as the request or the
|
|
890
974
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
@@ -1491,6 +1575,61 @@ module Google
|
|
|
1491
1575
|
end
|
|
1492
1576
|
end
|
|
1493
1577
|
|
|
1578
|
+
# The configuration for a public Kafka cluster
|
|
1579
|
+
class PublicClusterConfig
|
|
1580
|
+
include Google::Apis::Core::Hashable
|
|
1581
|
+
|
|
1582
|
+
# Required. The list of IPv4 ranges in CIDR notation that are allowed to connect
|
|
1583
|
+
# to the public Kafka broker endpoints. The Kafka cluster should only be exposed
|
|
1584
|
+
# to trusted external ranges. A maximum of 500 IP ranges can be specified and no
|
|
1585
|
+
# single range can be larger than a `/16`. This field is required if
|
|
1586
|
+
# PublicClusterConfig is specified.
|
|
1587
|
+
# Corresponds to the JSON property `allowedSourceIpRanges`
|
|
1588
|
+
# @return [Array<String>]
|
|
1589
|
+
attr_accessor :allowed_source_ip_ranges
|
|
1590
|
+
|
|
1591
|
+
def initialize(**args)
|
|
1592
|
+
update!(**args)
|
|
1593
|
+
end
|
|
1594
|
+
|
|
1595
|
+
# Update properties of this object
|
|
1596
|
+
def update!(**args)
|
|
1597
|
+
@allowed_source_ip_ranges = args[:allowed_source_ip_ranges] if args.key?(:allowed_source_ip_ranges)
|
|
1598
|
+
end
|
|
1599
|
+
end
|
|
1600
|
+
|
|
1601
|
+
# Details of the public cluster feature for the Kafka cluster.
|
|
1602
|
+
class PublicClusterDetails
|
|
1603
|
+
include Google::Apis::Core::Hashable
|
|
1604
|
+
|
|
1605
|
+
# Output only. DNS discovery records that resolve to all of the external IP
|
|
1606
|
+
# addresses associated with the public cluster. Used for configuring DNS-based
|
|
1607
|
+
# egress firewall rules to a public cluster. discovery_dns_record can be added
|
|
1608
|
+
# to this list if the cluster is scaled up. Must configure DNS based firewalls
|
|
1609
|
+
# to resolve ALL DNS records in this list as large clusters have IP addresses
|
|
1610
|
+
# sharded across records. Each record contains a maximum of 30 IP addresses.
|
|
1611
|
+
# Corresponds to the JSON property `discoveryDnsRecords`
|
|
1612
|
+
# @return [Array<String>]
|
|
1613
|
+
attr_accessor :discovery_dns_records
|
|
1614
|
+
|
|
1615
|
+
# Output only. All of the external IP addresses associated with the public
|
|
1616
|
+
# cluster used for configuring egress firewall rules to a public cluster.
|
|
1617
|
+
# external_ip_address can be added to this list if the cluster is scaled up.
|
|
1618
|
+
# Corresponds to the JSON property `externalIpAddresses`
|
|
1619
|
+
# @return [Array<String>]
|
|
1620
|
+
attr_accessor :external_ip_addresses
|
|
1621
|
+
|
|
1622
|
+
def initialize(**args)
|
|
1623
|
+
update!(**args)
|
|
1624
|
+
end
|
|
1625
|
+
|
|
1626
|
+
# Update properties of this object
|
|
1627
|
+
def update!(**args)
|
|
1628
|
+
@discovery_dns_records = args[:discovery_dns_records] if args.key?(:discovery_dns_records)
|
|
1629
|
+
@external_ip_addresses = args[:external_ip_addresses] if args.key?(:external_ip_addresses)
|
|
1630
|
+
end
|
|
1631
|
+
end
|
|
1632
|
+
|
|
1494
1633
|
# Defines rebalancing behavior of a Kafka cluster.
|
|
1495
1634
|
class RebalanceConfig
|
|
1496
1635
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ManagedkafkaV1
|
|
18
18
|
# Version of the google-apis-managedkafka_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.26.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260827"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -46,6 +46,12 @@ module Google
|
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
+
class BrokerCapacityConfig
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
49
55
|
class BrokerDetails
|
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
57
|
|
|
@@ -160,6 +166,12 @@ module Google
|
|
|
160
166
|
include Google::Apis::Core::JsonObjectSupport
|
|
161
167
|
end
|
|
162
168
|
|
|
169
|
+
class EffectiveCapacityConfig
|
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
|
+
|
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
173
|
+
end
|
|
174
|
+
|
|
163
175
|
class Empty
|
|
164
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
177
|
|
|
@@ -274,6 +286,18 @@ module Google
|
|
|
274
286
|
include Google::Apis::Core::JsonObjectSupport
|
|
275
287
|
end
|
|
276
288
|
|
|
289
|
+
class PublicClusterConfig
|
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
291
|
+
|
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
class PublicClusterDetails
|
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
|
+
|
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
299
|
+
end
|
|
300
|
+
|
|
277
301
|
class RebalanceConfig
|
|
278
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
303
|
|
|
@@ -417,6 +441,8 @@ module Google
|
|
|
417
441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
418
442
|
collection :network_configs, as: 'networkConfigs', class: Google::Apis::ManagedkafkaV1::NetworkConfig, decorator: Google::Apis::ManagedkafkaV1::NetworkConfig::Representation
|
|
419
443
|
|
|
444
|
+
property :public_cluster_config, as: 'publicClusterConfig', class: Google::Apis::ManagedkafkaV1::PublicClusterConfig, decorator: Google::Apis::ManagedkafkaV1::PublicClusterConfig::Representation
|
|
445
|
+
|
|
420
446
|
end
|
|
421
447
|
end
|
|
422
448
|
|
|
@@ -452,6 +478,13 @@ module Google
|
|
|
452
478
|
end
|
|
453
479
|
end
|
|
454
480
|
|
|
481
|
+
class BrokerCapacityConfig
|
|
482
|
+
# @private
|
|
483
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
484
|
+
property :disk_size_gib, :numeric_string => true, as: 'diskSizeGib'
|
|
485
|
+
end
|
|
486
|
+
end
|
|
487
|
+
|
|
455
488
|
class BrokerDetails
|
|
456
489
|
# @private
|
|
457
490
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -504,16 +537,23 @@ module Google
|
|
|
504
537
|
class Cluster
|
|
505
538
|
# @private
|
|
506
539
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
540
|
+
property :bootstrap_address, as: 'bootstrapAddress'
|
|
541
|
+
property :broker_capacity_config, as: 'brokerCapacityConfig', class: Google::Apis::ManagedkafkaV1::BrokerCapacityConfig, decorator: Google::Apis::ManagedkafkaV1::BrokerCapacityConfig::Representation
|
|
542
|
+
|
|
507
543
|
collection :broker_details, as: 'brokerDetails', class: Google::Apis::ManagedkafkaV1::BrokerDetails, decorator: Google::Apis::ManagedkafkaV1::BrokerDetails::Representation
|
|
508
544
|
|
|
509
545
|
property :capacity_config, as: 'capacityConfig', class: Google::Apis::ManagedkafkaV1::CapacityConfig, decorator: Google::Apis::ManagedkafkaV1::CapacityConfig::Representation
|
|
510
546
|
|
|
511
547
|
property :create_time, as: 'createTime'
|
|
548
|
+
property :effective_capacity_config, as: 'effectiveCapacityConfig', class: Google::Apis::ManagedkafkaV1::EffectiveCapacityConfig, decorator: Google::Apis::ManagedkafkaV1::EffectiveCapacityConfig::Representation
|
|
549
|
+
|
|
512
550
|
property :gcp_config, as: 'gcpConfig', class: Google::Apis::ManagedkafkaV1::GcpConfig, decorator: Google::Apis::ManagedkafkaV1::GcpConfig::Representation
|
|
513
551
|
|
|
514
552
|
property :kafka_version, as: 'kafkaVersion'
|
|
515
553
|
hash :labels, as: 'labels'
|
|
516
554
|
property :name, as: 'name'
|
|
555
|
+
property :public_cluster_details, as: 'publicClusterDetails', class: Google::Apis::ManagedkafkaV1::PublicClusterDetails, decorator: Google::Apis::ManagedkafkaV1::PublicClusterDetails::Representation
|
|
556
|
+
|
|
517
557
|
property :rebalance_config, as: 'rebalanceConfig', class: Google::Apis::ManagedkafkaV1::RebalanceConfig, decorator: Google::Apis::ManagedkafkaV1::RebalanceConfig::Representation
|
|
518
558
|
|
|
519
559
|
property :satisfies_pzi, as: 'satisfiesPzi'
|
|
@@ -645,6 +685,14 @@ module Google
|
|
|
645
685
|
end
|
|
646
686
|
end
|
|
647
687
|
|
|
688
|
+
class EffectiveCapacityConfig
|
|
689
|
+
# @private
|
|
690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
691
|
+
property :broker_count, :numeric_string => true, as: 'brokerCount'
|
|
692
|
+
property :broker_disk_size_gib, :numeric_string => true, as: 'brokerDiskSizeGib'
|
|
693
|
+
end
|
|
694
|
+
end
|
|
695
|
+
|
|
648
696
|
class Empty
|
|
649
697
|
# @private
|
|
650
698
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -819,6 +867,21 @@ module Google
|
|
|
819
867
|
end
|
|
820
868
|
end
|
|
821
869
|
|
|
870
|
+
class PublicClusterConfig
|
|
871
|
+
# @private
|
|
872
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
873
|
+
collection :allowed_source_ip_ranges, as: 'allowedSourceIpRanges'
|
|
874
|
+
end
|
|
875
|
+
end
|
|
876
|
+
|
|
877
|
+
class PublicClusterDetails
|
|
878
|
+
# @private
|
|
879
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
880
|
+
collection :discovery_dns_records, as: 'discoveryDnsRecords'
|
|
881
|
+
collection :external_ip_addresses, as: 'externalIpAddresses'
|
|
882
|
+
end
|
|
883
|
+
end
|
|
884
|
+
|
|
822
885
|
class RebalanceConfig
|
|
823
886
|
# @private
|
|
824
887
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-managedkafka_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.26.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedkafka_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-managedkafka_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedkafka_v1/v0.26.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedkafka_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|