Show / Hide Table of Contents

Class SponsorsResource.ListRequest

Retrieves a list of sponsors that match the request criteria for a channel.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<SponsorListResponse>
YouTubeBaseServiceRequest<SponsorListResponse>
SponsorsResource.ListRequest
Implements
IClientServiceRequest<SponsorListResponse>
IClientServiceRequest
Inherited Members
YouTubeBaseServiceRequest<SponsorListResponse>.Xgafv
YouTubeBaseServiceRequest<SponsorListResponse>.AccessToken
YouTubeBaseServiceRequest<SponsorListResponse>.Alt
YouTubeBaseServiceRequest<SponsorListResponse>.Callback
YouTubeBaseServiceRequest<SponsorListResponse>.Fields
YouTubeBaseServiceRequest<SponsorListResponse>.Key
YouTubeBaseServiceRequest<SponsorListResponse>.OauthToken
YouTubeBaseServiceRequest<SponsorListResponse>.PrettyPrint
YouTubeBaseServiceRequest<SponsorListResponse>.QuotaUser
YouTubeBaseServiceRequest<SponsorListResponse>.UploadType
YouTubeBaseServiceRequest<SponsorListResponse>.UploadProtocol
ClientServiceRequest<SponsorListResponse>.Execute()
ClientServiceRequest<SponsorListResponse>.ExecuteAsStream()
ClientServiceRequest<SponsorListResponse>.ExecuteAsync()
ClientServiceRequest<SponsorListResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<SponsorListResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<SponsorListResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<SponsorListResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<SponsorListResponse>.GenerateRequestUri()
ClientServiceRequest<SponsorListResponse>.GetBody()
ClientServiceRequest<SponsorListResponse>.GetDefaultETagAction(String)
ClientServiceRequest<SponsorListResponse>.ETagAction
ClientServiceRequest<SponsorListResponse>.ModifyRequest
ClientServiceRequest<SponsorListResponse>.RequestParameters
ClientServiceRequest<SponsorListResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class ListRequest : YouTubeBaseServiceRequest<SponsorListResponse>, IClientServiceRequest<SponsorListResponse>, 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<System.String> part

Properties

Filter

Parameter that specifies which channel sponsors to return.

Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual SponsorsResource.ListRequest.FilterEnum? Filter { get; set; }
Property Value
Type Description
System.Nullable<SponsorsResource.ListRequest.FilterEnum>

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.SponsorListResponse>.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
System.Nullable<System.Int64>

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.SponsorListResponse>.MethodName

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
System.String

Part

The part parameter specifies the sponsor resource parts that the API response will include. Supported values are id and snippet.

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

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.SponsorListResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.YouTube.v3.YouTubeBaseServiceRequest<Google.Apis.YouTube.v3.Data.SponsorListResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top