public sealed class ValidateMessageRequest : IMessage<ValidateMessageRequest>, IEquatable<ValidateMessageRequest>, IDeepCloneable<ValidateMessageRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Pub/Sub v1 API class ValidateMessageRequest.
Request for the ValidateMessage
method.
Implements
IMessageValidateMessageRequest, IEquatableValidateMessageRequest, IDeepCloneableValidateMessageRequest, IBufferMessage, IMessageNamespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
ValidateMessageRequest()
public ValidateMessageRequest()
ValidateMessageRequest(ValidateMessageRequest)
public ValidateMessageRequest(ValidateMessageRequest other)
Parameter | |
---|---|
Name | Description |
other | ValidateMessageRequest |
Properties
Encoding
public Encoding Encoding { get; set; }
The encoding expected for messages
Property Value | |
---|---|
Type | Description |
Encoding |
Message
public ByteString Message { get; set; }
Message to validate against the provided schema_spec
.
Property Value | |
---|---|
Type | Description |
ByteString |
Name
public string Name { get; set; }
Name of the schema against which to validate.
Format is projects/{project}/schemas/{schema}
.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. The name of the project in which to validate schemas.
Format is projects/{project-id}
.
Property Value | |
---|---|
Type | Description |
string |
ParentAsProjectName
public ProjectName ParentAsProjectName { get; set; }
ProjectName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ProjectName |
Schema
public Schema Schema { get; set; }
Ad-hoc schema against which to validate
Property Value | |
---|---|
Type | Description |
Schema |
SchemaName
public SchemaName SchemaName { get; set; }
SchemaName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
SchemaName |
SchemaSpecCase
public ValidateMessageRequest.SchemaSpecOneofCase SchemaSpecCase { get; }
Property Value | |
---|---|
Type | Description |
ValidateMessageRequestSchemaSpecOneofCase |