Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1IntentParameter

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1IntentParameter

Returns a new instance of GoogleCloudDialogflowCxV3beta1IntentParameter.



4997
4998
4999
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4997

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

Instance Attribute Details

#entity_typeString

Corresponds to the JSON property entityType

Returns:

  • (String)


4978
4979
4980
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4978

def entity_type
  @entity_type
end

#idString

Corresponds to the JSON property id

Returns:

  • (String)


4983
4984
4985
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4983

def id
  @id
end

#is_listBoolean Also known as: is_list?

Corresponds to the JSON property isList

Returns:

  • (Boolean)


4988
4989
4990
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4988

def is_list
  @is_list
end

#redactBoolean Also known as: redact?

Corresponds to the JSON property redact

Returns:

  • (Boolean)


4994
4995
4996
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4994

def redact
  @redact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5002
5003
5004
5005
5006
5007
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5002

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