Show / Hide Table of Contents

Class QueryResponse

Response message for TargetedQueriesService.Query.

Inheritance
object
QueryResponse
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.YouTubeAnalytics.v2.Data
Assembly: Google.Apis.YouTubeAnalytics.v2.dll
Syntax
public class QueryResponse : IDirectResponseSchema

Properties

ColumnHeaders

This value specifies information about the data returned in the rows fields. Each item in the columnHeaders list identifies a field returned in the rows value, which contains a list of comma-delimited data. The columnHeaders list will begin with the dimensions specified in the API request, which will be followed by the metrics specified in the API request. The order of both dimensions and metrics will match the ordering in the API request. For example, if the API request contains the parameters dimensions=ageGroup,gender&metrics=viewerPercentage, the API response will return columns in this order: ageGroup, gender, viewerPercentage.

Declaration
[JsonProperty("columnHeaders")]
public virtual IList<ResultTableColumnHeader> ColumnHeaders { get; set; }
Property Value
Type Description
IList<ResultTableColumnHeader>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Errors

When set, indicates that the operation failed.

Declaration
[JsonProperty("errors")]
public virtual Errors Errors { get; set; }
Property Value
Type Description
Errors

Kind

This value specifies the type of data included in the API response. For the query method, the kind property value will be youtubeAnalytics#resultTable.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

Rows

The list contains all rows of the result table. Each item in the list is an array that contains comma-delimited data corresponding to a single row of data. The order of the comma-delimited data fields will match the order of the columns listed in the columnHeaders field. If no data is available for the given query, the rows element will be omitted from the response. The response for a query with the day dimension will not contain rows for the most recent days.

Declaration
[JsonProperty("rows")]
public virtual IList<IList<object>> Rows { get; set; }
Property Value
Type Description
IList<IList<object>>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX