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.



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

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



2405
2406
2407
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2405

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


2411
2412
2413
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2411

def source_properties
  @source_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2418
2419
2420
2421
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2418

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