Class: Google::Apis::AnalyticsV3::Filter
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AnalyticsV3::Filter
 
 
- 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 account filter.
Defined Under Namespace
Classes: AdvancedDetails, LowercaseDetails, ParentLink, SearchAndReplaceDetails, UppercaseDetails
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Account ID to which this filter belongs.
 - 
  
    
      #advanced_details  ⇒ Google::Apis::AnalyticsV3::Filter::AdvancedDetails 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Details for the filter of the type ADVANCED.
 - 
  
    
      #created  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Time this filter was created.
 - 
  
    
      #exclude_details  ⇒ Google::Apis::AnalyticsV3::FilterExpression 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
JSON template for an Analytics filter expression.
 - 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Filter ID.
 - 
  
    
      #include_details  ⇒ Google::Apis::AnalyticsV3::FilterExpression 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
JSON template for an Analytics filter expression.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Resource type for Analytics filter.
 - 
  
    
      #lowercase_details  ⇒ Google::Apis::AnalyticsV3::Filter::LowercaseDetails 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Details for the filter of the type LOWER.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Name of this filter.
 - 
  
    
      #parent_link  ⇒ Google::Apis::AnalyticsV3::Filter::ParentLink 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Parent link for this filter.
 - 
  
    
      #search_and_replace_details  ⇒ Google::Apis::AnalyticsV3::Filter::SearchAndReplaceDetails 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Details for the filter of the type SEARCH_AND_REPLACE.
 - 
  
    
      #self_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Link for this filter.
 - 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Type of this filter.
 - 
  
    
      #updated  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Time this filter was last modified.
 - 
  
    
      #uppercase_details  ⇒ Google::Apis::AnalyticsV3::Filter::UppercaseDetails 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Details for the filter of the type UPPER.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Filter 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Filter.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Filter
Returns a new instance of Filter
      2100 2101 2102  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2100 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#account_id ⇒ String
Account ID to which this filter belongs.
Corresponds to the JSON property accountId
      2026 2027 2028  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2026 def account_id @account_id end  | 
  
#advanced_details ⇒ Google::Apis::AnalyticsV3::Filter::AdvancedDetails
Details for the filter of the type ADVANCED.
Corresponds to the JSON property advancedDetails
      2031 2032 2033  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2031 def advanced_details @advanced_details end  | 
  
#created ⇒ DateTime
Time this filter was created.
Corresponds to the JSON property created
      2036 2037 2038  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2036 def created @created end  | 
  
#exclude_details ⇒ Google::Apis::AnalyticsV3::FilterExpression
JSON template for an Analytics filter expression.
Corresponds to the JSON property excludeDetails
      2041 2042 2043  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2041 def exclude_details @exclude_details end  | 
  
#id ⇒ String
Filter ID.
Corresponds to the JSON property id
      2046 2047 2048  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2046 def id @id end  | 
  
#include_details ⇒ Google::Apis::AnalyticsV3::FilterExpression
JSON template for an Analytics filter expression.
Corresponds to the JSON property includeDetails
      2051 2052 2053  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2051 def include_details @include_details end  | 
  
#kind ⇒ String
Resource type for Analytics filter.
Corresponds to the JSON property kind
      2056 2057 2058  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2056 def kind @kind end  | 
  
#lowercase_details ⇒ Google::Apis::AnalyticsV3::Filter::LowercaseDetails
Details for the filter of the type LOWER.
Corresponds to the JSON property lowercaseDetails
      2061 2062 2063  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2061 def lowercase_details @lowercase_details end  | 
  
#name ⇒ String
Name of this filter.
Corresponds to the JSON property name
      2066 2067 2068  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2066 def name @name end  | 
  
#parent_link ⇒ Google::Apis::AnalyticsV3::Filter::ParentLink
Parent link for this filter. Points to the account to which this filter
belongs.
Corresponds to the JSON property parentLink
      2072 2073 2074  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2072 def parent_link @parent_link end  | 
  
#search_and_replace_details ⇒ Google::Apis::AnalyticsV3::Filter::SearchAndReplaceDetails
Details for the filter of the type SEARCH_AND_REPLACE.
Corresponds to the JSON property searchAndReplaceDetails
      2077 2078 2079  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2077 def search_and_replace_details @search_and_replace_details end  | 
  
#self_link ⇒ String
Link for this filter.
Corresponds to the JSON property selfLink
      2082 2083 2084  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2082 def self_link @self_link end  | 
  
#type ⇒ String
Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE,
UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.
Corresponds to the JSON property type
      2088 2089 2090  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2088 def type @type end  | 
  
#updated ⇒ DateTime
Time this filter was last modified.
Corresponds to the JSON property updated
      2093 2094 2095  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2093 def updated @updated end  | 
  
#uppercase_details ⇒ Google::Apis::AnalyticsV3::Filter::UppercaseDetails
Details for the filter of the type UPPER.
Corresponds to the JSON property uppercaseDetails
      2098 2099 2100  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2098 def uppercase_details @uppercase_details end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 2105 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  |