Class Google::Cloud::Dialogflow::CX::V3::Intent::Parameter (v0.4.0)

Represents an intent parameter.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#entity_type

def entity_type() -> ::String
Returns
  • (::String) — Required. The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.

#entity_type=

def entity_type=(value) -> ::String
Parameter
  • value (::String) — Required. The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.
Returns
  • (::String) — Required. The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.

#id

def id() -> ::String
Returns
  • (::String) — Required. The unique identifier of the parameter. This field is used by training phrases to annotate their parts.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — Required. The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
Returns
  • (::String) — Required. The unique identifier of the parameter. This field is used by training phrases to annotate their parts.

#is_list

def is_list() -> ::Boolean
Returns
  • (::Boolean) — Indicates whether the parameter represents a list of values.

#is_list=

def is_list=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Indicates whether the parameter represents a list of values.
Returns
  • (::Boolean) — Indicates whether the parameter represents a list of values.

#redact

def redact() -> ::Boolean
Returns
  • (::Boolean) — Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.

#redact=

def redact=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
Returns
  • (::Boolean) — Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.