Cloud PubSub V1 Client - Class DeleteSchemaRequest (1.42.1)

Reference documentation and code samples for the Cloud PubSub V1 Client class DeleteSchemaRequest.

Request for the DeleteSchema method.

Generated from protobuf message google.pubsub.v1.DeleteSchemaRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the schema to delete. Format is projects/{project}/schemas/{schema}.

getName

Required. Name of the schema to delete.

Format is projects/{project}/schemas/{schema}.

Returns
TypeDescription
string

setName

Required. Name of the schema to delete.

Format is projects/{project}/schemas/{schema}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this