Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentParameter

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1IntentParameter

Returns a new instance of GoogleCloudDialogflowCxV3beta1IntentParameter.



8754
8755
8756
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8754

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#entity_typeString

Corresponds to the JSON property entityType

Returns:

  • (String)


8735
8736
8737
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8735

def entity_type
  @entity_type
end

#idString

Corresponds to the JSON property id

Returns:

  • (String)


8740
8741
8742
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8740

def id
  @id
end

#is_listBoolean Also known as: is_list?

Corresponds to the JSON property isList

Returns:

  • (Boolean)


8745
8746
8747
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8745

def is_list
  @is_list
end

#redactBoolean Also known as: redact?

Corresponds to the JSON property redact

Returns:

  • (Boolean)


8751
8752
8753
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8751

def redact
  @redact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8759
8760
8761
8762
8763
8764
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8759

def update!(**args)
  @entity_type = args[:entity_type] if args.key?(:entity_type)
  @id = args[:id] if args.key?(:id)
  @is_list = args[:is_list] if args.key?(:is_list)
  @redact = args[:redact] if args.key?(:redact)
end