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.



3395
3396
3397
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3395

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)


3358
3359
3360
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3358

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)


3363
3364
3365
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3363

def description
  @description
end

#dimension_filter_expressionGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression

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



3368
3369
3370
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3368

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


3375
3376
3377
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3375

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)


3380
3381
3382
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3380

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


3387
3388
3389
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3387

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)


3393
3394
3395
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3393

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3400
3401
3402
3403
3404
3405
3406
3407
3408
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3400

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