Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FormParameter

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3FormParameter

Returns a new instance of GoogleCloudDialogflowCxV3FormParameter.



3227
3228
3229
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3227

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

Instance Attribute Details

#advanced_settingsGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings

Corresponds to the JSON property advancedSettings



3187
3188
3189
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3187

def advanced_settings
  @advanced_settings
end

#default_valueObject

Corresponds to the JSON property defaultValue

Returns:

  • (Object)


3192
3193
3194
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3192

def default_value
  @default_value
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3197
3198
3199
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3197

def display_name
  @display_name
end

#entity_typeString

Corresponds to the JSON property entityType

Returns:

  • (String)


3202
3203
3204
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3202

def entity_type
  @entity_type
end

#fill_behaviorGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FormParameterFillBehavior

Corresponds to the JSON property fillBehavior



3207
3208
3209
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3207

def fill_behavior
  @fill_behavior
end

#is_listBoolean Also known as: is_list?

Corresponds to the JSON property isList

Returns:

  • (Boolean)


3212
3213
3214
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3212

def is_list
  @is_list
end

#redactBoolean Also known as: redact?

Corresponds to the JSON property redact

Returns:

  • (Boolean)


3218
3219
3220
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3218

def redact
  @redact
end

#requiredBoolean Also known as: required?

Corresponds to the JSON property required

Returns:

  • (Boolean)


3224
3225
3226
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3224

def required
  @required
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3232

def update!(**args)
  @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
  @default_value = args[:default_value] if args.key?(:default_value)
  @display_name = args[:display_name] if args.key?(:display_name)
  @entity_type = args[:entity_type] if args.key?(:entity_type)
  @fill_behavior = args[:fill_behavior] if args.key?(:fill_behavior)
  @is_list = args[:is_list] if args.key?(:is_list)
  @redact = args[:redact] if args.key?(:redact)
  @required = args[:required] if args.key?(:required)
end