Class ValidateMessageRequest (2.4.0)

public sealed class ValidateMessageRequest : IMessage<ValidateMessageRequest>, IEquatable<ValidateMessageRequest>, IDeepCloneable<ValidateMessageRequest>, IBufferMessage, IMessage

Request for the ValidateMessage method.

Inheritance

Object > ValidateMessageRequest

Implements

Google.Protobuf.IMessage<ValidateMessageRequest>, IEquatable<ValidateMessageRequest>, Google.Protobuf.IDeepCloneable<ValidateMessageRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

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

Message

public ByteString Message { get; set; }

Message to validate against the provided schema_spec.

Property Value
TypeDescription
Google.Protobuf.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
ValidateMessageRequest.SchemaSpecOneofCase