Google Cloud Discovery Engine V1beta Client - Class Condition (0.11.3)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class Condition.

Defines circumstances to be checked before allowing a behavior

Generated from protobuf message google.cloud.discoveryengine.v1beta.Condition

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ query_terms array<Google\Cloud\DiscoveryEngine\V1beta\Condition\QueryTerm>

Search only A list of terms to match the query on. Maximum of 10 query terms.

↳ active_time_range array<Google\Cloud\DiscoveryEngine\V1beta\Condition\TimeRange>

Range of time(s) specifying when condition is active. Maximum of 10 time ranges.

getQueryTerms

Search only A list of terms to match the query on.

Maximum of 10 query terms.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setQueryTerms

Search only A list of terms to match the query on.

Maximum of 10 query terms.

Parameter
Name Description
var array<Google\Cloud\DiscoveryEngine\V1beta\Condition\QueryTerm>
Returns
Type Description
$this

getActiveTimeRange

Range of time(s) specifying when condition is active.

Maximum of 10 time ranges.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setActiveTimeRange

Range of time(s) specifying when condition is active.

Maximum of 10 time ranges.

Parameter
Name Description
var array<Google\Cloud\DiscoveryEngine\V1beta\Condition\TimeRange>
Returns
Type Description
$this