# Idea Hub API . platforms . properties . ideaStates

## Instance Methods

Close httplib2 connections.

Update an idea state resource.

### Method Details

`close()`

    Close httplib2 connections.

`patch(name, body=None, updateMask=None, x__xgafv=None)`

    Update an idea state resource.

    Args:
      name: string, Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state} (required)
      body: object, The request body.
        The object takes the form of:

    { # Represents idea state specific to a web property.
      "dismissed": True or False, # Whether the idea is dismissed.
      "name": "A String", # Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state}
      "saved": True or False, # Whether the idea is saved.
    }

      updateMask: string, The list of fields to be updated.
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Represents idea state specific to a web property.
      "dismissed": True or False, # Whether the idea is dismissed.
      "name": "A String", # Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state}
      "saved": True or False, # Whether the idea is saved.
    }