Class: Google::Apis::AnalyticsV3::Webproperty
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::Webproperty
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analytics_v3/classes.rb,
generated/google/apis/analytics_v3/representations.rb,
generated/google/apis/analytics_v3/representations.rb
Overview
JSON template for an Analytics web property.
Defined Under Namespace
Classes: ChildLink, ParentLink, Permissions
Instance Attribute Summary collapse
-
#account_id ⇒ String
Account ID to which this web property belongs.
-
#child_link ⇒ Google::Apis::AnalyticsV3::Webproperty::ChildLink
Child link for this web property.
-
#created ⇒ DateTime
Time this web property was created.
-
#data_retention_reset_on_new_activity ⇒ Boolean
(also: #data_retention_reset_on_new_activity?)
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).
-
#data_retention_ttl ⇒ String
The length of time for which user and event data is retained.
-
#default_profile_id ⇒ Fixnum
Default view (profile) ID.
-
#id ⇒ String
Web property ID of the form UA-XXXXX-YY.
-
#industry_vertical ⇒ String
The industry vertical/category selected for this web property.
-
#internal_web_property_id ⇒ String
Internal ID for this web property.
-
#kind ⇒ String
Resource type for Analytics WebProperty.
-
#level ⇒ String
Level for this web property.
-
#name ⇒ String
Name of this web property.
-
#parent_link ⇒ Google::Apis::AnalyticsV3::Webproperty::ParentLink
Parent link for this web property.
-
#permissions ⇒ Google::Apis::AnalyticsV3::Webproperty::Permissions
Permissions the user has for this web property.
-
#profile_count ⇒ Fixnum
View (Profile) count for this web property.
-
#self_link ⇒ String
Link for this web property.
-
#starred ⇒ Boolean
(also: #starred?)
Indicates whether this web property is starred or not.
-
#updated ⇒ DateTime
Time this web property was last modified.
-
#website_url ⇒ String
Website url for this web property.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Webproperty
constructor
A new instance of Webproperty.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Webproperty
Returns a new instance of Webproperty
5786 5787 5788 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5786 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
Account ID to which this web property belongs.
Corresponds to the JSON property accountId
5684 5685 5686 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5684 def account_id @account_id end |
#child_link ⇒ Google::Apis::AnalyticsV3::Webproperty::ChildLink
Child link for this web property. Points to the list of views (profiles) for
this web property.
Corresponds to the JSON property childLink
5690 5691 5692 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5690 def child_link @child_link end |
#created ⇒ DateTime
Time this web property was created.
Corresponds to the JSON property created
5695 5696 5697 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5695 def created @created end |
#data_retention_reset_on_new_activity ⇒ Boolean Also known as: data_retention_reset_on_new_activity?
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 identifer automatically
after the rentention period.
This property cannot be set on insert.
Corresponds to the JSON property dataRetentionResetOnNewActivity
5705 5706 5707 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5705 def data_retention_reset_on_new_activity @data_retention_reset_on_new_activity end |
#data_retention_ttl ⇒ String
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
5712 5713 5714 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5712 def data_retention_ttl @data_retention_ttl end |
#default_profile_id ⇒ Fixnum
Default view (profile) ID.
Corresponds to the JSON property defaultProfileId
5717 5718 5719 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5717 def default_profile_id @default_profile_id end |
#id ⇒ String
Web property ID of the form UA-XXXXX-YY.
Corresponds to the JSON property id
5722 5723 5724 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5722 def id @id end |
#industry_vertical ⇒ String
The industry vertical/category selected for this web property.
Corresponds to the JSON property industryVertical
5727 5728 5729 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5727 def industry_vertical @industry_vertical end |
#internal_web_property_id ⇒ String
Internal ID for this web property.
Corresponds to the JSON property internalWebPropertyId
5732 5733 5734 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5732 def internal_web_property_id @internal_web_property_id end |
#kind ⇒ String
Resource type for Analytics WebProperty.
Corresponds to the JSON property kind
5737 5738 5739 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5737 def kind @kind end |
#level ⇒ String
Level for this web property. Possible values are STANDARD or PREMIUM.
Corresponds to the JSON property level
5742 5743 5744 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5742 def level @level end |
#name ⇒ String
Name of this web property.
Corresponds to the JSON property name
5747 5748 5749 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5747 def name @name end |
#parent_link ⇒ Google::Apis::AnalyticsV3::Webproperty::ParentLink
Parent link for this web property. Points to the account to which this web
property belongs.
Corresponds to the JSON property parentLink
5753 5754 5755 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5753 def parent_link @parent_link end |
#permissions ⇒ Google::Apis::AnalyticsV3::Webproperty::Permissions
Permissions the user has for this web property.
Corresponds to the JSON property permissions
5758 5759 5760 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5758 def @permissions end |
#profile_count ⇒ Fixnum
View (Profile) count for this web property.
Corresponds to the JSON property profileCount
5763 5764 5765 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5763 def profile_count @profile_count end |
#self_link ⇒ String
Link for this web property.
Corresponds to the JSON property selfLink
5768 5769 5770 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5768 def self_link @self_link end |
#starred ⇒ Boolean Also known as: starred?
Indicates whether this web property is starred or not.
Corresponds to the JSON property starred
5773 5774 5775 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5773 def starred @starred end |
#updated ⇒ DateTime
Time this web property was last modified.
Corresponds to the JSON property updated
5779 5780 5781 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5779 def updated @updated end |
#website_url ⇒ String
Website url for this web property.
Corresponds to the JSON property websiteUrl
5784 5785 5786 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5784 def website_url @website_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 5791 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 |