Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CodeBlock
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CodeBlock
- 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
-
#code ⇒ String
Corresponds to the JSON property
code.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1CodeBlock
constructor
A new instance of GoogleCloudDialogflowCxV3beta1CodeBlock.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#code ⇒ String
Corresponds to the JSON property code
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 |