class Google::Apis::AnalyticsV3::ProfileFilterLink
JSON template for an Analytics profile filter link.
Attributes
JSON template for a profile filter link. Corresponds to the JSON property `filterRef` @return [Google::Apis::AnalyticsV3::FilterRef]
Profile
filter link ID. Corresponds to the JSON property `id` @return [String]
Resource type for Analytics filter. Corresponds to the JSON property `kind` @return [String]
JSON template for a linked view (profile). Corresponds to the JSON property `profileRef` @return [Google::Apis::AnalyticsV3::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. Corresponds to the JSON property `rank` @return [Fixnum]
Link for this profile filter link. Corresponds to the JSON property `selfLink` @return [String]
Public Class Methods
# File lib/google/apis/analytics_v3/classes.rb, line 4113 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/analytics_v3/classes.rb, line 4118 def update!(**args) @filter_ref = args[:filter_ref] if args.key?(:filter_ref) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @profile_ref = args[:profile_ref] if args.key?(:profile_ref) @rank = args[:rank] if args.key?(:rank) @self_link = args[:self_link] if args.key?(:self_link) end