Show / Hide Table of Contents

Class ActivitiesResource.ListRequest

Retrieves a list of resources, possibly filtered.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ActivityListResponse>
YouTubeBaseServiceRequest<ActivityListResponse>
ActivitiesResource.ListRequest
Implements
IClientServiceRequest<ActivityListResponse>
IClientServiceRequest
Inherited Members
YouTubeBaseServiceRequest<ActivityListResponse>.Xgafv
YouTubeBaseServiceRequest<ActivityListResponse>.AccessToken
YouTubeBaseServiceRequest<ActivityListResponse>.Alt
YouTubeBaseServiceRequest<ActivityListResponse>.Callback
YouTubeBaseServiceRequest<ActivityListResponse>.Fields
YouTubeBaseServiceRequest<ActivityListResponse>.Key
YouTubeBaseServiceRequest<ActivityListResponse>.OauthToken
YouTubeBaseServiceRequest<ActivityListResponse>.PrettyPrint
YouTubeBaseServiceRequest<ActivityListResponse>.QuotaUser
YouTubeBaseServiceRequest<ActivityListResponse>.UploadType
YouTubeBaseServiceRequest<ActivityListResponse>.UploadProtocol
ClientServiceRequest<ActivityListResponse>.Execute()
ClientServiceRequest<ActivityListResponse>.ExecuteAsStream()
ClientServiceRequest<ActivityListResponse>.ExecuteAsync()
ClientServiceRequest<ActivityListResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ActivityListResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ActivityListResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ActivityListResponse>.CreateRequest(bool?)
ClientServiceRequest<ActivityListResponse>.GenerateRequestUri()
ClientServiceRequest<ActivityListResponse>.GetBody()
ClientServiceRequest<ActivityListResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ActivityListResponse>.ETagAction
ClientServiceRequest<ActivityListResponse>.ModifyRequest
ClientServiceRequest<ActivityListResponse>.ValidateParameters
ClientServiceRequest<ActivityListResponse>.ApiVersion
ClientServiceRequest<ActivityListResponse>.RequestParameters
ClientServiceRequest<ActivityListResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class ActivitiesResource.ListRequest : YouTubeBaseServiceRequest<ActivityListResponse>, IClientServiceRequest<ActivityListResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, Repeatable<string>)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, Repeatable<string> part)
Parameters
Type Name Description
IClientService service
Repeatable<string> part

Properties

ChannelId

Declaration
[RequestParameter("channelId", RequestParameterType.Query)]
public virtual string ChannelId { get; set; }
Property Value
Type Description
string

Home

Declaration
[RequestParameter("home", RequestParameterType.Query)]
public virtual bool? Home { get; set; }
Property Value
Type Description
bool?

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ActivityListResponse>.HttpMethod

MaxResults

The maxResults parameter specifies the maximum number of items that should be returned in the result set.

Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual long? MaxResults { get; set; }
Property Value
Type Description
long?

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ActivityListResponse>.MethodName

Mine

Declaration
[RequestParameter("mine", RequestParameterType.Query)]
public virtual bool? Mine { get; set; }
Property Value
Type Description
bool?

PageToken

The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

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.

Declaration
[RequestParameter("part", RequestParameterType.Query)]
public virtual Repeatable<string> Part { get; }
Property Value
Type Description
Repeatable<string>

PublishedAfter

object representation of PublishedAfterRaw.

Declaration
[Obsolete("This property is obsolete and may behave unexpectedly; please use PublishedAfterDateTimeOffset instead.")]
public virtual object PublishedAfter { get; set; }
Property Value
Type Description
object

PublishedAfterDateTimeOffset

Declaration
public virtual DateTimeOffset? PublishedAfterDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

PublishedAfterRaw

String representation of PublishedAfterDateTimeOffset, formatted for inclusion in the HTTP request.

Declaration
[RequestParameter("publishedAfter", RequestParameterType.Query)]
public virtual string PublishedAfterRaw { get; }
Property Value
Type Description
string

PublishedBefore

object representation of PublishedBeforeRaw.

Declaration
[Obsolete("This property is obsolete and may behave unexpectedly; please use PublishedBeforeDateTimeOffset instead.")]
public virtual object PublishedBefore { get; set; }
Property Value
Type Description
object

PublishedBeforeDateTimeOffset

Declaration
public virtual DateTimeOffset? PublishedBeforeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

PublishedBeforeRaw

String representation of PublishedBeforeDateTimeOffset, formatted for inclusion in the HTTP request.

Declaration
[RequestParameter("publishedBefore", RequestParameterType.Query)]
public virtual string PublishedBeforeRaw { get; }
Property Value
Type Description
string

RegionCode

Declaration
[RequestParameter("regionCode", RequestParameterType.Query)]
public virtual string RegionCode { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ActivityListResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
YouTubeBaseServiceRequest<ActivityListResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX