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 Optional. The encoding of messages validated against schema.

Returns:



65
66
67
68
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 65

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

#first_revision_id::String

Returns Optional. The minimum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against last_revision or any revision created before.

Returns:

  • (::String)

    Optional. The minimum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against last_revision or any revision created before.



65
66
67
68
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 65

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

#last_revision_id::String

Returns Optional. The maximum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against first_revision or any revision created after.

Returns:

  • (::String)

    Optional. The maximum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against first_revision or any revision created after.



65
66
67
68
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 65

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.



65
66
67
68
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 65

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