Reference documentation and code samples for the Google Cloud Commerce Consumer Procurement V1 Client class Parameter.
User-provided Parameters.
Generated from protobuf message google.cloud.commerce.consumer.procurement.v1.Parameter
Namespace
Google \ Cloud \ Commerce \ Consumer \ Procurement \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Name of the parameter. |
↳ value |
Parameter\Value
Value of parameter. |
getName
Name of the parameter.
Returns | |
---|---|
Type | Description |
string |
setName
Name of the parameter.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Value of parameter.
Returns | |
---|---|
Type | Description |
Parameter\Value|null |
hasValue
clearValue
setValue
Value of parameter.
Parameter | |
---|---|
Name | Description |
var |
Parameter\Value
|
Returns | |
---|---|
Type | Description |
$this |