Class: AnalyticsOps::Reports::Field

Inherits:
AnalyticsOps::Resources::Value show all
Defined in:
lib/analytics_ops/reports/metadata.rb,
sig/analytics_ops.rbs

Overview

One gem-owned field returned by the GA4 metadata endpoint.

Instance Attribute Summary collapse

Method Summary

Methods inherited from AnalyticsOps::Resources::Value

#==, fields, #hash, #initialize, #to_h

Constructor Details

This class inherits a constructor from AnalyticsOps::Resources::Value

Instance Attribute Details

#api_nameString (readonly)

Returns the value of attribute api_name.

Returns:

  • (String)


368
369
370
# File 'sig/analytics_ops.rbs', line 368

def api_name
  @api_name
end

#blocked_reasonsArray[String] (readonly)

Returns the value of attribute blocked_reasons.

Returns:

  • (Array[String])


377
378
379
# File 'sig/analytics_ops.rbs', line 377

def blocked_reasons
  @blocked_reasons
end

#categoryString? (readonly)

Returns the value of attribute category.

Returns:

  • (String, nil)


371
372
373
# File 'sig/analytics_ops.rbs', line 371

def category
  @category
end

#custom_definitionBoolean (readonly)

Returns the value of attribute custom_definition.

Returns:

  • (Boolean)


373
374
375
# File 'sig/analytics_ops.rbs', line 373

def custom_definition
  @custom_definition
end

#data_typeString? (readonly)

Returns the value of attribute data_type.

Returns:

  • (String, nil)


375
376
377
# File 'sig/analytics_ops.rbs', line 375

def data_type
  @data_type
end

#deprecated_api_namesArray[String] (readonly)

Returns the value of attribute deprecated_api_names.

Returns:

  • (Array[String])


374
375
376
# File 'sig/analytics_ops.rbs', line 374

def deprecated_api_names
  @deprecated_api_names
end

#descriptionString? (readonly)

Returns the value of attribute description.

Returns:

  • (String, nil)


370
371
372
# File 'sig/analytics_ops.rbs', line 370

def description
  @description
end

#expressionString? (readonly)

Returns the value of attribute expression.

Returns:

  • (String, nil)


376
377
378
# File 'sig/analytics_ops.rbs', line 376

def expression
  @expression
end

#kindString (readonly)

Returns the value of attribute kind.

Returns:

  • (String)


372
373
374
# File 'sig/analytics_ops.rbs', line 372

def kind
  @kind
end

#ui_nameString? (readonly)

Returns the value of attribute ui_name.

Returns:

  • (String, nil)


369
370
371
# File 'sig/analytics_ops.rbs', line 369

def ui_name
  @ui_name
end