Skip to content

Commit 4617d8a

Browse files
feat: Automated regeneration of managedkafka v1 client (googleapis#26568)
Auto-created at 2026-05-24 11:07:20 +0000 using the toys pull request generator.
1 parent 4344dfe commit 4617d8a

5 files changed

Lines changed: 55 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313711,6 +313711,10 @@
313711313711
"/managedkafka:v1/SchemaRegistry/contexts": contexts
313712313712
"/managedkafka:v1/SchemaRegistry/contexts/context": context
313713313713
"/managedkafka:v1/SchemaRegistry/name": name
313714+
"/managedkafka:v1/SchemaSubject": schema_subject
313715+
"/managedkafka:v1/SchemaSubject/name": name
313716+
"/managedkafka:v1/SchemaSubject/versions": versions
313717+
"/managedkafka:v1/SchemaSubject/versions/version": version
313714313718
"/managedkafka:v1/SchemaVersion": schema_version
313715313719
"/managedkafka:v1/SchemaVersion/id": id
313716313720
"/managedkafka:v1/SchemaVersion/references": references

generated/google-apis-managedkafka_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-managedkafka_v1
22

3+
### v0.24.0 (2026-05-24)
4+
5+
* Regenerated from discovery document revision 20260507
6+
37
### v0.23.0 (2026-05-03)
48

59
* Regenerated from discovery document revision 20260423

generated/google-apis-managedkafka_v1/lib/google/apis/managedkafka_v1/classes.rb

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,6 +1747,37 @@ def update!(**args)
17471747
end
17481748
end
17491749

1750+
# Subject defines the evolution scope of schemas as a holder of schema versions.
1751+
class SchemaSubject
1752+
include Google::Apis::Core::Hashable
1753+
1754+
# Identifier. The name of the subject. Structured like: `projects/`project`/
1755+
# locations/`location`/schemaRegistries/`schema_registry`/subjects/`subject`` or
1756+
# `projects/`project`/locations/`location`/schemaRegistries/`schema_registry`/
1757+
# contexts/`context`/subjects/`subject`` Subject name `subject` can contain the
1758+
# following: * Up to 255 UTF-8 bytes. * Allowed characters: letters (uppercase
1759+
# or lowercase), numbers, and the following special characters: `.`, `-`, `_`, `+
1760+
# `, `%`, and `~`.
1761+
# Corresponds to the JSON property `name`
1762+
# @return [String]
1763+
attr_accessor :name
1764+
1765+
# Optional. The versions of the subject.
1766+
# Corresponds to the JSON property `versions`
1767+
# @return [Array<String>]
1768+
attr_accessor :versions
1769+
1770+
def initialize(**args)
1771+
update!(**args)
1772+
end
1773+
1774+
# Update properties of this object
1775+
def update!(**args)
1776+
@name = args[:name] if args.key?(:name)
1777+
@versions = args[:versions] if args.key?(:versions)
1778+
end
1779+
end
1780+
17501781
# Version of a schema.
17511782
class SchemaVersion
17521783
include Google::Apis::Core::Hashable

generated/google-apis-managedkafka_v1/lib/google/apis/managedkafka_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ManagedkafkaV1
1818
# Version of the google-apis-managedkafka_v1 gem
19-
GEM_VERSION = "0.23.0"
19+
GEM_VERSION = "0.24.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260423"
25+
REVISION = "20260507"
2626
end
2727
end
2828
end

generated/google-apis-managedkafka_v1/lib/google/apis/managedkafka_v1/representations.rb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
340340
include Google::Apis::Core::JsonObjectSupport
341341
end
342342

343+
class SchemaSubject
344+
class Representation < Google::Apis::Core::JsonRepresentation; end
345+
346+
include Google::Apis::Core::JsonObjectSupport
347+
end
348+
343349
class SchemaVersion
344350
class Representation < Google::Apis::Core::JsonRepresentation; end
345351

@@ -896,6 +902,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
896902
end
897903
end
898904

905+
class SchemaSubject
906+
# @private
907+
class Representation < Google::Apis::Core::JsonRepresentation
908+
property :name, as: 'name'
909+
collection :versions, as: 'versions'
910+
end
911+
end
912+
899913
class SchemaVersion
900914
# @private
901915
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)