#include <you_tube_service.h>
Acts as message factory for accessing data.
◆ ActivitiesResource()
google_youtube_api::YouTubeService::ActivitiesResource::ActivitiesResource |
( |
YouTubeService * |
service | ) |
|
|
explicit |
Standard constructor.
- Parameters
-
[in] | service | The service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on. |
◆ ~ActivitiesResource()
google_youtube_api::YouTubeService::ActivitiesResource::~ActivitiesResource |
( |
| ) |
|
|
inline |
◆ NewInsertMethod()
ActivitiesResource_InsertMethod * google_youtube_api::YouTubeService::ActivitiesResource::NewInsertMethod |
( |
client::AuthorizationCredential * |
_credential_, |
|
|
const absl::string_view & |
part, |
|
|
const Activity & |
_content_ |
|
) |
| const |
Creates a new ActivitiesResource_InsertMethod instance.
- Parameters
-
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | part | The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. |
[in] | <em>content</em> | The data object to insert. |
- Returns
- The caller should
Execute
the method instance, then destroy it when they are finished.
◆ NewListMethod()
ActivitiesResource_ListMethod * google_youtube_api::YouTubeService::ActivitiesResource::NewListMethod |
( |
client::AuthorizationCredential * |
_credential_, |
|
|
const absl::string_view & |
part |
|
) |
| const |
Creates a new ActivitiesResource_ListMethod instance.
- Parameters
-
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | part | The part parameter specifies a comma-separated list of one or more activity resource properties that the API response will include. |
If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in an activity resource, the snippet property contains other properties that identify the type of activity, a display title for the activity, and so forth. If you set part=snippet, the API response will also contain all of those nested properties.
- Returns
- The caller should
Execute
the method instance, then destroy it when they are finished.
◆ NewListMethodPager()
ActivitiesResource_ListMethodPager * google_youtube_api::YouTubeService::ActivitiesResource::NewListMethodPager |
( |
client::AuthorizationCredential * |
_credential_, |
|
|
const absl::string_view & |
part |
|
) |
| const |
Creates a pager for iterating over incremental result pages.
- Parameters
-
[in] | <em>credential</em> | NULL credentials will not authorize the request. |
[in] | part | The part parameter specifies a comma-separated list of one or more activity resource properties that the API response will include. |
If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in an activity resource, the snippet property contains other properties that identify the type of activity, a display title for the activity, and so forth. If you set part=snippet, the API response will also contain all of those nested properties.
- See also
- googleapis::googleapis::ServiceRequestPager
The documentation for this class was generated from the following files: