class Google::Apis::AnalyticsV3::Filter

JSON template for an Analytics account filter.

Attributes

account_id[RW]

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

advanced_details[RW]

Details for the filter of the type ADVANCED. Corresponds to the JSON property `advancedDetails` @return [Google::Apis::AnalyticsV3::Filter::AdvancedDetails]

created[RW]

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

exclude_details[RW]

JSON template for an Analytics filter expression. Corresponds to the JSON property `excludeDetails` @return [Google::Apis::AnalyticsV3::FilterExpression]

id[RW]

Filter ID. Corresponds to the JSON property `id` @return [String]

include_details[RW]

JSON template for an Analytics filter expression. Corresponds to the JSON property `includeDetails` @return [Google::Apis::AnalyticsV3::FilterExpression]

kind[RW]

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

lowercase_details[RW]

Details for the filter of the type LOWER. Corresponds to the JSON property `lowercaseDetails` @return [Google::Apis::AnalyticsV3::Filter::LowercaseDetails]

name[RW]

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

search_and_replace_details[RW]

Details for the filter of the type SEARCH_AND_REPLACE. Corresponds to the JSON property `searchAndReplaceDetails` @return [Google::Apis::AnalyticsV3::Filter::SearchAndReplaceDetails]

type[RW]

Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED. Corresponds to the JSON property `type` @return [String]

updated[RW]

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

uppercase_details[RW]

Details for the filter of the type UPPER. Corresponds to the JSON property `uppercaseDetails` @return [Google::Apis::AnalyticsV3::Filter::UppercaseDetails]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 2006
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 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