Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo.



11626
11627
11628
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11626

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


11602
11603
11604
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11602

def display_name
  @display_name
end

#just_collectedBoolean Also known as: just_collected?

Corresponds to the JSON property justCollected

Returns:

  • (Boolean)


11607
11608
11609
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11607

def just_collected
  @just_collected
end

#requiredBoolean Also known as: required?

Corresponds to the JSON property required

Returns:

  • (Boolean)


11613
11614
11615
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11613

def required
  @required
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


11619
11620
11621
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11619

def state
  @state
end

#valueObject

Corresponds to the JSON property value

Returns:

  • (Object)


11624
11625
11626
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11624

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11631
11632
11633
11634
11635
11636
11637
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11631

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