Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class DeviceVisibility.
The visibility of the field on different type of devices.
Protobuf type google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField.DeviceVisibility
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ WidgetConfig \ UIComponentFieldMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
DEVICE_VISIBILITY_UNSPECIFIED
Value: 0Default value when not specified. Server returns INVALID_ARGUMENT if used in requests.
Generated from protobuf enum DEVICE_VISIBILITY_UNSPECIFIED = 0;
MOBILE
Value: 1The UI component is visible on Mobile devices.
Generated from protobuf enum MOBILE = 1;
DESKTOP
Value: 2The UI component is visible on Browser-based client.
Generated from protobuf enum DESKTOP = 2;