Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CodeBlock

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1CodeBlock.



4727
4728
4729
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4727

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

Instance Attribute Details

#codeString

Corresponds to the JSON property code

Returns:

  • (String)


4725
4726
4727
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4725

def code
  @code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4732
4733
4734
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4732

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