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



2013
2014
2015
# File 'generated/google/apis/analytics_v3/classes.rb', line 2013

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)


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

def case_sensitive
  @case_sensitive
end

#extract_aString

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

Returns:

  • (String)


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

def extract_a
  @extract_a
end

#extract_bString

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

Returns:

  • (String)


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

def extract_b
  @extract_b
end

#field_aString

Field A. Corresponds to the JSON property fieldA

Returns:

  • (String)


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

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)


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

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)


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

def field_a_required
  @field_a_required
end

#field_bString

Field B. Corresponds to the JSON property fieldB

Returns:

  • (String)


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

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)


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

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)


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

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)


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

def output_constructor
  @output_constructor
end

#output_to_fieldString

Output field. Corresponds to the JSON property outputToField

Returns:

  • (String)


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

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)


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

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)


2010
2011
2012
# File 'generated/google/apis/analytics_v3/classes.rb', line 2010

def override_output_field
  @override_output_field
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
# File 'generated/google/apis/analytics_v3/classes.rb', line 2018

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