Idea Hub API . platforms . properties . ideaActivities

Instance Methods

close()

Close httplib2 connections.

create(parent, body=None, x__xgafv=None)

Creates an idea activity entry.

Method Details

close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates an idea activity entry.

Args:
  parent: string, Required. The parent resource where this idea activity will be created. Format: platforms/{platform}/property/{property} (required)
  body: object, The request body.
    The object takes the form of:

{ # An idea activity entry.
  "ideas": [ # The Idea IDs for this entry. If empty, topics should be set.
    "A String",
  ],
  "name": "A String", # Unique identifier for the idea activity. The name is ignored when creating an idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}
  "topics": [ # The Topic IDs for this entry. If empty, ideas should be set.
    "A String",
  ],
  "type": "A String", # The type of activity performed.
  "uri": "A String", # The uri the activity relates to.
}

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

Returns:
  An object of the form:

    { # An idea activity entry.
  "ideas": [ # The Idea IDs for this entry. If empty, topics should be set.
    "A String",
  ],
  "name": "A String", # Unique identifier for the idea activity. The name is ignored when creating an idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}
  "topics": [ # The Topic IDs for this entry. If empty, ideas should be set.
    "A String",
  ],
  "type": "A String", # The type of activity performed.
  "uri": "A String", # The uri the activity relates to.
}