class Google::Apis::AnalyticsV3::Profile

JSON template for an Analytics view (profile).

Attributes

account_id[RW]

Account ID to which this view (profile) belongs. Corresponds to the JSON property `accountId` @return [String]

bot_filtering_enabled[RW]

Indicates whether bot filtering is enabled for this view (profile). Corresponds to the JSON property `botFilteringEnabled` @return [Boolean]

bot_filtering_enabled?[RW]

Indicates whether bot filtering is enabled for this view (profile). Corresponds to the JSON property `botFilteringEnabled` @return [Boolean]

created[RW]

Time this view (profile) was created. Corresponds to the JSON property `created` @return [DateTime]

currency[RW]

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 Corresponds to the JSON property `currency` @return [String]

default_page[RW]

Default page for this view (profile). Corresponds to the JSON property `defaultPage` @return [String]

e_commerce_tracking[RW]

Indicates whether ecommerce tracking is enabled for this view (profile). Corresponds to the JSON property `eCommerceTracking` @return [Boolean]

e_commerce_tracking?[RW]

Indicates whether ecommerce tracking is enabled for this view (profile). Corresponds to the JSON property `eCommerceTracking` @return [Boolean]

enhanced_e_commerce_tracking[RW]

Indicates whether enhanced ecommerce tracking is enabled for this view ( profile). This property can only be enabled if ecommerce tracking is enabled. Corresponds to the JSON property `enhancedECommerceTracking` @return [Boolean]

enhanced_e_commerce_tracking?[RW]

Indicates whether enhanced ecommerce tracking is enabled for this view ( profile). This property can only be enabled if ecommerce tracking is enabled. Corresponds to the JSON property `enhancedECommerceTracking` @return [Boolean]

exclude_query_parameters[RW]

The query parameters that are excluded from this view (profile). Corresponds to the JSON property `excludeQueryParameters` @return [String]

id[RW]

View (Profile) ID. Corresponds to the JSON property `id` @return [String]

internal_web_property_id[RW]

Internal ID for the web property to which this view (profile) belongs. Corresponds to the JSON property `internalWebPropertyId` @return [String]

kind[RW]

Resource type for Analytics view (profile). Corresponds to the JSON property `kind` @return [String]

name[RW]

Name of this view (profile). Corresponds to the JSON property `name` @return [String]

permissions[RW]

Permissions the user has for this view (profile). Corresponds to the JSON property `permissions` @return [Google::Apis::AnalyticsV3::Profile::Permissions]

site_search_category_parameters[RW]

Site search category parameters for this view (profile). Corresponds to the JSON property `siteSearchCategoryParameters` @return [String]

site_search_query_parameters[RW]

The site search query parameters for this view (profile). Corresponds to the JSON property `siteSearchQueryParameters` @return [String]

starred[RW]

Indicates whether this view (profile) is starred or not. Corresponds to the JSON property `starred` @return [Boolean]

starred?[RW]

Indicates whether this view (profile) is starred or not. Corresponds to the JSON property `starred` @return [Boolean]

strip_site_search_category_parameters[RW]

Whether or not Analytics will strip search category parameters from the URLs in your reports. Corresponds to the JSON property `stripSiteSearchCategoryParameters` @return [Boolean]

strip_site_search_category_parameters?[RW]

Whether or not Analytics will strip search category parameters from the URLs in your reports. Corresponds to the JSON property `stripSiteSearchCategoryParameters` @return [Boolean]

strip_site_search_query_parameters[RW]

Whether or not Analytics will strip search query parameters from the URLs in your reports. Corresponds to the JSON property `stripSiteSearchQueryParameters` @return [Boolean]

strip_site_search_query_parameters?[RW]

Whether or not Analytics will strip search query parameters from the URLs in your reports. Corresponds to the JSON property `stripSiteSearchQueryParameters` @return [Boolean]

timezone[RW]

Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database. Corresponds to the JSON property `timezone` @return [String]

type[RW]

View (Profile) type. Supported types: WEB or APP. Corresponds to the JSON property `type` @return [String]

updated[RW]

Time this view (profile) was last modified. Corresponds to the JSON property `updated` @return [DateTime]

web_property_id[RW]

Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. Corresponds to the JSON property `webPropertyId` @return [String]

website_url[RW]

Website URL for this view (profile). Corresponds to the JSON property `websiteUrl` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 3961
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analytics_v3/classes.rb, line 3966
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @bot_filtering_enabled = args[:bot_filtering_enabled] if args.key?(:bot_filtering_enabled)
  @child_link = args[:child_link] if args.key?(:child_link)
  @created = args[:created] if args.key?(:created)
  @currency = args[:currency] if args.key?(:currency)
  @default_page = args[:default_page] if args.key?(:default_page)
  @e_commerce_tracking = args[:e_commerce_tracking] if args.key?(:e_commerce_tracking)
  @enhanced_e_commerce_tracking = args[:enhanced_e_commerce_tracking] if args.key?(:enhanced_e_commerce_tracking)
  @exclude_query_parameters = args[:exclude_query_parameters] if args.key?(:exclude_query_parameters)
  @id = args[:id] if args.key?(:id)
  @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @parent_link = args[:parent_link] if args.key?(:parent_link)
  @permissions = args[:permissions] if args.key?(:permissions)
  @self_link = args[:self_link] if args.key?(:self_link)
  @site_search_category_parameters = args[:site_search_category_parameters] if args.key?(:site_search_category_parameters)
  @site_search_query_parameters = args[:site_search_query_parameters] if args.key?(:site_search_query_parameters)
  @starred = args[:starred] if args.key?(:starred)
  @strip_site_search_category_parameters = args[:strip_site_search_category_parameters] if args.key?(:strip_site_search_category_parameters)
  @strip_site_search_query_parameters = args[:strip_site_search_query_parameters] if args.key?(:strip_site_search_query_parameters)
  @timezone = args[:timezone] if args.key?(:timezone)
  @type = args[:type] if args.key?(:type)
  @updated = args[:updated] if args.key?(:updated)
  @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
  @website_url = args[:website_url] if args.key?(:website_url)
end