Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TypeSchema

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TypeSchema

Returns a new instance of GoogleCloudDialogflowCxV3TypeSchema.



8896
8897
8898
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8896

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

Instance Attribute Details

#inline_schemaGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSchema

Corresponds to the JSON property inlineSchema



8889
8890
8891
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8889

def inline_schema
  @inline_schema
end

#schema_referenceGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TypeSchemaSchemaReference

Corresponds to the JSON property schemaReference



8894
8895
8896
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8894

def schema_reference
  @schema_reference
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8901
8902
8903
8904
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8901

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