Reference documentation and code samples for the Cloud PubSub V1 Client class ValidateMessageRequest.
Request for the ValidateMessage
method.
Generated from protobuf message google.pubsub.v1.ValidateMessageRequest
Namespace
Google \ Cloud \ PubSub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The name of the project in which to validate schemas. Format is projects/{project-id}
.
↳ name
string
Name of the schema against which to validate. Format is projects/{project}/schemas/{schema}
.
↳ schema
↳ message
string
Message to validate against the provided schema_spec
.
↳ encoding
int
The encoding expected for messages
getParent
Required. The name of the project in which to validate schemas.
Format is projects/{project-id}
.
string
setParent
Required. The name of the project in which to validate schemas.
Format is projects/{project-id}
.
var
string
$this
getName
Name of the schema against which to validate.
Format is projects/{project}/schemas/{schema}
.
string
hasName
setName
Name of the schema against which to validate.
Format is projects/{project}/schemas/{schema}
.
var
string
$this
getSchema
Ad-hoc schema against which to validate
hasSchema
setSchema
Ad-hoc schema against which to validate
$this
getMessage
Message to validate against the provided schema_spec
.
string
setMessage
Message to validate against the provided schema_spec
.
var
string
$this
getEncoding
The encoding expected for messages
int
setEncoding
The encoding expected for messages
var
int
$this
getSchemaSpec
string