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.



2945
2946
2947
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2945

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)


2908
2909
2910
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2908

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)


2913
2914
2915
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2913

def description
  @description
end

#dimension_filter_expressionGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression

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



2918
2919
2920
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2918

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


2925
2926
2927
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2925

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)


2930
2931
2932
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2930

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


2937
2938
2939
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2937

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)


2943
2944
2945
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2943

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2950
2951
2952
2953
2954
2955
2956
2957
2958
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2950

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