The "activities" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| get ($activityId, $optParams=array()) |
| Get an activity.
|
|
| insert ($userId, Google_Service_PlusDomains_Activity $postBody, $optParams=array()) |
| Create a new activity for the authenticated user.
|
|
| listActivities ($userId, $collection, $optParams=array()) |
| List all of the activities in the specified collection for a particular user.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "activities" collection of methods.
Typical usage is: $plusDomainsService = new Google_Service_PlusDomains(...); $activities = $plusDomainsService->activities;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ get()
Google_Service_PlusDomains_Activities_Resource::get |
( |
| $activityId, |
|
|
| $optParams = array() ) |
Get an activity.
(activities.get)
- Parameters
-
string | $activityId | The ID of the activity to get. |
array | $optParams | Optional parameters. |
- Return values
-
◆ insert()
Create a new activity for the authenticated user.
(activities.insert)
- Parameters
-
string | $userId | The ID of the user to create the activity on behalf of. Its value should be "me", to indicate the authenticated user. |
Google_Activity | $postBody | |
array | $optParams | Optional parameters. |
@opt_param bool preview If "true", extract the potential media attachments for a URL. The response will include all possible attachments for a URL, including video, photos, and articles based on the content of the page.
- Return values
-
◆ listActivities()
Google_Service_PlusDomains_Activities_Resource::listActivities |
( |
| $userId, |
|
|
| $collection, |
|
|
| $optParams = array() ) |
List all of the activities in the specified collection for a particular user.
(activities.listActivities)
- Parameters
-
string | $userId | The ID of the user to get activities for. The special value "me" can be used to indicate the authenticated user. |
string | $collection | The collection of activities to list. |
array | $optParams | Optional parameters. |
@opt_param string pageToken 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. @opt_param string maxResults The maximum number of activities to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/PlusDomains.php