Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo.



5295
5296
5297
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5295

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


5271
5272
5273
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5271

def display_name
  @display_name
end

#just_collectedBoolean Also known as: just_collected?

Corresponds to the JSON property justCollected

Returns:

  • (Boolean)


5276
5277
5278
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5276

def just_collected
  @just_collected
end

#requiredBoolean Also known as: required?

Corresponds to the JSON property required

Returns:

  • (Boolean)


5282
5283
5284
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5282

def required
  @required
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


5288
5289
5290
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5288

def state
  @state
end

#valueObject

Corresponds to the JSON property value

Returns:

  • (Object)


5293
5294
5295
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5293

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5300
5301
5302
5303
5304
5305
5306
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5300

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @just_collected = args[:just_collected] if args.key?(:just_collected)
  @required = args[:required] if args.key?(:required)
  @state = args[:state] if args.key?(:state)
  @value = args[:value] if args.key?(:value)
end