# DCM/DFA Reporting And Trafficking API . operatingSystemVersions

## Instance Methods

Gets one operating system version by ID.

Retrieves a list of operating system versions.

### Method Details

`get(profileId, id)`

    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)

    Returns:
      An object of the form:

        { # Contains information about a particular version of an operating system that can be targeted by ads.
        "id": "A String", # ID of this operating system version.
        "kind": "dfareporting#operatingSystemVersion", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
        "majorVersion": "A String", # Major version (leftmost number) of this operating system version.
        "minorVersion": "A String", # Minor version (number after the first dot) of this operating system version.
        "name": "A String", # Name of this operating system version.
        "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": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
          "mobile": True or False, # Whether this operating system is for mobile.
          "name": "A String", # Name of this operating system.
        },
      }

`list(profileId)`

    Retrieves a list of operating system versions.

    Args:
      profileId: string, User profile ID associated with this request. (required)

    Returns:
      An object of the form:

        { # Operating System Version List Response
        "kind": "dfareporting#operatingSystemVersionsListResponse", # 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.
            "id": "A String", # ID of this operating system version.
            "kind": "dfareporting#operatingSystemVersion", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
            "majorVersion": "A String", # Major version (leftmost number) of this operating system version.
            "minorVersion": "A String", # Minor version (number after the first dot) of this operating system version.
            "name": "A String", # Name of this operating system version.
            "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": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
              "mobile": True or False, # Whether this operating system is for mobile.
              "name": "A String", # Name of this operating system.
            },
          },
        ],
      }