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
-
(::Array<::Google::Cloud::DiscoveryEngine::V1beta::Condition::TimeRange>) — Range of time(s) specifying when condition is active.
Maximum of 10 time ranges.
#active_time_range=
def active_time_range=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::Condition::TimeRange>
Parameter
-
value (::Array<::Google::Cloud::DiscoveryEngine::V1beta::Condition::TimeRange>) — Range of time(s) specifying when condition is active.
Maximum of 10 time ranges.
Returns
-
(::Array<::Google::Cloud::DiscoveryEngine::V1beta::Condition::TimeRange>) — Range of time(s) specifying when condition is active.
Maximum of 10 time ranges.
#query_terms
def query_terms() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::Condition::QueryTerm>
Returns
-
(::Array<::Google::Cloud::DiscoveryEngine::V1beta::Condition::QueryTerm>) — Search only
A list of terms to match the query on.
Maximum of 10 query terms.
#query_terms=
def query_terms=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::Condition::QueryTerm>
Parameter
-
value (::Array<::Google::Cloud::DiscoveryEngine::V1beta::Condition::QueryTerm>) — Search only
A list of terms to match the query on.
Maximum of 10 query terms.
Returns
-
(::Array<::Google::Cloud::DiscoveryEngine::V1beta::Condition::QueryTerm>) — Search only
A list of terms to match the query on.
Maximum of 10 query terms.