Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::Condition (v0.16.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::Condition::TimeRange>
Returns

#active_time_range=

def active_time_range=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::Condition::QueryTerm>
Returns

#query_terms=

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