google_api_plus v0.1.0 GoogleApi.Plus.V1.Api.Comments View Source
API calls for all endpoints tagged Comments
.
Link to this section Summary
Link to this section Functions
Link to this function
plus_comments_get(connection, comment_id, opts \\ [])
View Source
plus_comments_get(Tesla.Env.client(), String.t(), keyword()) :: {:ok, GoogleApi.Plus.V1.Model.Comment.t()} | {:error, Tesla.Env.t()}
Get a comment.
Parameters
- connection (GoogleApi.Plus.V1.Connection): Connection to server
- comment_id (String.t): The ID of the comment to get.
opts (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
Returns
{:ok, %GoogleApi.Plus.V1.Model.Comment{}} on success {:error, info} on failure
Link to this function
plus_comments_list(connection, activity_id, opts \\ [])
View Source
plus_comments_list(Tesla.Env.client(), String.t(), keyword()) :: {:ok, GoogleApi.Plus.V1.Model.CommentFeed.t()} | {:error, Tesla.Env.t()}
List all of the comments for an activity.
Parameters
- connection (GoogleApi.Plus.V1.Connection): Connection to server
- activity_id (String.t): The ID of the activity to get comments for.
opts (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :maxResults (integer()): The maximum number of comments to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.
- :pageToken (String.t): The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
- :sortOrder (String.t): The order in which to sort the list of comments.
Returns
{:ok, %GoogleApi.Plus.V1.Model.CommentFeed{}} on success {:error, info} on failure