# DCM/DFA Reporting And Trafficking API . operatingSystems

## Instance Methods

Close httplib2 connections.

Gets one operating system by DART ID.

Retrieves a list of operating systems.

### Method Details

`close()`

    Close httplib2 connections.

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

    Gets one operating system by DART ID.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      dartId: string, Operating system DART 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 an operating system that can be targeted by ads.
        "mobile": True or False, # Whether this operating system is for mobile.
        "name": "A String", # Name of this operating system.
        "desktop": True or False, # Whether this operating system is for desktop.
        "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
      }

`list(profileId, x__xgafv=None)`

    Retrieves a list of operating systems.

    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 List Response
        "operatingSystems": [ # Operating system collection.
          { # Contains information about an operating system that can be targeted by ads.
            "mobile": True or False, # Whether this operating system is for mobile.
            "name": "A String", # Name of this operating system.
            "desktop": True or False, # Whether this operating system is for desktop.
            "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
          },
        ],
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemsListResponse".
      }