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



2197
2198
2199
# File 'generated/google/apis/analytics_v3/classes.rb', line 2197

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)


2130
2131
2132
# File 'generated/google/apis/analytics_v3/classes.rb', line 2130

def case_sensitive
  @case_sensitive
end

#extract_aString

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

Returns:

  • (String)


2136
2137
2138
# File 'generated/google/apis/analytics_v3/classes.rb', line 2136

def extract_a
  @extract_a
end

#extract_bString

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

Returns:

  • (String)


2141
2142
2143
# File 'generated/google/apis/analytics_v3/classes.rb', line 2141

def extract_b
  @extract_b
end

#field_aString

Field A. Corresponds to the JSON property fieldA

Returns:

  • (String)


2146
2147
2148
# File 'generated/google/apis/analytics_v3/classes.rb', line 2146

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)


2151
2152
2153
# File 'generated/google/apis/analytics_v3/classes.rb', line 2151

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)


2156
2157
2158
# File 'generated/google/apis/analytics_v3/classes.rb', line 2156

def field_a_required
  @field_a_required
end

#field_bString

Field B. Corresponds to the JSON property fieldB

Returns:

  • (String)


2162
2163
2164
# File 'generated/google/apis/analytics_v3/classes.rb', line 2162

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)


2167
2168
2169
# File 'generated/google/apis/analytics_v3/classes.rb', line 2167

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)


2172
2173
2174
# File 'generated/google/apis/analytics_v3/classes.rb', line 2172

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)


2178
2179
2180
# File 'generated/google/apis/analytics_v3/classes.rb', line 2178

def output_constructor
  @output_constructor
end

#output_to_fieldString

Output field. Corresponds to the JSON property outputToField

Returns:

  • (String)


2183
2184
2185
# File 'generated/google/apis/analytics_v3/classes.rb', line 2183

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)


2188
2189
2190
# File 'generated/google/apis/analytics_v3/classes.rb', line 2188

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)


2194
2195
2196
# File 'generated/google/apis/analytics_v3/classes.rb', line 2194

def override_output_field
  @override_output_field
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
# File 'generated/google/apis/analytics_v3/classes.rb', line 2202

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