google-apis-managedkafka_v1 0.8.0 → 0.10.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: 0a2b4e5689ce668932397b538afb72411e98d8b7478235474c6ca2a00a729afe
4
- data.tar.gz: c280e4496c40cbbc84b56a365c1a678e512f38049553dfff82acbff0c8639a32
3
+ metadata.gz: 36889b3fb1ad46ac39ce5da1c18f4585cd9655e334d9d9b6f5e77c261b731ca7
4
+ data.tar.gz: 42669bb1137afe0cfca8d376383f7d1ba8c55ff58f296459bb692da01fe2ef42
5
5
  SHA512:
6
- metadata.gz: f6dfea0e15d4768ba078b4f2f8c085e56f81f0ea6e3b250b782f565538f40cdaa88c3361fe41e8be3e1d4638698f7e3581453bba463f9b7a49bb0363bed9d50f
7
- data.tar.gz: 8699a34f1a5a45375c86a5824b96902a1e9c32345889b810b1bc3185b305879115fd4fabcc41b23c96a96a5f1fbe5ba57b43ee67eaca6279349b625304522b71
6
+ metadata.gz: b1597a5528576189892ba24fdf69952b737ac38256507702269fd594d30baed8841f1919e90b3953b11a357fd82e527fb9cccff671fae55fd409a6fe112b5c52
7
+ data.tar.gz: 54b426c7fada93ae86a15b5758f6d9d913e3af2840a7342fecdd205e0d52fe91f3dc64e6679b848930ce116eae1656c42554d96a5fc6ed9d2d90fd2697751d5c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-managedkafka_v1
2
2
 
3
+ ### v0.10.0 (2025-07-13)
4
+
5
+ * Regenerated from discovery document revision 20250701
6
+
7
+ ### v0.9.0 (2025-06-29)
8
+
9
+ * Regenerated from discovery document revision 20250623
10
+
3
11
  ### v0.8.0 (2025-06-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20250529
@@ -225,6 +225,27 @@ module Google
225
225
  end
226
226
  end
227
227
 
228
+ # A configuration for the Google Certificate Authority Service.
229
+ class CertificateAuthorityServiceConfig
230
+ include Google::Apis::Core::Hashable
231
+
232
+ # Required. The name of the CA pool to pull CA certificates from. Structured
233
+ # like: projects/`project`/locations/`location`/caPools/`ca_pool`. The CA pool
234
+ # does not need to be in the same project or location as the Kafka cluster.
235
+ # Corresponds to the JSON property `caPool`
236
+ # @return [String]
237
+ attr_accessor :ca_pool
238
+
239
+ def initialize(**args)
240
+ update!(**args)
241
+ end
242
+
243
+ # Update properties of this object
244
+ def update!(**args)
245
+ @ca_pool = args[:ca_pool] if args.key?(:ca_pool)
246
+ end
247
+ end
248
+
228
249
  # Request for CheckCompatibility.
229
250
  class CheckCompatibilityRequest
230
251
  include Google::Apis::Core::Hashable
@@ -343,6 +364,11 @@ module Google
343
364
  # @return [String]
344
365
  attr_accessor :state
345
366
 
367
+ # The TLS configuration for the Kafka cluster.
368
+ # Corresponds to the JSON property `tlsConfig`
369
+ # @return [Google::Apis::ManagedkafkaV1::TlsConfig]
370
+ attr_accessor :tls_config
371
+
346
372
  # Output only. The time when the cluster was last updated.
347
373
  # Corresponds to the JSON property `updateTime`
348
374
  # @return [String]
@@ -363,6 +389,7 @@ module Google
363
389
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
364
390
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
365
391
  @state = args[:state] if args.key?(:state)
392
+ @tls_config = args[:tls_config] if args.key?(:tls_config)
366
393
  @update_time = args[:update_time] if args.key?(:update_time)
367
394
  end
368
395
  end
@@ -433,6 +460,18 @@ module Google
433
460
  # @return [String]
434
461
  attr_accessor :name
435
462
 
463
+ # Output only. Reserved for future use.
464
+ # Corresponds to the JSON property `satisfiesPzi`
465
+ # @return [Boolean]
466
+ attr_accessor :satisfies_pzi
467
+ alias_method :satisfies_pzi?, :satisfies_pzi
468
+
469
+ # Output only. Reserved for future use.
470
+ # Corresponds to the JSON property `satisfiesPzs`
471
+ # @return [Boolean]
472
+ attr_accessor :satisfies_pzs
473
+ alias_method :satisfies_pzs?, :satisfies_pzs
474
+
436
475
  # Output only. The current state of the cluster.
437
476
  # Corresponds to the JSON property `state`
438
477
  # @return [String]
@@ -456,6 +495,8 @@ module Google
456
495
  @kafka_cluster = args[:kafka_cluster] if args.key?(:kafka_cluster)
457
496
  @labels = args[:labels] if args.key?(:labels)
458
497
  @name = args[:name] if args.key?(:name)
498
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
499
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
459
500
  @state = args[:state] if args.key?(:state)
460
501
  @update_time = args[:update_time] if args.key?(:update_time)
461
502
  end
@@ -1556,18 +1597,18 @@ module Google
1556
1597
  end
1557
1598
 
1558
1599
  # SchemaMode represents the mode of a schema registry or a specific subject.
1559
- # Four modes are supported: * NONE: This is the default mode for a subject and
1560
- # essentially means that the subject does not have any mode set. This means the
1561
- # subject will follow the schema registry's mode. * READONLY: The schema
1562
- # registry is in read-only mode. * READWRITE: The schema registry is in read-
1563
- # write mode, which allows limited write operations on the schema. * IMPORT: The
1564
- # schema registry is in import mode, which allows more editing operations on the
1565
- # schema for data importing purposes.
1600
+ # Four modes are supported: * NONE: deprecated. This was the default mode for a
1601
+ # subject, but now the default is unset (which means use the global schema
1602
+ # registry setting) * READONLY: The schema registry is in read-only mode. *
1603
+ # READWRITE: The schema registry is in read-write mode, which allows limited
1604
+ # write operations on the schema. * IMPORT: The schema registry is in import
1605
+ # mode, which allows more editing operations on the schema for data importing
1606
+ # purposes.
1566
1607
  class SchemaMode
1567
1608
  include Google::Apis::Core::Hashable
1568
1609
 
1569
1610
  # Required. The mode type of a schema registry (READWRITE by default) or of a
1570
- # subject (NONE by default, which means use the global schema registry setting).
1611
+ # subject (unset by default, which means use the global schema registry setting).
1571
1612
  # Corresponds to the JSON property `mode`
1572
1613
  # @return [String]
1573
1614
  attr_accessor :mode
@@ -1788,6 +1829,37 @@ module Google
1788
1829
  end
1789
1830
  end
1790
1831
 
1832
+ # The TLS configuration for the Kafka cluster.
1833
+ class TlsConfig
1834
+ include Google::Apis::Core::Hashable
1835
+
1836
+ # Optional. A list of rules for mapping from SSL principal names to short names.
1837
+ # These are applied in order by Kafka. Refer to the Apache Kafka documentation
1838
+ # for `ssl.principal.mapping.rules` for the precise formatting details and
1839
+ # syntax. Example: "RULE:^CN=(.*?),OU=ServiceUsers.*$/$1@example.com/,DEFAULT"
1840
+ # This is a static Kafka broker configuration. Setting or modifying this field
1841
+ # will trigger a rolling restart of the Kafka brokers to apply the change. An
1842
+ # empty string means no rules are applied (Kafka default).
1843
+ # Corresponds to the JSON property `sslPrincipalMappingRules`
1844
+ # @return [String]
1845
+ attr_accessor :ssl_principal_mapping_rules
1846
+
1847
+ # Sources of CA certificates to install in the broker's truststore.
1848
+ # Corresponds to the JSON property `trustConfig`
1849
+ # @return [Google::Apis::ManagedkafkaV1::TrustConfig]
1850
+ attr_accessor :trust_config
1851
+
1852
+ def initialize(**args)
1853
+ update!(**args)
1854
+ end
1855
+
1856
+ # Update properties of this object
1857
+ def update!(**args)
1858
+ @ssl_principal_mapping_rules = args[:ssl_principal_mapping_rules] if args.key?(:ssl_principal_mapping_rules)
1859
+ @trust_config = args[:trust_config] if args.key?(:trust_config)
1860
+ end
1861
+ end
1862
+
1791
1863
  # A Kafka topic in a given cluster.
1792
1864
  class Topic
1793
1865
  include Google::Apis::Core::Hashable
@@ -1833,6 +1905,26 @@ module Google
1833
1905
  end
1834
1906
  end
1835
1907
 
1908
+ # Sources of CA certificates to install in the broker's truststore.
1909
+ class TrustConfig
1910
+ include Google::Apis::Core::Hashable
1911
+
1912
+ # Optional. Configuration for the Google Certificate Authority Service. Maximum
1913
+ # 10.
1914
+ # Corresponds to the JSON property `casConfigs`
1915
+ # @return [Array<Google::Apis::ManagedkafkaV1::CertificateAuthorityServiceConfig>]
1916
+ attr_accessor :cas_configs
1917
+
1918
+ def initialize(**args)
1919
+ update!(**args)
1920
+ end
1921
+
1922
+ # Update properties of this object
1923
+ def update!(**args)
1924
+ @cas_configs = args[:cas_configs] if args.key?(:cas_configs)
1925
+ end
1926
+ end
1927
+
1836
1928
  # Request for updating schema config. On a SchemaSubject-level SchemaConfig, an
1837
1929
  # unset field will be removed from the SchemaConfig.
1838
1930
  class UpdateSchemaConfigRequest
@@ -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.8.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250529"
25
+ REVISION = "20250701"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class CertificateAuthorityServiceConfig
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class CheckCompatibilityRequest
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -358,12 +364,24 @@ module Google
358
364
  include Google::Apis::Core::JsonObjectSupport
359
365
  end
360
366
 
367
+ class TlsConfig
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
361
373
  class Topic
362
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
375
 
364
376
  include Google::Apis::Core::JsonObjectSupport
365
377
  end
366
378
 
379
+ class TrustConfig
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
367
385
  class UpdateSchemaConfigRequest
368
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
387
 
@@ -430,6 +448,13 @@ module Google
430
448
  end
431
449
  end
432
450
 
451
+ class CertificateAuthorityServiceConfig
452
+ # @private
453
+ class Representation < Google::Apis::Core::JsonRepresentation
454
+ property :ca_pool, as: 'caPool'
455
+ end
456
+ end
457
+
433
458
  class CheckCompatibilityRequest
434
459
  # @private
435
460
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -464,6 +489,8 @@ module Google
464
489
  property :satisfies_pzi, as: 'satisfiesPzi'
465
490
  property :satisfies_pzs, as: 'satisfiesPzs'
466
491
  property :state, as: 'state'
492
+ property :tls_config, as: 'tlsConfig', class: Google::Apis::ManagedkafkaV1::TlsConfig, decorator: Google::Apis::ManagedkafkaV1::TlsConfig::Representation
493
+
467
494
  property :update_time, as: 'updateTime'
468
495
  end
469
496
  end
@@ -488,6 +515,8 @@ module Google
488
515
  property :kafka_cluster, as: 'kafkaCluster'
489
516
  hash :labels, as: 'labels'
490
517
  property :name, as: 'name'
518
+ property :satisfies_pzi, as: 'satisfiesPzi'
519
+ property :satisfies_pzs, as: 'satisfiesPzs'
491
520
  property :state, as: 'state'
492
521
  property :update_time, as: 'updateTime'
493
522
  end
@@ -882,6 +911,15 @@ module Google
882
911
  end
883
912
  end
884
913
 
914
+ class TlsConfig
915
+ # @private
916
+ class Representation < Google::Apis::Core::JsonRepresentation
917
+ property :ssl_principal_mapping_rules, as: 'sslPrincipalMappingRules'
918
+ property :trust_config, as: 'trustConfig', class: Google::Apis::ManagedkafkaV1::TrustConfig, decorator: Google::Apis::ManagedkafkaV1::TrustConfig::Representation
919
+
920
+ end
921
+ end
922
+
885
923
  class Topic
886
924
  # @private
887
925
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -892,6 +930,14 @@ module Google
892
930
  end
893
931
  end
894
932
 
933
+ class TrustConfig
934
+ # @private
935
+ class Representation < Google::Apis::Core::JsonRepresentation
936
+ collection :cas_configs, as: 'casConfigs', class: Google::Apis::ManagedkafkaV1::CertificateAuthorityServiceConfig, decorator: Google::Apis::ManagedkafkaV1::CertificateAuthorityServiceConfig::Representation
937
+
938
+ end
939
+ end
940
+
895
941
  class UpdateSchemaConfigRequest
896
942
  # @private
897
943
  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.8.0
4
+ version: 0.10.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.8.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedkafka_v1/v0.10.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: