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.



2449
2450
2451
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2449

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

Instance Attribute Details

#rollup_propertyGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty

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



2441
2442
2443
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2441

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


2447
2448
2449
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2447

def source_properties
  @source_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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