Cloud PubSub V1 Client - Class DeleteSchemaRequest (2.3.0)

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
Name Description
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
Type Description
string

setName

Required. Name of the schema to delete.

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
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
Type Description
Google\Cloud\PubSub\V1\DeleteSchemaRequest