Class ValidateMessageRequest (2.3.0)

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

Request for the ValidateMessage method.

Inheritance

System.Object > ValidateMessageRequest

Implements

Google.Protobuf.IMessage<ValidateMessageRequest>, System.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
System.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
System.String

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

Google.Api.Gax.ResourceNames.ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
Google.Api.Gax.ResourceNames.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