Class: Google::Apis::CesV1::ChannelProfileWebWidgetConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ChannelProfileWebWidgetConfig

Returns a new instance of ChannelProfileWebWidgetConfig.



1539
1540
1541
# File 'lib/google/apis/ces_v1/classes.rb', line 1539

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

Instance Attribute Details

#modalityString

Optional. The modality of the web widget. Corresponds to the JSON property modality

Returns:

  • (String)


1522
1523
1524
# File 'lib/google/apis/ces_v1/classes.rb', line 1522

def modality
  @modality
end

#security_settingsGoogle::Apis::CesV1::ChannelProfileWebWidgetConfigSecuritySettings

Security settings for the web widget. Corresponds to the JSON property securitySettings



1527
1528
1529
# File 'lib/google/apis/ces_v1/classes.rb', line 1527

def security_settings
  @security_settings
end

#themeString

Optional. The theme of the web widget. Corresponds to the JSON property theme

Returns:

  • (String)


1532
1533
1534
# File 'lib/google/apis/ces_v1/classes.rb', line 1532

def theme
  @theme
end

#web_widget_titleString

Optional. The title of the web widget. Corresponds to the JSON property webWidgetTitle

Returns:

  • (String)


1537
1538
1539
# File 'lib/google/apis/ces_v1/classes.rb', line 1537

def web_widget_title
  @web_widget_title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1544
1545
1546
1547
1548
1549
# File 'lib/google/apis/ces_v1/classes.rb', line 1544

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