class Google::Apis::AnalyticsV3::Webproperty
JSON template for an Analytics web property.
Attributes
Account
ID to which this web property belongs. Corresponds to the JSON property `accountId` @return [String]
Child link for this web property. Points to the list of views (profiles) for this web property. Corresponds to the JSON property `childLink` @return [Google::Apis::AnalyticsV3::Webproperty::ChildLink]
Time this web property was created. Corresponds to the JSON property `created` @return [DateTime]
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]
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]
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 view (profile) ID. Corresponds to the JSON property `defaultProfileId` @return [Fixnum]
Web property ID of the form UA-XXXXX-YY. Corresponds to the JSON property `id` @return [String]
The industry vertical/category selected for this web property. Corresponds to the JSON property `industryVertical` @return [String]
Internal ID for this web property. Corresponds to the JSON property `internalWebPropertyId` @return [String]
Resource type for Analytics WebProperty. Corresponds to the JSON property `kind` @return [String]
Level for this web property. Possible values are STANDARD or PREMIUM. Corresponds to the JSON property `level` @return [String]
Name of this web property. Corresponds to the JSON property `name` @return [String]
Parent link for this web property. Points to the account to which this web property belongs. Corresponds to the JSON property `parentLink` @return [Google::Apis::AnalyticsV3::Webproperty::ParentLink]
Permissions
the user has for this web property. Corresponds to the JSON property `permissions` @return [Google::Apis::AnalyticsV3::Webproperty::Permissions]
View (Profile
) count for this web property. Corresponds to the JSON property `profileCount` @return [Fixnum]
Link for this web property. Corresponds to the JSON property `selfLink` @return [String]
Indicates whether this web property is starred or not. Corresponds to the JSON property `starred` @return [Boolean]
Indicates whether this web property is starred or not. Corresponds to the JSON property `starred` @return [Boolean]
Time this web property was last modified. Corresponds to the JSON property `updated` @return [DateTime]
Website url for this web property. Corresponds to the JSON property `websiteUrl` @return [String]
Public Class Methods
# File lib/google/apis/analytics_v3/classes.rb, line 5698 def initialize(**args) update!(**args) end
Public Instance Methods
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