Class Google::Cloud::PubSub::V1::SchemaSettings (v0.6.2)

Settings for validating messages published against a schema.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#encoding

def encoding() -> ::Google::Cloud::PubSub::V1::Encoding
Returns

#encoding=

def encoding=(value) -> ::Google::Cloud::PubSub::V1::Encoding
Parameter
Returns

#schema

def schema() -> ::String
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.

#schema=

def schema=(value) -> ::String
Parameter
  • value (::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.
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.