Reference documentation and code samples for the Cloud PubSub V1 Client class CommitSchemaRequest.
Request for CommitSchema method.
Generated from protobuf message google.pubsub.v1.CommitSchemaRequest
Namespace
Google \ Cloud \ PubSub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the schema we are revising. Format is projects/{project}/schemas/{schema}
.
↳ schema
getName
Required. The name of the schema we are revising.
Format is projects/{project}/schemas/{schema}
.
string
setName
Required. The name of the schema we are revising.
Format is projects/{project}/schemas/{schema}
.
var
string
$this
getSchema
Required. The schema revision to commit.
hasSchema
clearSchema
setSchema
Required. The schema revision to commit.
$this
static::build
name
string
Required. The name of the schema we are revising.
Format is projects/{project}/schemas/{schema}
. Please see Google\Cloud\PubSub\V1\SchemaServiceClient::schemaName()
for help formatting this field.
schema