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.



3249
3250
3251
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3249

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)


3212
3213
3214
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3212

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)


3217
3218
3219
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3217

def description
  @description
end

#dimension_filter_expressionGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression

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



3222
3223
3224
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3222

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


3229
3230
3231
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3229

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)


3234
3235
3236
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3234

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


3241
3242
3243
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3241

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)


3247
3248
3249
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3247

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3254
3255
3256
3257
3258
3259
3260
3261
3262
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3254

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