Google Cloud Managed Kafka Schema Registry V1 Client - Class ListVersionsRequest (0.1.1)

Reference documentation and code samples for the Google Cloud Managed Kafka Schema Registry V1 Client class ListVersionsRequest.

Request for GetVersions.

Generated from protobuf message google.cloud.managedkafka.schemaregistry.v1.ListVersionsRequest

Namespace

Google \ Cloud \ ManagedKafka \ SchemaRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The subject whose versions are to be listed. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject} or projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}

↳ deleted bool

Optional. If true, the response will include soft-deleted versions of an active or soft-deleted subject. The default is false.

getParent

Required. The subject whose versions are to be listed. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject} or projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}

Returns
Type Description
string

setParent

Required. The subject whose versions are to be listed. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject} or projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}

Parameter
Name Description
var string
Returns
Type Description
$this

getDeleted

Optional. If true, the response will include soft-deleted versions of an active or soft-deleted subject. The default is false.

Returns
Type Description
bool

hasDeleted

clearDeleted

setDeleted

Optional. If true, the response will include soft-deleted versions of an active or soft-deleted subject. The default is false.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The subject whose versions are to be listed. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject} or projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject} Please see ManagedSchemaRegistryClient::schemaSubjectName() for help formatting this field.

Returns
Type Description
ListVersionsRequest