Reference documentation and code samples for the Google Cloud Managed Kafka Schema Registry V1 Client class ListSchemaVersionsRequest.
Request for ListSchemaVersions.
Generated from protobuf message google.cloud.managedkafka.schemaregistry.v1.ListSchemaVersionsRequest
Namespace
Google \ Cloud \ ManagedKafka \ SchemaRegistry \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The schema whose schema versions are to be listed. Structured like: |
↳ subject |
string
Optional. The subject to filter the subjects by. |
↳ deleted |
bool
Optional. If true, the response will include soft-deleted versions of the schema, even if the subject is soft-deleted. The default is false. |
getParent
Required. The schema whose schema versions are to be listed. Structured
like:
projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}
or
projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The schema whose schema versions are to be listed. Structured
like:
projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}
or
projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSubject
Optional. The subject to filter the subjects by.
Returns | |
---|---|
Type | Description |
string |
hasSubject
clearSubject
setSubject
Optional. The subject to filter the subjects by.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDeleted
Optional. If true, the response will include soft-deleted versions of the schema, even if the subject is soft-deleted. The default is false.
Returns | |
---|---|
Type | Description |
bool |
hasDeleted
clearDeleted
setDeleted
Optional. If true, the response will include soft-deleted versions of the schema, even if the subject is soft-deleted. The default is false.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
parent |
string
Required. The schema whose schema versions are to be listed. Structured
like:
|
Returns | |
---|---|
Type | Description |
ListSchemaVersionsRequest |