Google Cloud Discovery Engine V1 Client - Class DeviceVisibility (1.17.0)

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 \ UIComponentField

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

DEVICE_VISIBILITY_UNSPECIFIED

Value: 0

Default value when not specified. Server returns INVALID_ARGUMENT if used in requests.

Generated from protobuf enum DEVICE_VISIBILITY_UNSPECIFIED = 0;

MOBILE

Value: 1

The UI component is visible on Mobile devices.

Generated from protobuf enum MOBILE = 1;

DESKTOP

Value: 2

The UI component is visible on Browser-based client.

Generated from protobuf enum DESKTOP = 2;