Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FormParameter

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) ⇒ GoogleCloudDialogflowCxV3beta1FormParameter

Returns a new instance of GoogleCloudDialogflowCxV3beta1FormParameter.



4368
4369
4370
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4368

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

Instance Attribute Details

#advanced_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings

Corresponds to the JSON property advancedSettings



4328
4329
4330
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4328

def advanced_settings
  @advanced_settings
end

#default_valueObject

Corresponds to the JSON property defaultValue

Returns:

  • (Object)


4333
4334
4335
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4333

def default_value
  @default_value
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


4338
4339
4340
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4338

def display_name
  @display_name
end

#entity_typeString

Corresponds to the JSON property entityType

Returns:

  • (String)


4343
4344
4345
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4343

def entity_type
  @entity_type
end

#fill_behaviorGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior

Corresponds to the JSON property fillBehavior



4348
4349
4350
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4348

def fill_behavior
  @fill_behavior
end

#is_listBoolean Also known as: is_list?

Corresponds to the JSON property isList

Returns:

  • (Boolean)


4353
4354
4355
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4353

def is_list
  @is_list
end

#redactBoolean Also known as: redact?

Corresponds to the JSON property redact

Returns:

  • (Boolean)


4359
4360
4361
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4359

def redact
  @redact
end

#requiredBoolean Also known as: required?

Corresponds to the JSON property required

Returns:

  • (Boolean)


4365
4366
4367
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4365

def required
  @required
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4373

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