google-apis-managedkafka_v1 0.8.0 → 0.9.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: 70bde8d183b73ca68fac46288f29f0e2db678737e1025fc6de6a593869f532e3
4
+ data.tar.gz: 25c5c1d19e5bd9eef674dc2a14c3e90ba9b63d2413bccf141764dbca7dd1a3a1
5
5
  SHA512:
6
- metadata.gz: f6dfea0e15d4768ba078b4f2f8c085e56f81f0ea6e3b250b782f565538f40cdaa88c3361fe41e8be3e1d4638698f7e3581453bba463f9b7a49bb0363bed9d50f
7
- data.tar.gz: 8699a34f1a5a45375c86a5824b96902a1e9c32345889b810b1bc3185b305879115fd4fabcc41b23c96a96a5f1fbe5ba57b43ee67eaca6279349b625304522b71
6
+ metadata.gz: 23a00adaff2328523e22bafb7a581ee49fd4983682cf92eefc4b4508df2885159f65d617c71abd2fb6836af41fe7c7b945b1bfd6666d5a3dccf14165d1c112b4
7
+ data.tar.gz: 76795f15c6398285973ea3ff5bac43bf173ad91bfb77e66cec331f2e6800eb6d878c599950338546b555adde0965fe179edc97a7985e20c370138619a850201c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-managedkafka_v1
2
2
 
3
+ ### v0.9.0 (2025-06-29)
4
+
5
+ * Regenerated from discovery document revision 20250623
6
+
3
7
  ### v0.8.0 (2025-06-08)
4
8
 
5
9
  * 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
@@ -1556,18 +1583,18 @@ module Google
1556
1583
  end
1557
1584
 
1558
1585
  # 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.
1586
+ # Four modes are supported: * NONE: deprecated. This was the default mode for a
1587
+ # subject, but now the default is unset (which means use the global schema
1588
+ # registry setting) * READONLY: The schema registry is in read-only mode. *
1589
+ # READWRITE: The schema registry is in read-write mode, which allows limited
1590
+ # write operations on the schema. * IMPORT: The schema registry is in import
1591
+ # mode, which allows more editing operations on the schema for data importing
1592
+ # purposes.
1566
1593
  class SchemaMode
1567
1594
  include Google::Apis::Core::Hashable
1568
1595
 
1569
1596
  # 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).
1597
+ # subject (unset by default, which means use the global schema registry setting).
1571
1598
  # Corresponds to the JSON property `mode`
1572
1599
  # @return [String]
1573
1600
  attr_accessor :mode
@@ -1788,6 +1815,37 @@ module Google
1788
1815
  end
1789
1816
  end
1790
1817
 
1818
+ # The TLS configuration for the Kafka cluster.
1819
+ class TlsConfig
1820
+ include Google::Apis::Core::Hashable
1821
+
1822
+ # Optional. A list of rules for mapping from SSL principal names to short names.
1823
+ # These are applied in order by Kafka. Refer to the Apache Kafka documentation
1824
+ # for `ssl.principal.mapping.rules` for the precise formatting details and
1825
+ # syntax. Example: "RULE:^CN=(.*?),OU=ServiceUsers.*$/$1@example.com/,DEFAULT"
1826
+ # This is a static Kafka broker configuration. Setting or modifying this field
1827
+ # will trigger a rolling restart of the Kafka brokers to apply the change. An
1828
+ # empty string means no rules are applied (Kafka default).
1829
+ # Corresponds to the JSON property `sslPrincipalMappingRules`
1830
+ # @return [String]
1831
+ attr_accessor :ssl_principal_mapping_rules
1832
+
1833
+ # Sources of CA certificates to install in the broker's truststore.
1834
+ # Corresponds to the JSON property `trustConfig`
1835
+ # @return [Google::Apis::ManagedkafkaV1::TrustConfig]
1836
+ attr_accessor :trust_config
1837
+
1838
+ def initialize(**args)
1839
+ update!(**args)
1840
+ end
1841
+
1842
+ # Update properties of this object
1843
+ def update!(**args)
1844
+ @ssl_principal_mapping_rules = args[:ssl_principal_mapping_rules] if args.key?(:ssl_principal_mapping_rules)
1845
+ @trust_config = args[:trust_config] if args.key?(:trust_config)
1846
+ end
1847
+ end
1848
+
1791
1849
  # A Kafka topic in a given cluster.
1792
1850
  class Topic
1793
1851
  include Google::Apis::Core::Hashable
@@ -1833,6 +1891,26 @@ module Google
1833
1891
  end
1834
1892
  end
1835
1893
 
1894
+ # Sources of CA certificates to install in the broker's truststore.
1895
+ class TrustConfig
1896
+ include Google::Apis::Core::Hashable
1897
+
1898
+ # Optional. Configuration for the Google Certificate Authority Service. Maximum
1899
+ # 10.
1900
+ # Corresponds to the JSON property `casConfigs`
1901
+ # @return [Array<Google::Apis::ManagedkafkaV1::CertificateAuthorityServiceConfig>]
1902
+ attr_accessor :cas_configs
1903
+
1904
+ def initialize(**args)
1905
+ update!(**args)
1906
+ end
1907
+
1908
+ # Update properties of this object
1909
+ def update!(**args)
1910
+ @cas_configs = args[:cas_configs] if args.key?(:cas_configs)
1911
+ end
1912
+ end
1913
+
1836
1914
  # Request for updating schema config. On a SchemaSubject-level SchemaConfig, an
1837
1915
  # unset field will be removed from the SchemaConfig.
1838
1916
  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.9.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 = "20250623"
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
@@ -882,6 +909,15 @@ module Google
882
909
  end
883
910
  end
884
911
 
912
+ class TlsConfig
913
+ # @private
914
+ class Representation < Google::Apis::Core::JsonRepresentation
915
+ property :ssl_principal_mapping_rules, as: 'sslPrincipalMappingRules'
916
+ property :trust_config, as: 'trustConfig', class: Google::Apis::ManagedkafkaV1::TrustConfig, decorator: Google::Apis::ManagedkafkaV1::TrustConfig::Representation
917
+
918
+ end
919
+ end
920
+
885
921
  class Topic
886
922
  # @private
887
923
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -892,6 +928,14 @@ module Google
892
928
  end
893
929
  end
894
930
 
931
+ class TrustConfig
932
+ # @private
933
+ class Representation < Google::Apis::Core::JsonRepresentation
934
+ collection :cas_configs, as: 'casConfigs', class: Google::Apis::ManagedkafkaV1::CertificateAuthorityServiceConfig, decorator: Google::Apis::ManagedkafkaV1::CertificateAuthorityServiceConfig::Representation
935
+
936
+ end
937
+ end
938
+
895
939
  class UpdateSchemaConfigRequest
896
940
  # @private
897
941
  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.9.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.9.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: