Idea Hub API . platforms . properties . topicStates

Instance Methods

close()

Close httplib2 connections.

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

Update a topic state resource.

Method Details

close()
Close httplib2 connections.
patch(name, body=None, updateMask=None, x__xgafv=None)
Update a topic state resource.

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

{ # Represents topic state specific to a web property.
  "dismissed": True or False, # Whether the topic is dismissed.
  "name": "A String", # Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}
  "saved": True or False, # Whether the topic 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 topic state specific to a web property.
  "dismissed": True or False, # Whether the topic is dismissed.
  "name": "A String", # Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}
  "saved": True or False, # Whether the topic is saved.
}