Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo

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

Returns a new instance of GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo.



1927
1928
1929
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1927

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


1903
1904
1905
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1903

def display_name
  @display_name
end

#just_collectedBoolean Also known as: just_collected?

Corresponds to the JSON property justCollected

Returns:

  • (Boolean)


1908
1909
1910
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1908

def just_collected
  @just_collected
end

#requiredBoolean Also known as: required?

Corresponds to the JSON property required

Returns:

  • (Boolean)


1914
1915
1916
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1914

def required
  @required
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


1920
1921
1922
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1920

def state
  @state
end

#valueObject

Corresponds to the JSON property value

Returns:

  • (Object)


1925
1926
1927
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1925

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1932
1933
1934
1935
1936
1937
1938
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1932

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