Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest

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

Request message for CreateRollupProperty RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest

Returns a new instance of GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest.



2453
2454
2455
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2453

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

Instance Attribute Details

#rollup_propertyGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty

A resource message representing a Google Analytics property. Corresponds to the JSON property rollupProperty



2445
2446
2447
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2445

def rollup_property
  @rollup_property
end

#source_propertiesArray<String>

Optional. The resource names of properties that will be sources to the created roll-up property. Corresponds to the JSON property sourceProperties

Returns:

  • (Array<String>)


2451
2452
2453
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2451

def source_properties
  @source_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2458
2459
2460
2461
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2458

def update!(**args)
  @rollup_property = args[:rollup_property] if args.key?(:rollup_property)
  @source_properties = args[:source_properties] if args.key?(:source_properties)
end