Reference documentation and code samples for the Google Ads Ad Manager V1 Client class OperatingSystemVersion.
Represents a specific version of an operating system.
Generated from protobuf message google.ads.admanager.v1.OperatingSystemVersion
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The resource name of the |
↳ major_version |
int
Output only. The major version of the operating system. |
↳ minor_version |
int
Output only. The minor version of the operating system. |
↳ micro_version |
int
Output only. The micro version of the operating system. |
getName
Identifier. The resource name of the OperatingSystemVersion.
Format:
networks/{network_code}/operatingSystemVersions/{operating_system_version_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The resource name of the OperatingSystemVersion.
Format:
networks/{network_code}/operatingSystemVersions/{operating_system_version_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMajorVersion
Output only. The major version of the operating system.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasMajorVersion
clearMajorVersion
setMajorVersion
Output only. The major version of the operating system.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMinorVersion
Output only. The minor version of the operating system.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasMinorVersion
clearMinorVersion
setMinorVersion
Output only. The minor version of the operating system.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMicroVersion
Output only. The micro version of the operating system.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasMicroVersion
clearMicroVersion
setMicroVersion
Output only. The micro version of the operating system.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|