The GASLocation Thing Shape adds the country and region properties to any GAS Thing that implements it. These properties specify the location information for a GAS Thing using a STRING base type. The property aspects are set as follows:
• dataChangeType—The setting, VALUE, means that this property is written to when the value changes.
• isPersistent—The setting, true, means that the property value is stored in the database and is not reset after a restart.
• Read Only—When set to true, the property value cannot be changed.
The GASLocation Thing Shape provides the following services that can you can execute on a GAS Thing that implements this Thing Shape:
Service Name | Description | Parameters |
---|
UpdateCountry | Updates the country value for the country property of the implementing GAS Thing. No result is returned. | REQUIRED. country, which a string that identifies the country to pin the GAS Thing to. The base type of this parameter is STRING. |
UpdateRegion | Updates the region value for the region property of the implementing GAS Thing. No result is returned. | REQUIRED. region, which a string that identifies the region to pin the GAS Thing to. |