# DCM/DFA Reporting And Trafficking API . operatingSystemVersions

## Instance Methods

Close httplib2 connections.

Gets one operating system version by ID.

Retrieves a list of operating system versions.

### Method Details

`close()`

    Close httplib2 connections.

`get(profileId, id, x__xgafv=None)`

    Gets one operating system version by ID.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      id: string, Operating system version ID. (required)
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Contains information about a particular version of an operating system that can be targeted by ads.
        "minorVersion": "A String", # Minor version (number after the first dot) of this operating system version.
        "name": "A String", # Name of this operating system version.
        "majorVersion": "A String", # Major version (leftmost number) of this operating system version.
        "id": "A String", # ID of this operating system version.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
        "operatingSystem": { # Contains information about an operating system that can be targeted by ads. # Operating system of this operating system version.
          "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
          "desktop": True or False, # Whether this operating system is for desktop.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
          "name": "A String", # Name of this operating system.
          "mobile": True or False, # Whether this operating system is for mobile.
        },
      }

`list(profileId, x__xgafv=None)`

    Retrieves a list of operating system versions.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Operating System Version List Response
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersionsListResponse".
        "operatingSystemVersions": [ # Operating system version collection.
          { # Contains information about a particular version of an operating system that can be targeted by ads.
            "minorVersion": "A String", # Minor version (number after the first dot) of this operating system version.
            "name": "A String", # Name of this operating system version.
            "majorVersion": "A String", # Major version (leftmost number) of this operating system version.
            "id": "A String", # ID of this operating system version.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
            "operatingSystem": { # Contains information about an operating system that can be targeted by ads. # Operating system of this operating system version.
              "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
              "desktop": True or False, # Whether this operating system is for desktop.
              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
              "name": "A String", # Name of this operating system.
              "mobile": True or False, # Whether this operating system is for mobile.
            },
          },
        ],
      }