google-apis-managedkafka_v1 0.6.0 → 0.7.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: 8955d6fcc707023cc435482add2226d8d9d3bf5ef81409b509b0745cd1812946
4
- data.tar.gz: 82343b26e428981f90d94d8682330899ec15ca272905b8319b432cb1152b5929
3
+ metadata.gz: 3d8942832a9ae0d021f2e0b0f06c997a2f47ec7a91479f14560f7f74a14bba24
4
+ data.tar.gz: c830ce4a6d3d666a6a38e430d5711c6449aa3985c01ca8e5a7fa28d1b54a81f6
5
5
  SHA512:
6
- metadata.gz: d868b9434663d578dae9770166e568c1e3750ee353163126159b8cb46d4e0a0b3f7102399bac001341c91e581087ec166f61500c9d1755413a0d0a6bd7c21dab
7
- data.tar.gz: ae7dbdc739402f5ecb2c6aa9aaa59ba8f1df06e16968b62863a19f44f92faf14b71ec4bca606be3c89db2b1ed64169385901640513c5f68c1580817532ee8d60
6
+ metadata.gz: 5e30dfe3ea4294e5dbd13c56b555b443690f394a769949625c63fa1d4eaebc3f0f63e45086bfd9f1b906b9d1fcd3079cb71fcef042bd21a75fd993e580acf288
7
+ data.tar.gz: a40006c67c22ad73b3e82c2ccf9fce82f3b7c0439718e50ed438fec3258ecf31541415ad992d48446df886c41a0520bb40db894a38b49a9041ed764875786000
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-managedkafka_v1
2
2
 
3
+ ### v0.7.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250508
6
+
3
7
  ### v0.6.0 (2025-05-04)
4
8
 
5
9
  * Regenerated using generator version 0.17.0
@@ -225,6 +225,72 @@ module Google
225
225
  end
226
226
  end
227
227
 
228
+ # Request for CheckCompatibility.
229
+ class CheckCompatibilityRequest
230
+ include Google::Apis::Core::Hashable
231
+
232
+ # Optional. The schema references used by the schema.
233
+ # Corresponds to the JSON property `references`
234
+ # @return [Array<Google::Apis::ManagedkafkaV1::SchemaReference>]
235
+ attr_accessor :references
236
+
237
+ # Required. The schema payload
238
+ # Corresponds to the JSON property `schema`
239
+ # @return [String]
240
+ attr_accessor :schema
241
+
242
+ # Optional. The schema type of the schema.
243
+ # Corresponds to the JSON property `schemaType`
244
+ # @return [String]
245
+ attr_accessor :schema_type
246
+
247
+ # Optional. If true, the response will contain the compatibility check result
248
+ # with reasons for failed checks. The default is false.
249
+ # Corresponds to the JSON property `verbose`
250
+ # @return [Boolean]
251
+ attr_accessor :verbose
252
+ alias_method :verbose?, :verbose
253
+
254
+ def initialize(**args)
255
+ update!(**args)
256
+ end
257
+
258
+ # Update properties of this object
259
+ def update!(**args)
260
+ @references = args[:references] if args.key?(:references)
261
+ @schema = args[:schema] if args.key?(:schema)
262
+ @schema_type = args[:schema_type] if args.key?(:schema_type)
263
+ @verbose = args[:verbose] if args.key?(:verbose)
264
+ end
265
+ end
266
+
267
+ # Response for CheckCompatibility.
268
+ class CheckCompatibilityResponse
269
+ include Google::Apis::Core::Hashable
270
+
271
+ # The compatibility check result. If true, the schema is compatible with the
272
+ # resource.
273
+ # Corresponds to the JSON property `is_compatible`
274
+ # @return [Boolean]
275
+ attr_accessor :is_compatible
276
+ alias_method :is_compatible?, :is_compatible
277
+
278
+ # Failure reasons if verbose = true.
279
+ # Corresponds to the JSON property `messages`
280
+ # @return [Array<String>]
281
+ attr_accessor :messages
282
+
283
+ def initialize(**args)
284
+ update!(**args)
285
+ end
286
+
287
+ # Update properties of this object
288
+ def update!(**args)
289
+ @is_compatible = args[:is_compatible] if args.key?(:is_compatible)
290
+ @messages = args[:messages] if args.key?(:messages)
291
+ end
292
+ end
293
+
228
294
  # An Apache Kafka cluster deployed in a location.
229
295
  class Cluster
230
296
  include Google::Apis::Core::Hashable
@@ -589,6 +655,139 @@ module Google
589
655
  end
590
656
  end
591
657
 
658
+ # Context represents an independent schema grouping in a schema registry
659
+ # instance.
660
+ class Context
661
+ include Google::Apis::Core::Hashable
662
+
663
+ # Identifier. The name of the context. Structured like: `projects/`project`/
664
+ # locations/`location`/schemaRegistries/`schema_registry`/contexts/`context``
665
+ # The context name `context` can contain the following: * Up to 255 characters. *
666
+ # Allowed characters: letters (uppercase or lowercase), numbers, and the
667
+ # following special characters: `.`, `-`, `_`, `+`, `%`, and `~`.
668
+ # Corresponds to the JSON property `name`
669
+ # @return [String]
670
+ attr_accessor :name
671
+
672
+ # Optional. The subjects of the context.
673
+ # Corresponds to the JSON property `subjects`
674
+ # @return [Array<String>]
675
+ attr_accessor :subjects
676
+
677
+ def initialize(**args)
678
+ update!(**args)
679
+ end
680
+
681
+ # Update properties of this object
682
+ def update!(**args)
683
+ @name = args[:name] if args.key?(:name)
684
+ @subjects = args[:subjects] if args.key?(:subjects)
685
+ end
686
+ end
687
+
688
+ # Request to create a schema registry instance.
689
+ class CreateSchemaRegistryRequest
690
+ include Google::Apis::Core::Hashable
691
+
692
+ # SchemaRegistry is a schema registry instance.
693
+ # Corresponds to the JSON property `schemaRegistry`
694
+ # @return [Google::Apis::ManagedkafkaV1::SchemaRegistry]
695
+ attr_accessor :schema_registry
696
+
697
+ # Required. The schema registry instance ID to use for this schema registry. The
698
+ # ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (-).
699
+ # The maximum length is 63 characters. The ID must not start with a number.
700
+ # Corresponds to the JSON property `schemaRegistryId`
701
+ # @return [String]
702
+ attr_accessor :schema_registry_id
703
+
704
+ def initialize(**args)
705
+ update!(**args)
706
+ end
707
+
708
+ # Update properties of this object
709
+ def update!(**args)
710
+ @schema_registry = args[:schema_registry] if args.key?(:schema_registry)
711
+ @schema_registry_id = args[:schema_registry_id] if args.key?(:schema_registry_id)
712
+ end
713
+ end
714
+
715
+ # Request for CreateVersion.
716
+ class CreateVersionRequest
717
+ include Google::Apis::Core::Hashable
718
+
719
+ # Optional. The schema ID of the schema. If not specified, the schema ID will be
720
+ # generated by the server. If the schema ID is specified, it must not be used by
721
+ # an existing schema that is different from the schema to be created.
722
+ # Corresponds to the JSON property `id`
723
+ # @return [Fixnum]
724
+ attr_accessor :id
725
+
726
+ # Optional. If true, the schema will be normalized before being stored. The
727
+ # default is false.
728
+ # Corresponds to the JSON property `normalize`
729
+ # @return [Boolean]
730
+ attr_accessor :normalize
731
+ alias_method :normalize?, :normalize
732
+
733
+ # Optional. The schema references used by the schema.
734
+ # Corresponds to the JSON property `references`
735
+ # @return [Array<Google::Apis::ManagedkafkaV1::SchemaReference>]
736
+ attr_accessor :references
737
+
738
+ # Required. The schema payload
739
+ # Corresponds to the JSON property `schema`
740
+ # @return [String]
741
+ attr_accessor :schema
742
+
743
+ # Optional. The type of the schema. It is optional. If not specified, the schema
744
+ # type will be AVRO.
745
+ # Corresponds to the JSON property `schemaType`
746
+ # @return [String]
747
+ attr_accessor :schema_type
748
+
749
+ # Optional. The version to create. It is optional. If not specified, the version
750
+ # will be created with the max version ID of the subject increased by 1. If the
751
+ # version ID is specified, it will be used as the new version ID and must not be
752
+ # used by an existing version of the subject.
753
+ # Corresponds to the JSON property `version`
754
+ # @return [Fixnum]
755
+ attr_accessor :version
756
+
757
+ def initialize(**args)
758
+ update!(**args)
759
+ end
760
+
761
+ # Update properties of this object
762
+ def update!(**args)
763
+ @id = args[:id] if args.key?(:id)
764
+ @normalize = args[:normalize] if args.key?(:normalize)
765
+ @references = args[:references] if args.key?(:references)
766
+ @schema = args[:schema] if args.key?(:schema)
767
+ @schema_type = args[:schema_type] if args.key?(:schema_type)
768
+ @version = args[:version] if args.key?(:version)
769
+ end
770
+ end
771
+
772
+ # Response for CreateVersion.
773
+ class CreateVersionResponse
774
+ include Google::Apis::Core::Hashable
775
+
776
+ # The unique identifier of the schema created.
777
+ # Corresponds to the JSON property `id`
778
+ # @return [Fixnum]
779
+ attr_accessor :id
780
+
781
+ def initialize(**args)
782
+ update!(**args)
783
+ end
784
+
785
+ # Update properties of this object
786
+ def update!(**args)
787
+ @id = args[:id] if args.key?(:id)
788
+ end
789
+ end
790
+
592
791
  # A generic empty message that you can re-use to avoid defining duplicated empty
593
792
  # messages in your APIs. A typical example is to use it as the request or the
594
793
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -633,6 +832,54 @@ module Google
633
832
  end
634
833
  end
635
834
 
835
+ # Message that represents an arbitrary HTTP body. It should only be used for
836
+ # payload formats that can't be represented as JSON, such as raw binary or an
837
+ # HTML page. This message can be used both in streaming and non-streaming API
838
+ # methods in the request as well as the response. It can be used as a top-level
839
+ # request field, which is convenient if one wants to extract parameters from
840
+ # either the URL or HTTP template into the request fields and also want access
841
+ # to the raw HTTP body. Example: message GetResourceRequest ` // A unique
842
+ # request id. string request_id = 1; // The raw HTTP body is bound to this field.
843
+ # google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
844
+ # GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
845
+ # UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
846
+ # with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
847
+ # api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
848
+ # google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
849
+ # only changes how the request and response bodies are handled, all other
850
+ # features will continue to work unchanged.
851
+ class HttpBody
852
+ include Google::Apis::Core::Hashable
853
+
854
+ # The HTTP Content-Type header value specifying the content type of the body.
855
+ # Corresponds to the JSON property `contentType`
856
+ # @return [String]
857
+ attr_accessor :content_type
858
+
859
+ # The HTTP request/response body as raw binary.
860
+ # Corresponds to the JSON property `data`
861
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
862
+ # @return [String]
863
+ attr_accessor :data
864
+
865
+ # Application specific response metadata. Must be set in the first response for
866
+ # streaming APIs.
867
+ # Corresponds to the JSON property `extensions`
868
+ # @return [Array<Hash<String,Object>>]
869
+ attr_accessor :extensions
870
+
871
+ def initialize(**args)
872
+ update!(**args)
873
+ end
874
+
875
+ # Update properties of this object
876
+ def update!(**args)
877
+ @content_type = args[:content_type] if args.key?(:content_type)
878
+ @data = args[:data] if args.key?(:data)
879
+ @extensions = args[:extensions] if args.key?(:extensions)
880
+ end
881
+ end
882
+
636
883
  # Response for ListAcls.
637
884
  class ListAclsResponse
638
885
  include Google::Apis::Core::Hashable
@@ -826,6 +1073,25 @@ module Google
826
1073
  end
827
1074
  end
828
1075
 
1076
+ # Request for ListSchemaRegistries.
1077
+ class ListSchemaRegistriesResponse
1078
+ include Google::Apis::Core::Hashable
1079
+
1080
+ # The schema registry instances.
1081
+ # Corresponds to the JSON property `schemaRegistries`
1082
+ # @return [Array<Google::Apis::ManagedkafkaV1::SchemaRegistry>]
1083
+ attr_accessor :schema_registries
1084
+
1085
+ def initialize(**args)
1086
+ update!(**args)
1087
+ end
1088
+
1089
+ # Update properties of this object
1090
+ def update!(**args)
1091
+ @schema_registries = args[:schema_registries] if args.key?(:schema_registries)
1092
+ end
1093
+ end
1094
+
829
1095
  # Response for ListTopics.
830
1096
  class ListTopicsResponse
831
1097
  include Google::Apis::Core::Hashable
@@ -900,6 +1166,54 @@ module Google
900
1166
  end
901
1167
  end
902
1168
 
1169
+ # Request for LookupVersion.
1170
+ class LookupVersionRequest
1171
+ include Google::Apis::Core::Hashable
1172
+
1173
+ # Optional. If true, soft-deleted versions will be included in lookup, no matter
1174
+ # if the subject is active or soft-deleted. If false, soft-deleted versions will
1175
+ # be excluded. The default is false.
1176
+ # Corresponds to the JSON property `deleted`
1177
+ # @return [Boolean]
1178
+ attr_accessor :deleted
1179
+ alias_method :deleted?, :deleted
1180
+
1181
+ # Optional. If true, the schema will be normalized before being looked up. The
1182
+ # default is false.
1183
+ # Corresponds to the JSON property `normalize`
1184
+ # @return [Boolean]
1185
+ attr_accessor :normalize
1186
+ alias_method :normalize?, :normalize
1187
+
1188
+ # Optional. The schema references used by the schema.
1189
+ # Corresponds to the JSON property `references`
1190
+ # @return [Array<Google::Apis::ManagedkafkaV1::SchemaReference>]
1191
+ attr_accessor :references
1192
+
1193
+ # Required. The schema payload
1194
+ # Corresponds to the JSON property `schema`
1195
+ # @return [String]
1196
+ attr_accessor :schema
1197
+
1198
+ # Optional. The schema type of the schema.
1199
+ # Corresponds to the JSON property `schemaType`
1200
+ # @return [String]
1201
+ attr_accessor :schema_type
1202
+
1203
+ def initialize(**args)
1204
+ update!(**args)
1205
+ end
1206
+
1207
+ # Update properties of this object
1208
+ def update!(**args)
1209
+ @deleted = args[:deleted] if args.key?(:deleted)
1210
+ @normalize = args[:normalize] if args.key?(:normalize)
1211
+ @references = args[:references] if args.key?(:references)
1212
+ @schema = args[:schema] if args.key?(:schema)
1213
+ @schema_type = args[:schema_type] if args.key?(:schema_type)
1214
+ end
1215
+ end
1216
+
903
1217
  # The configuration of a Virtual Private Cloud (VPC) network that can access the
904
1218
  # Kafka cluster.
905
1219
  class NetworkConfig
@@ -1171,6 +1485,211 @@ module Google
1171
1485
  end
1172
1486
  end
1173
1487
 
1488
+ # Schema for a Kafka message.
1489
+ class Schema
1490
+ include Google::Apis::Core::Hashable
1491
+
1492
+ # Optional. The schema references used by the schema.
1493
+ # Corresponds to the JSON property `references`
1494
+ # @return [Array<Google::Apis::ManagedkafkaV1::SchemaReference>]
1495
+ attr_accessor :references
1496
+
1497
+ # The schema payload.
1498
+ # Corresponds to the JSON property `schema`
1499
+ # @return [String]
1500
+ attr_accessor :schema
1501
+
1502
+ # Optional. The schema type of the schema.
1503
+ # Corresponds to the JSON property `schemaType`
1504
+ # @return [String]
1505
+ attr_accessor :schema_type
1506
+
1507
+ def initialize(**args)
1508
+ update!(**args)
1509
+ end
1510
+
1511
+ # Update properties of this object
1512
+ def update!(**args)
1513
+ @references = args[:references] if args.key?(:references)
1514
+ @schema = args[:schema] if args.key?(:schema)
1515
+ @schema_type = args[:schema_type] if args.key?(:schema_type)
1516
+ end
1517
+ end
1518
+
1519
+ # SchemaConfig represents configuration for a schema registry or a specific
1520
+ # subject.
1521
+ class SchemaConfig
1522
+ include Google::Apis::Core::Hashable
1523
+
1524
+ # Optional. The subject to which this subject is an alias of. Only applicable
1525
+ # for subject config.
1526
+ # Corresponds to the JSON property `alias`
1527
+ # @return [String]
1528
+ attr_accessor :alias
1529
+
1530
+ # Required. The compatibility type of the schema. The default value is BACKWARD.
1531
+ # If unset in a SchemaSubject-level SchemaConfig, defaults to the global value.
1532
+ # If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.
1533
+ # Corresponds to the JSON property `compatibility`
1534
+ # @return [String]
1535
+ attr_accessor :compatibility
1536
+
1537
+ # Optional. If true, the schema will be normalized before being stored or looked
1538
+ # up. The default is false. If unset in a SchemaSubject-level SchemaConfig, the
1539
+ # global value will be used. If unset in a SchemaRegistry-level SchemaConfig,
1540
+ # reverts to the default value.
1541
+ # Corresponds to the JSON property `normalize`
1542
+ # @return [Boolean]
1543
+ attr_accessor :normalize
1544
+ alias_method :normalize?, :normalize
1545
+
1546
+ def initialize(**args)
1547
+ update!(**args)
1548
+ end
1549
+
1550
+ # Update properties of this object
1551
+ def update!(**args)
1552
+ @alias = args[:alias] if args.key?(:alias)
1553
+ @compatibility = args[:compatibility] if args.key?(:compatibility)
1554
+ @normalize = args[:normalize] if args.key?(:normalize)
1555
+ end
1556
+ end
1557
+
1558
+ # 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.
1566
+ class SchemaMode
1567
+ include Google::Apis::Core::Hashable
1568
+
1569
+ # 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).
1571
+ # Corresponds to the JSON property `mode`
1572
+ # @return [String]
1573
+ attr_accessor :mode
1574
+
1575
+ def initialize(**args)
1576
+ update!(**args)
1577
+ end
1578
+
1579
+ # Update properties of this object
1580
+ def update!(**args)
1581
+ @mode = args[:mode] if args.key?(:mode)
1582
+ end
1583
+ end
1584
+
1585
+ # SchemaReference is a reference to a schema.
1586
+ class SchemaReference
1587
+ include Google::Apis::Core::Hashable
1588
+
1589
+ # Required. The name of the reference.
1590
+ # Corresponds to the JSON property `name`
1591
+ # @return [String]
1592
+ attr_accessor :name
1593
+
1594
+ # Required. The subject of the reference.
1595
+ # Corresponds to the JSON property `subject`
1596
+ # @return [String]
1597
+ attr_accessor :subject
1598
+
1599
+ # Required. The version of the reference.
1600
+ # Corresponds to the JSON property `version`
1601
+ # @return [Fixnum]
1602
+ attr_accessor :version
1603
+
1604
+ def initialize(**args)
1605
+ update!(**args)
1606
+ end
1607
+
1608
+ # Update properties of this object
1609
+ def update!(**args)
1610
+ @name = args[:name] if args.key?(:name)
1611
+ @subject = args[:subject] if args.key?(:subject)
1612
+ @version = args[:version] if args.key?(:version)
1613
+ end
1614
+ end
1615
+
1616
+ # SchemaRegistry is a schema registry instance.
1617
+ class SchemaRegistry
1618
+ include Google::Apis::Core::Hashable
1619
+
1620
+ # Output only. The contexts of the schema registry instance.
1621
+ # Corresponds to the JSON property `contexts`
1622
+ # @return [Array<String>]
1623
+ attr_accessor :contexts
1624
+
1625
+ # Identifier. The name of the schema registry instance. Structured like: `
1626
+ # projects/`project`/locations/`location`/schemaRegistries/`schema_registry``
1627
+ # The instance name `schema_registry` can contain the following: * Up to 255
1628
+ # characters. * Letters (uppercase or lowercase), numbers, and underscores.
1629
+ # Corresponds to the JSON property `name`
1630
+ # @return [String]
1631
+ attr_accessor :name
1632
+
1633
+ def initialize(**args)
1634
+ update!(**args)
1635
+ end
1636
+
1637
+ # Update properties of this object
1638
+ def update!(**args)
1639
+ @contexts = args[:contexts] if args.key?(:contexts)
1640
+ @name = args[:name] if args.key?(:name)
1641
+ end
1642
+ end
1643
+
1644
+ # Version of a schema.
1645
+ class SchemaVersion
1646
+ include Google::Apis::Core::Hashable
1647
+
1648
+ # Required. The schema ID.
1649
+ # Corresponds to the JSON property `id`
1650
+ # @return [Fixnum]
1651
+ attr_accessor :id
1652
+
1653
+ # Optional. The schema references used by the schema.
1654
+ # Corresponds to the JSON property `references`
1655
+ # @return [Array<Google::Apis::ManagedkafkaV1::SchemaReference>]
1656
+ attr_accessor :references
1657
+
1658
+ # Required. The schema payload.
1659
+ # Corresponds to the JSON property `schema`
1660
+ # @return [String]
1661
+ attr_accessor :schema
1662
+
1663
+ # Optional. The schema type of the schema.
1664
+ # Corresponds to the JSON property `schemaType`
1665
+ # @return [String]
1666
+ attr_accessor :schema_type
1667
+
1668
+ # Required. The subject of the version.
1669
+ # Corresponds to the JSON property `subject`
1670
+ # @return [String]
1671
+ attr_accessor :subject
1672
+
1673
+ # Required. The version ID
1674
+ # Corresponds to the JSON property `version`
1675
+ # @return [Fixnum]
1676
+ attr_accessor :version
1677
+
1678
+ def initialize(**args)
1679
+ update!(**args)
1680
+ end
1681
+
1682
+ # Update properties of this object
1683
+ def update!(**args)
1684
+ @id = args[:id] if args.key?(:id)
1685
+ @references = args[:references] if args.key?(:references)
1686
+ @schema = args[:schema] if args.key?(:schema)
1687
+ @schema_type = args[:schema_type] if args.key?(:schema_type)
1688
+ @subject = args[:subject] if args.key?(:subject)
1689
+ @version = args[:version] if args.key?(:version)
1690
+ end
1691
+ end
1692
+
1174
1693
  # The `Status` type defines a logical error model that is suitable for different
1175
1694
  # programming environments, including REST APIs and RPC APIs. It is used by [
1176
1695
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -1313,6 +1832,57 @@ module Google
1313
1832
  @replication_factor = args[:replication_factor] if args.key?(:replication_factor)
1314
1833
  end
1315
1834
  end
1835
+
1836
+ # Request for updating schema config. On a SchemaSubject-level SchemaConfig, an
1837
+ # unset field will be removed from the SchemaConfig.
1838
+ class UpdateSchemaConfigRequest
1839
+ include Google::Apis::Core::Hashable
1840
+
1841
+ # Required. The compatibility type of the schemas. Cannot be unset for a
1842
+ # SchemaRegistry-level SchemaConfig. If unset on a SchemaSubject-level
1843
+ # SchemaConfig, removes the compatibility field for the SchemaConfig.
1844
+ # Corresponds to the JSON property `compatibility`
1845
+ # @return [String]
1846
+ attr_accessor :compatibility
1847
+
1848
+ # Optional. If true, the schema will be normalized before being stored or looked
1849
+ # up. The default is false. Cannot be unset for a SchemaRegistry-level
1850
+ # SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the
1851
+ # normalize field for the SchemaConfig.
1852
+ # Corresponds to the JSON property `normalize`
1853
+ # @return [Boolean]
1854
+ attr_accessor :normalize
1855
+ alias_method :normalize?, :normalize
1856
+
1857
+ def initialize(**args)
1858
+ update!(**args)
1859
+ end
1860
+
1861
+ # Update properties of this object
1862
+ def update!(**args)
1863
+ @compatibility = args[:compatibility] if args.key?(:compatibility)
1864
+ @normalize = args[:normalize] if args.key?(:normalize)
1865
+ end
1866
+ end
1867
+
1868
+ # Request for updating schema registry or subject mode.
1869
+ class UpdateSchemaModeRequest
1870
+ include Google::Apis::Core::Hashable
1871
+
1872
+ # Required. The mode type.
1873
+ # Corresponds to the JSON property `mode`
1874
+ # @return [String]
1875
+ attr_accessor :mode
1876
+
1877
+ def initialize(**args)
1878
+ update!(**args)
1879
+ end
1880
+
1881
+ # Update properties of this object
1882
+ def update!(**args)
1883
+ @mode = args[:mode] if args.key?(:mode)
1884
+ end
1885
+ end
1316
1886
  end
1317
1887
  end
1318
1888
  end
@@ -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.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250414"
25
+ REVISION = "20250508"
26
26
  end
27
27
  end
28
28
  end