Google Cloud Discovery Engine V1beta Client - Class Interval (0.6.0)

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

A floating point interval.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ minimum float

Inclusive lower bound.

↳ exclusive_minimum float

Exclusive lower bound.

↳ maximum float

Inclusive upper bound.

↳ exclusive_maximum float

Exclusive upper bound.

getMinimum

Inclusive lower bound.

Returns
TypeDescription
float

hasMinimum

setMinimum

Inclusive lower bound.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getExclusiveMinimum

Exclusive lower bound.

Returns
TypeDescription
float

hasExclusiveMinimum

setExclusiveMinimum

Exclusive lower bound.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMaximum

Inclusive upper bound.

Returns
TypeDescription
float

hasMaximum

setMaximum

Inclusive upper bound.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getExclusiveMaximum

Exclusive upper bound.

Returns
TypeDescription
float

hasExclusiveMaximum

setExclusiveMaximum

Exclusive upper bound.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMin

Returns
TypeDescription
string

getMax

Returns
TypeDescription
string