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
1910 1911 1912 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1910 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
1836 1837 1838 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1836 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
1841 1842 1843 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1841 def advanced_details @advanced_details end |
#created ⇒ DateTime
Time this filter was created.
Corresponds to the JSON property created
1846 1847 1848 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1846 def created @created end |
#exclude_details ⇒ Google::Apis::AnalyticsV3::FilterExpression
JSON template for an Analytics filter expression.
Corresponds to the JSON property excludeDetails
1851 1852 1853 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1851 def exclude_details @exclude_details end |
#id ⇒ String
Filter ID.
Corresponds to the JSON property id
1856 1857 1858 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1856 def id @id end |
#include_details ⇒ Google::Apis::AnalyticsV3::FilterExpression
JSON template for an Analytics filter expression.
Corresponds to the JSON property includeDetails
1861 1862 1863 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1861 def include_details @include_details end |
#kind ⇒ String
Resource type for Analytics filter.
Corresponds to the JSON property kind
1866 1867 1868 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1866 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
1871 1872 1873 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1871 def lowercase_details @lowercase_details end |
#name ⇒ String
Name of this filter.
Corresponds to the JSON property name
1876 1877 1878 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1876 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
1882 1883 1884 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1882 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
1887 1888 1889 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1887 def search_and_replace_details @search_and_replace_details end |
#self_link ⇒ String
Link for this filter.
Corresponds to the JSON property selfLink
1892 1893 1894 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1892 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
1898 1899 1900 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1898 def type @type end |
#updated ⇒ DateTime
Time this filter was last modified.
Corresponds to the JSON property updated
1903 1904 1905 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1903 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
1908 1909 1910 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1908 def uppercase_details @uppercase_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 1915 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 |