class Google::Apis::AnalyticsV3::Filter
JSON template for an Analytics account filter.
Attributes
Account
ID to which this filter belongs. Corresponds to the JSON property `accountId` @return [String]
Details for the filter of the type ADVANCED. Corresponds to the JSON property `advancedDetails` @return [Google::Apis::AnalyticsV3::Filter::AdvancedDetails]
Time this filter was created. Corresponds to the JSON property `created` @return [DateTime]
JSON template for an Analytics filter expression. Corresponds to the JSON property `excludeDetails` @return [Google::Apis::AnalyticsV3::FilterExpression]
Filter
ID. Corresponds to the JSON property `id` @return [String]
JSON template for an Analytics filter expression. Corresponds to the JSON property `includeDetails` @return [Google::Apis::AnalyticsV3::FilterExpression]
Resource type for Analytics filter. Corresponds to the JSON property `kind` @return [String]
Details for the filter of the type LOWER. Corresponds to the JSON property `lowercaseDetails` @return [Google::Apis::AnalyticsV3::Filter::LowercaseDetails]
Name of this filter. Corresponds to the JSON property `name` @return [String]
Parent link for this filter. Points to the account to which this filter belongs. Corresponds to the JSON property `parentLink` @return [Google::Apis::AnalyticsV3::Filter::ParentLink]
Details for the filter of the type SEARCH_AND_REPLACE. Corresponds to the JSON property `searchAndReplaceDetails` @return [Google::Apis::AnalyticsV3::Filter::SearchAndReplaceDetails]
Link for this filter. Corresponds to the JSON property `selfLink` @return [String]
Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED. Corresponds to the JSON property `type` @return [String]
Time this filter was last modified. Corresponds to the JSON property `updated` @return [DateTime]
Details for the filter of the type UPPER. Corresponds to the JSON property `uppercaseDetails` @return [Google::Apis::AnalyticsV3::Filter::UppercaseDetails]
Public Class Methods
# File lib/google/apis/analytics_v3/classes.rb, line 2006 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/analytics_v3/classes.rb, line 2011 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @advanced_details = args[:advanced_details] if args.key?(:advanced_details) @created = args[:created] if args.key?(:created) @exclude_details = args[:exclude_details] if args.key?(:exclude_details) @id = args[:id] if args.key?(:id) @include_details = args[:include_details] if args.key?(:include_details) @kind = args[:kind] if args.key?(:kind) @lowercase_details = args[:lowercase_details] if args.key?(:lowercase_details) @name = args[:name] if args.key?(:name) @parent_link = args[:parent_link] if args.key?(:parent_link) @search_and_replace_details = args[:search_and_replace_details] if args.key?(:search_and_replace_details) @self_link = args[:self_link] if args.key?(:self_link) @type = args[:type] if args.key?(:type) @updated = args[:updated] if args.key?(:updated) @uppercase_details = args[:uppercase_details] if args.key?(:uppercase_details) end