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.



8766
8767
8768
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8766

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

Instance Attribute Details

#entity_typeString

Corresponds to the JSON property entityType

Returns:

  • (String)


8747
8748
8749
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8747

def entity_type
  @entity_type
end

#idString

Corresponds to the JSON property id

Returns:

  • (String)


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

def id
  @id
end

#is_listBoolean Also known as: is_list?

Corresponds to the JSON property isList

Returns:

  • (Boolean)


8757
8758
8759
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8757

def is_list
  @is_list
end

#redactBoolean Also known as: redact?

Corresponds to the JSON property redact

Returns:

  • (Boolean)


8763
8764
8765
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8763

def redact
  @redact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8771
8772
8773
8774
8775
8776
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8771

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