Reference documentation and code samples for the Compute V1 Client class TimeZone.
Represents a time zone from the IANA Time Zone Database.
Generated from protobuf message google.cloud.compute.v1.TimeZone
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ id |
string
IANA Time Zone Database time zone. For example "America/New_York". |
↳ version |
string
Optional. IANA Time Zone Database version number. For example "2019a". |
getId
IANA Time Zone Database time zone. For example "America/New_York".
| Returns | |
|---|---|
| Type | Description |
string |
|
hasId
clearId
setId
IANA Time Zone Database time zone. For example "America/New_York".
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVersion
Optional. IANA Time Zone Database version number. For example "2019a".
| Returns | |
|---|---|
| Type | Description |
string |
|
hasVersion
clearVersion
setVersion
Optional. IANA Time Zone Database version number. For example "2019a".
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|