Class: Google::Apis::AnalyticsV3::Filter::LowercaseDetails

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 LOWER.

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) ⇒ LowercaseDetails

Returns a new instance of LowercaseDetails



2261
2262
2263
# File 'generated/google/apis/analytics_v3/classes.rb', line 2261

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

Instance Attribute Details

#fieldString

Field to use in the filter. Corresponds to the JSON property field

Returns:

  • (String)


2254
2255
2256
# File 'generated/google/apis/analytics_v3/classes.rb', line 2254

def field
  @field
end

#field_indexFixnum

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

Returns:

  • (Fixnum)


2259
2260
2261
# File 'generated/google/apis/analytics_v3/classes.rb', line 2259

def field_index
  @field_index
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2266
2267
2268
2269
# File 'generated/google/apis/analytics_v3/classes.rb', line 2266

def update!(**args)
  @field = args[:field] if args.key?(:field)
  @field_index = args[:field_index] if args.key?(:field_index)
end