Reference documentation and code samples for the Google Cloud Retail V2 Client class ProductAttributeInterval.
Product attribute name and numeric interval.
Generated from protobuf message google.cloud.retail.v2.ProductAttributeInterval
Namespace
Google \ Cloud \ Retail \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
The attribute name (e.g. "length") |
↳ interval |
Interval
The numeric interval (e.g. [10, 20)) |
getName
The attribute name (e.g. "length")
Returns | |
---|---|
Type | Description |
string |
setName
The attribute name (e.g. "length")
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getInterval
The numeric interval (e.g. [10, 20))
Returns | |
---|---|
Type | Description |
Interval|null |
hasInterval
clearInterval
setInterval
The numeric interval (e.g. [10, 20))
Parameter | |
---|---|
Name | Description |
var |
Interval
|
Returns | |
---|---|
Type | Description |
$this |