class Google::Apis::AnalyticsV3::Webproperty

JSON template for an Analytics web property.

Attributes

account_id[RW]

Account ID to which this web property belongs. Corresponds to the JSON property `accountId` @return [String]

created[RW]

Time this web property was created. Corresponds to the JSON property `created` @return [DateTime]

data_retention_reset_on_new_activity[RW]

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. Corresponds to the JSON property `dataRetentionResetOnNewActivity` @return [Boolean]

data_retention_reset_on_new_activity?[RW]

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. Corresponds to the JSON property `dataRetentionResetOnNewActivity` @return [Boolean]

data_retention_ttl[RW]

The length of time for which user and event data is retained. This property cannot be set on insert. Corresponds to the JSON property `dataRetentionTtl` @return [String]

default_profile_id[RW]

Default view (profile) ID. Corresponds to the JSON property `defaultProfileId` @return [Fixnum]

id[RW]

Web property ID of the form UA-XXXXX-YY. Corresponds to the JSON property `id` @return [String]

industry_vertical[RW]

The industry vertical/category selected for this web property. Corresponds to the JSON property `industryVertical` @return [String]

internal_web_property_id[RW]

Internal ID for this web property. Corresponds to the JSON property `internalWebPropertyId` @return [String]

kind[RW]

Resource type for Analytics WebProperty. Corresponds to the JSON property `kind` @return [String]

level[RW]

Level for this web property. Possible values are STANDARD or PREMIUM. Corresponds to the JSON property `level` @return [String]

name[RW]

Name of this web property. Corresponds to the JSON property `name` @return [String]

permissions[RW]

Permissions the user has for this web property. Corresponds to the JSON property `permissions` @return [Google::Apis::AnalyticsV3::Webproperty::Permissions]

profile_count[RW]

View (Profile) count for this web property. Corresponds to the JSON property `profileCount` @return [Fixnum]

starred[RW]

Indicates whether this web property is starred or not. Corresponds to the JSON property `starred` @return [Boolean]

starred?[RW]

Indicates whether this web property is starred or not. Corresponds to the JSON property `starred` @return [Boolean]

updated[RW]

Time this web property was last modified. Corresponds to the JSON property `updated` @return [DateTime]

website_url[RW]

Website url for this web property. 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 5698
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 5703
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @child_link = args[:child_link] if args.key?(:child_link)
  @created = args[:created] if args.key?(:created)
  @data_retention_reset_on_new_activity = args[:data_retention_reset_on_new_activity] if args.key?(:data_retention_reset_on_new_activity)
  @data_retention_ttl = args[:data_retention_ttl] if args.key?(:data_retention_ttl)
  @default_profile_id = args[:default_profile_id] if args.key?(:default_profile_id)
  @id = args[:id] if args.key?(:id)
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
  @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
  @kind = args[:kind] if args.key?(:kind)
  @level = args[:level] if args.key?(:level)
  @name = args[:name] if args.key?(:name)
  @parent_link = args[:parent_link] if args.key?(:parent_link)
  @permissions = args[:permissions] if args.key?(:permissions)
  @profile_count = args[:profile_count] if args.key?(:profile_count)
  @self_link = args[:self_link] if args.key?(:self_link)
  @starred = args[:starred] if args.key?(:starred)
  @updated = args[:updated] if args.key?(:updated)
  @website_url = args[:website_url] if args.key?(:website_url)
end