Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1ParameterDefinition.



10143
10144
10145
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10143

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


10126
10127
10128
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10126

def description
  @description
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


10131
10132
10133
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10131

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


10136
10137
10138
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10136

def type
  @type
end

#type_schemaGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema

Corresponds to the JSON property typeSchema



10141
10142
10143
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10141

def type_schema
  @type_schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10148
10149
10150
10151
10152
10153
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10148

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @name = args[:name] if args.key?(:name)
  @type = args[:type] if args.key?(:type)
  @type_schema = args[:type_schema] if args.key?(:type_schema)
end