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 an ExpandedDataSet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaExpandedDataSet

Returns a new instance of GoogleAnalyticsAdminV1alphaExpandedDataSet.



3355
3356
3357
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3355

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)


3318
3319
3320
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3318

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)


3323
3324
3325
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3323

def description
  @description
end

#dimension_filter_expressionGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression

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



3328
3329
3330
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3328

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


3335
3336
3337
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3335

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)


3340
3341
3342
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3340

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


3347
3348
3349
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3347

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)


3353
3354
3355
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3353

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3360
3361
3362
3363
3364
3365
3366
3367
3368
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3360

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