Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -313453,6 +313453,10 @@
"/managedkafka:v1/SchemaRegistry/contexts": contexts
"/managedkafka:v1/SchemaRegistry/contexts/context": context
"/managedkafka:v1/SchemaRegistry/name": name
"/managedkafka:v1/SchemaSubject": schema_subject
"/managedkafka:v1/SchemaSubject/name": name
"/managedkafka:v1/SchemaSubject/versions": versions
"/managedkafka:v1/SchemaSubject/versions/version": version
"/managedkafka:v1/SchemaVersion": schema_version
"/managedkafka:v1/SchemaVersion/id": id
"/managedkafka:v1/SchemaVersion/references": references
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-managedkafka_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-managedkafka_v1

### v0.24.0 (2026-05-24)

* Regenerated from discovery document revision 20260507

### v0.23.0 (2026-05-03)

* Regenerated from discovery document revision 20260423
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1747,6 +1747,37 @@ def update!(**args)
end
end

# Subject defines the evolution scope of schemas as a holder of schema versions.
class SchemaSubject
include Google::Apis::Core::Hashable

# Identifier. The name of the subject. Structured like: `projects/`project`/
# locations/`location`/schemaRegistries/`schema_registry`/subjects/`subject`` or
# `projects/`project`/locations/`location`/schemaRegistries/`schema_registry`/
# contexts/`context`/subjects/`subject`` Subject name `subject` can contain the
# following: * Up to 255 UTF-8 bytes. * Allowed characters: letters (uppercase
# or lowercase), numbers, and the following special characters: `.`, `-`, `_`, `+
# `, `%`, and `~`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

# Optional. The versions of the subject.
# Corresponds to the JSON property `versions`
# @return [Array<String>]
attr_accessor :versions

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@versions = args[:versions] if args.key?(:versions)
end
end

# Version of a schema.
class SchemaVersion
include Google::Apis::Core::Hashable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ManagedkafkaV1
# Version of the google-apis-managedkafka_v1 gem
GEM_VERSION = "0.23.0"
GEM_VERSION = "0.24.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20260423"
REVISION = "20260507"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class SchemaSubject
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class SchemaVersion
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -896,6 +902,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class SchemaSubject
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
collection :versions, as: 'versions'
end
end

class SchemaVersion
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down
Loading