Class: Google::Apis::AnalyticsV3::Filter::UppercaseDetails

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UppercaseDetails

Returns a new instance of UppercaseDetails.



2234
2235
2236
# File 'generated/google/apis/analytics_v3/classes.rb', line 2234

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

Instance Attribute Details

#fieldString

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

Returns:

  • (String)


2227
2228
2229
# File 'generated/google/apis/analytics_v3/classes.rb', line 2227

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)


2232
2233
2234
# File 'generated/google/apis/analytics_v3/classes.rb', line 2232

def field_index
  @field_index
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2239
2240
2241
2242
# File 'generated/google/apis/analytics_v3/classes.rb', line 2239

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