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



2225
2226
2227
# File 'generated/google/apis/analytics_v3/classes.rb', line 2225

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)


2158
2159
2160
# File 'generated/google/apis/analytics_v3/classes.rb', line 2158

def case_sensitive
  @case_sensitive
end

#extract_aString

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

Returns:

  • (String)


2164
2165
2166
# File 'generated/google/apis/analytics_v3/classes.rb', line 2164

def extract_a
  @extract_a
end

#extract_bString

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

Returns:

  • (String)


2169
2170
2171
# File 'generated/google/apis/analytics_v3/classes.rb', line 2169

def extract_b
  @extract_b
end

#field_aString

Field A. Corresponds to the JSON property fieldA

Returns:

  • (String)


2174
2175
2176
# File 'generated/google/apis/analytics_v3/classes.rb', line 2174

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)


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

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)


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

def field_a_required
  @field_a_required
end

#field_bString

Field B. Corresponds to the JSON property fieldB

Returns:

  • (String)


2190
2191
2192
# File 'generated/google/apis/analytics_v3/classes.rb', line 2190

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)


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

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)


2200
2201
2202
# File 'generated/google/apis/analytics_v3/classes.rb', line 2200

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)


2206
2207
2208
# File 'generated/google/apis/analytics_v3/classes.rb', line 2206

def output_constructor
  @output_constructor
end

#output_to_fieldString

Output field. Corresponds to the JSON property outputToField

Returns:

  • (String)


2211
2212
2213
# File 'generated/google/apis/analytics_v3/classes.rb', line 2211

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)


2216
2217
2218
# File 'generated/google/apis/analytics_v3/classes.rb', line 2216

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)


2222
2223
2224
# File 'generated/google/apis/analytics_v3/classes.rb', line 2222

def override_output_field
  @override_output_field
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
# File 'generated/google/apis/analytics_v3/classes.rb', line 2230

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