Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1TypeSchema.



13674
13675
13676
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13674

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

Instance Attribute Details

#inline_schemaGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSchema

Corresponds to the JSON property inlineSchema



13667
13668
13669
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13667

def inline_schema
  @inline_schema
end

#schema_referenceGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference

Corresponds to the JSON property schemaReference



13672
13673
13674
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13672

def schema_reference
  @schema_reference
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13679
13680
13681
13682
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13679

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