text: // NOTE: This file was generated by the ServiceGenerator.
  
  // ----------------------------------------------------------------------------
  // API:
  //   Google Analytics API (analytics/v3)
  // Description:
  //   Views and manages your Google Analytics data.
  // Documentation:
  //   https://developers.google.com/analytics/
  
  #if SWIFT_PACKAGE || GTLR_USE_MODULAR_IMPORT
    @import GoogleAPIClientForRESTCore;
  #elif GTLR_BUILT_AS_FRAMEWORK
    #import "GTLR/GTLRObject.h"
  #else
    #import "GTLRObject.h"
  #endif
  
  #if GTLR_RUNTIME_VERSION != 3000
  #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source.
  #endif
  
  @class GTLRAnalytics_Account;
  @class GTLRAnalytics_Account_ChildLink;
  @class GTLRAnalytics_Account_Permissions;
  @class GTLRAnalytics_AccountRef;
  @class GTLRAnalytics_AccountSummary;
  @class GTLRAnalytics_AdWordsAccount;
  @class GTLRAnalytics_Column;
  @class GTLRAnalytics_Column_Attributes;
  @class GTLRAnalytics_CustomDataSource;
  @class GTLRAnalytics_CustomDataSource_ChildLink;
  @class GTLRAnalytics_CustomDataSource_ParentLink;
  @class GTLRAnalytics_CustomDimension;
  @class GTLRAnalytics_CustomDimension_ParentLink;
  @class GTLRAnalytics_CustomMetric;
  @class GTLRAnalytics_CustomMetric_ParentLink;
  @class GTLRAnalytics_EntityAdWordsLink;
  @class GTLRAnalytics_EntityAdWordsLink_Entity;
  @class GTLRAnalytics_EntityUserLink;
  @class GTLRAnalytics_EntityUserLink_Entity;
  @class GTLRAnalytics_EntityUserLink_Permissions;
  @class GTLRAnalytics_Experiment;
  @class GTLRAnalytics_Experiment_ParentLink;
  @class GTLRAnalytics_Experiment_Variations_Item;
  @class GTLRAnalytics_Filter;
  @class GTLRAnalytics_Filter_AdvancedDetails;
  @class GTLRAnalytics_Filter_LowercaseDetails;
  @class GTLRAnalytics_Filter_ParentLink;
  @class GTLRAnalytics_Filter_SearchAndReplaceDetails;
  @class GTLRAnalytics_Filter_UppercaseDetails;
  @class GTLRAnalytics_FilterExpression;
  @class GTLRAnalytics_FilterRef;
  @class GTLRAnalytics_GaData_ColumnHeaders_Item;
  @class GTLRAnalytics_GaData_DataTable;
  @class GTLRAnalytics_GaData_DataTable_Cols_Item;
  @class GTLRAnalytics_GaData_DataTable_Rows_Item;
  @class GTLRAnalytics_GaData_DataTable_Rows_Item_C_Item;
  @class GTLRAnalytics_GaData_ProfileInfo;
  @class GTLRAnalytics_GaData_Query;
  @class GTLRAnalytics_GaData_TotalsForAllResults;
  @class GTLRAnalytics_Goal;
  @class GTLRAnalytics_Goal_EventDetails;
  @class GTLRAnalytics_Goal_EventDetails_EventConditions_Item;
  @class GTLRAnalytics_Goal_ParentLink;
  @class GTLRAnalytics_Goal_UrlDestinationDetails;
  @class GTLRAnalytics_Goal_UrlDestinationDetails_Steps_Item;
  @class GTLRAnalytics_Goal_VisitNumPagesDetails;
  @class GTLRAnalytics_Goal_VisitTimeOnSiteDetails;
  @class GTLRAnalytics_IncludeConditions;
  @class GTLRAnalytics_LinkedForeignAccount;
  @class GTLRAnalytics_McfData_ColumnHeaders_Item;
  @class GTLRAnalytics_McfData_ProfileInfo;
  @class GTLRAnalytics_McfData_Query;
  @class GTLRAnalytics_McfData_Rows_Item;
  @class GTLRAnalytics_McfData_Rows_Item_ConversionPathValue_Item;
  @class GTLRAnalytics_McfData_TotalsForAllResults;
  @class GTLRAnalytics_Profile;
  @class GTLRAnalytics_Profile_ChildLink;
  @class GTLRAnalytics_Profile_ParentLink;
  @class GTLRAnalytics_Profile_Permissions;
  @class GTLRAnalytics_ProfileFilterLink;
  @class GTLRAnalytics_ProfileRef;
  @class GTLRAnalytics_ProfileSummary;
  @class GTLRAnalytics_RealtimeData_ColumnHeaders_Item;
  @class GTLRAnalytics_RealtimeData_ProfileInfo;
  @class GTLRAnalytics_RealtimeData_Query;
  @class GTLRAnalytics_RealtimeData_TotalsForAllResults;
  @class GTLRAnalytics_RemarketingAudience;
  @class GTLRAnalytics_RemarketingAudience_AudienceDefinition;
  @class GTLRAnalytics_RemarketingAudience_StateBasedAudienceDefinition;
  @class GTLRAnalytics_RemarketingAudience_StateBasedAudienceDefinition_ExcludeConditions;
  @class GTLRAnalytics_Segment;
  @class GTLRAnalytics_UnsampledReport;
  @class GTLRAnalytics_UnsampledReport_CloudStorageDownloadDetails;
  @class GTLRAnalytics_UnsampledReport_DriveDownloadDetails;
  @class GTLRAnalytics_Upload;
  @class GTLRAnalytics_UserDeletionRequest_Id;
  @class GTLRAnalytics_UserRef;
  @class GTLRAnalytics_Webproperty;
  @class GTLRAnalytics_Webproperty_ChildLink;
  @class GTLRAnalytics_Webproperty_ParentLink;
  @class GTLRAnalytics_Webproperty_Permissions;
  @class GTLRAnalytics_WebPropertyRef;
  @class GTLRAnalytics_WebPropertySummary;
  
  // Generated comments include content from the discovery document; avoid them
  // causing warnings since clang's checks are some what arbitrary.
  #pragma clang diagnostic push
  #pragma clang diagnostic ignored "-Wdocumentation"
  
  NS_ASSUME_NONNULL_BEGIN
  
  /**
   *  JSON template for Analytics account entry.
   */
  @interface GTLRAnalytics_Account : GTLRObject
  
  /**
   *  Child link for an account entry. Points to the list of web properties for
   *  this account.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Account_ChildLink *childLink;
  
  /** Time the account was created. */
  @property(nonatomic, strong, nullable) GTLRDateTime *created;
  
  /**
   *  Account ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Resource type for Analytics account. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Account name. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /** Permissions the user has for this account. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Account_Permissions *permissions;
  
  /** Link for this account. */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /**
   *  Indicates whether this account is starred or not.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *starred;
  
  /** Time the account was last modified. */
  @property(nonatomic, strong, nullable) GTLRDateTime *updated;
  
  @end
  
  
  /**
   *  Child link for an account entry. Points to the list of web properties for
   *  this account.
   */
  @interface GTLRAnalytics_Account_ChildLink : GTLRObject
  
  /** Link to the list of web properties for this account. */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /** Type of the child link. Its value is "analytics#webproperties". */
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  Permissions the user has for this account.
   */
  @interface GTLRAnalytics_Account_Permissions : GTLRObject
  
  /**
   *  All the permissions that the user has for this account. These include any
   *  implied permissions (e.g., EDIT implies VIEW).
   */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *effective;
  
  @end
  
  
  /**
   *  JSON template for a linked account.
   */
  @interface GTLRAnalytics_AccountRef : GTLRObject
  
  /** Link for this account. */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /**
   *  Account ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Analytics account reference. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Account name. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  @end
  
  
  /**
   *  An account collection provides a list of Analytics accounts to which a user
   *  has access. The account collection is the entry point to all management
   *  information. Each resource in the collection corresponds to a single
   *  Analytics account.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_Accounts : GTLRCollectionObject
  
  /**
   *  A list of accounts.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_Account *> *items;
  
  /**
   *  The maximum number of entries the response can contain, regardless of the
   *  actual number of entries returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Next link for this account collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Previous link for this account collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the entries, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  results in the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /** Email ID of the authenticated user */
  @property(nonatomic, copy, nullable) NSString *username;
  
  @end
  
  
  /**
   *  An AccountSummary collection lists a summary of accounts, properties and
   *  views (profiles) to which the user has access. Each resource in the
   *  collection corresponds to a single AccountSummary.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_AccountSummaries : GTLRCollectionObject
  
  /**
   *  A list of AccountSummaries.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_AccountSummary *> *items;
  
  /**
   *  The maximum number of resources the response can contain, regardless of the
   *  actual number of resources returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this AccountSummary collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this AccountSummary collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the resources, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  results in the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /** Email ID of the authenticated user */
  @property(nonatomic, copy, nullable) NSString *username;
  
  @end
  
  
  /**
   *  JSON template for an Analytics AccountSummary. An AccountSummary is a
   *  lightweight tree comprised of properties/profiles.
   */
  @interface GTLRAnalytics_AccountSummary : GTLRObject
  
  /**
   *  Account ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Resource type for Analytics AccountSummary. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Account name. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  Indicates whether this account is starred or not.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *starred;
  
  /** List of web properties under this account. */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_WebPropertySummary *> *webProperties;
  
  @end
  
  
  /**
   *  JSON template for an Analytics account ticket. The account ticket consists
   *  of the ticket ID and the basic information for the account, property and
   *  profile.
   */
  @interface GTLRAnalytics_AccountTicket : GTLRObject
  
  /** Account for this ticket. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Account *account;
  
  /**
   *  Account ticket ID used to access the account ticket.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Resource type for account ticket. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** View (Profile) for the account. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Profile *profile;
  
  /**
   *  Redirect URI where the user will be sent after accepting Terms of Service.
   *  Must be configured in APIs console as a callback URL.
   */
  @property(nonatomic, copy, nullable) NSString *redirectUri;
  
  /** Web property for the account. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Webproperty *webproperty;
  
  @end
  
  
  /**
   *  JSON template for an Analytics account tree requests. The account tree
   *  request is used in the provisioning api to create an account, property, and
   *  view (profile). It contains the basic information required to make these
   *  fields.
   */
  @interface GTLRAnalytics_AccountTreeRequest : GTLRObject
  
  @property(nonatomic, copy, nullable) NSString *accountName;
  
  /** Resource type for account ticket. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  @property(nonatomic, copy, nullable) NSString *profileName;
  @property(nonatomic, copy, nullable) NSString *timezone;
  @property(nonatomic, copy, nullable) NSString *webpropertyName;
  @property(nonatomic, copy, nullable) NSString *websiteUrl;
  
  @end
  
  
  /**
   *  JSON template for an Analytics account tree response. The account tree
   *  response is used in the provisioning api to return the result of creating an
   *  account, property, and view (profile).
   */
  @interface GTLRAnalytics_AccountTreeResponse : GTLRObject
  
  /** The account created. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Account *account;
  
  /** Resource type for account ticket. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** View (Profile) for the account. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Profile *profile;
  
  /** Web property for the account. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Webproperty *webproperty;
  
  @end
  
  
  /**
   *  JSON template for an Google Ads account.
   */
  @interface GTLRAnalytics_AdWordsAccount : GTLRObject
  
  /**
   *  True if auto-tagging is enabled on the Google Ads account. Read-only after
   *  the insert operation.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *autoTaggingEnabled;
  
  /** Customer ID. This field is required when creating a Google Ads link. */
  @property(nonatomic, copy, nullable) NSString *customerId;
  
  /** Resource type for Google Ads account. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  @end
  
  
  /**
   *  JSON template for a metadata column.
   */
  @interface GTLRAnalytics_Column : GTLRObject
  
  /** Map of attribute name and value for this column. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Column_Attributes *attributes;
  
  /**
   *  Column id.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Resource type for Analytics column. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  @end
  
  
  /**
   *  Map of attribute name and value for this column.
   *
   *  @note This class is documented as having more properties of NSString. Use @c
   *        -additionalJSONKeys and @c -additionalPropertyForName: to get the list
   *        of properties and then fetch them; or @c -additionalProperties to
   *        fetch them all at once.
   */
  @interface GTLRAnalytics_Column_Attributes : GTLRObject
  @end
  
  
  /**
   *  Lists columns (dimensions and metrics) for a particular report type.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_Columns : GTLRCollectionObject
  
  /** List of attributes names returned by columns. */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *attributeNames;
  
  /**
   *  Etag of collection. This etag can be compared with the last response etag to
   *  check if response has changed.
   */
  @property(nonatomic, copy, nullable) NSString *ETag;
  
  /**
   *  List of columns for a report type.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_Column *> *items;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /**
   *  Total number of columns returned in the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  @end
  
  
  /**
   *  JSON template for an Analytics custom data source.
   */
  @interface GTLRAnalytics_CustomDataSource : GTLRObject
  
  /** Account ID to which this custom data source belongs. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  @property(nonatomic, strong, nullable) GTLRAnalytics_CustomDataSource_ChildLink *childLink;
  
  /** Time this custom data source was created. */
  @property(nonatomic, strong, nullable) GTLRDateTime *created;
  
  /**
   *  Description of custom data source.
   *
   *  Remapped to 'descriptionProperty' to avoid NSObject's 'description'.
   */
  @property(nonatomic, copy, nullable) NSString *descriptionProperty;
  
  /**
   *  Custom data source ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  @property(nonatomic, copy, nullable) NSString *importBehavior;
  
  /** Resource type for Analytics custom data source. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Name of this custom data source. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  Parent link for this custom data source. Points to the web property to which
   *  this custom data source belongs.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_CustomDataSource_ParentLink *parentLink;
  
  /** IDs of views (profiles) linked to the custom data source. */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *profilesLinked;
  
  /** Collection of schema headers of the custom data source. */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *schema;
  
  /** Link for this Analytics custom data source. */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /** Type of the custom data source. */
  @property(nonatomic, copy, nullable) NSString *type;
  
  /** Time this custom data source was last modified. */
  @property(nonatomic, strong, nullable) GTLRDateTime *updated;
  
  /** Upload type of the custom data source. */
  @property(nonatomic, copy, nullable) NSString *uploadType;
  
  /**
   *  Web property ID of the form UA-XXXXX-YY to which this custom data source
   *  belongs.
   */
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  @end
  
  
  /**
   *  GTLRAnalytics_CustomDataSource_ChildLink
   */
  @interface GTLRAnalytics_CustomDataSource_ChildLink : GTLRObject
  
  /**
   *  Link to the list of daily uploads for this custom data source. Link to the
   *  list of uploads for this custom data source.
   */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /** Value is "analytics#dailyUploads". Value is "analytics#uploads". */
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  Parent link for this custom data source. Points to the web property to which
   *  this custom data source belongs.
   */
  @interface GTLRAnalytics_CustomDataSource_ParentLink : GTLRObject
  
  /** Link to the web property to which this custom data source belongs. */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /** Value is "analytics#webproperty". */
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  Lists Analytics custom data sources to which the user has access. Each
   *  resource in the collection corresponds to a single Analytics custom data
   *  source.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_CustomDataSources : GTLRCollectionObject
  
  /**
   *  Collection of custom data sources.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_CustomDataSource *> *items;
  
  /**
   *  The maximum number of resources the response can contain, regardless of the
   *  actual number of resources returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this custom data source collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this custom data source collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the resources, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  results in the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /** Email ID of the authenticated user */
  @property(nonatomic, copy, nullable) NSString *username;
  
  @end
  
  
  /**
   *  JSON template for Analytics Custom Dimension.
   */
  @interface GTLRAnalytics_CustomDimension : GTLRObject
  
  /** Account ID. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /**
   *  Boolean indicating whether the custom dimension is active.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *active;
  
  /** Time the custom dimension was created. */
  @property(nonatomic, strong, nullable) GTLRDateTime *created;
  
  /**
   *  Custom dimension ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /**
   *  Index of the custom dimension.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *index;
  
  /**
   *  Kind value for a custom dimension. Set to "analytics#customDimension". It is
   *  a read-only field.
   */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Name of the custom dimension. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  Parent link for the custom dimension. Points to the property to which the
   *  custom dimension belongs.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_CustomDimension_ParentLink *parentLink;
  
  /** Scope of the custom dimension: HIT, SESSION, USER or PRODUCT. */
  @property(nonatomic, copy, nullable) NSString *scope;
  
  /** Link for the custom dimension */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /** Time the custom dimension was last modified. */
  @property(nonatomic, strong, nullable) GTLRDateTime *updated;
  
  /** Property ID. */
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  @end
  
  
  /**
   *  Parent link for the custom dimension. Points to the property to which the
   *  custom dimension belongs.
   */
  @interface GTLRAnalytics_CustomDimension_ParentLink : GTLRObject
  
  /** Link to the property to which the custom dimension belongs. */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /** Type of the parent link. Set to "analytics#webproperty". */
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  A custom dimension collection lists Analytics custom dimensions to which the
   *  user has access. Each resource in the collection corresponds to a single
   *  Analytics custom dimension.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_CustomDimensions : GTLRCollectionObject
  
  /**
   *  Collection of custom dimensions.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_CustomDimension *> *items;
  
  /**
   *  The maximum number of resources the response can contain, regardless of the
   *  actual number of resources returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this custom dimension collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this custom dimension collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the resources, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  results in the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /** Email ID of the authenticated user */
  @property(nonatomic, copy, nullable) NSString *username;
  
  @end
  
  
  /**
   *  JSON template for Analytics Custom Metric.
   */
  @interface GTLRAnalytics_CustomMetric : GTLRObject
  
  /** Account ID. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /**
   *  Boolean indicating whether the custom metric is active.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *active;
  
  /** Time the custom metric was created. */
  @property(nonatomic, strong, nullable) GTLRDateTime *created;
  
  /**
   *  Custom metric ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /**
   *  Index of the custom metric.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *index;
  
  /**
   *  Kind value for a custom metric. Set to "analytics#customMetric". It is a
   *  read-only field.
   */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Max value of custom metric. */
  @property(nonatomic, copy, nullable) NSString *maxValue;
  
  /** Min value of custom metric. */
  @property(nonatomic, copy, nullable) NSString *minValue;
  
  /** Name of the custom metric. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  Parent link for the custom metric. Points to the property to which the
   *  custom metric belongs.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_CustomMetric_ParentLink *parentLink;
  
  /** Scope of the custom metric: HIT or PRODUCT. */
  @property(nonatomic, copy, nullable) NSString *scope;
  
  /** Link for the custom metric */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /** Data type of custom metric. */
  @property(nonatomic, copy, nullable) NSString *type;
  
  /** Time the custom metric was last modified. */
  @property(nonatomic, strong, nullable) GTLRDateTime *updated;
  
  /** Property ID. */
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  @end
  
  
  /**
   *  Parent link for the custom metric. Points to the property to which the
   *  custom metric belongs.
   */
  @interface GTLRAnalytics_CustomMetric_ParentLink : GTLRObject
  
  /** Link to the property to which the custom metric belongs. */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /** Type of the parent link. Set to "analytics#webproperty". */
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  A custom metric collection lists Analytics custom metrics to which the user
   *  has access. Each resource in the collection corresponds to a single
   *  Analytics custom metric.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_CustomMetrics : GTLRCollectionObject
  
  /**
   *  Collection of custom metrics.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_CustomMetric *> *items;
  
  /**
   *  The maximum number of resources the response can contain, regardless of the
   *  actual number of resources returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this custom metric collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this custom metric collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the resources, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  results in the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /** Email ID of the authenticated user */
  @property(nonatomic, copy, nullable) NSString *username;
  
  @end
  
  
  /**
   *  Request template for the delete upload data request.
   */
  @interface GTLRAnalytics_DataimportDeleteUploadDataRequest : GTLRObject
  
  /** A list of upload UIDs. */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *customDataImportUids;
  
  @end
  
  
  /**
   *  JSON template for Analytics Entity Google Ads Link.
   */
  @interface GTLRAnalytics_EntityAdWordsLink : GTLRObject
  
  /**
   *  A list of Google Ads client accounts. These cannot be MCC accounts. This
   *  field is required when creating a Google Ads link. It cannot be empty.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_AdWordsAccount *> *adWordsAccounts;
  
  /** Web property being linked. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_EntityAdWordsLink_Entity *entity;
  
  /**
   *  Entity Google Ads link ID
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Resource type for entity Google Ads link. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /**
   *  Name of the link. This field is required when creating a Google Ads link.
   */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /** IDs of linked Views (Profiles) represented as strings. */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *profileIds;
  
  /** URL link for this Google Analytics - Google Ads link. */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  @end
  
  
  /**
   *  Web property being linked.
   */
  @interface GTLRAnalytics_EntityAdWordsLink_Entity : GTLRObject
  
  @property(nonatomic, strong, nullable) GTLRAnalytics_WebPropertyRef *webPropertyRef;
  
  @end
  
  
  /**
   *  An entity Google Ads link collection provides a list of GA-Google Ads links
   *  Each resource in this collection corresponds to a single link.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_EntityAdWordsLinks : GTLRCollectionObject
  
  /**
   *  A list of entity Google Ads links.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_EntityAdWordsLink *> *items;
  
  /**
   *  The maximum number of entries the response can contain, regardless of the
   *  actual number of entries returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Next link for this Google Ads link collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Previous link for this Google Ads link collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the entries, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  results in the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  @end
  
  
  /**
   *  JSON template for an Analytics Entity-User Link. Returns permissions that a
   *  user has for an entity.
   */
  @interface GTLRAnalytics_EntityUserLink : GTLRObject
  
  /**
   *  Entity for this link. It can be an account, a web property, or a view
   *  (profile).
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_EntityUserLink_Entity *entity;
  
  /**
   *  Entity user link ID
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Resource type for entity user link. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Permissions the user has for this entity. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_EntityUserLink_Permissions *permissions;
  
  /** Self link for this resource. */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /** User reference. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_UserRef *userRef;
  
  @end
  
  
  /**
   *  Entity for this link. It can be an account, a web property, or a view
   *  (profile).
   */
  @interface GTLRAnalytics_EntityUserLink_Entity : GTLRObject
  
  /** Account for this link. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_AccountRef *accountRef;
  
  /** View (Profile) for this link. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_ProfileRef *profileRef;
  
  /** Web property for this link. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_WebPropertyRef *webPropertyRef;
  
  @end
  
  
  /**
   *  Permissions the user has for this entity.
   */
  @interface GTLRAnalytics_EntityUserLink_Permissions : GTLRObject
  
  /**
   *  Effective permissions represent all the permissions that a user has for this
   *  entity. These include any implied permissions (e.g., EDIT implies VIEW) or
   *  inherited permissions from the parent entity. Effective permissions are
   *  read-only.
   */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *effective;
  
  /**
   *  Permissions that a user has been assigned at this very level. Does not
   *  include any implied or inherited permissions. Local permissions are
   *  modifiable.
   */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *local;
  
  @end
  
  
  /**
   *  An entity user link collection provides a list of Analytics ACL links Each
   *  resource in this collection corresponds to a single link.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_EntityUserLinks : GTLRCollectionObject
  
  /**
   *  A list of entity user links.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_EntityUserLink *> *items;
  
  /**
   *  The maximum number of entries the response can contain, regardless of the
   *  actual number of entries returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Next link for this account collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Previous link for this account collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the entries, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  results in the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  @end
  
  
  /**
   *  JSON template for Analytics experiment resource.
   */
  @interface GTLRAnalytics_Experiment : GTLRObject
  
  /** Account ID to which this experiment belongs. This field is read-only. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /** Time the experiment was created. This field is read-only. */
  @property(nonatomic, strong, nullable) GTLRDateTime *created;
  
  /**
   *  Notes about this experiment.
   *
   *  Remapped to 'descriptionProperty' to avoid NSObject's 'description'.
   */
  @property(nonatomic, copy, nullable) NSString *descriptionProperty;
  
  /**
   *  If true, the end user will be able to edit the experiment via the Google
   *  Analytics user interface.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *editableInGaUi;
  
  /**
   *  The ending time of the experiment (the time the status changed from RUNNING
   *  to ENDED). This field is present only if the experiment has ended. This
   *  field is read-only.
   */
  @property(nonatomic, strong, nullable) GTLRDateTime *endTime;
  
  /**
   *  Boolean specifying whether to distribute traffic evenly across all
   *  variations. If the value is False, content experiments follows the default
   *  behavior of adjusting traffic dynamically based on variation performance.
   *  Optional -- defaults to False. This field may not be changed for an
   *  experiment whose status is ENDED.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *equalWeighting;
  
  /**
   *  Experiment ID. Required for patch and update. Disallowed for create.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /**
   *  Internal ID for the web property to which this experiment belongs. This
   *  field is read-only.
   */
  @property(nonatomic, copy, nullable) NSString *internalWebPropertyId;
  
  /** Resource type for an Analytics experiment. This field is read-only. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /**
   *  An integer number in [3, 90]. Specifies the minimum length of the
   *  experiment. Can be changed for a running experiment. This field may not be
   *  changed for an experiments whose status is ENDED.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *minimumExperimentLengthInDays;
  
  /**
   *  Experiment name. This field may not be changed for an experiment whose
   *  status is ENDED. This field is required when creating an experiment.
   */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  The metric that the experiment is optimizing. Valid values:
   *  "ga:goal(n)Completions", "ga:adsenseAdsClicks", "ga:adsenseAdsViewed",
   *  "ga:adsenseRevenue", "ga:bounces", "ga:pageviews", "ga:sessionDuration",
   *  "ga:transactions", "ga:transactionRevenue". This field is required if status
   *  is "RUNNING" and servingFramework is one of "REDIRECT" or "API".
   */
  @property(nonatomic, copy, nullable) NSString *objectiveMetric;
  
  /**
   *  Whether the objectiveMetric should be minimized or maximized. Possible
   *  values: "MAXIMUM", "MINIMUM". Optional--defaults to "MAXIMUM". Cannot be
   *  specified without objectiveMetric. Cannot be modified when status is
   *  "RUNNING" or "ENDED".
   */
  @property(nonatomic, copy, nullable) NSString *optimizationType;
  
  /**
   *  Parent link for an experiment. Points to the view (profile) to which this
   *  experiment belongs.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Experiment_ParentLink *parentLink;
  
  /**
   *  View (Profile) ID to which this experiment belongs. This field is read-only.
   */
  @property(nonatomic, copy, nullable) NSString *profileId;
  
  /**
   *  Why the experiment ended. Possible values: "STOPPED_BY_USER",
   *  "WINNER_FOUND", "EXPERIMENT_EXPIRED", "ENDED_WITH_NO_WINNER",
   *  "GOAL_OBJECTIVE_CHANGED". "ENDED_WITH_NO_WINNER" means that the experiment
   *  didn't expire but no winner was projected to be found. If the experiment
   *  status is changed via the API to ENDED this field is set to STOPPED_BY_USER.
   *  This field is read-only.
   */
  @property(nonatomic, copy, nullable) NSString *reasonExperimentEnded;
  
  /**
   *  Boolean specifying whether variations URLS are rewritten to match those of
   *  the original. This field may not be changed for an experiments whose status
   *  is ENDED.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *rewriteVariationUrlsAsOriginal;
  
  /** Link for this experiment. This field is read-only. */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /**
   *  The framework used to serve the experiment variations and evaluate the
   *  results. One of:
   *  - REDIRECT: Google Analytics redirects traffic to different variation pages,
   *  reports the chosen variation and evaluates the results.
   *  - API: Google Analytics chooses and reports the variation to serve and
   *  evaluates the results; the caller is responsible for serving the selected
   *  variation.
   *  - EXTERNAL: The variations will be served externally and the chosen
   *  variation reported to Google Analytics. The caller is responsible for
   *  serving the selected variation and evaluating the results.
   */
  @property(nonatomic, copy, nullable) NSString *servingFramework;
  
  /**
   *  The snippet of code to include on the control page(s). This field is
   *  read-only.
   */
  @property(nonatomic, copy, nullable) NSString *snippet;
  
  /**
   *  The starting time of the experiment (the time the status changed from
   *  READY_TO_RUN to RUNNING). This field is present only if the experiment has
   *  started. This field is read-only.
   */
  @property(nonatomic, strong, nullable) GTLRDateTime *startTime;
  
  /**
   *  Experiment status. Possible values: "DRAFT", "READY_TO_RUN", "RUNNING",
   *  "ENDED". Experiments can be created in the "DRAFT", "READY_TO_RUN" or
   *  "RUNNING" state. This field is required when creating an experiment.
   */
  @property(nonatomic, copy, nullable) NSString *status;
  
  /**
   *  A floating-point number in (0, 1]. Specifies the fraction of the traffic
   *  that participates in the experiment. Can be changed for a running
   *  experiment. This field may not be changed for an experiments whose status is
   *  ENDED.
   *
   *  Uses NSNumber of doubleValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *trafficCoverage;
  
  /** Time the experiment was last modified. This field is read-only. */
  @property(nonatomic, strong, nullable) GTLRDateTime *updated;
  
  /**
   *  Array of variations. The first variation in the array is the original. The
   *  number of variations may not change once an experiment is in the RUNNING
   *  state. At least two variations are required before status can be set to
   *  RUNNING.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_Experiment_Variations_Item *> *variations;
  
  /**
   *  Web property ID to which this experiment belongs. The web property ID is of
   *  the form UA-XXXXX-YY. This field is read-only.
   */
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  /**
   *  A floating-point number in (0, 1). Specifies the necessary confidence level
   *  to choose a winner. This field may not be changed for an experiments whose
   *  status is ENDED.
   *
   *  Uses NSNumber of doubleValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *winnerConfidenceLevel;
  
  /**
   *  Boolean specifying whether a winner has been found for this experiment. This
   *  field is read-only.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *winnerFound;
  
  @end
  
  
  /**
   *  Parent link for an experiment. Points to the view (profile) to which this
   *  experiment belongs.
   */
  @interface GTLRAnalytics_Experiment_ParentLink : GTLRObject
  
  /**
   *  Link to the view (profile) to which this experiment belongs. This field is
   *  read-only.
   */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /** Value is "analytics#profile". This field is read-only. */
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  GTLRAnalytics_Experiment_Variations_Item
   */
  @interface GTLRAnalytics_Experiment_Variations_Item : GTLRObject
  
  /**
   *  The name of the variation. This field is required when creating an
   *  experiment. This field may not be changed for an experiment whose status is
   *  ENDED.
   */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  Status of the variation. Possible values: "ACTIVE", "INACTIVE". INACTIVE
   *  variations are not served. This field may not be changed for an experiment
   *  whose status is ENDED.
   */
  @property(nonatomic, copy, nullable) NSString *status;
  
  /**
   *  The URL of the variation. This field may not be changed for an experiment
   *  whose status is RUNNING or ENDED.
   */
  @property(nonatomic, copy, nullable) NSString *url;
  
  /**
   *  Weight that this variation should receive. Only present if the experiment is
   *  running. This field is read-only.
   *
   *  Uses NSNumber of doubleValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *weight;
  
  /**
   *  True if the experiment has ended and this variation performed
   *  (statistically) significantly better than the original. This field is
   *  read-only.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *won;
  
  @end
  
  
  /**
   *  An experiment collection lists Analytics experiments to which the user has
   *  access. Each view (profile) can have a set of experiments. Each resource in
   *  the Experiment collection corresponds to a single Analytics experiment.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_Experiments : GTLRCollectionObject
  
  /**
   *  A list of experiments.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_Experiment *> *items;
  
  /**
   *  The maximum number of resources the response can contain, regardless of the
   *  actual number of resources returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this experiment collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this experiment collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the resources, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  resources in the result.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /** Email ID of the authenticated user */
  @property(nonatomic, copy, nullable) NSString *username;
  
  @end
  
  
  /**
   *  JSON template for an Analytics account filter.
   */
  @interface GTLRAnalytics_Filter : GTLRObject
  
  /** Account ID to which this filter belongs. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /** Details for the filter of the type ADVANCED. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Filter_AdvancedDetails *advancedDetails;
  
  /** Time this filter was created. */
  @property(nonatomic, strong, nullable) GTLRDateTime *created;
  
  /** Details for the filter of the type EXCLUDE. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_FilterExpression *excludeDetails;
  
  /**
   *  Filter ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Details for the filter of the type INCLUDE. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_FilterExpression *includeDetails;
  
  /** Resource type for Analytics filter. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Details for the filter of the type LOWER. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Filter_LowercaseDetails *lowercaseDetails;
  
  /** Name of this filter. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  Parent link for this filter. Points to the account to which this filter
   *  belongs.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Filter_ParentLink *parentLink;
  
  /** Details for the filter of the type SEARCH_AND_REPLACE. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Filter_SearchAndReplaceDetails *searchAndReplaceDetails;
  
  /** Link for this filter. */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /**
   *  Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE,
   *  UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.
   */
  @property(nonatomic, copy, nullable) NSString *type;
  
  /** Time this filter was last modified. */
  @property(nonatomic, strong, nullable) GTLRDateTime *updated;
  
  /** Details for the filter of the type UPPER. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Filter_UppercaseDetails *uppercaseDetails;
  
  @end
  
  
  /**
   *  Details for the filter of the type ADVANCED.
   */
  @interface GTLRAnalytics_Filter_AdvancedDetails : GTLRObject
  
  /**
   *  Indicates if the filter expressions are case sensitive.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *caseSensitive;
  
  /** Expression to extract from field A. */
  @property(nonatomic, copy, nullable) NSString *extractA;
  
  /** Expression to extract from field B. */
  @property(nonatomic, copy, nullable) NSString *extractB;
  
  /** Field A. */
  @property(nonatomic, copy, nullable) NSString *fieldA;
  
  /**
   *  The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *fieldAIndex;
  
  /**
   *  Indicates if field A is required to match.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *fieldARequired;
  
  /** Field B. */
  @property(nonatomic, copy, nullable) NSString *fieldB;
  
  /**
   *  The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *fieldBIndex;
  
  /**
   *  Indicates if field B is required to match.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *fieldBRequired;
  
  /** Expression used to construct the output value. */
  @property(nonatomic, copy, nullable) NSString *outputConstructor;
  
  /** Output field. */
  @property(nonatomic, copy, nullable) NSString *outputToField;
  
  /**
   *  The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *outputToFieldIndex;
  
  /**
   *  Indicates if the existing value of the output field, if any, should be
   *  overridden by the output expression.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *overrideOutputField;
  
  @end
  
  
  /**
   *  Details for the filter of the type LOWER.
   */
  @interface GTLRAnalytics_Filter_LowercaseDetails : GTLRObject
  
  /** Field to use in the filter. */
  @property(nonatomic, copy, nullable) NSString *field;
  
  /**
   *  The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *fieldIndex;
  
  @end
  
  
  /**
   *  Parent link for this filter. Points to the account to which this filter
   *  belongs.
   */
  @interface GTLRAnalytics_Filter_ParentLink : GTLRObject
  
  /** Link to the account to which this filter belongs. */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /** Value is "analytics#account". */
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  Details for the filter of the type SEARCH_AND_REPLACE.
   */
  @interface GTLRAnalytics_Filter_SearchAndReplaceDetails : GTLRObject
  
  /**
   *  Determines if the filter is case sensitive.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *caseSensitive;
  
  /** Field to use in the filter. */
  @property(nonatomic, copy, nullable) NSString *field;
  
  /**
   *  The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *fieldIndex;
  
  /** Term to replace the search term with. */
  @property(nonatomic, copy, nullable) NSString *replaceString;
  
  /** Term to search. */
  @property(nonatomic, copy, nullable) NSString *searchString;
  
  @end
  
  
  /**
   *  Details for the filter of the type UPPER.
   */
  @interface GTLRAnalytics_Filter_UppercaseDetails : GTLRObject
  
  /** Field to use in the filter. */
  @property(nonatomic, copy, nullable) NSString *field;
  
  /**
   *  The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *fieldIndex;
  
  @end
  
  
  /**
   *  JSON template for an Analytics filter expression.
   */
  @interface GTLRAnalytics_FilterExpression : GTLRObject
  
  /**
   *  Determines if the filter is case sensitive.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *caseSensitive;
  
  /** Filter expression value */
  @property(nonatomic, copy, nullable) NSString *expressionValue;
  
  /**
   *  Field to filter. Possible values:
   *  - Content and Traffic
   *  - PAGE_REQUEST_URI,
   *  - PAGE_HOSTNAME,
   *  - PAGE_TITLE,
   *  - REFERRAL,
   *  - COST_DATA_URI (Campaign target URL),
   *  - HIT_TYPE,
   *  - INTERNAL_SEARCH_TERM,
   *  - INTERNAL_SEARCH_TYPE,
   *  - SOURCE_PROPERTY_TRACKING_ID,
   *  - Campaign or AdGroup
   *  - CAMPAIGN_SOURCE,
   *  - CAMPAIGN_MEDIUM,
   *  - CAMPAIGN_NAME,
   *  - CAMPAIGN_AD_GROUP,
   *  - CAMPAIGN_TERM,
   *  - CAMPAIGN_CONTENT,
   *  - CAMPAIGN_CODE,
   *  - CAMPAIGN_REFERRAL_PATH,
   *  - E-Commerce
   *  - TRANSACTION_COUNTRY,
   *  - TRANSACTION_REGION,
   *  - TRANSACTION_CITY,
   *  - TRANSACTION_AFFILIATION (Store or order location),
   *  - ITEM_NAME,
   *  - ITEM_CODE,
   *  - ITEM_VARIATION,
   *  - TRANSACTION_ID,
   *  - TRANSACTION_CURRENCY_CODE,
   *  - PRODUCT_ACTION_TYPE,
   *  - Audience/Users
   *  - BROWSER,
   *  - BROWSER_VERSION,
   *  - BROWSER_SIZE,
   *  - PLATFORM,
   *  - PLATFORM_VERSION,
   *  - LANGUAGE,
   *  - SCREEN_RESOLUTION,
   *  - SCREEN_COLORS,
   *  - JAVA_ENABLED (Boolean Field),
   *  - FLASH_VERSION,
   *  - GEO_SPEED (Connection speed),
   *  - VISITOR_TYPE,
   *  - GEO_ORGANIZATION (ISP organization),
   *  - GEO_DOMAIN,
   *  - GEO_IP_ADDRESS,
   *  - GEO_IP_VERSION,
   *  - Location
   *  - GEO_COUNTRY,
   *  - GEO_REGION,
   *  - GEO_CITY,
   *  - Event
   *  - EVENT_CATEGORY,
   *  - EVENT_ACTION,
   *  - EVENT_LABEL,
   *  - Other
   *  - CUSTOM_FIELD_1,
   *  - CUSTOM_FIELD_2,
   *  - USER_DEFINED_VALUE,
   *  - Application
   *  - APP_ID,
   *  - APP_INSTALLER_ID,
   *  - APP_NAME,
   *  - APP_VERSION,
   *  - SCREEN,
   *  - IS_APP (Boolean Field),
   *  - IS_FATAL_EXCEPTION (Boolean Field),
   *  - EXCEPTION_DESCRIPTION,
   *  - Mobile device
   *  - IS_MOBILE (Boolean Field, Deprecated. Use DEVICE_CATEGORY=mobile),
   *  - IS_TABLET (Boolean Field, Deprecated. Use DEVICE_CATEGORY=tablet),
   *  - DEVICE_CATEGORY,
   *  - MOBILE_HAS_QWERTY_KEYBOARD (Boolean Field),
   *  - MOBILE_HAS_NFC_SUPPORT (Boolean Field),
   *  - MOBILE_HAS_CELLULAR_RADIO (Boolean Field),
   *  - MOBILE_HAS_WIFI_SUPPORT (Boolean Field),
   *  - MOBILE_BRAND_NAME,
   *  - MOBILE_MODEL_NAME,
   *  - MOBILE_MARKETING_NAME,
   *  - MOBILE_POINTING_METHOD,
   *  - Social
   *  - SOCIAL_NETWORK,
   *  - SOCIAL_ACTION,
   *  - SOCIAL_ACTION_TARGET,
   *  - Custom dimension
   *  - CUSTOM_DIMENSION (See accompanying field index),
   */
  @property(nonatomic, copy, nullable) NSString *field;
  
  /**
   *  The Index of the custom dimension. Set only if the field is a is
   *  CUSTOM_DIMENSION.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *fieldIndex;
  
  /** Kind value for filter expression */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /**
   *  Match type for this filter. Possible values are BEGINS_WITH, EQUAL,
   *  ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS,
   *  PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other
   *  filters must use MATCHES.
   */
  @property(nonatomic, copy, nullable) NSString *matchType;
  
  @end
  
  
  /**
   *  JSON template for a profile filter link.
   */
  @interface GTLRAnalytics_FilterRef : GTLRObject
  
  /** Account ID to which this filter belongs. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /** Link for this filter. */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /**
   *  Filter ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Kind value for filter reference. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Name of this filter. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  @end
  
  
  /**
   *  A filter collection lists filters created by users in an Analytics account.
   *  Each resource in the collection corresponds to a filter.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_Filters : GTLRCollectionObject
  
  /**
   *  A list of filters.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_Filter *> *items;
  
  /**
   *  The maximum number of resources the response can contain, regardless of the
   *  actual number of resources returned. Its value ranges from 1 to 1,000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this filter collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this filter collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the resources, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  results in the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /** Email ID of the authenticated user */
  @property(nonatomic, copy, nullable) NSString *username;
  
  @end
  
  
  /**
   *  Analytics data for a given view (profile).
   */
  @interface GTLRAnalytics_GaData : GTLRObject
  
  /**
   *  Column headers that list dimension names followed by the metric names. The
   *  order of dimensions and metrics is same as specified in the request.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_GaData_ColumnHeaders_Item *> *columnHeaders;
  
  /**
   *  Determines if Analytics data contains samples.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *containsSampledData;
  
  /**
   *  The last refreshed time in seconds for Analytics data.
   *
   *  Uses NSNumber of longLongValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *dataLastRefreshed;
  
  @property(nonatomic, strong, nullable) GTLRAnalytics_GaData_DataTable *dataTable;
  
  /**
   *  Unique ID for this data response.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /**
   *  The maximum number of rows the response can contain, regardless of the
   *  actual number of rows returned. Its value ranges from 1 to 10,000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Resource type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this Analytics data query. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this Analytics data query. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  Information for the view (profile), for which the Analytics data was
   *  requested.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_GaData_ProfileInfo *profileInfo;
  
  /** Analytics data request query parameters. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_GaData_Query *query;
  
  /**
   *  Analytics data rows, where each row contains a list of dimension values
   *  followed by the metric values. The order of dimensions and metrics is same
   *  as specified in the request.
   */
  @property(nonatomic, strong, nullable) NSArray<NSArray<NSString *> *> *rows;
  
  /**
   *  The number of samples used to calculate the result.
   *
   *  Uses NSNumber of longLongValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *sampleSize;
  
  /**
   *  Total size of the sample space from which the samples were selected.
   *
   *  Uses NSNumber of longLongValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *sampleSpace;
  
  /** Link to this page. */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /**
   *  The total number of rows for the query, regardless of the number of rows in
   *  the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /**
   *  Total values for the requested metrics over all the results, not just the
   *  results returned in this response. The order of the metric totals is same as
   *  the metric order specified in the request.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_GaData_TotalsForAllResults *totalsForAllResults;
  
  @end
  
  
  /**
   *  GTLRAnalytics_GaData_ColumnHeaders_Item
   */
  @interface GTLRAnalytics_GaData_ColumnHeaders_Item : GTLRObject
  
  /** Column Type. Either DIMENSION or METRIC. */
  @property(nonatomic, copy, nullable) NSString *columnType;
  
  /**
   *  Data type. Dimension column headers have only STRING as the data type.
   *  Metric column headers have data types for metric values such as INTEGER,
   *  DOUBLE, CURRENCY etc.
   */
  @property(nonatomic, copy, nullable) NSString *dataType;
  
  /** Column name. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  @end
  
  
  /**
   *  GTLRAnalytics_GaData_DataTable
   */
  @interface GTLRAnalytics_GaData_DataTable : GTLRObject
  
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_GaData_DataTable_Cols_Item *> *cols;
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_GaData_DataTable_Rows_Item *> *rows;
  
  @end
  
  
  /**
   *  Information for the view (profile), for which the Analytics data was
   *  requested.
   */
  @interface GTLRAnalytics_GaData_ProfileInfo : GTLRObject
  
  /** Account ID to which this view (profile) belongs. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /** Internal ID for the web property to which this view (profile) belongs. */
  @property(nonatomic, copy, nullable) NSString *internalWebPropertyId;
  
  /** View (Profile) ID. */
  @property(nonatomic, copy, nullable) NSString *profileId;
  
  /** View (Profile) name. */
  @property(nonatomic, copy, nullable) NSString *profileName;
  
  /** Table ID for view (profile). */
  @property(nonatomic, copy, nullable) NSString *tableId;
  
  /** Web Property ID to which this view (profile) belongs. */
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  @end
  
  
  /**
   *  Analytics data request query parameters.
   */
  @interface GTLRAnalytics_GaData_Query : GTLRObject
  
  /** List of analytics dimensions. */
  @property(nonatomic, copy, nullable) NSString *dimensions;
  
  /** End date. */
  @property(nonatomic, copy, nullable) NSString *endDate;
  
  /** Comma-separated list of dimension or metric filters. */
  @property(nonatomic, copy, nullable) NSString *filters;
  
  /** Unique table ID. */
  @property(nonatomic, copy, nullable) NSString *ids;
  
  /**
   *  Maximum results per page.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *maxResults;
  
  /** List of analytics metrics. */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *metrics;
  
  /** Desired sampling level */
  @property(nonatomic, copy, nullable) NSString *samplingLevel;
  
  /** Analytics advanced segment. */
  @property(nonatomic, copy, nullable) NSString *segment;
  
  /** List of dimensions or metrics based on which Analytics data is sorted. */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *sort;
  
  /** Start date. */
  @property(nonatomic, copy, nullable) NSString *startDate;
  
  /**
   *  Start index.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  @end
  
  
  /**
   *  Total values for the requested metrics over all the results, not just the
   *  results returned in this response. The order of the metric totals is same as
   *  the metric order specified in the request.
   *
   *  @note This class is documented as having more properties of NSString. Use @c
   *        -additionalJSONKeys and @c -additionalPropertyForName: to get the list
   *        of properties and then fetch them; or @c -additionalProperties to
   *        fetch them all at once.
   */
  @interface GTLRAnalytics_GaData_TotalsForAllResults : GTLRObject
  @end
  
  
  /**
   *  GTLRAnalytics_GaData_DataTable_Cols_Item
   */
  @interface GTLRAnalytics_GaData_DataTable_Cols_Item : GTLRObject
  
  /**
   *  identifier
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  @property(nonatomic, copy, nullable) NSString *label;
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  GTLRAnalytics_GaData_DataTable_Rows_Item
   */
  @interface GTLRAnalytics_GaData_DataTable_Rows_Item : GTLRObject
  
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_GaData_DataTable_Rows_Item_C_Item *> *c;
  
  @end
  
  
  /**
   *  GTLRAnalytics_GaData_DataTable_Rows_Item_C_Item
   */
  @interface GTLRAnalytics_GaData_DataTable_Rows_Item_C_Item : GTLRObject
  
  @property(nonatomic, copy, nullable) NSString *v;
  
  @end
  
  
  /**
   *  JSON template for Analytics goal resource.
   */
  @interface GTLRAnalytics_Goal : GTLRObject
  
  /** Account ID to which this goal belongs. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /**
   *  Determines whether this goal is active.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *active;
  
  /** Time this goal was created. */
  @property(nonatomic, strong, nullable) GTLRDateTime *created;
  
  /** Details for the goal of the type EVENT. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Goal_EventDetails *eventDetails;
  
  /**
   *  Goal ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Internal ID for the web property to which this goal belongs. */
  @property(nonatomic, copy, nullable) NSString *internalWebPropertyId;
  
  /** Resource type for an Analytics goal. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Goal name. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  Parent link for a goal. Points to the view (profile) to which this goal
   *  belongs.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Goal_ParentLink *parentLink;
  
  /** View (Profile) ID to which this goal belongs. */
  @property(nonatomic, copy, nullable) NSString *profileId;
  
  /** Link for this goal. */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /**
   *  Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE,
   *  VISIT_NUM_PAGES, AND EVENT.
   */
  @property(nonatomic, copy, nullable) NSString *type;
  
  /** Time this goal was last modified. */
  @property(nonatomic, strong, nullable) GTLRDateTime *updated;
  
  /** Details for the goal of the type URL_DESTINATION. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Goal_UrlDestinationDetails *urlDestinationDetails;
  
  /**
   *  Goal value.
   *
   *  Uses NSNumber of floatValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *value;
  
  /** Details for the goal of the type VISIT_NUM_PAGES. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Goal_VisitNumPagesDetails *visitNumPagesDetails;
  
  /** Details for the goal of the type VISIT_TIME_ON_SITE. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Goal_VisitTimeOnSiteDetails *visitTimeOnSiteDetails;
  
  /**
   *  Web property ID to which this goal belongs. The web property ID is of the
   *  form UA-XXXXX-YY.
   */
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  @end
  
  
  /**
   *  Details for the goal of the type EVENT.
   */
  @interface GTLRAnalytics_Goal_EventDetails : GTLRObject
  
  /** List of event conditions. */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_Goal_EventDetails_EventConditions_Item *> *eventConditions;
  
  /**
   *  Determines if the event value should be used as the value for this goal.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *useEventValue;
  
  @end
  
  
  /**
   *  Parent link for a goal. Points to the view (profile) to which this goal
   *  belongs.
   */
  @interface GTLRAnalytics_Goal_ParentLink : GTLRObject
  
  /** Link to the view (profile) to which this goal belongs. */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /** Value is "analytics#profile". */
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  Details for the goal of the type URL_DESTINATION.
   */
  @interface GTLRAnalytics_Goal_UrlDestinationDetails : GTLRObject
  
  /**
   *  Determines if the goal URL must exactly match the capitalization of visited
   *  URLs.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *caseSensitive;
  
  /**
   *  Determines if the first step in this goal is required.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *firstStepRequired;
  
  /** Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX. */
  @property(nonatomic, copy, nullable) NSString *matchType;
  
  /** List of steps configured for this goal funnel. */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_Goal_UrlDestinationDetails_Steps_Item *> *steps;
  
  /** URL for this goal. */
  @property(nonatomic, copy, nullable) NSString *url;
  
  @end
  
  
  /**
   *  Details for the goal of the type VISIT_NUM_PAGES.
   */
  @interface GTLRAnalytics_Goal_VisitNumPagesDetails : GTLRObject
  
  /**
   *  Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL.
   */
  @property(nonatomic, copy, nullable) NSString *comparisonType;
  
  /**
   *  Value used for this comparison.
   *
   *  Uses NSNumber of longLongValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *comparisonValue;
  
  @end
  
  
  /**
   *  Details for the goal of the type VISIT_TIME_ON_SITE.
   */
  @interface GTLRAnalytics_Goal_VisitTimeOnSiteDetails : GTLRObject
  
  /** Type of comparison. Possible values are LESS_THAN or GREATER_THAN. */
  @property(nonatomic, copy, nullable) NSString *comparisonType;
  
  /**
   *  Value used for this comparison.
   *
   *  Uses NSNumber of longLongValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *comparisonValue;
  
  @end
  
  
  /**
   *  GTLRAnalytics_Goal_EventDetails_EventConditions_Item
   */
  @interface GTLRAnalytics_Goal_EventDetails_EventConditions_Item : GTLRObject
  
  /**
   *  Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.
   */
  @property(nonatomic, copy, nullable) NSString *comparisonType;
  
  /**
   *  Value used for this comparison.
   *
   *  Uses NSNumber of longLongValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *comparisonValue;
  
  /** Expression used for this match. */
  @property(nonatomic, copy, nullable) NSString *expression;
  
  /**
   *  Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH,
   *  or EXACT.
   */
  @property(nonatomic, copy, nullable) NSString *matchType;
  
  /**
   *  Type of this event condition. Possible values are CATEGORY, ACTION, LABEL,
   *  or VALUE.
   */
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  GTLRAnalytics_Goal_UrlDestinationDetails_Steps_Item
   */
  @interface GTLRAnalytics_Goal_UrlDestinationDetails_Steps_Item : GTLRObject
  
  /** Step name. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  Step number.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *number;
  
  /** URL for this step. */
  @property(nonatomic, copy, nullable) NSString *url;
  
  @end
  
  
  /**
   *  A goal collection lists Analytics goals to which the user has access. Each
   *  view (profile) can have a set of goals. Each resource in the Goal collection
   *  corresponds to a single Analytics goal.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_Goals : GTLRCollectionObject
  
  /**
   *  A list of goals.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_Goal *> *items;
  
  /**
   *  The maximum number of resources the response can contain, regardless of the
   *  actual number of resources returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this goal collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this goal collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the resources, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  resources in the result.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /** Email ID of the authenticated user */
  @property(nonatomic, copy, nullable) NSString *username;
  
  @end
  
  
  /**
   *  JSON template for a hash Client Id request resource.
   */
  @interface GTLRAnalytics_HashClientIdRequest : GTLRObject
  
  @property(nonatomic, copy, nullable) NSString *clientId;
  @property(nonatomic, copy, nullable) NSString *kind;
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  @end
  
  
  /**
   *  JSON template for a hash Client Id response resource.
   */
  @interface GTLRAnalytics_HashClientIdResponse : GTLRObject
  
  @property(nonatomic, copy, nullable) NSString *clientId;
  @property(nonatomic, copy, nullable) NSString *hashedClientId;
  @property(nonatomic, copy, nullable) NSString *kind;
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  @end
  
  
  /**
   *  JSON template for an Analytics Remarketing Include Conditions.
   */
  @interface GTLRAnalytics_IncludeConditions : GTLRObject
  
  /**
   *  The look-back window lets you specify a time frame for evaluating the
   *  behavior that qualifies users for your audience. For example, if your
   *  filters include users from Central Asia, and Transactions Greater than 2,
   *  and you set the look-back window to 14 days, then any user from Central Asia
   *  whose cumulative transactions exceed 2 during the last 14 days is added to
   *  the audience.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *daysToLookBack;
  
  /**
   *  Boolean indicating whether this segment is a smart list.
   *  https://support.google.com/analytics/answer/4628577
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *isSmartList;
  
  /** Resource type for include conditions. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /**
   *  Number of days (in the range 1 to 540) a user remains in the audience.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *membershipDurationDays;
  
  /**
   *  The segment condition that will cause a user to be added to an audience.
   */
  @property(nonatomic, copy, nullable) NSString *segment;
  
  @end
  
  
  /**
   *  JSON template for an Analytics Remarketing Audience Foreign Link.
   */
  @interface GTLRAnalytics_LinkedForeignAccount : GTLRObject
  
  /** Account ID to which this linked foreign account belongs. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /**
   *  Boolean indicating whether this is eligible for search.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *eligibleForSearch;
  
  /**
   *  Entity ad account link ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /**
   *  Internal ID for the web property to which this linked foreign account
   *  belongs.
   */
  @property(nonatomic, copy, nullable) NSString *internalWebPropertyId;
  
  /** Resource type for linked foreign account. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /**
   *  The foreign account ID. For example the an Google Ads `linkedAccountId` has
   *  the following format XXX-XXX-XXXX.
   */
  @property(nonatomic, copy, nullable) NSString *linkedAccountId;
  
  /** Remarketing audience ID to which this linked foreign account belongs. */
  @property(nonatomic, copy, nullable) NSString *remarketingAudienceId;
  
  /** The status of this foreign account link. */
  @property(nonatomic, copy, nullable) NSString *status;
  
  /**
   *  The type of the foreign account. For example, `ADWORDS_LINKS`, `DBM_LINKS`,
   *  `MCC_LINKS` or `OPTIMIZE`.
   */
  @property(nonatomic, copy, nullable) NSString *type;
  
  /**
   *  Web property ID of the form UA-XXXXX-YY to which this linked foreign account
   *  belongs.
   */
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  @end
  
  
  /**
   *  Multi-Channel Funnels data for a given view (profile).
   */
  @interface GTLRAnalytics_McfData : GTLRObject
  
  /**
   *  Column headers that list dimension names followed by the metric names. The
   *  order of dimensions and metrics is same as specified in the request.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_McfData_ColumnHeaders_Item *> *columnHeaders;
  
  /**
   *  Determines if the Analytics data contains sampled data.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *containsSampledData;
  
  /**
   *  Unique ID for this data response.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /**
   *  The maximum number of rows the response can contain, regardless of the
   *  actual number of rows returned. Its value ranges from 1 to 10,000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Resource type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this Analytics data query. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this Analytics data query. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  Information for the view (profile), for which the Analytics data was
   *  requested.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_McfData_ProfileInfo *profileInfo;
  
  /** Analytics data request query parameters. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_McfData_Query *query;
  
  /**
   *  Analytics data rows, where each row contains a list of dimension values
   *  followed by the metric values. The order of dimensions and metrics is same
   *  as specified in the request.
   */
  @property(nonatomic, strong, nullable) NSArray<NSArray<GTLRAnalytics_McfData_Rows_Item *> *> *rows;
  
  /**
   *  The number of samples used to calculate the result.
   *
   *  Uses NSNumber of longLongValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *sampleSize;
  
  /**
   *  Total size of the sample space from which the samples were selected.
   *
   *  Uses NSNumber of longLongValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *sampleSpace;
  
  /** Link to this page. */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /**
   *  The total number of rows for the query, regardless of the number of rows in
   *  the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /**
   *  Total values for the requested metrics over all the results, not just the
   *  results returned in this response. The order of the metric totals is same as
   *  the metric order specified in the request.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_McfData_TotalsForAllResults *totalsForAllResults;
  
  @end
  
  
  /**
   *  GTLRAnalytics_McfData_ColumnHeaders_Item
   */
  @interface GTLRAnalytics_McfData_ColumnHeaders_Item : GTLRObject
  
  /** Column Type. Either DIMENSION or METRIC. */
  @property(nonatomic, copy, nullable) NSString *columnType;
  
  /**
   *  Data type. Dimension and metric values data types such as INTEGER, DOUBLE,
   *  CURRENCY, MCF_SEQUENCE etc.
   */
  @property(nonatomic, copy, nullable) NSString *dataType;
  
  /** Column name. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  @end
  
  
  /**
   *  Information for the view (profile), for which the Analytics data was
   *  requested.
   */
  @interface GTLRAnalytics_McfData_ProfileInfo : GTLRObject
  
  /** Account ID to which this view (profile) belongs. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /** Internal ID for the web property to which this view (profile) belongs. */
  @property(nonatomic, copy, nullable) NSString *internalWebPropertyId;
  
  /** View (Profile) ID. */
  @property(nonatomic, copy, nullable) NSString *profileId;
  
  /** View (Profile) name. */
  @property(nonatomic, copy, nullable) NSString *profileName;
  
  /** Table ID for view (profile). */
  @property(nonatomic, copy, nullable) NSString *tableId;
  
  /** Web Property ID to which this view (profile) belongs. */
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  @end
  
  
  /**
   *  Analytics data request query parameters.
   */
  @interface GTLRAnalytics_McfData_Query : GTLRObject
  
  /** List of analytics dimensions. */
  @property(nonatomic, copy, nullable) NSString *dimensions;
  
  /** End date. */
  @property(nonatomic, copy, nullable) NSString *endDate;
  
  /** Comma-separated list of dimension or metric filters. */
  @property(nonatomic, copy, nullable) NSString *filters;
  
  /** Unique table ID. */
  @property(nonatomic, copy, nullable) NSString *ids;
  
  /**
   *  Maximum results per page.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *maxResults;
  
  /** List of analytics metrics. */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *metrics;
  
  /** Desired sampling level */
  @property(nonatomic, copy, nullable) NSString *samplingLevel;
  
  /** Analytics advanced segment. */
  @property(nonatomic, copy, nullable) NSString *segment;
  
  /** List of dimensions or metrics based on which Analytics data is sorted. */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *sort;
  
  /** Start date. */
  @property(nonatomic, copy, nullable) NSString *startDate;
  
  /**
   *  Start index.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  @end
  
  
  /**
   *  A union object representing a dimension or metric value. Only one of
   *  "primitiveValue" or "conversionPathValue" attribute will be populated.
   */
  @interface GTLRAnalytics_McfData_Rows_Item : GTLRObject
  
  /**
   *  A conversion path dimension value, containing a list of interactions with
   *  their attributes.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_McfData_Rows_Item_ConversionPathValue_Item *> *conversionPathValue;
  
  /** A primitive dimension value. A primitive metric value. */
  @property(nonatomic, copy, nullable) NSString *primitiveValue;
  
  @end
  
  
  /**
   *  Total values for the requested metrics over all the results, not just the
   *  results returned in this response. The order of the metric totals is same as
   *  the metric order specified in the request.
   *
   *  @note This class is documented as having more properties of NSString. Use @c
   *        -additionalJSONKeys and @c -additionalPropertyForName: to get the list
   *        of properties and then fetch them; or @c -additionalProperties to
   *        fetch them all at once.
   */
  @interface GTLRAnalytics_McfData_TotalsForAllResults : GTLRObject
  @end
  
  
  /**
   *  GTLRAnalytics_McfData_Rows_Item_ConversionPathValue_Item
   */
  @interface GTLRAnalytics_McfData_Rows_Item_ConversionPathValue_Item : GTLRObject
  
  /**
   *  Type of an interaction on conversion path. Such as CLICK, IMPRESSION etc.
   */
  @property(nonatomic, copy, nullable) NSString *interactionType;
  
  /**
   *  Node value of an interaction on conversion path. Such as source, medium etc.
   */
  @property(nonatomic, copy, nullable) NSString *nodeValue;
  
  @end
  
  
  /**
   *  JSON template for an Analytics view (profile).
   */
  @interface GTLRAnalytics_Profile : GTLRObject
  
  /** Account ID to which this view (profile) belongs. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /**
   *  Indicates whether bot filtering is enabled for this view (profile).
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *botFilteringEnabled;
  
  /**
   *  Child link for this view (profile). Points to the list of goals for this
   *  view (profile).
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Profile_ChildLink *childLink;
  
  /** Time this view (profile) was created. */
  @property(nonatomic, strong, nullable) GTLRDateTime *created;
  
  /**
   *  The currency type associated with this view (profile), defaults to USD. The
   *  supported values are:
   *  USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD,
   *  HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL,
   *  ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD,
   *  SAR, SGD, VEF, LVL
   */
  @property(nonatomic, copy, nullable) NSString *currency;
  
  /** Default page for this view (profile). */
  @property(nonatomic, copy, nullable) NSString *defaultPage;
  
  /**
   *  Indicates whether ecommerce tracking is enabled for this view (profile).
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *eCommerceTracking;
  
  /**
   *  Indicates whether enhanced ecommerce tracking is enabled for this view
   *  (profile). This property can only be enabled if ecommerce tracking is
   *  enabled.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *enhancedECommerceTracking;
  
  /** The query parameters that are excluded from this view (profile). */
  @property(nonatomic, copy, nullable) NSString *excludeQueryParameters;
  
  /**
   *  View (Profile) ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Internal ID for the web property to which this view (profile) belongs. */
  @property(nonatomic, copy, nullable) NSString *internalWebPropertyId;
  
  /** Resource type for Analytics view (profile). */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Name of this view (profile). */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  Parent link for this view (profile). Points to the web property to which
   *  this view (profile) belongs.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Profile_ParentLink *parentLink;
  
  /** Permissions the user has for this view (profile). */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Profile_Permissions *permissions;
  
  /** Link for this view (profile). */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /** Site search category parameters for this view (profile). */
  @property(nonatomic, copy, nullable) NSString *siteSearchCategoryParameters;
  
  /** The site search query parameters for this view (profile). */
  @property(nonatomic, copy, nullable) NSString *siteSearchQueryParameters;
  
  /**
   *  Indicates whether this view (profile) is starred or not.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *starred;
  
  /**
   *  Whether or not Analytics will strip search category parameters from the URLs
   *  in your reports.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *stripSiteSearchCategoryParameters;
  
  /**
   *  Whether or not Analytics will strip search query parameters from the URLs in
   *  your reports.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *stripSiteSearchQueryParameters;
  
  /**
   *  Time zone for which this view (profile) has been configured. Time zones are
   *  identified by strings from the TZ database.
   */
  @property(nonatomic, copy, nullable) NSString *timezone;
  
  /** View (Profile) type. Supported types: WEB or APP. */
  @property(nonatomic, copy, nullable) NSString *type;
  
  /** Time this view (profile) was last modified. */
  @property(nonatomic, strong, nullable) GTLRDateTime *updated;
  
  /**
   *  Web property ID of the form UA-XXXXX-YY to which this view (profile)
   *  belongs.
   */
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  /** Website URL for this view (profile). */
  @property(nonatomic, copy, nullable) NSString *websiteUrl;
  
  @end
  
  
  /**
   *  Child link for this view (profile). Points to the list of goals for this
   *  view (profile).
   */
  @interface GTLRAnalytics_Profile_ChildLink : GTLRObject
  
  /** Link to the list of goals for this view (profile). */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /** Value is "analytics#goals". */
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  Parent link for this view (profile). Points to the web property to which
   *  this view (profile) belongs.
   */
  @interface GTLRAnalytics_Profile_ParentLink : GTLRObject
  
  /** Link to the web property to which this view (profile) belongs. */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /** Value is "analytics#webproperty". */
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  Permissions the user has for this view (profile).
   */
  @interface GTLRAnalytics_Profile_Permissions : GTLRObject
  
  /**
   *  All the permissions that the user has for this view (profile). These include
   *  any implied permissions (e.g., EDIT implies VIEW) or inherited permissions
   *  from the parent web property.
   */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *effective;
  
  @end
  
  
  /**
   *  JSON template for an Analytics profile filter link.
   */
  @interface GTLRAnalytics_ProfileFilterLink : GTLRObject
  
  /** Filter for this link. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_FilterRef *filterRef;
  
  /**
   *  Profile filter link ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Resource type for Analytics filter. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** View (Profile) for this link. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_ProfileRef *profileRef;
  
  /**
   *  The rank of this profile filter link relative to the other filters linked to
   *  the same profile.
   *  For readonly (i.e., list and get) operations, the rank always starts at 1.
   *  For write (i.e., create, update, or delete) operations, you may specify a
   *  value between 0 and 255 inclusively, [0, 255]. In order to insert a link at
   *  the end of the list, either don't specify a rank or set a rank to a number
   *  greater than the largest rank in the list. In order to insert a link to the
   *  beginning of the list specify a rank that is less than or equal to 1. The
   *  new link will move all existing filters with the same or lower rank down the
   *  list. After the link is inserted/updated/deleted all profile filter links
   *  will be renumbered starting at 1.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *rank;
  
  /** Link for this profile filter link. */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  @end
  
  
  /**
   *  A profile filter link collection lists profile filter links between profiles
   *  and filters. Each resource in the collection corresponds to a profile filter
   *  link.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_ProfileFilterLinks : GTLRCollectionObject
  
  /**
   *  A list of profile filter links.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_ProfileFilterLink *> *items;
  
  /**
   *  The maximum number of resources the response can contain, regardless of the
   *  actual number of resources returned. Its value ranges from 1 to 1,000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this profile filter link collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this profile filter link collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the resources, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  results in the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /** Email ID of the authenticated user */
  @property(nonatomic, copy, nullable) NSString *username;
  
  @end
  
  
  /**
   *  JSON template for a linked view (profile).
   */
  @interface GTLRAnalytics_ProfileRef : GTLRObject
  
  /** Account ID to which this view (profile) belongs. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /** Link for this view (profile). */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /**
   *  View (Profile) ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Internal ID for the web property to which this view (profile) belongs. */
  @property(nonatomic, copy, nullable) NSString *internalWebPropertyId;
  
  /** Analytics view (profile) reference. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Name of this view (profile). */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  Web property ID of the form UA-XXXXX-YY to which this view (profile)
   *  belongs.
   */
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  @end
  
  
  /**
   *  A view (profile) collection lists Analytics views (profiles) to which the
   *  user has access. Each resource in the collection corresponds to a single
   *  Analytics view (profile).
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_Profiles : GTLRCollectionObject
  
  /**
   *  A list of views (profiles).
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_Profile *> *items;
  
  /**
   *  The maximum number of resources the response can contain, regardless of the
   *  actual number of resources returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this view (profile) collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this view (profile) collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the resources, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  results in the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /** Email ID of the authenticated user */
  @property(nonatomic, copy, nullable) NSString *username;
  
  @end
  
  
  /**
   *  JSON template for an Analytics ProfileSummary. ProfileSummary returns basic
   *  information (i.e., summary) for a profile.
   */
  @interface GTLRAnalytics_ProfileSummary : GTLRObject
  
  /**
   *  View (profile) ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Resource type for Analytics ProfileSummary. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** View (profile) name. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  Indicates whether this view (profile) is starred or not.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *starred;
  
  /** View (Profile) type. Supported types: WEB or APP. */
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  Real time data for a given view (profile).
   */
  @interface GTLRAnalytics_RealtimeData : GTLRObject
  
  /**
   *  Column headers that list dimension names followed by the metric names. The
   *  order of dimensions and metrics is same as specified in the request.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_RealtimeData_ColumnHeaders_Item *> *columnHeaders;
  
  /**
   *  Unique ID for this data response.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Resource type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /**
   *  Information for the view (profile), for which the real time data was
   *  requested.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_RealtimeData_ProfileInfo *profileInfo;
  
  /** Real time data request query parameters. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_RealtimeData_Query *query;
  
  /**
   *  Real time data rows, where each row contains a list of dimension values
   *  followed by the metric values. The order of dimensions and metrics is same
   *  as specified in the request.
   */
  @property(nonatomic, strong, nullable) NSArray<NSArray<NSString *> *> *rows;
  
  /** Link to this page. */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /**
   *  The total number of rows for the query, regardless of the number of rows in
   *  the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /**
   *  Total values for the requested metrics over all the results, not just the
   *  results returned in this response. The order of the metric totals is same as
   *  the metric order specified in the request.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_RealtimeData_TotalsForAllResults *totalsForAllResults;
  
  @end
  
  
  /**
   *  GTLRAnalytics_RealtimeData_ColumnHeaders_Item
   */
  @interface GTLRAnalytics_RealtimeData_ColumnHeaders_Item : GTLRObject
  
  /** Column Type. Either DIMENSION or METRIC. */
  @property(nonatomic, copy, nullable) NSString *columnType;
  
  /**
   *  Data type. Dimension column headers have only STRING as the data type.
   *  Metric column headers have data types for metric values such as INTEGER,
   *  DOUBLE, CURRENCY etc.
   */
  @property(nonatomic, copy, nullable) NSString *dataType;
  
  /** Column name. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  @end
  
  
  /**
   *  Information for the view (profile), for which the real time data was
   *  requested.
   */
  @interface GTLRAnalytics_RealtimeData_ProfileInfo : GTLRObject
  
  /** Account ID to which this view (profile) belongs. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /** Internal ID for the web property to which this view (profile) belongs. */
  @property(nonatomic, copy, nullable) NSString *internalWebPropertyId;
  
  /** View (Profile) ID. */
  @property(nonatomic, copy, nullable) NSString *profileId;
  
  /** View (Profile) name. */
  @property(nonatomic, copy, nullable) NSString *profileName;
  
  /** Table ID for view (profile). */
  @property(nonatomic, copy, nullable) NSString *tableId;
  
  /** Web Property ID to which this view (profile) belongs. */
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  @end
  
  
  /**
   *  Real time data request query parameters.
   */
  @interface GTLRAnalytics_RealtimeData_Query : GTLRObject
  
  /** List of real time dimensions. */
  @property(nonatomic, copy, nullable) NSString *dimensions;
  
  /** Comma-separated list of dimension or metric filters. */
  @property(nonatomic, copy, nullable) NSString *filters;
  
  /** Unique table ID. */
  @property(nonatomic, copy, nullable) NSString *ids;
  
  /**
   *  Maximum results per page.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *maxResults;
  
  /** List of real time metrics. */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *metrics;
  
  /** List of dimensions or metrics based on which real time data is sorted. */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *sort;
  
  @end
  
  
  /**
   *  Total values for the requested metrics over all the results, not just the
   *  results returned in this response. The order of the metric totals is same as
   *  the metric order specified in the request.
   *
   *  @note This class is documented as having more properties of NSString. Use @c
   *        -additionalJSONKeys and @c -additionalPropertyForName: to get the list
   *        of properties and then fetch them; or @c -additionalProperties to
   *        fetch them all at once.
   */
  @interface GTLRAnalytics_RealtimeData_TotalsForAllResults : GTLRObject
  @end
  
  
  /**
   *  JSON template for an Analytics remarketing audience.
   */
  @interface GTLRAnalytics_RemarketingAudience : GTLRObject
  
  /** Account ID to which this remarketing audience belongs. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /**
   *  The simple audience definition that will cause a user to be added to an
   *  audience.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_RemarketingAudience_AudienceDefinition *audienceDefinition;
  
  /** The type of audience, either SIMPLE or STATE_BASED. */
  @property(nonatomic, copy, nullable) NSString *audienceType;
  
  /** Time this remarketing audience was created. */
  @property(nonatomic, strong, nullable) GTLRDateTime *created;
  
  /**
   *  The description of this remarketing audience.
   *
   *  Remapped to 'descriptionProperty' to avoid NSObject's 'description'.
   */
  @property(nonatomic, copy, nullable) NSString *descriptionProperty;
  
  /**
   *  Remarketing Audience ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /**
   *  Internal ID for the web property to which this remarketing audience belongs.
   */
  @property(nonatomic, copy, nullable) NSString *internalWebPropertyId;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /**
   *  The linked ad accounts associated with this remarketing audience. A
   *  remarketing audience can have only one linkedAdAccount currently.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_LinkedForeignAccount *> *linkedAdAccounts;
  
  /** The views (profiles) that this remarketing audience is linked to. */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *linkedViews;
  
  /** The name of this remarketing audience. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  A state based audience definition that will cause a user to be added or
   *  removed from an audience.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_RemarketingAudience_StateBasedAudienceDefinition *stateBasedAudienceDefinition;
  
  /** Time this remarketing audience was last modified. */
  @property(nonatomic, strong, nullable) GTLRDateTime *updated;
  
  /**
   *  Web property ID of the form UA-XXXXX-YY to which this remarketing audience
   *  belongs.
   */
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  @end
  
  
  /**
   *  The simple audience definition that will cause a user to be added to an
   *  audience.
   */
  @interface GTLRAnalytics_RemarketingAudience_AudienceDefinition : GTLRObject
  
  /** Defines the conditions to include users to the audience. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_IncludeConditions *includeConditions;
  
  @end
  
  
  /**
   *  A state based audience definition that will cause a user to be added or
   *  removed from an audience.
   */
  @interface GTLRAnalytics_RemarketingAudience_StateBasedAudienceDefinition : GTLRObject
  
  /** Defines the conditions to exclude users from the audience. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_RemarketingAudience_StateBasedAudienceDefinition_ExcludeConditions *excludeConditions;
  
  /** Defines the conditions to include users to the audience. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_IncludeConditions *includeConditions;
  
  @end
  
  
  /**
   *  Defines the conditions to exclude users from the audience.
   */
  @interface GTLRAnalytics_RemarketingAudience_StateBasedAudienceDefinition_ExcludeConditions : GTLRObject
  
  /** Whether to make the exclusion TEMPORARY or PERMANENT. */
  @property(nonatomic, copy, nullable) NSString *exclusionDuration;
  
  /**
   *  The segment condition that will cause a user to be removed from an audience.
   */
  @property(nonatomic, copy, nullable) NSString *segment;
  
  @end
  
  
  /**
   *  A remarketing audience collection lists Analytics remarketing audiences to
   *  which the user has access. Each resource in the collection corresponds to a
   *  single Analytics remarketing audience.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_RemarketingAudiences : GTLRCollectionObject
  
  /**
   *  A list of remarketing audiences.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_RemarketingAudience *> *items;
  
  /**
   *  The maximum number of resources the response can contain, regardless of the
   *  actual number of resources returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this remarketing audience collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this view (profile) collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the resources, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  results in the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /** Email ID of the authenticated user */
  @property(nonatomic, copy, nullable) NSString *username;
  
  @end
  
  
  /**
   *  JSON template for an Analytics segment.
   */
  @interface GTLRAnalytics_Segment : GTLRObject
  
  /** Time the segment was created. */
  @property(nonatomic, strong, nullable) GTLRDateTime *created;
  
  /** Segment definition. */
  @property(nonatomic, copy, nullable) NSString *definition;
  
  /**
   *  Segment ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Resource type for Analytics segment. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Segment name. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  Segment ID. Can be used with the 'segment' parameter in Core Reporting API.
   */
  @property(nonatomic, copy, nullable) NSString *segmentId;
  
  /** Link for this segment. */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /** Type for a segment. Possible values are "BUILT_IN" or "CUSTOM". */
  @property(nonatomic, copy, nullable) NSString *type;
  
  /** Time the segment was last modified. */
  @property(nonatomic, strong, nullable) GTLRDateTime *updated;
  
  @end
  
  
  /**
   *  An segment collection lists Analytics segments that the user has access to.
   *  Each resource in the collection corresponds to a single Analytics segment.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_Segments : GTLRCollectionObject
  
  /**
   *  A list of segments.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_Segment *> *items;
  
  /**
   *  The maximum number of resources the response can contain, regardless of the
   *  actual number of resources returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type for segments. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this segment collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this segment collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the resources, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  results in the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /** Email ID of the authenticated user */
  @property(nonatomic, copy, nullable) NSString *username;
  
  @end
  
  
  /**
   *  JSON template for Analytics unsampled report resource.
   */
  @interface GTLRAnalytics_UnsampledReport : GTLRObject
  
  /** Account ID to which this unsampled report belongs. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /** Download details for a file stored in Google Cloud Storage. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_UnsampledReport_CloudStorageDownloadDetails *cloudStorageDownloadDetails;
  
  /** Time this unsampled report was created. */
  @property(nonatomic, strong, nullable) GTLRDateTime *created;
  
  /** The dimensions for the unsampled report. */
  @property(nonatomic, copy, nullable) NSString *dimensions;
  
  /**
   *  The type of download you need to use for the report data file. Possible
   *  values include `GOOGLE_DRIVE` and `GOOGLE_CLOUD_STORAGE`. If the value is
   *  `GOOGLE_DRIVE`, see the `driveDownloadDetails` field. If the value is
   *  `GOOGLE_CLOUD_STORAGE`, see the `cloudStorageDownloadDetails` field.
   */
  @property(nonatomic, copy, nullable) NSString *downloadType;
  
  /** Download details for a file stored in Google Drive. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_UnsampledReport_DriveDownloadDetails *driveDownloadDetails;
  
  /** The end date for the unsampled report. */
  @property(nonatomic, copy, nullable) NSString *endDate;
  
  /** The filters for the unsampled report. */
  @property(nonatomic, copy, nullable) NSString *filters;
  
  /**
   *  Unsampled report ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Resource type for an Analytics unsampled report. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** The metrics for the unsampled report. */
  @property(nonatomic, copy, nullable) NSString *metrics;
  
  /** View (Profile) ID to which this unsampled report belongs. */
  @property(nonatomic, copy, nullable) NSString *profileId;
  
  /** The segment for the unsampled report. */
  @property(nonatomic, copy, nullable) NSString *segment;
  
  /** Link for this unsampled report. */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /** The start date for the unsampled report. */
  @property(nonatomic, copy, nullable) NSString *startDate;
  
  /**
   *  Status of this unsampled report. Possible values are PENDING, COMPLETED, or
   *  FAILED.
   */
  @property(nonatomic, copy, nullable) NSString *status;
  
  /** Title of the unsampled report. */
  @property(nonatomic, copy, nullable) NSString *title;
  
  /** Time this unsampled report was last modified. */
  @property(nonatomic, strong, nullable) GTLRDateTime *updated;
  
  /**
   *  Web property ID to which this unsampled report belongs. The web property ID
   *  is of the form UA-XXXXX-YY.
   */
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  @end
  
  
  /**
   *  Download details for a file stored in Google Cloud Storage.
   */
  @interface GTLRAnalytics_UnsampledReport_CloudStorageDownloadDetails : GTLRObject
  
  /** Id of the bucket the file object is stored in. */
  @property(nonatomic, copy, nullable) NSString *bucketId;
  
  /** Id of the file object containing the report data. */
  @property(nonatomic, copy, nullable) NSString *objectId;
  
  @end
  
  
  /**
   *  Download details for a file stored in Google Drive.
   */
  @interface GTLRAnalytics_UnsampledReport_DriveDownloadDetails : GTLRObject
  
  /** Id of the document/file containing the report data. */
  @property(nonatomic, copy, nullable) NSString *documentId;
  
  @end
  
  
  /**
   *  An unsampled report collection lists Analytics unsampled reports to which
   *  the user has access. Each view (profile) can have a set of unsampled
   *  reports. Each resource in the unsampled report collection corresponds to a
   *  single Analytics unsampled report.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_UnsampledReports : GTLRCollectionObject
  
  /**
   *  A list of unsampled reports.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_UnsampledReport *> *items;
  
  /**
   *  The maximum number of resources the response can contain, regardless of the
   *  actual number of resources returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this unsampled report collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this unsampled report collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the resources, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  resources in the result.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /** Email ID of the authenticated user */
  @property(nonatomic, copy, nullable) NSString *username;
  
  @end
  
  
  /**
   *  Metadata returned for an upload operation.
   */
  @interface GTLRAnalytics_Upload : GTLRObject
  
  /**
   *  Account Id to which this upload belongs.
   *
   *  Uses NSNumber of longLongValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *accountId;
  
  /** Custom data source Id to which this data import belongs. */
  @property(nonatomic, copy, nullable) NSString *customDataSourceId;
  
  /** Data import errors collection. */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *errors;
  
  /**
   *  A unique ID for this upload.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Resource type for Analytics upload. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /**
   *  Upload status. Possible values: PENDING, COMPLETED, FAILED, DELETING,
   *  DELETED.
   */
  @property(nonatomic, copy, nullable) NSString *status;
  
  /** Time this file is uploaded. */
  @property(nonatomic, strong, nullable) GTLRDateTime *uploadTime;
  
  @end
  
  
  /**
   *  Upload collection lists Analytics uploads to which the user has access. Each
   *  custom data source can have a set of uploads. Each resource in the upload
   *  collection corresponds to a single Analytics data upload.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_Uploads : GTLRCollectionObject
  
  /**
   *  A list of uploads.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_Upload *> *items;
  
  /**
   *  The maximum number of resources the response can contain, regardless of the
   *  actual number of resources returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this upload collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this upload collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the resources, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  resources in the result.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  @end
  
  
  /**
   *  JSON template for a user deletion request resource.
   */
  @interface GTLRAnalytics_UserDeletionRequest : GTLRObject
  
  /**
   *  This marks the point in time for which all user data before should be
   *  deleted
   */
  @property(nonatomic, strong, nullable) GTLRDateTime *deletionRequestTime;
  
  /** Firebase Project Id */
  @property(nonatomic, copy, nullable) NSString *firebaseProjectId;
  
  /**
   *  User ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_UserDeletionRequest_Id *identifier;
  
  /** Value is "analytics#userDeletionRequest". */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Property ID */
  @property(nonatomic, copy, nullable) NSString *propertyId;
  
  /** Web property ID of the form UA-XXXXX-YY. */
  @property(nonatomic, copy, nullable) NSString *webPropertyId;
  
  @end
  
  
  /**
   *  User ID.
   */
  @interface GTLRAnalytics_UserDeletionRequest_Id : GTLRObject
  
  /** Type of user */
  @property(nonatomic, copy, nullable) NSString *type;
  
  /** The User's id */
  @property(nonatomic, copy, nullable) NSString *userId;
  
  @end
  
  
  /**
   *  JSON template for a user reference.
   */
  @interface GTLRAnalytics_UserRef : GTLRObject
  
  /** Email ID of this user. */
  @property(nonatomic, copy, nullable) NSString *email;
  
  /**
   *  User ID.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  @property(nonatomic, copy, nullable) NSString *kind;
  
  @end
  
  
  /**
   *  A web property collection lists Analytics web properties to which the user
   *  has access. Each resource in the collection corresponds to a single
   *  Analytics web property.
   *
   *  @note This class supports NSFastEnumeration and indexed subscripting over
   *        its "items" property.
   */
  @interface GTLRAnalytics_Webproperties : GTLRCollectionObject
  
  /**
   *  A list of web properties.
   *
   *  @note This property is used to support NSFastEnumeration and indexed
   *        subscripting on this class.
   */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_Webproperty *> *items;
  
  /**
   *  The maximum number of resources the response can contain, regardless of the
   *  actual number of resources returned. Its value ranges from 1 to 1000 with a
   *  value of 1000 by default, or otherwise specified by the max-results query
   *  parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *itemsPerPage;
  
  /** Collection type. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Link to next page for this web property collection. */
  @property(nonatomic, copy, nullable) NSString *nextLink;
  
  /** Link to previous page for this web property collection. */
  @property(nonatomic, copy, nullable) NSString *previousLink;
  
  /**
   *  The starting index of the resources, which is 1 by default or otherwise
   *  specified by the start-index query parameter.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *startIndex;
  
  /**
   *  The total number of results for the query, regardless of the number of
   *  results in the response.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *totalResults;
  
  /** Email ID of the authenticated user */
  @property(nonatomic, copy, nullable) NSString *username;
  
  @end
  
  
  /**
   *  JSON template for an Analytics web property.
   */
  @interface GTLRAnalytics_Webproperty : GTLRObject
  
  /** Account ID to which this web property belongs. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /**
   *  Child link for this web property. Points to the list of views (profiles) for
   *  this web property.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Webproperty_ChildLink *childLink;
  
  /** Time this web property was created. */
  @property(nonatomic, strong, nullable) GTLRDateTime *created;
  
  /**
   *  Set to true to reset the retention period of the user identifier with each
   *  new event from that user (thus setting the expiration date to current time
   *  plus retention period).
   *  Set to false to delete data associated with the user identifier
   *  automatically after the rentention period.
   *  This property cannot be set on insert.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *dataRetentionResetOnNewActivity;
  
  /**
   *  The length of time for which user and event data is retained.
   *  This property cannot be set on insert.
   */
  @property(nonatomic, copy, nullable) NSString *dataRetentionTtl;
  
  /**
   *  Default view (profile) ID.
   *
   *  Uses NSNumber of longLongValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *defaultProfileId;
  
  /**
   *  Web property ID of the form UA-XXXXX-YY.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** The industry vertical/category selected for this web property. */
  @property(nonatomic, copy, nullable) NSString *industryVertical;
  
  /** Internal ID for this web property. */
  @property(nonatomic, copy, nullable) NSString *internalWebPropertyId;
  
  /** Resource type for Analytics WebProperty. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Level for this web property. Possible values are STANDARD or PREMIUM. */
  @property(nonatomic, copy, nullable) NSString *level;
  
  /** Name of this web property. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /**
   *  Parent link for this web property. Points to the account to which this web
   *  property belongs.
   */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Webproperty_ParentLink *parentLink;
  
  /** Permissions the user has for this web property. */
  @property(nonatomic, strong, nullable) GTLRAnalytics_Webproperty_Permissions *permissions;
  
  /**
   *  View (Profile) count for this web property.
   *
   *  Uses NSNumber of intValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *profileCount;
  
  /** Link for this web property. */
  @property(nonatomic, copy, nullable) NSString *selfLink;
  
  /**
   *  Indicates whether this web property is starred or not.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *starred;
  
  /** Time this web property was last modified. */
  @property(nonatomic, strong, nullable) GTLRDateTime *updated;
  
  /** Website url for this web property. */
  @property(nonatomic, copy, nullable) NSString *websiteUrl;
  
  @end
  
  
  /**
   *  Child link for this web property. Points to the list of views (profiles) for
   *  this web property.
   */
  @interface GTLRAnalytics_Webproperty_ChildLink : GTLRObject
  
  /** Link to the list of views (profiles) for this web property. */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /** Type of the parent link. Its value is "analytics#profiles". */
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  Parent link for this web property. Points to the account to which this web
   *  property belongs.
   */
  @interface GTLRAnalytics_Webproperty_ParentLink : GTLRObject
  
  /** Link to the account for this web property. */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /** Type of the parent link. Its value is "analytics#account". */
  @property(nonatomic, copy, nullable) NSString *type;
  
  @end
  
  
  /**
   *  Permissions the user has for this web property.
   */
  @interface GTLRAnalytics_Webproperty_Permissions : GTLRObject
  
  /**
   *  All the permissions that the user has for this web property. These include
   *  any implied permissions (e.g., EDIT implies VIEW) or inherited permissions
   *  from the parent account.
   */
  @property(nonatomic, strong, nullable) NSArray<NSString *> *effective;
  
  @end
  
  
  /**
   *  JSON template for a web property reference.
   */
  @interface GTLRAnalytics_WebPropertyRef : GTLRObject
  
  /** Account ID to which this web property belongs. */
  @property(nonatomic, copy, nullable) NSString *accountId;
  
  /** Link for this web property. */
  @property(nonatomic, copy, nullable) NSString *href;
  
  /**
   *  Web property ID of the form UA-XXXXX-YY.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Internal ID for this web property. */
  @property(nonatomic, copy, nullable) NSString *internalWebPropertyId;
  
  /** Analytics web property reference. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Name of this web property. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  @end
  
  
  /**
   *  JSON template for an Analytics WebPropertySummary. WebPropertySummary
   *  returns basic information (i.e., summary) for a web property.
   */
  @interface GTLRAnalytics_WebPropertySummary : GTLRObject
  
  /**
   *  Web property ID of the form UA-XXXXX-YY.
   *
   *  identifier property maps to 'id' in JSON (to avoid Objective C's 'id').
   */
  @property(nonatomic, copy, nullable) NSString *identifier;
  
  /** Internal ID for this web property. */
  @property(nonatomic, copy, nullable) NSString *internalWebPropertyId;
  
  /** Resource type for Analytics WebPropertySummary. */
  @property(nonatomic, copy, nullable) NSString *kind;
  
  /** Level for this web property. Possible values are STANDARD or PREMIUM. */
  @property(nonatomic, copy, nullable) NSString *level;
  
  /** Web property name. */
  @property(nonatomic, copy, nullable) NSString *name;
  
  /** List of profiles under this web property. */
  @property(nonatomic, strong, nullable) NSArray<GTLRAnalytics_ProfileSummary *> *profiles;
  
  /**
   *  Indicates whether this web property is starred or not.
   *
   *  Uses NSNumber of boolValue.
   */
  @property(nonatomic, strong, nullable) NSNumber *starred;
  
  /** Website url for this web property. */
  @property(nonatomic, copy, nullable) NSString *websiteUrl;
  
  @end
  
  NS_ASSUME_NONNULL_END
  
  #pragma clang diagnostic pop
  