Class: Google::Cloud::PubSub::V1::ValidateMessageRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#encoding::Google::Cloud::PubSub::V1::Encoding

Returns The encoding expected for messages.

Returns:



178
179
180
181
# File 'proto_docs/google/pubsub/v1/schema.rb', line 178

class ValidateMessageRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#message::String

Returns Message to validate against the provided schema_spec.

Returns:

  • (::String)

    Message to validate against the provided schema_spec.



178
179
180
181
# File 'proto_docs/google/pubsub/v1/schema.rb', line 178

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}.

Returns:

  • (::String)

    Name of the schema against which to validate.

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



178
179
180
181
# File 'proto_docs/google/pubsub/v1/schema.rb', line 178

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}.

Returns:

  • (::String)

    Required. The name of the project in which to validate schemas. Format is projects/{project-id}.



178
179
180
181
# File 'proto_docs/google/pubsub/v1/schema.rb', line 178

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.

Returns:



178
179
180
181
# File 'proto_docs/google/pubsub/v1/schema.rb', line 178

class ValidateMessageRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end