Cloud PubSub V1 Client - Class DeleteSchemaRequest (1.46.5)

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

Namespace

Google \ Cloud \ PubSub \ V1

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

static::build

Parameter
NameDescription
name string

Required. Name of the schema to delete. Format is projects/{project}/schemas/{schema}. Please see Google\Cloud\PubSub\V1\SchemaServiceClient::schemaName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\PubSub\V1\DeleteSchemaRequest