Class: Google::Apis::CesV1::ChannelProfileWebWidgetConfig
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::ChannelProfileWebWidgetConfig
- 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
Message for configuration for the web widget.
Instance Attribute Summary collapse
-
#modality ⇒ String
Optional.
-
#security_settings ⇒ Google::Apis::CesV1::ChannelProfileWebWidgetConfigSecuritySettings
Security settings for the web widget.
-
#theme ⇒ String
Optional.
-
#web_widget_title ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChannelProfileWebWidgetConfig
constructor
A new instance of ChannelProfileWebWidgetConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChannelProfileWebWidgetConfig
Returns a new instance of ChannelProfileWebWidgetConfig.
1580 1581 1582 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1580 def initialize(**args) update!(**args) end |
Instance Attribute Details
#modality ⇒ String
Optional. The modality of the web widget.
Corresponds to the JSON property modality
1563 1564 1565 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1563 def modality @modality end |
#security_settings ⇒ Google::Apis::CesV1::ChannelProfileWebWidgetConfigSecuritySettings
Security settings for the web widget.
Corresponds to the JSON property securitySettings
1568 1569 1570 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1568 def security_settings @security_settings end |
#theme ⇒ String
Optional. The theme of the web widget.
Corresponds to the JSON property theme
1573 1574 1575 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1573 def theme @theme end |
#web_widget_title ⇒ String
Optional. The title of the web widget.
Corresponds to the JSON property webWidgetTitle
1578 1579 1580 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1578 def @web_widget_title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1585 1586 1587 1588 1589 1590 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1585 def update!(**args) @modality = args[:modality] if args.key?(:modality) @security_settings = args[:security_settings] if args.key?(:security_settings) @theme = args[:theme] if args.key?(:theme) @web_widget_title = args[:web_widget_title] if args.key?(:web_widget_title) end |