Class: Google::Cloud::PubSub::V1::ValidateMessageRequest
- Inherits:
-
Object
- Object
- Google::Cloud::PubSub::V1::ValidateMessageRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/pubsub/v1/schema.rb
Overview
Request for the ValidateMessage method.
Instance Attribute Summary collapse
-
#encoding ⇒ ::Google::Cloud::PubSub::V1::Encoding
The encoding expected for messages.
-
#message ⇒ ::String
Message to validate against the provided
schema_spec. -
#name ⇒ ::String
Name of the schema against which to validate.
-
#parent ⇒ ::String
Required.
-
#schema ⇒ ::Google::Cloud::PubSub::V1::Schema
Ad-hoc schema against which to validate.
Instance Attribute Details
#encoding ⇒ ::Google::Cloud::PubSub::V1::Encoding
Returns The encoding expected for messages.
267 268 269 270 |
# File 'proto_docs/google/pubsub/v1/schema.rb', line 267 class ValidateMessageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#message ⇒ ::String
Returns Message to validate against the provided schema_spec.
267 268 269 270 |
# File 'proto_docs/google/pubsub/v1/schema.rb', line 267 class ValidateMessageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Name of the schema against which to validate.
Format is projects/{project}/schemas/{schema}.
Note: The following fields are mutually exclusive: name, schema. If a field in that set is populated, all other fields in the set will automatically be cleared.
267 268 269 270 |
# File 'proto_docs/google/pubsub/v1/schema.rb', line 267 class ValidateMessageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The name of the project in which to validate schemas.
Format is projects/{project-id}.
267 268 269 270 |
# File 'proto_docs/google/pubsub/v1/schema.rb', line 267 class ValidateMessageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#schema ⇒ ::Google::Cloud::PubSub::V1::Schema
Returns Ad-hoc schema against which to validate
Note: The following fields are mutually exclusive: schema, name. If a field in that set is populated, all other fields in the set will automatically be cleared.
267 268 269 270 |
# File 'proto_docs/google/pubsub/v1/schema.rb', line 267 class ValidateMessageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |