Reference documentation and code samples for the Google Cloud Ces V1 Client class WebWidgetConfig.
Message for configuration for the web widget.
Generated from protobuf message google.cloud.ces.v1.ChannelProfile.WebWidgetConfig
Namespace
Google \ Cloud \ Ces \ V1 \ ChannelProfileMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ modality |
int
Optional. The modality of the web widget. |
↳ theme |
int
Optional. The theme of the web widget. |
↳ web_widget_title |
string
Optional. The title of the web widget. |
↳ security_settings |
WebWidgetConfig\SecuritySettings
Optional. The security settings of the web widget. |
getModality
Optional. The modality of the web widget.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Modality. |
setModality
Optional. The modality of the web widget.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Modality. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTheme
Optional. The theme of the web widget.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Theme. |
setTheme
Optional. The theme of the web widget.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Theme. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getWebWidgetTitle
Optional. The title of the web widget.
| Returns | |
|---|---|
| Type | Description |
string |
|
setWebWidgetTitle
Optional. The title of the web widget.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSecuritySettings
Optional. The security settings of the web widget.
| Returns | |
|---|---|
| Type | Description |
WebWidgetConfig\SecuritySettings|null |
|
hasSecuritySettings
clearSecuritySettings
setSecuritySettings
Optional. The security settings of the web widget.
| Parameter | |
|---|---|
| Name | Description |
var |
WebWidgetConfig\SecuritySettings
|
| Returns | |
|---|---|
| Type | Description |
$this |
|