Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

A resource message representing a GA4 ExpandedDataSet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaExpandedDataSet

Returns a new instance of GoogleAnalyticsAdminV1alphaExpandedDataSet.



2736
2737
2738
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2736

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

Instance Attribute Details

#data_collection_start_timeString

Output only. Time when expanded data set began (or will begin) collecing data. Corresponds to the JSON property dataCollectionStartTime

Returns:

  • (String)


2699
2700
2701
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2699

def data_collection_start_time
  @data_collection_start_time
end

#descriptionString

Optional. The description of the ExpandedDataSet. Max 50 chars. Corresponds to the JSON property description

Returns:

  • (String)


2704
2705
2706
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2704

def description
  @description
end

#dimension_filter_expressionGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression

A logical expression of EnhancedDataSet dimension filters. Corresponds to the JSON property dimensionFilterExpression



2709
2710
2711
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2709

def dimension_filter_expression
  @dimension_filter_expression
end

#dimension_namesArray<String>

Immutable. The list of dimensions included in the ExpandedDataSet. See the API Dimensions for the list of dimension names. Corresponds to the JSON property dimensionNames

Returns:

  • (Array<String>)


2716
2717
2718
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2716

def dimension_names
  @dimension_names
end

#display_nameString

Required. The display name of the ExpandedDataSet. Max 200 chars. Corresponds to the JSON property displayName

Returns:

  • (String)


2721
2722
2723
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2721

def display_name
  @display_name
end

#metric_namesArray<String>

Immutable. The list of metrics included in the ExpandedDataSet. See the API Metrics for the list of dimension names. Corresponds to the JSON property metricNames

Returns:

  • (Array<String>)


2728
2729
2730
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2728

def metric_names
  @metric_names
end

#nameString

Output only. The resource name for this ExpandedDataSet resource. Format: properties/property_id/expandedDataSets/expanded_data_set Corresponds to the JSON property name

Returns:

  • (String)


2734
2735
2736
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2734

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2741
2742
2743
2744
2745
2746
2747
2748
2749
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2741

def update!(**args)
  @data_collection_start_time = args[:data_collection_start_time] if args.key?(:data_collection_start_time)
  @description = args[:description] if args.key?(:description)
  @dimension_filter_expression = args[:dimension_filter_expression] if args.key?(:dimension_filter_expression)
  @dimension_names = args[:dimension_names] if args.key?(:dimension_names)
  @display_name = args[:display_name] if args.key?(:display_name)
  @metric_names = args[:metric_names] if args.key?(:metric_names)
  @name = args[:name] if args.key?(:name)
end