/**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { AxiosPromise } from 'axios';
import { Compute, JWT, OAuth2Client, UserRefreshClient } from 'google-auth-library';
import { BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions } from 'googleapis-common';
export declare namespace youtubeAnalytics_v2 {
    interface Options extends GlobalOptions {
        version: 'v2';
    }
    /**
     * YouTube Analytics API
     *
     * Retrieves your YouTube Analytics data.
     *
     * @example
     * const {google} = require('googleapis');
     * const youtubeAnalytics = google.youtubeAnalytics('v2');
     *
     * @namespace youtubeAnalytics
     * @type {Function}
     * @version v2
     * @variation v2
     * @param {object=} options Options for Youtubeanalytics
     */
    class Youtubeanalytics {
        _options: GlobalOptions;
        google?: GoogleConfigurable;
        root: this;
        groupItems: Resource$Groupitems;
        groups: Resource$Groups;
        reports: Resource$Reports;
        constructor(options: GlobalOptions, google?: GoogleConfigurable);
        getRoot(): this;
    }
    /**
     * Empty response.
     */
    interface Schema$EmptyResponse {
        /**
         * Apiary error details
         */
        errors?: Schema$Errors;
    }
    /**
     * Describes one specific error.
     */
    interface Schema$ErrorProto {
        /**
         * Error arguments, to be used when building user-friendly error messages
         * given the error domain and code.  Different error codes require different
         * arguments.
         */
        argument?: string[];
        /**
         * Error code in the error domain. This should correspond to a value of the
         * enum type whose name is in domain. See the core error domain in
         * error_domain.proto.
         */
        code?: string;
        /**
         * Debugging information, which should not be shared externally.
         */
        debugInfo?: string;
        /**
         * Error domain. RoSy services can define their own domain and error codes.
         * This should normally be the name of an enum type, such as:
         * gdata.CoreErrorDomain
         */
        domain?: string;
        /**
         * A short explanation for the error, which can be shared outside Google.
         * Please set domain, code and arguments whenever possible instead of this
         * error message so that external APIs can build safe error messages
         * themselves.  External messages built in a RoSy interface will most likely
         * refer to information and concepts that are not available externally and
         * should not be exposed. It is safer if external APIs can understand the
         * errors and decide what the error message should look like.
         */
        externalErrorMessage?: string;
        /**
         * Location of the error, as specified by the location type.  If
         * location_type is PATH, this should be a path to a field that&#39;s
         * relative to the request, using FieldPath notation
         * (net/proto2/util/public/field_path.h).  Examples:
         * authenticated_user.gaia_id   resource.address[2].country
         */
        location?: string;
        locationType?: string;
    }
    /**
     * Request Error information.  The presence of an error field signals that the
     * operation has failed.
     */
    interface Schema$Errors {
        /**
         * Global error code. Deprecated and ignored. Set custom error codes in
         * ErrorProto.domain and ErrorProto.code instead.
         */
        code?: string;
        /**
         * Specific error description and codes
         */
        error?: Schema$ErrorProto[];
        /**
         * Request identifier generated by the service, which can be used to
         * identify the error in the logs
         */
        requestId?: string;
    }
    /**
     * A group.
     */
    interface Schema$Group {
        /**
         * The `contentDetails` object contains additional information about the
         * group, such as the number and type of items that it contains.
         */
        contentDetails?: Schema$GroupContentDetails;
        /**
         * Apiary error details
         */
        errors?: Schema$Errors;
        /**
         * The Etag of this resource.
         */
        etag?: string;
        /**
         * The ID that YouTube uses to uniquely identify the group.
         */
        id?: string;
        /**
         * Identifies the API resource&#39;s type. The value will be
         * `youtube#group`.
         */
        kind?: string;
        /**
         * The `snippet` object contains basic information about the group,
         * including its creation date and name.
         */
        snippet?: Schema$GroupSnippet;
    }
    /**
     * A group&#39;s content details.
     */
    interface Schema$GroupContentDetails {
        /**
         * The number of items in the group.
         */
        itemCount?: string;
        /**
         * The type of resources that the group contains.  Valid values for this
         * property are:  * `youtube#channel`  * `youtube#playlist`  *
         * `youtube#video`  * `youtubePartner#asset`
         */
        itemType?: string;
    }
    /**
     * A group item.
     */
    interface Schema$GroupItem {
        /**
         * Apiary error details
         */
        errors?: Schema$Errors;
        /**
         * The Etag of this resource.
         */
        etag?: string;
        /**
         * The ID that YouTube uses to uniquely identify the group that contains the
         * item.
         */
        groupId?: string;
        /**
         * The ID that YouTube uses to uniquely identify the `channel`, `video`,
         * `playlist`, or `asset` resource that is included in the group. Note that
         * this ID refers specifically to the inclusion of that resource in a
         * particular group and is different than the channel ID, video ID, playlist
         * ID, or asset ID that uniquely identifies the resource itself. The
         * `resource.id` property&#39;s value specifies the unique channel, video,
         * playlist, or asset ID.
         */
        id?: string;
        /**
         * Identifies the API resource&#39;s type. The value will be
         * `youtube#groupItem`.
         */
        kind?: string;
        /**
         * The `resource` object contains information that identifies the item being
         * added to the group.
         */
        resource?: Schema$GroupItemResource;
    }
    interface Schema$GroupItemResource {
        /**
         * The channel, video, playlist, or asset ID that YouTube uses to uniquely
         * identify the item that is being added to the group.
         */
        id?: string;
        /**
         * Identifies the type of resource being added to the group.  Valid values
         * for this property are:  * `youtube#channel`  * `youtube#playlist`  *
         * `youtube#video`  * `youtubePartner#asset`
         */
        kind?: string;
    }
    /**
     * A group snippet.
     */
    interface Schema$GroupSnippet {
        /**
         * The date and time that the group was created. The value is specified in
         * ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
         */
        publishedAt?: string;
        /**
         * The group name. The value must be a non-empty string.
         */
        title?: string;
    }
    /**
     * Response message for GroupsService.ListGroupItems.
     */
    interface Schema$ListGroupItemsResponse {
        /**
         * Apiary error details
         */
        errors?: Schema$Errors;
        /**
         * The Etag of this resource.
         */
        etag?: string;
        /**
         * A list of groups that match the API request parameters. Each item in the
         * list represents a `groupItem` resource.
         */
        items?: Schema$GroupItem[];
        /**
         * Identifies the API resource&#39;s type. The value will be
         * `youtube#groupItemListResponse`.
         */
        kind?: string;
    }
    /**
     * Response message for GroupsService.ListGroups.
     */
    interface Schema$ListGroupsResponse {
        /**
         * Apiary error details
         */
        errors?: Schema$Errors;
        /**
         * The Etag of this resource.
         */
        etag?: string;
        /**
         * A list of groups that match the API request parameters. Each item in the
         * list represents a `group` resource.
         */
        items?: Schema$Group[];
        /**
         * Identifies the API resource&#39;s type. The value will be
         * `youtube#groupListResponse`.
         */
        kind?: string;
        /**
         * The token that can be used as the value of the `pageToken` parameter to
         * retrieve the next page in the result set.
         */
        nextPageToken?: string;
    }
    /**
     * Response message for TargetedQueriesService.Query.
     */
    interface Schema$QueryResponse {
        /**
         * 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&amp;metrics=viewerPercentage`, the
         * API response will return columns in this order: `ageGroup`, `gender`,
         * `viewerPercentage`.
         */
        columnHeaders?: Schema$ResultTableColumnHeader[];
        /**
         * When set, indicates that the operation failed.
         */
        errors?: Schema$Errors;
        /**
         * This value specifies the type of data included in the API response. For
         * the query method, the kind property value will be
         * `youtubeAnalytics#resultTable`.
         */
        kind?: string;
        /**
         * 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.
         */
        rows?: any[][];
    }
    /**
     * The description of a column of the result table.
     */
    interface Schema$ResultTableColumnHeader {
        /**
         * The type of the column (`DIMENSION` or `METRIC`).
         */
        columnType?: string;
        /**
         * The type of the data in the column (`STRING`, `INTEGER`, `FLOAT`, etc.).
         */
        dataType?: string;
        /**
         * The name of the dimension or metric.
         */
        name?: string;
    }
    class Resource$Groupitems {
        root: Youtubeanalytics;
        constructor(root: Youtubeanalytics);
        getRoot(): Youtubeanalytics;
        /**
         * youtubeAnalytics.groupItems.delete
         * @desc Removes an item from a group.
         * @alias youtubeAnalytics.groupItems.delete
         * @memberOf! ()
         *
         * @param {object} params Parameters for request
         * @param {string=} params.id The `id` parameter specifies the YouTube group item ID of the group item that is being deleted.
         * @param {string=} params.onBehalfOfContentOwner This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content partners that own and manage many different YouTube channels.  The `onBehalfOfContentOwner` parameter indicates that the request's authorization credentials identify a YouTube user who is acting on behalf of the content owner specified in the parameter value. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The account that the user authenticates with must be linked to the specified YouTube content owner.
         * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param {callback} callback The callback that handles the response.
         * @return {object} Request object
         */
        delete(params?: Params$Resource$Groupitems$Delete, options?: MethodOptions): AxiosPromise<Schema$EmptyResponse>;
        delete(params: Params$Resource$Groupitems$Delete, options: MethodOptions | BodyResponseCallback<Schema$EmptyResponse>, callback: BodyResponseCallback<Schema$EmptyResponse>): void;
        delete(params: Params$Resource$Groupitems$Delete, callback: BodyResponseCallback<Schema$EmptyResponse>): void;
        delete(callback: BodyResponseCallback<Schema$EmptyResponse>): void;
        /**
         * youtubeAnalytics.groupItems.insert
         * @desc Creates a group item.
         * @alias youtubeAnalytics.groupItems.insert
         * @memberOf! ()
         *
         * @param {object} params Parameters for request
         * @param {string=} params.onBehalfOfContentOwner This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content partners that own and manage many different YouTube channels.  The `onBehalfOfContentOwner` parameter indicates that the request's authorization credentials identify a YouTube user who is acting on behalf of the content owner specified in the parameter value. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The account that the user authenticates with must be linked to the specified YouTube content owner.
         * @param {().GroupItem} params.resource Request body data
         * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param {callback} callback The callback that handles the response.
         * @return {object} Request object
         */
        insert(params?: Params$Resource$Groupitems$Insert, options?: MethodOptions): AxiosPromise<Schema$GroupItem>;
        insert(params: Params$Resource$Groupitems$Insert, options: MethodOptions | BodyResponseCallback<Schema$GroupItem>, callback: BodyResponseCallback<Schema$GroupItem>): void;
        insert(params: Params$Resource$Groupitems$Insert, callback: BodyResponseCallback<Schema$GroupItem>): void;
        insert(callback: BodyResponseCallback<Schema$GroupItem>): void;
        /**
         * youtubeAnalytics.groupItems.list
         * @desc Returns a collection of group items that match the API request
         * parameters.
         * @alias youtubeAnalytics.groupItems.list
         * @memberOf! ()
         *
         * @param {object} params Parameters for request
         * @param {string=} params.groupId The `groupId` parameter specifies the unique ID of the group for which you want to retrieve group items.
         * @param {string=} params.onBehalfOfContentOwner This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content partners that own and manage many different YouTube channels.  The `onBehalfOfContentOwner` parameter indicates that the request's authorization credentials identify a YouTube user who is acting on behalf of the content owner specified in the parameter value. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The account that the user authenticates with must be linked to the specified YouTube content owner.
         * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param {callback} callback The callback that handles the response.
         * @return {object} Request object
         */
        list(params?: Params$Resource$Groupitems$List, options?: MethodOptions): AxiosPromise<Schema$ListGroupItemsResponse>;
        list(params: Params$Resource$Groupitems$List, options: MethodOptions | BodyResponseCallback<Schema$ListGroupItemsResponse>, callback: BodyResponseCallback<Schema$ListGroupItemsResponse>): void;
        list(params: Params$Resource$Groupitems$List, callback: BodyResponseCallback<Schema$ListGroupItemsResponse>): void;
        list(callback: BodyResponseCallback<Schema$ListGroupItemsResponse>): void;
    }
    interface Params$Resource$Groupitems$Delete {
        /**
         * Auth client or API Key for the request
         */
        auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
        /**
         * The `id` parameter specifies the YouTube group item ID of the group item
         * that is being deleted.
         */
        id?: string;
        /**
         * This parameter can only be used in a properly authorized request.
         * **Note:** This parameter is intended exclusively for YouTube content
         * partners that own and manage many different YouTube channels.  The
         * `onBehalfOfContentOwner` parameter indicates that the request's
         * authorization credentials identify a YouTube user who is acting on behalf
         * of the content owner specified in the parameter value. It allows content
         * owners to authenticate once and get access to all their video and channel
         * data, without having to provide authentication credentials for each
         * individual channel. The account that the user authenticates with must be
         * linked to the specified YouTube content owner.
         */
        onBehalfOfContentOwner?: string;
    }
    interface Params$Resource$Groupitems$Insert {
        /**
         * Auth client or API Key for the request
         */
        auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
        /**
         * This parameter can only be used in a properly authorized request.
         * **Note:** This parameter is intended exclusively for YouTube content
         * partners that own and manage many different YouTube channels.  The
         * `onBehalfOfContentOwner` parameter indicates that the request's
         * authorization credentials identify a YouTube user who is acting on behalf
         * of the content owner specified in the parameter value. It allows content
         * owners to authenticate once and get access to all their video and channel
         * data, without having to provide authentication credentials for each
         * individual channel. The account that the user authenticates with must be
         * linked to the specified YouTube content owner.
         */
        onBehalfOfContentOwner?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$GroupItem;
    }
    interface Params$Resource$Groupitems$List {
        /**
         * Auth client or API Key for the request
         */
        auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
        /**
         * The `groupId` parameter specifies the unique ID of the group for which
         * you want to retrieve group items.
         */
        groupId?: string;
        /**
         * This parameter can only be used in a properly authorized request.
         * **Note:** This parameter is intended exclusively for YouTube content
         * partners that own and manage many different YouTube channels.  The
         * `onBehalfOfContentOwner` parameter indicates that the request's
         * authorization credentials identify a YouTube user who is acting on behalf
         * of the content owner specified in the parameter value. It allows content
         * owners to authenticate once and get access to all their video and channel
         * data, without having to provide authentication credentials for each
         * individual channel. The account that the user authenticates with must be
         * linked to the specified YouTube content owner.
         */
        onBehalfOfContentOwner?: string;
    }
    class Resource$Groups {
        root: Youtubeanalytics;
        constructor(root: Youtubeanalytics);
        getRoot(): Youtubeanalytics;
        /**
         * youtubeAnalytics.groups.delete
         * @desc Deletes a group.
         * @alias youtubeAnalytics.groups.delete
         * @memberOf! ()
         *
         * @param {object} params Parameters for request
         * @param {string=} params.id The `id` parameter specifies the YouTube group ID of the group that is being deleted.
         * @param {string=} params.onBehalfOfContentOwner This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content partners that own and manage many different YouTube channels.  The `onBehalfOfContentOwner` parameter indicates that the request's authorization credentials identify a YouTube user who is acting on behalf of the content owner specified in the parameter value. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The account that the user authenticates with must be linked to the specified YouTube content owner.
         * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param {callback} callback The callback that handles the response.
         * @return {object} Request object
         */
        delete(params?: Params$Resource$Groups$Delete, options?: MethodOptions): AxiosPromise<Schema$EmptyResponse>;
        delete(params: Params$Resource$Groups$Delete, options: MethodOptions | BodyResponseCallback<Schema$EmptyResponse>, callback: BodyResponseCallback<Schema$EmptyResponse>): void;
        delete(params: Params$Resource$Groups$Delete, callback: BodyResponseCallback<Schema$EmptyResponse>): void;
        delete(callback: BodyResponseCallback<Schema$EmptyResponse>): void;
        /**
         * youtubeAnalytics.groups.insert
         * @desc Creates a group.
         * @alias youtubeAnalytics.groups.insert
         * @memberOf! ()
         *
         * @param {object} params Parameters for request
         * @param {string=} params.onBehalfOfContentOwner This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content partners that own and manage many different YouTube channels.  The `onBehalfOfContentOwner` parameter indicates that the request's authorization credentials identify a YouTube user who is acting on behalf of the content owner specified in the parameter value. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The account that the user authenticates with must be linked to the specified YouTube content owner.
         * @param {().Group} params.resource Request body data
         * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param {callback} callback The callback that handles the response.
         * @return {object} Request object
         */
        insert(params?: Params$Resource$Groups$Insert, options?: MethodOptions): AxiosPromise<Schema$Group>;
        insert(params: Params$Resource$Groups$Insert, options: MethodOptions | BodyResponseCallback<Schema$Group>, callback: BodyResponseCallback<Schema$Group>): void;
        insert(params: Params$Resource$Groups$Insert, callback: BodyResponseCallback<Schema$Group>): void;
        insert(callback: BodyResponseCallback<Schema$Group>): void;
        /**
         * youtubeAnalytics.groups.list
         * @desc Returns a collection of groups that match the API request
         * parameters. For example, you can retrieve all groups that the
         * authenticated user owns, or you can retrieve one or more groups by their
         * unique IDs.
         * @alias youtubeAnalytics.groups.list
         * @memberOf! ()
         *
         * @param {object} params Parameters for request
         * @param {string=} params.id The `id` parameter specifies a comma-separated list of the YouTube group ID(s) for the resource(s) that are being retrieved. Each group must be owned by the authenticated user. In a `group` resource, the `id` property specifies the group's YouTube group ID.  Note that if you do not specify a value for the `id` parameter, then you must set the `mine` parameter to `true`.
         * @param {boolean=} params.mine This parameter can only be used in a properly authorized request. Set this parameter's value to true to retrieve all groups owned by the authenticated user.
         * @param {string=} params.onBehalfOfContentOwner This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content partners that own and manage many different YouTube channels.  The `onBehalfOfContentOwner` parameter indicates that the request's authorization credentials identify a YouTube user who is acting on behalf of the content owner specified in the parameter value. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The account that the user authenticates with must be linked to the specified YouTube content owner.
         * @param {string=} params.pageToken The `pageToken` parameter identifies a specific page in the result set that should be returned. In an API response, the `nextPageToken` property identifies the next page that can be retrieved.
         * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param {callback} callback The callback that handles the response.
         * @return {object} Request object
         */
        list(params?: Params$Resource$Groups$List, options?: MethodOptions): AxiosPromise<Schema$ListGroupsResponse>;
        list(params: Params$Resource$Groups$List, options: MethodOptions | BodyResponseCallback<Schema$ListGroupsResponse>, callback: BodyResponseCallback<Schema$ListGroupsResponse>): void;
        list(params: Params$Resource$Groups$List, callback: BodyResponseCallback<Schema$ListGroupsResponse>): void;
        list(callback: BodyResponseCallback<Schema$ListGroupsResponse>): void;
        /**
         * youtubeAnalytics.groups.update
         * @desc Modifies a group. For example, you could change a group's title.
         * @alias youtubeAnalytics.groups.update
         * @memberOf! ()
         *
         * @param {object} params Parameters for request
         * @param {string=} params.onBehalfOfContentOwner This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content partners that own and manage many different YouTube channels.  The `onBehalfOfContentOwner` parameter indicates that the request's authorization credentials identify a YouTube user who is acting on behalf of the content owner specified in the parameter value. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The account that the user authenticates with must be linked to the specified YouTube content owner.
         * @param {().Group} params.resource Request body data
         * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param {callback} callback The callback that handles the response.
         * @return {object} Request object
         */
        update(params?: Params$Resource$Groups$Update, options?: MethodOptions): AxiosPromise<Schema$Group>;
        update(params: Params$Resource$Groups$Update, options: MethodOptions | BodyResponseCallback<Schema$Group>, callback: BodyResponseCallback<Schema$Group>): void;
        update(params: Params$Resource$Groups$Update, callback: BodyResponseCallback<Schema$Group>): void;
        update(callback: BodyResponseCallback<Schema$Group>): void;
    }
    interface Params$Resource$Groups$Delete {
        /**
         * Auth client or API Key for the request
         */
        auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
        /**
         * The `id` parameter specifies the YouTube group ID of the group that is
         * being deleted.
         */
        id?: string;
        /**
         * This parameter can only be used in a properly authorized request.
         * **Note:** This parameter is intended exclusively for YouTube content
         * partners that own and manage many different YouTube channels.  The
         * `onBehalfOfContentOwner` parameter indicates that the request's
         * authorization credentials identify a YouTube user who is acting on behalf
         * of the content owner specified in the parameter value. It allows content
         * owners to authenticate once and get access to all their video and channel
         * data, without having to provide authentication credentials for each
         * individual channel. The account that the user authenticates with must be
         * linked to the specified YouTube content owner.
         */
        onBehalfOfContentOwner?: string;
    }
    interface Params$Resource$Groups$Insert {
        /**
         * Auth client or API Key for the request
         */
        auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
        /**
         * This parameter can only be used in a properly authorized request.
         * **Note:** This parameter is intended exclusively for YouTube content
         * partners that own and manage many different YouTube channels.  The
         * `onBehalfOfContentOwner` parameter indicates that the request's
         * authorization credentials identify a YouTube user who is acting on behalf
         * of the content owner specified in the parameter value. It allows content
         * owners to authenticate once and get access to all their video and channel
         * data, without having to provide authentication credentials for each
         * individual channel. The account that the user authenticates with must be
         * linked to the specified YouTube content owner.
         */
        onBehalfOfContentOwner?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Group;
    }
    interface Params$Resource$Groups$List {
        /**
         * Auth client or API Key for the request
         */
        auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
        /**
         * The `id` parameter specifies a comma-separated list of the YouTube group
         * ID(s) for the resource(s) that are being retrieved. Each group must be
         * owned by the authenticated user. In a `group` resource, the `id` property
         * specifies the group's YouTube group ID.  Note that if you do not specify
         * a value for the `id` parameter, then you must set the `mine` parameter to
         * `true`.
         */
        id?: string;
        /**
         * This parameter can only be used in a properly authorized request. Set
         * this parameter's value to true to retrieve all groups owned by the
         * authenticated user.
         */
        mine?: boolean;
        /**
         * This parameter can only be used in a properly authorized request.
         * **Note:** This parameter is intended exclusively for YouTube content
         * partners that own and manage many different YouTube channels.  The
         * `onBehalfOfContentOwner` parameter indicates that the request's
         * authorization credentials identify a YouTube user who is acting on behalf
         * of the content owner specified in the parameter value. It allows content
         * owners to authenticate once and get access to all their video and channel
         * data, without having to provide authentication credentials for each
         * individual channel. The account that the user authenticates with must be
         * linked to the specified YouTube content owner.
         */
        onBehalfOfContentOwner?: string;
        /**
         * The `pageToken` parameter identifies a specific page in the result set
         * that should be returned. In an API response, the `nextPageToken` property
         * identifies the next page that can be retrieved.
         */
        pageToken?: string;
    }
    interface Params$Resource$Groups$Update {
        /**
         * Auth client or API Key for the request
         */
        auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
        /**
         * This parameter can only be used in a properly authorized request.
         * **Note:** This parameter is intended exclusively for YouTube content
         * partners that own and manage many different YouTube channels.  The
         * `onBehalfOfContentOwner` parameter indicates that the request's
         * authorization credentials identify a YouTube user who is acting on behalf
         * of the content owner specified in the parameter value. It allows content
         * owners to authenticate once and get access to all their video and channel
         * data, without having to provide authentication credentials for each
         * individual channel. The account that the user authenticates with must be
         * linked to the specified YouTube content owner.
         */
        onBehalfOfContentOwner?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Group;
    }
    class Resource$Reports {
        root: Youtubeanalytics;
        constructor(root: Youtubeanalytics);
        getRoot(): Youtubeanalytics;
        /**
         * youtubeAnalytics.reports.query
         * @desc Retrieve your YouTube Analytics reports.
         * @alias youtubeAnalytics.reports.query
         * @memberOf! ()
         *
         * @param {object} params Parameters for request
         * @param {string=} params.currency The currency to which financial metrics should be converted. The default is US Dollar (USD). If the result contains no financial metrics, this flag will be ignored. Responds with an error if the specified currency is not recognized.", pattern: [A-Z]{3}
         * @param {string=} params.dimensions A comma-separated list of YouTube Analytics dimensions, such as `views` or `ageGroup,gender`. See the [Available Reports](/youtube/analytics/v2/available_reports) document for a list of the reports that you can retrieve and the dimensions used for those reports. Also see the [Dimensions](/youtube/analytics/v2/dimsmets/dims) document for definitions of those dimensions." pattern: [0-9a-zA-Z,]+
         * @param {string=} params.endDate The end date for fetching YouTube Analytics data. The value should be in `YYYY-MM-DD` format. required: true, pattern: [0-9]{4}-[0-9]{2}-[0-9]{2}
         * @param {string=} params.filters A list of filters that should be applied when retrieving YouTube Analytics data. The [Available Reports](/youtube/analytics/v2/available_reports) document identifies the dimensions that can be used to filter each report, and the [Dimensions](/youtube/analytics/v2/dimsmets/dims)  document defines those dimensions. If a request uses multiple filters, join them together with a semicolon (`;`), and the returned result table will satisfy both filters. For example, a filters parameter value of `video==dMH0bHeiRNg;country==IT` restricts the result set to include data for the given video in Italy.",
         * @param {string=} params.ids Identifies the YouTube channel or content owner for which you are retrieving YouTube Analytics data.  - To request data for a YouTube user, set the `ids` parameter value to   `channel==CHANNEL_ID`, where `CHANNEL_ID` specifies the unique YouTube   channel ID. - To request data for a YouTube CMS content owner, set the `ids` parameter   value to `contentOwner==OWNER_NAME`, where `OWNER_NAME` is the CMS name   of the content owner. required: true, pattern: [a-zA-Z]+==[a-zA-Z0-9_+-]+
         * @param {boolean=} params.includeHistoricalChannelData If set to true historical data (i.e. channel data from before the linking of the channel to the content owner) will be retrieved.",
         * @param {integer=} params.maxResults The maximum number of rows to include in the response.", minValue: 1
         * @param {string=} params.metrics A comma-separated list of YouTube Analytics metrics, such as `views` or `likes,dislikes`. See the [Available Reports](/youtube/analytics/v2/available_reports)  document for a list of the reports that you can retrieve and the metrics available in each report, and see the [Metrics](/youtube/analytics/v2/dimsmets/mets) document for definitions of those metrics. required: true, pattern: [0-9a-zA-Z,]+
         * @param {string=} params.sort A comma-separated list of dimensions or metrics that determine the sort order for YouTube Analytics data. By default the sort order is ascending. The '`-`' prefix causes descending sort order.", pattern: [-0-9a-zA-Z,]+
         * @param {string=} params.startDate The start date for fetching YouTube Analytics data. The value should be in `YYYY-MM-DD` format. required: true, pattern: "[0-9]{4}-[0-9]{2}-[0-9]{2}
         * @param {integer=} params.startIndex An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter (one-based, inclusive).", minValue: 1
         * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param {callback} callback The callback that handles the response.
         * @return {object} Request object
         */
        query(params?: Params$Resource$Reports$Query, options?: MethodOptions): AxiosPromise<Schema$QueryResponse>;
        query(params: Params$Resource$Reports$Query, options: MethodOptions | BodyResponseCallback<Schema$QueryResponse>, callback: BodyResponseCallback<Schema$QueryResponse>): void;
        query(params: Params$Resource$Reports$Query, callback: BodyResponseCallback<Schema$QueryResponse>): void;
        query(callback: BodyResponseCallback<Schema$QueryResponse>): void;
    }
    interface Params$Resource$Reports$Query {
        /**
         * Auth client or API Key for the request
         */
        auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
        /**
         * The currency to which financial metrics should be converted. The default
         * is US Dollar (USD). If the result contains no financial metrics, this
         * flag will be ignored. Responds with an error if the specified currency is
         * not recognized.", pattern: [A-Z]{3}
         */
        currency?: string;
        /**
         * A comma-separated list of YouTube Analytics dimensions, such as `views`
         * or `ageGroup,gender`. See the [Available
         * Reports](/youtube/analytics/v2/available_reports) document for a list of
         * the reports that you can retrieve and the dimensions used for those
         * reports. Also see the [Dimensions](/youtube/analytics/v2/dimsmets/dims)
         * document for definitions of those dimensions." pattern: [0-9a-zA-Z,]+
         */
        dimensions?: string;
        /**
         * The end date for fetching YouTube Analytics data. The value should be in
         * `YYYY-MM-DD` format. required: true, pattern: [0-9]{4}-[0-9]{2}-[0-9]{2}
         */
        endDate?: string;
        /**
         * A list of filters that should be applied when retrieving YouTube
         * Analytics data. The [Available
         * Reports](/youtube/analytics/v2/available_reports) document identifies the
         * dimensions that can be used to filter each report, and the
         * [Dimensions](/youtube/analytics/v2/dimsmets/dims)  document defines those
         * dimensions. If a request uses multiple filters, join them together with a
         * semicolon (`;`), and the returned result table will satisfy both filters.
         * For example, a filters parameter value of
         * `video==dMH0bHeiRNg;country==IT` restricts the result set to include data
         * for the given video in Italy.",
         */
        filters?: string;
        /**
         * Identifies the YouTube channel or content owner for which you are
         * retrieving YouTube Analytics data.  - To request data for a YouTube user,
         * set the `ids` parameter value to   `channel==CHANNEL_ID`, where
         * `CHANNEL_ID` specifies the unique YouTube   channel ID. - To request data
         * for a YouTube CMS content owner, set the `ids` parameter   value to
         * `contentOwner==OWNER_NAME`, where `OWNER_NAME` is the CMS name   of the
         * content owner. required: true, pattern: [a-zA-Z]+==[a-zA-Z0-9_+-]+
         */
        ids?: string;
        /**
         * If set to true historical data (i.e. channel data from before the linking
         * of the channel to the content owner) will be retrieved.",
         */
        includeHistoricalChannelData?: boolean;
        /**
         * The maximum number of rows to include in the response.", minValue: 1
         */
        maxResults?: number;
        /**
         * A comma-separated list of YouTube Analytics metrics, such as `views` or
         * `likes,dislikes`. See the [Available
         * Reports](/youtube/analytics/v2/available_reports)  document for a list of
         * the reports that you can retrieve and the metrics available in each
         * report, and see the [Metrics](/youtube/analytics/v2/dimsmets/mets)
         * document for definitions of those metrics. required: true, pattern:
         * [0-9a-zA-Z,]+
         */
        metrics?: string;
        /**
         * A comma-separated list of dimensions or metrics that determine the sort
         * order for YouTube Analytics data. By default the sort order is ascending.
         * The '`-`' prefix causes descending sort order.", pattern: [-0-9a-zA-Z,]+
         */
        sort?: string;
        /**
         * The start date for fetching YouTube Analytics data. The value should be
         * in `YYYY-MM-DD` format. required: true, pattern:
         * "[0-9]{4}-[0-9]{2}-[0-9]{2}
         */
        startDate?: string;
        /**
         * An index of the first entity to retrieve. Use this parameter as a
         * pagination mechanism along with the max-results parameter (one-based,
         * inclusive).", minValue: 1
         */
        startIndex?: number;
    }
}
