Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::ParameterDefinition.
Defines the properties of a parameter. Used to define parameters used in the agent and the input / output parameters for each fulfillment.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::String
Returns
- (::String) — Human-readable description of the parameter. Limited to 300 characters.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Human-readable description of the parameter. Limited to 300 characters.
Returns
- (::String) — Human-readable description of the parameter. Limited to 300 characters.
#name
def name() -> ::String
Returns
- (::String) — Required. Name of parameter.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. Name of parameter.
Returns
- (::String) — Required. Name of parameter.
#type
def type() -> ::Google::Cloud::Dialogflow::CX::V3::ParameterDefinition::ParameterType
Returns
- (::Google::Cloud::Dialogflow::CX::V3::ParameterDefinition::ParameterType) — Type of parameter.
#type=
def type=(value) -> ::Google::Cloud::Dialogflow::CX::V3::ParameterDefinition::ParameterType
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::ParameterDefinition::ParameterType) — Type of parameter.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::ParameterDefinition::ParameterType) — Type of parameter.
#type_schema
def type_schema() -> ::Google::Cloud::Dialogflow::CX::V3::TypeSchema
Returns
- (::Google::Cloud::Dialogflow::CX::V3::TypeSchema) — Optional. Type schema of parameter.
#type_schema=
def type_schema=(value) -> ::Google::Cloud::Dialogflow::CX::V3::TypeSchema
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::TypeSchema) — Optional. Type schema of parameter.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::TypeSchema) — Optional. Type schema of parameter.