Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::TypeSchema (v1.11.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::TypeSchema.

Encapsulates different type schema variations: either a reference to an a schema that's already defined by a tool, or an inline definition.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#inline_schema

def inline_schema() -> ::Google::Cloud::Dialogflow::CX::V3::InlineSchema
Returns
  • (::Google::Cloud::Dialogflow::CX::V3::InlineSchema) — Set if this is an inline schema definition.

    Note: The following fields are mutually exclusive: inline_schema, schema_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.

#inline_schema=

def inline_schema=(value) -> ::Google::Cloud::Dialogflow::CX::V3::InlineSchema
Parameter
  • value (::Google::Cloud::Dialogflow::CX::V3::InlineSchema) — Set if this is an inline schema definition.

    Note: The following fields are mutually exclusive: inline_schema, schema_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dialogflow::CX::V3::InlineSchema) — Set if this is an inline schema definition.

    Note: The following fields are mutually exclusive: inline_schema, schema_reference. If a field in that set is populated, all other fields in the set will automatically be cleared.

#schema_reference

def schema_reference() -> ::Google::Cloud::Dialogflow::CX::V3::TypeSchema::SchemaReference
Returns

#schema_reference=

def schema_reference=(value) -> ::Google::Cloud::Dialogflow::CX::V3::TypeSchema::SchemaReference
Parameter
Returns