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.



2416
2417
2418
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2416

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



2408
2409
2410
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2408

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


2414
2415
2416
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2414

def source_properties
  @source_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2421
2422
2423
2424
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2421

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