Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo

Returns a new instance of GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo.



10093
10094
10095
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10093

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


10069
10070
10071
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10069

def display_name
  @display_name
end

#just_collectedBoolean Also known as: just_collected?

Corresponds to the JSON property justCollected

Returns:

  • (Boolean)


10074
10075
10076
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10074

def just_collected
  @just_collected
end

#requiredBoolean Also known as: required?

Corresponds to the JSON property required

Returns:

  • (Boolean)


10080
10081
10082
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10080

def required
  @required
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


10086
10087
10088
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10086

def state
  @state
end

#valueObject

Corresponds to the JSON property value

Returns:

  • (Object)


10091
10092
10093
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10091

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10098
10099
10100
10101
10102
10103
10104
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10098

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