Class: Google::Apis::CesV1::DataStoreToolSnippetsConfig
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::DataStoreToolSnippetsConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Snippets configuration.
Instance Attribute Summary collapse
-
#enable_snippets ⇒ Boolean
(also: #enable_snippets?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataStoreToolSnippetsConfig
constructor
A new instance of DataStoreToolSnippetsConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataStoreToolSnippetsConfig
Returns a new instance of DataStoreToolSnippetsConfig.
2724 2725 2726 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2724 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_snippets ⇒ Boolean Also known as: enable_snippets?
Optional. Whether snippets are enabled.
Corresponds to the JSON property enableSnippets
2721 2722 2723 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2721 def enable_snippets @enable_snippets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2729 2730 2731 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2729 def update!(**args) @enable_snippets = args[:enable_snippets] if args.key?(:enable_snippets) end |