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

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class CustomerProvidedConfig.

Customer provided configurations.

Generated from protobuf message google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ WidgetConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ customer_type int

Customer type.

↳ compliance_level int

Output only. The customer's Assured Workloads compliance level. customer_type collapses every compliance level into a single GOVERNMENT_CUSTOMER value, so a client that gates a feature on one specific level rather than on government status as a whole must read this field instead.

getCustomerType

Customer type.

Returns
Type Description
int Enum of type CustomerType.

setCustomerType

Customer type.

Parameter
Name Description
var int

Enum of type CustomerType.

Returns
Type Description
$this

getComplianceLevel

Output only. The customer's Assured Workloads compliance level.

customer_type collapses every compliance level into a single GOVERNMENT_CUSTOMER value, so a client that gates a feature on one specific level rather than on government status as a whole must read this field instead.

Returns
Type Description
int Enum of type ComplianceLevel.

setComplianceLevel

Output only. The customer's Assured Workloads compliance level.

customer_type collapses every compliance level into a single GOVERNMENT_CUSTOMER value, so a client that gates a feature on one specific level rather than on government status as a whole must read this field instead.

Parameter
Name Description
var int

Enum of type ComplianceLevel.

Returns
Type Description
$this