Cloud PubSub V1 Client - Class ValidateSchemaRequest (1.44.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud PubSub V1 Client class ValidateSchemaRequest.
Request for the ValidateSchema method.
Generated from protobuf message google.pubsub.v1.ValidateSchemaRequest
Namespace
Google \ Cloud \ PubSub \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The name of the project in which to validate schemas. Format is |
↳ schema |
Google\Cloud\PubSub\V1\Schema
Required. The schema object to validate. |
getParent
Required. The name of the project in which to validate schemas.
Format is projects/{project-id}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The name of the project in which to validate schemas.
Format is projects/{project-id}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSchema
Required. The schema object to validate.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\PubSub\V1\Schema|null |
|
hasSchema
clearSchema
setSchema
Required. The schema object to validate.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\PubSub\V1\Schema
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The name of the project in which to validate schemas.
Format is |
schema |
Google\Cloud\PubSub\V1\Schema
Required. The schema object to validate. |
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\PubSub\V1\ValidateSchemaRequest |
|