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

Constructor Details

#initialize(**args) ⇒ AdvancedDetails

Returns a new instance of AdvancedDetails.



2103
2104
2105
# File 'generated/google/apis/analytics_v3/classes.rb', line 2103

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)


2036
2037
2038
# File 'generated/google/apis/analytics_v3/classes.rb', line 2036

def case_sensitive
  @case_sensitive
end

#extract_aString

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

Returns:

  • (String)


2042
2043
2044
# File 'generated/google/apis/analytics_v3/classes.rb', line 2042

def extract_a
  @extract_a
end

#extract_bString

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

Returns:

  • (String)


2047
2048
2049
# File 'generated/google/apis/analytics_v3/classes.rb', line 2047

def extract_b
  @extract_b
end

#field_aString

Field A. Corresponds to the JSON property fieldA

Returns:

  • (String)


2052
2053
2054
# File 'generated/google/apis/analytics_v3/classes.rb', line 2052

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)


2057
2058
2059
# File 'generated/google/apis/analytics_v3/classes.rb', line 2057

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)


2062
2063
2064
# File 'generated/google/apis/analytics_v3/classes.rb', line 2062

def field_a_required
  @field_a_required
end

#field_bString

Field B. Corresponds to the JSON property fieldB

Returns:

  • (String)


2068
2069
2070
# File 'generated/google/apis/analytics_v3/classes.rb', line 2068

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)


2073
2074
2075
# File 'generated/google/apis/analytics_v3/classes.rb', line 2073

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)


2078
2079
2080
# File 'generated/google/apis/analytics_v3/classes.rb', line 2078

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)


2084
2085
2086
# File 'generated/google/apis/analytics_v3/classes.rb', line 2084

def output_constructor
  @output_constructor
end

#output_to_fieldString

Output field. Corresponds to the JSON property outputToField

Returns:

  • (String)


2089
2090
2091
# File 'generated/google/apis/analytics_v3/classes.rb', line 2089

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)


2094
2095
2096
# File 'generated/google/apis/analytics_v3/classes.rb', line 2094

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)


2100
2101
2102
# File 'generated/google/apis/analytics_v3/classes.rb', line 2100

def override_output_field
  @override_output_field
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
# File 'generated/google/apis/analytics_v3/classes.rb', line 2108

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