UnitVariable

UnitVariable describes a parameter for a Unit.

JSON representation
 { 
 "variable" 
 : 
 string 
 , 
 "type" 
 : 
 enum (  Type 
 
) 
 , 
 "value" 
 : 
 string 
 } 
Fields
variable

string

Required. Immutable. Name of the variable from actuation configs.

type

enum ( Type )

Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.

value

string

Optional. String encoded value for the variable.

Type

Enumeration of variable types. STRUCT and LIST values should be JSON-encoded strings.

Enums
TYPE_UNSPECIFIED Variable type is unspecified.
STRING Variable type is string.
INT Variable type is int.
BOOL Variable type is bool.
STRUCT Variable type is struct.
LIST Variable type is list.
Create a Mobile Website
View Site in Mobile | Classic
Share by: