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.
263 264 265 266 |
# File 'proto_docs/google/pubsub/v1/schema.rb', line 263 class ValidateMessageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#message ⇒ ::String
Returns Message to validate against the provided schema_spec
.
263 264 265 266 |
# File 'proto_docs/google/pubsub/v1/schema.rb', line 263 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}
.
263 264 265 266 |
# File 'proto_docs/google/pubsub/v1/schema.rb', line 263 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}
.
263 264 265 266 |
# File 'proto_docs/google/pubsub/v1/schema.rb', line 263 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.
263 264 265 266 |
# File 'proto_docs/google/pubsub/v1/schema.rb', line 263 class ValidateMessageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |