Reference documentation and code samples for the Google Cloud Saas Platform Saas Service Mgmt V1 Client class UnitVariable.
UnitVariable describes a parameter for a Unit.
Generated from protobuf message google.cloud.saasplatform.saasservicemgmt.v1.UnitVariable
Namespace
Google \ Cloud \ SaasPlatform \ SaasServiceMgmt \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ variable |
string
Required. Immutable. Name of the variable from actuation configs. |
↳ type |
int
Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool. |
↳ value |
string
Optional. String encoded value for the variable. |
getVariable
Required. Immutable. Name of the variable from actuation configs.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVariable
Required. Immutable. Name of the variable from actuation configs.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Type. |
setType
Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Type. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValue
Optional. String encoded value for the variable.
| Returns | |
|---|---|
| Type | Description |
string |
|
setValue
Optional. String encoded value for the variable.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|