Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSchema

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1InlineSchema.



8489
8490
8491
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8489

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

Instance Attribute Details

#itemsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema

Corresponds to the JSON property items



8482
8483
8484
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8482

def items
  @items
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


8487
8488
8489
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8487

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8494
8495
8496
8497
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8494

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