# Security Command Center API . organizations . assets

## Instance Methods

Close httplib2 connections.

Retrieves the next page of results.

Retrieves the next page of results.

### Method Details

`close()`

    Close httplib2 connections.

`group(parent, body=None, x__xgafv=None)`

    Args:
      parent: string, A parameter (required)
      body: object, The request body.
        The object takes the form of:

    {
      "compareDuration": "A String",
      "filter": "A String",
      "groupBy": "A String",
      "pageSize": 42,
      "pageToken": "A String",
      "readTime": "A String",
    }

      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        {
      "groupByResults": [
        {
          "count": "A String",
          "properties": {
            "a_key": "",
          },
        },
      ],
      "nextPageToken": "A String",
      "readTime": "A String",
      "totalSize": 42,
    }

`group_next(previous_request, previous_response)`

    Retrieves the next page of results.

    Args:
      previous_request: The request for the previous page. (required)
      previous_response: The response from the request for the previous page. (required)

    Returns:
      A request object that you can call 'execute()' on to request the next
      page. Returns None if there are no more items in the collection.

`list(parent, compareDuration=None, fieldMask=None, filter=None, orderBy=None, pageSize=None, pageToken=None, readTime=None, x__xgafv=None)`

    Args:
      parent: string, A parameter (required)
      compareDuration: string, A parameter
      fieldMask: string, A parameter
      filter: string, A parameter
      orderBy: string, A parameter
      pageSize: integer, A parameter
      pageToken: string, A parameter
      readTime: string, A parameter
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        {
      "listAssetsResults": [
        {
          "asset": {
            "canonicalName": "A String",
            "createTime": "A String",
            "iamPolicy": {
              "policyBlob": "A String",
            },
            "name": "A String",
            "resourceProperties": {
              "a_key": "",
            },
            "securityCenterProperties": {
              "folders": [
                {
                  "resourceFolder": "A String",
                  "resourceFolderDisplayName": "A String",
                },
              ],
              "resourceDisplayName": "A String",
              "resourceName": "A String",
              "resourceOwners": [
                "A String",
              ],
              "resourceParent": "A String",
              "resourceParentDisplayName": "A String",
              "resourceProject": "A String",
              "resourceProjectDisplayName": "A String",
              "resourceType": "A String",
            },
            "securityMarks": {
              "canonicalName": "A String",
              "marks": {
                "a_key": "A String",
              },
              "name": "A String",
            },
            "updateTime": "A String",
          },
          "stateChange": "A String",
        },
      ],
      "nextPageToken": "A String",
      "readTime": "A String",
      "totalSize": 42,
    }

`list_next(previous_request, previous_response)`

    Retrieves the next page of results.

    Args:
      previous_request: The request for the previous page. (required)
      previous_response: The response from the request for the previous page. (required)

    Returns:
      A request object that you can call 'execute()' on to request the next
      page. Returns None if there are no more items in the collection.

`runDiscovery(parent, body=None, x__xgafv=None)`

    Args:
      parent: string, A parameter (required)
      body: object, The request body.
        The object takes the form of:

    {
    }

      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        {
      "done": True or False,
      "error": {
        "code": 42,
        "details": [
          {
            "a_key": "", # Properties of the object. Contains field @type with type URL.
          },
        ],
        "message": "A String",
      },
      "metadata": {
        "a_key": "", # Properties of the object. Contains field @type with type URL.
      },
      "name": "A String",
      "response": {
        "a_key": "", # Properties of the object. Contains field @type with type URL.
      },
    }

`updateSecurityMarks(name, body=None, startTime=None, updateMask=None, x__xgafv=None)`

    Args:
      name: string, A parameter (required)
      body: object, The request body.
        The object takes the form of:

    {
      "canonicalName": "A String",
      "marks": {
        "a_key": "A String",
      },
      "name": "A String",
    }

      startTime: string, A parameter
      updateMask: string, A parameter
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        {
      "canonicalName": "A String",
      "marks": {
        "a_key": "A String",
      },
      "name": "A String",
    }