0.17.0 (latest) 0.16.0 0.15.1 0.14.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.1 0.3.1 0.2.0 0.1.3 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 \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The resource name of the `OperatingSystemVersion`. Format: `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}` |
| `↳ 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` |   |