Class: Google::Apis::AnalyticsV3::Filter::AdvancedDetails

Inherits:
Object
  • Object
show all
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

Details for the filter of the type ADVANCED.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AdvancedDetails

Returns a new instance of AdvancedDetails.



2007
2008
2009
# File 'generated/google/apis/analytics_v3/classes.rb', line 2007

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#case_sensitiveBoolean Also known as: case_sensitive?

Indicates if the filter expressions are case sensitive. Corresponds to the JSON property caseSensitive

Returns:

  • (Boolean)


1940
1941
1942
# File 'generated/google/apis/analytics_v3/classes.rb', line 1940

def case_sensitive
  @case_sensitive
end

#extract_aString

Expression to extract from field A. Corresponds to the JSON property extractA

Returns:

  • (String)


1946
1947
1948
# File 'generated/google/apis/analytics_v3/classes.rb', line 1946

def extract_a
  @extract_a
end

#extract_bString

Expression to extract from field B. Corresponds to the JSON property extractB

Returns:

  • (String)


1951
1952
1953
# File 'generated/google/apis/analytics_v3/classes.rb', line 1951

def extract_b
  @extract_b
end

#field_aString

Field A. Corresponds to the JSON property fieldA

Returns:

  • (String)


1956
1957
1958
# File 'generated/google/apis/analytics_v3/classes.rb', line 1956

def field_a
  @field_a
end

#field_a_indexFixnum

The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION. Corresponds to the JSON property fieldAIndex

Returns:

  • (Fixnum)


1961
1962
1963
# File 'generated/google/apis/analytics_v3/classes.rb', line 1961

def field_a_index
  @field_a_index
end

#field_a_requiredBoolean Also known as: field_a_required?

Indicates if field A is required to match. Corresponds to the JSON property fieldARequired

Returns:

  • (Boolean)


1966
1967
1968
# File 'generated/google/apis/analytics_v3/classes.rb', line 1966

def field_a_required
  @field_a_required
end

#field_bString

Field B. Corresponds to the JSON property fieldB

Returns:

  • (String)


1972
1973
1974
# File 'generated/google/apis/analytics_v3/classes.rb', line 1972

def field_b
  @field_b
end

#field_b_indexFixnum

The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION. Corresponds to the JSON property fieldBIndex

Returns:

  • (Fixnum)


1977
1978
1979
# File 'generated/google/apis/analytics_v3/classes.rb', line 1977

def field_b_index
  @field_b_index
end

#field_b_requiredBoolean Also known as: field_b_required?

Indicates if field B is required to match. Corresponds to the JSON property fieldBRequired

Returns:

  • (Boolean)


1982
1983
1984
# File 'generated/google/apis/analytics_v3/classes.rb', line 1982

def field_b_required
  @field_b_required
end

#output_constructorString

Expression used to construct the output value. Corresponds to the JSON property outputConstructor

Returns:

  • (String)


1988
1989
1990
# File 'generated/google/apis/analytics_v3/classes.rb', line 1988

def output_constructor
  @output_constructor
end

#output_to_fieldString

Output field. Corresponds to the JSON property outputToField

Returns:

  • (String)


1993
1994
1995
# File 'generated/google/apis/analytics_v3/classes.rb', line 1993

def output_to_field
  @output_to_field
end

#output_to_field_indexFixnum

The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION. Corresponds to the JSON property outputToFieldIndex

Returns:

  • (Fixnum)


1998
1999
2000
# File 'generated/google/apis/analytics_v3/classes.rb', line 1998

def output_to_field_index
  @output_to_field_index
end

#override_output_fieldBoolean Also known as: override_output_field?

Indicates if the existing value of the output field, if any, should be overridden by the output expression. Corresponds to the JSON property overrideOutputField

Returns:

  • (Boolean)


2004
2005
2006
# File 'generated/google/apis/analytics_v3/classes.rb', line 2004

def override_output_field
  @override_output_field
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
# File 'generated/google/apis/analytics_v3/classes.rb', line 2012

def update!(**args)
  @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
  @extract_a = args[:extract_a] if args.key?(:extract_a)
  @extract_b = args[:extract_b] if args.key?(:extract_b)
  @field_a = args[:field_a] if args.key?(:field_a)
  @field_a_index = args[:field_a_index] if args.key?(:field_a_index)
  @field_a_required = args[:field_a_required] if args.key?(:field_a_required)
  @field_b = args[:field_b] if args.key?(:field_b)
  @field_b_index = args[:field_b_index] if args.key?(:field_b_index)
  @field_b_required = args[:field_b_required] if args.key?(:field_b_required)
  @output_constructor = args[:output_constructor] if args.key?(:output_constructor)
  @output_to_field = args[:output_to_field] if args.key?(:output_to_field)
  @output_to_field_index = args[:output_to_field_index] if args.key?(:output_to_field_index)
  @override_output_field = args[:override_output_field] if args.key?(:override_output_field)
end