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

A schema resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#definition

def definition() -> ::String
Returns
  • (::String) — The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in type.

#definition=

def definition=(value) -> ::String
Parameter
  • value (::String) — The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in type.
Returns
  • (::String) — The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in type.

#name

def name() -> ::String
Returns
  • (::String) — Required. Name of the schema. Format is projects/{project}/schemas/{schema}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the schema. Format is projects/{project}/schemas/{schema}.
Returns
  • (::String) — Required. Name of the schema. Format is projects/{project}/schemas/{schema}.

#type

def type() -> ::Google::Cloud::PubSub::V1::Schema::Type
Returns

#type=

def type=(value) -> ::Google::Cloud::PubSub::V1::Schema::Type
Parameter
Returns