Class: Google::Cloud::PubSub::V1::SchemaSettings

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/pubsub/v1/pubsub.rb

Overview

Settings for validating messages published against a schema.

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns The encoding of messages validated against schema.

Returns:



47
48
49
50
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 47

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

#schema::String

Returns Required. The name of the schema that messages published should be validated against. Format is projects/{project}/schemas/{schema}. The value of this field will be _deleted-schema_ if the schema has been deleted.

Returns:

  • (::String)

    Required. The name of the schema that messages published should be validated against. Format is projects/{project}/schemas/{schema}. The value of this field will be _deleted-schema_ if the schema has been deleted.



47
48
49
50
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 47

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