Cloud Pub/Sub v1 API - Class ValidateMessageRequest (3.9.1)

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.

Inheritance

object > ValidateMessageRequest

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

ValidateMessageRequest()

public ValidateMessageRequest()

ValidateMessageRequest(ValidateMessageRequest)

public ValidateMessageRequest(ValidateMessageRequest other)
Parameter
NameDescription
otherValidateMessageRequest

Properties

Encoding

public Encoding Encoding { get; set; }

The encoding expected for messages

Property Value
TypeDescription
Encoding

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
bool

Message

public ByteString Message { get; set; }

Message to validate against the provided schema_spec.

Property Value
TypeDescription
ByteString

Name

public string Name { get; set; }

Name of the schema against which to validate.

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

Property Value
TypeDescription
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
TypeDescription
string

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName

Schema

public Schema Schema { get; set; }

Ad-hoc schema against which to validate

Property Value
TypeDescription
Schema

SchemaName

public SchemaName SchemaName { get; set; }

SchemaName-typed view over the Name resource name property.

Property Value
TypeDescription
SchemaName

SchemaSpecCase

public ValidateMessageRequest.SchemaSpecOneofCase SchemaSpecCase { get; }
Property Value
TypeDescription
ValidateMessageRequestSchemaSpecOneofCase