Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo

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

Returns a new instance of GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo.



5686
5687
5688
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5686

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


5662
5663
5664
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5662

def display_name
  @display_name
end

#just_collectedBoolean Also known as: just_collected?

Corresponds to the JSON property justCollected

Returns:

  • (Boolean)


5667
5668
5669
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5667

def just_collected
  @just_collected
end

#requiredBoolean Also known as: required?

Corresponds to the JSON property required

Returns:

  • (Boolean)


5673
5674
5675
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5673

def required
  @required
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


5679
5680
5681
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5679

def state
  @state
end

#valueObject

Corresponds to the JSON property value

Returns:

  • (Object)


5684
5685
5686
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5684

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5691
5692
5693
5694
5695
5696
5697
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5691

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