google-cloud-managed_kafka-schema_registry-v1 0.a → 0.1.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.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +153 -8
  5. data/lib/google/cloud/managed_kafka/schema_registry/v1/bindings_override.rb +77 -0
  6. data/lib/google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/client.rb +3110 -0
  7. data/lib/google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/credentials.rb +49 -0
  8. data/lib/google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/paths.rb +424 -0
  9. data/lib/google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/rest/client.rb +2903 -0
  10. data/lib/google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/rest/service_stub.rb +1888 -0
  11. data/lib/google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/rest.rb +103 -0
  12. data/lib/google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry.rb +105 -0
  13. data/lib/google/cloud/managed_kafka/schema_registry/v1/rest.rb +40 -0
  14. data/lib/google/cloud/managed_kafka/schema_registry/v1/version.rb +7 -2
  15. data/lib/google/cloud/managed_kafka/schema_registry/v1.rb +47 -0
  16. data/lib/google/cloud/managedkafka/schemaregistry/v1/schema_registry_pb.rb +80 -0
  17. data/lib/google/cloud/managedkafka/schemaregistry/v1/schema_registry_resources_pb.rb +57 -0
  18. data/lib/google/cloud/managedkafka/schemaregistry/v1/schema_registry_services_pb.rb +160 -0
  19. data/lib/google-cloud-managed_kafka-schema_registry-v1.rb +21 -0
  20. data/proto_docs/README.md +4 -0
  21. data/proto_docs/google/api/client.rb +473 -0
  22. data/proto_docs/google/api/field_behavior.rb +85 -0
  23. data/proto_docs/google/api/httpbody.rb +80 -0
  24. data/proto_docs/google/api/launch_stage.rb +71 -0
  25. data/proto_docs/google/api/resource.rb +227 -0
  26. data/proto_docs/google/cloud/managedkafka/schemaregistry/v1/schema_registry.rb +488 -0
  27. data/proto_docs/google/cloud/managedkafka/schemaregistry/v1/schema_registry_resources.rb +236 -0
  28. data/proto_docs/google/protobuf/any.rb +145 -0
  29. data/proto_docs/google/protobuf/duration.rb +98 -0
  30. data/proto_docs/google/protobuf/empty.rb +34 -0
  31. metadata +77 -9
@@ -0,0 +1,488 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module ManagedKafka
23
+ module SchemaRegistry
24
+ module V1
25
+ # Request for GetSchemaRegistry.
26
+ # @!attribute [rw] name
27
+ # @return [::String]
28
+ # Required. The name of the schema registry instance to return. Structured
29
+ # like:
30
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`
31
+ class GetSchemaRegistryRequest
32
+ include ::Google::Protobuf::MessageExts
33
+ extend ::Google::Protobuf::MessageExts::ClassMethods
34
+ end
35
+
36
+ # Request for ListSchemaRegistries.
37
+ # @!attribute [rw] parent
38
+ # @return [::String]
39
+ # Required. The parent whose schema registry instances are to be listed.
40
+ # Structured like: `projects/{project}/locations/{location}`
41
+ class ListSchemaRegistriesRequest
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+
46
+ # Request for ListSchemaRegistries.
47
+ # @!attribute [rw] schema_registries
48
+ # @return [::Array<::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaRegistry>]
49
+ # The schema registry instances.
50
+ class ListSchemaRegistriesResponse
51
+ include ::Google::Protobuf::MessageExts
52
+ extend ::Google::Protobuf::MessageExts::ClassMethods
53
+ end
54
+
55
+ # Request to create a schema registry instance.
56
+ # @!attribute [rw] parent
57
+ # @return [::String]
58
+ # Required. The parent whose schema registry instance is to be created.
59
+ # Structured like: `projects/{project}/locations/{location}`
60
+ # @!attribute [rw] schema_registry_id
61
+ # @return [::String]
62
+ # Required. The schema registry instance ID to use for this schema registry.
63
+ # The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores
64
+ # (-). The maximum length is 63 characters.
65
+ # The ID must not start with a number.
66
+ # @!attribute [rw] schema_registry
67
+ # @return [::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaRegistry]
68
+ # Required. The schema registry instance to create.
69
+ # The name field is ignored.
70
+ class CreateSchemaRegistryRequest
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
74
+
75
+ # Request for DeleteSchemaRegistry.
76
+ # @!attribute [rw] name
77
+ # @return [::String]
78
+ # Required. The name of the schema registry instance to delete. Structured
79
+ # like:
80
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`
81
+ class DeleteSchemaRegistryRequest
82
+ include ::Google::Protobuf::MessageExts
83
+ extend ::Google::Protobuf::MessageExts::ClassMethods
84
+ end
85
+
86
+ # Request for GetContext
87
+ # @!attribute [rw] name
88
+ # @return [::String]
89
+ # Required. The name of the context to return. Structured like:
90
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}`
91
+ class GetContextRequest
92
+ include ::Google::Protobuf::MessageExts
93
+ extend ::Google::Protobuf::MessageExts::ClassMethods
94
+ end
95
+
96
+ # Request for ListContexts.
97
+ # @!attribute [rw] parent
98
+ # @return [::String]
99
+ # Required. The parent of the contexts. Structured like:
100
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`
101
+ class ListContextsRequest
102
+ include ::Google::Protobuf::MessageExts
103
+ extend ::Google::Protobuf::MessageExts::ClassMethods
104
+ end
105
+
106
+ # Request for GetSchema.
107
+ # @!attribute [rw] name
108
+ # @return [::String]
109
+ # Required. The name of the schema to return. Structured like:
110
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}`
111
+ # @!attribute [rw] subject
112
+ # @return [::String]
113
+ # Optional. Used to limit the search for the schema ID to a specific subject,
114
+ # otherwise the schema ID will be searched for in all subjects in the given
115
+ # specified context.
116
+ class GetSchemaRequest
117
+ include ::Google::Protobuf::MessageExts
118
+ extend ::Google::Protobuf::MessageExts::ClassMethods
119
+ end
120
+
121
+ # Request for ListSchemaTypes.
122
+ # @!attribute [rw] parent
123
+ # @return [::String]
124
+ # Required. The parent schema registry whose schema types are to be listed.
125
+ # Structured like:
126
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`
127
+ class ListSchemaTypesRequest
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
+ end
131
+
132
+ # Request for ListSchemaVersions.
133
+ # @!attribute [rw] parent
134
+ # @return [::String]
135
+ # Required. The schema whose schema versions are to be listed. Structured
136
+ # like:
137
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}`
138
+ # or
139
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}`
140
+ # @!attribute [rw] subject
141
+ # @return [::String]
142
+ # Optional. The subject to filter the subjects by.
143
+ # @!attribute [rw] deleted
144
+ # @return [::Boolean]
145
+ # Optional. If true, the response will include soft-deleted versions of the
146
+ # schema, even if the subject is soft-deleted. The default is false.
147
+ class ListSchemaVersionsRequest
148
+ include ::Google::Protobuf::MessageExts
149
+ extend ::Google::Protobuf::MessageExts::ClassMethods
150
+ end
151
+
152
+ # Request for listing subjects.
153
+ # @!attribute [rw] parent
154
+ # @return [::String]
155
+ # Required. The parent schema registry/context whose subjects are to be
156
+ # listed. Structured like:
157
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`
158
+ # or
159
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}`
160
+ # @!attribute [rw] subject_prefix
161
+ # @return [::String]
162
+ # Optional. The context to filter the subjects by, in the format of
163
+ # `:.{context}:`. If unset, all subjects in the registry are returned. Set to
164
+ # empty string or add as
165
+ # '?subjectPrefix=' at the end of this request to list subjects in the
166
+ # default context.
167
+ # @!attribute [rw] deleted
168
+ # @return [::Boolean]
169
+ # Optional. If true, the response will include soft-deleted subjects. The
170
+ # default is false.
171
+ class ListSubjectsRequest
172
+ include ::Google::Protobuf::MessageExts
173
+ extend ::Google::Protobuf::MessageExts::ClassMethods
174
+ end
175
+
176
+ # Request for listing subjects.
177
+ # @!attribute [rw] parent
178
+ # @return [::String]
179
+ # Required. The schema resource whose associated subjects are to be listed.
180
+ # Structured like:
181
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}`
182
+ # or
183
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}`
184
+ # @!attribute [rw] subject
185
+ # @return [::String]
186
+ # Optional. The subject to filter the subjects by.
187
+ # @!attribute [rw] deleted
188
+ # @return [::Boolean]
189
+ # Optional. If true, the response will include soft-deleted subjects. The
190
+ # default is false.
191
+ class ListSubjectsBySchemaIdRequest
192
+ include ::Google::Protobuf::MessageExts
193
+ extend ::Google::Protobuf::MessageExts::ClassMethods
194
+ end
195
+
196
+ # Request for GetVersions.
197
+ # @!attribute [rw] parent
198
+ # @return [::String]
199
+ # Required. The subject whose versions are to be listed. Structured like:
200
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}`
201
+ # or
202
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`
203
+ # @!attribute [rw] deleted
204
+ # @return [::Boolean]
205
+ # Optional. If true, the response will include soft-deleted versions of an
206
+ # active or soft-deleted subject. The default is false.
207
+ class ListVersionsRequest
208
+ include ::Google::Protobuf::MessageExts
209
+ extend ::Google::Protobuf::MessageExts::ClassMethods
210
+ end
211
+
212
+ # Request for DeleteSubject.
213
+ # @!attribute [rw] name
214
+ # @return [::String]
215
+ # Required. The name of the subject to delete. Structured like:
216
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}`
217
+ # or
218
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`
219
+ # @!attribute [rw] permanent
220
+ # @return [::Boolean]
221
+ # Optional. If true, the subject and all associated metadata including the
222
+ # schema ID will be deleted permanently. Otherwise, only the subject is
223
+ # soft-deleted. The default is false. Soft-deleted subjects can still be
224
+ # searched in ListSubjects API call with deleted=true query parameter. A
225
+ # soft-delete of a subject must be performed before a hard-delete.
226
+ class DeleteSubjectRequest
227
+ include ::Google::Protobuf::MessageExts
228
+ extend ::Google::Protobuf::MessageExts::ClassMethods
229
+ end
230
+
231
+ # Request for GetVersion.
232
+ # @!attribute [rw] name
233
+ # @return [::String]
234
+ # Required. The name of the subject to return versions. Structured like:
235
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}`
236
+ # or
237
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`
238
+ # @!attribute [rw] deleted
239
+ # @return [::Boolean]
240
+ # Optional. If true, no matter if the subject/version is soft-deleted or not,
241
+ # it returns the version details. If false, it returns NOT_FOUND error if the
242
+ # subject/version is soft-deleted. The default is false.
243
+ class GetVersionRequest
244
+ include ::Google::Protobuf::MessageExts
245
+ extend ::Google::Protobuf::MessageExts::ClassMethods
246
+ end
247
+
248
+ # Request for CreateVersion.
249
+ # @!attribute [rw] parent
250
+ # @return [::String]
251
+ # Required. The subject to create the version for. Structured like:
252
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}`
253
+ # or
254
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`
255
+ # @!attribute [rw] version
256
+ # @return [::Integer]
257
+ # Optional. The version to create. It is optional. If not specified, the
258
+ # version will be created with the max version ID of the subject increased
259
+ # by 1. If the version ID is specified, it will be used as the new version ID
260
+ # and must not be used by an existing version of the subject.
261
+ # @!attribute [rw] id
262
+ # @return [::Integer]
263
+ # Optional. The schema ID of the schema. If not specified, the schema ID will
264
+ # be generated by the server. If the schema ID is specified, it must not be
265
+ # used by an existing schema that is different from the schema to be created.
266
+ # @!attribute [rw] schema_type
267
+ # @return [::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaType]
268
+ # Optional. The type of the schema. It is optional. If not specified, the
269
+ # schema type will be AVRO.
270
+ # @!attribute [rw] schema
271
+ # @return [::String]
272
+ # Required. The schema payload
273
+ # @!attribute [rw] references
274
+ # @return [::Array<::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaReference>]
275
+ # Optional. The schema references used by the schema.
276
+ # @!attribute [rw] normalize
277
+ # @return [::Boolean]
278
+ # Optional. If true, the schema will be normalized before being stored. The
279
+ # default is false.
280
+ class CreateVersionRequest
281
+ include ::Google::Protobuf::MessageExts
282
+ extend ::Google::Protobuf::MessageExts::ClassMethods
283
+ end
284
+
285
+ # Response for CreateVersion.
286
+ # @!attribute [rw] id
287
+ # @return [::Integer]
288
+ # The unique identifier of the schema created.
289
+ class CreateVersionResponse
290
+ include ::Google::Protobuf::MessageExts
291
+ extend ::Google::Protobuf::MessageExts::ClassMethods
292
+ end
293
+
294
+ # Request for LookupVersion.
295
+ # @!attribute [rw] parent
296
+ # @return [::String]
297
+ # Required. The subject to lookup the schema in. Structured like:
298
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}`
299
+ # or
300
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`
301
+ # @!attribute [rw] schema_type
302
+ # @return [::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaType]
303
+ # Optional. The schema type of the schema.
304
+ # @!attribute [rw] schema
305
+ # @return [::String]
306
+ # Required. The schema payload
307
+ # @!attribute [rw] references
308
+ # @return [::Array<::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaReference>]
309
+ # Optional. The schema references used by the schema.
310
+ # @!attribute [rw] normalize
311
+ # @return [::Boolean]
312
+ # Optional. If true, the schema will be normalized before being looked up.
313
+ # The default is false.
314
+ # @!attribute [rw] deleted
315
+ # @return [::Boolean]
316
+ # Optional. If true, soft-deleted versions will be included in lookup, no
317
+ # matter if the subject is active or soft-deleted. If false, soft-deleted
318
+ # versions will be excluded. The default is false.
319
+ class LookupVersionRequest
320
+ include ::Google::Protobuf::MessageExts
321
+ extend ::Google::Protobuf::MessageExts::ClassMethods
322
+ end
323
+
324
+ # Request for DeleteVersion.
325
+ # @!attribute [rw] name
326
+ # @return [::String]
327
+ # Required. The name of the subject version to delete. Structured like:
328
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}`
329
+ # or
330
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`
331
+ # @!attribute [rw] permanent
332
+ # @return [::Boolean]
333
+ # Optional. If true, both the version and the referenced schema ID will be
334
+ # permanently deleted. The default is false. If false, the version will be
335
+ # deleted but the schema ID will be retained. Soft-deleted versions can still
336
+ # be searched in ListVersions API call with deleted=true query parameter. A
337
+ # soft-delete of a version must be performed before a hard-delete.
338
+ class DeleteVersionRequest
339
+ include ::Google::Protobuf::MessageExts
340
+ extend ::Google::Protobuf::MessageExts::ClassMethods
341
+ end
342
+
343
+ # Request for ListReferencedSchemas.
344
+ # @!attribute [rw] parent
345
+ # @return [::String]
346
+ # Required. The version to list referenced by. Structured like:
347
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}`
348
+ # or
349
+ # `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`
350
+ class ListReferencedSchemasRequest
351
+ include ::Google::Protobuf::MessageExts
352
+ extend ::Google::Protobuf::MessageExts::ClassMethods
353
+ end
354
+
355
+ # Request for CheckCompatibility.
356
+ # @!attribute [rw] name
357
+ # @return [::String]
358
+ # Required. The name of the resource to check compatibility for. The format
359
+ # is either of following:
360
+ # * projects/\\{project}/locations/\\{location}/schemaRegistries/\\{schema_registry}/compatibility/subjects/*/versions: Check compatibility with one or
361
+ # more versions of the specified subject.
362
+ # * projects/\\{project}/locations/\\{location}/schemaRegistries/\\{schema_registry}/compatibility/subjects/\\{subject}/versions/\\{version}: Check
363
+ # compatibility with a specific version of the subject.
364
+ # @!attribute [rw] schema_type
365
+ # @return [::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaType]
366
+ # Optional. The schema type of the schema.
367
+ # @!attribute [rw] schema
368
+ # @return [::String]
369
+ # Required. The schema payload
370
+ # @!attribute [rw] references
371
+ # @return [::Array<::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaReference>]
372
+ # Optional. The schema references used by the schema.
373
+ # @!attribute [rw] verbose
374
+ # @return [::Boolean]
375
+ # Optional. If true, the response will contain the compatibility check result
376
+ # with reasons for failed checks. The default is false.
377
+ class CheckCompatibilityRequest
378
+ include ::Google::Protobuf::MessageExts
379
+ extend ::Google::Protobuf::MessageExts::ClassMethods
380
+ end
381
+
382
+ # Response for CheckCompatibility.
383
+ # @!attribute [rw] is_compatible
384
+ # @return [::Boolean]
385
+ # The compatibility check result. If true, the schema is compatible with the
386
+ # resource.
387
+ # @!attribute [rw] messages
388
+ # @return [::Array<::String>]
389
+ # Failure reasons if verbose = true.
390
+ class CheckCompatibilityResponse
391
+ include ::Google::Protobuf::MessageExts
392
+ extend ::Google::Protobuf::MessageExts::ClassMethods
393
+ end
394
+
395
+ # Request for getting config.
396
+ # @!attribute [rw] name
397
+ # @return [::String]
398
+ # Required. The resource name to get the config for. It can be either of
399
+ # following:
400
+ # * projects/\\{project}/locations/\\{location}/schemaRegistries/\\{schema_registry}/config: Get config at global level.
401
+ # * projects/\\{project}/locations/\\{location}/schemaRegistries/\\{schema_registry}/config/\\{subject}: Get config for a specific subject.
402
+ # @!attribute [rw] default_to_global
403
+ # @return [::Boolean]
404
+ # Optional. If true, the config will fall back to the config at the global
405
+ # level if no subject level config is found.
406
+ class GetSchemaConfigRequest
407
+ include ::Google::Protobuf::MessageExts
408
+ extend ::Google::Protobuf::MessageExts::ClassMethods
409
+ end
410
+
411
+ # Request for updating schema config.
412
+ # On a SchemaSubject-level SchemaConfig, an unset field will be removed from
413
+ # the SchemaConfig.
414
+ # @!attribute [rw] name
415
+ # @return [::String]
416
+ # Required. The resource name to update the config for. It can be either of
417
+ # following:
418
+ # * projects/\\{project}/locations/\\{location}/schemaRegistries/\\{schema_registry}/config: Update config at global level.
419
+ # * projects/\\{project}/locations/\\{location}/schemaRegistries/\\{schema_registry}/config/\\{subject}: Update config for a specific subject.
420
+ # @!attribute [rw] compatibility
421
+ # @return [::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig::CompatibilityType]
422
+ # Required. The compatibility type of the schemas.
423
+ # Cannot be unset for a SchemaRegistry-level SchemaConfig.
424
+ # If unset on a SchemaSubject-level SchemaConfig, removes the compatibility
425
+ # field for the SchemaConfig.
426
+ # @!attribute [rw] normalize
427
+ # @return [::Boolean]
428
+ # Optional. If true, the schema will be normalized before being stored or
429
+ # looked up. The default is false. Cannot be unset for a SchemaRegistry-level
430
+ # SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the
431
+ # normalize field for the SchemaConfig.
432
+ class UpdateSchemaConfigRequest
433
+ include ::Google::Protobuf::MessageExts
434
+ extend ::Google::Protobuf::MessageExts::ClassMethods
435
+ end
436
+
437
+ # Request for deleting schema config.
438
+ # @!attribute [rw] name
439
+ # @return [::String]
440
+ # Required. The resource name of subject to delete the config for. The format
441
+ # is
442
+ # * projects/\\{project}/locations/\\{location}/schemaRegistries/\\{schema_registry}/config/\\{subject}
443
+ class DeleteSchemaConfigRequest
444
+ include ::Google::Protobuf::MessageExts
445
+ extend ::Google::Protobuf::MessageExts::ClassMethods
446
+ end
447
+
448
+ # Request for getting schema registry or subject mode.
449
+ # @!attribute [rw] name
450
+ # @return [::String]
451
+ # Required. The resource name of the mode. The format is
452
+ # * projects/\\{project}/locations/\\{location}/schemaRegistries/\\{schema_registry}/mode/\\{subject}: mode for a schema registry, or
453
+ # * projects/\\{project}/locations/\\{location}/schemaRegistries/\\{schema_registry}/contexts/\\{context}/mode/\\{subject}: mode for a specific subject in a specific context
454
+ class GetSchemaModeRequest
455
+ include ::Google::Protobuf::MessageExts
456
+ extend ::Google::Protobuf::MessageExts::ClassMethods
457
+ end
458
+
459
+ # Request for updating schema registry or subject mode.
460
+ # @!attribute [rw] name
461
+ # @return [::String]
462
+ # Required. The resource name of the mode. The format is
463
+ # * projects/\\{project}/locations/\\{location}/schemaRegistries/\\{schema_registry}/mode/\\{subject}: mode for a schema registry, or
464
+ # * projects/\\{project}/locations/\\{location}/schemaRegistries/\\{schema_registry}/contexts/\\{context}/mode/\\{subject}: mode for a specific subject in a specific context
465
+ # @!attribute [rw] mode
466
+ # @return [::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaMode::ModeType]
467
+ # Required. The mode type.
468
+ class UpdateSchemaModeRequest
469
+ include ::Google::Protobuf::MessageExts
470
+ extend ::Google::Protobuf::MessageExts::ClassMethods
471
+ end
472
+
473
+ # Request for deleting schema mode.
474
+ # @!attribute [rw] name
475
+ # @return [::String]
476
+ # Required. The resource name of subject to delete the mode for. The format
477
+ # is
478
+ # * projects/\\{project}/locations/\\{location}/schemaRegistries/\\{schema_registry}/mode/\\{subject}
479
+ # * projects/\\{project}/locations/\\{location}/schemaRegistries/\\{schema_registry}/contexts/\\{context}/mode/\\{subject}
480
+ class DeleteSchemaModeRequest
481
+ include ::Google::Protobuf::MessageExts
482
+ extend ::Google::Protobuf::MessageExts::ClassMethods
483
+ end
484
+ end
485
+ end
486
+ end
487
+ end
488
+ end