Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::Condition (v1.3.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::Condition.

Defines circumstances to be checked before allowing a behavior

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#active_time_range

def active_time_range() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::Condition::TimeRange>
Returns

#active_time_range=

def active_time_range=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::Condition::TimeRange>
Parameter
Returns

#query_regex

def query_regex() -> ::String
Returns
  • (::String) — Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. This is currently supporting promotion use case.

#query_regex=

def query_regex=(value) -> ::String
Parameter
  • value (::String) — Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. This is currently supporting promotion use case.
Returns
  • (::String) — Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. This is currently supporting promotion use case.

#query_terms

def query_terms() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::Condition::QueryTerm>
Returns

#query_terms=

def query_terms=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::Condition::QueryTerm>
Parameter
Returns