Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse

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

Response message for CreateSubproperty RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse

Returns a new instance of GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse.



2524
2525
2526
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2524

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

Instance Attribute Details

#subpropertyGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty

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



2517
2518
2519
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2517

def subproperty
  @subproperty
end

#subproperty_event_filterGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter

A resource message representing a GA4 Subproperty event filter. Corresponds to the JSON property subpropertyEventFilter



2522
2523
2524
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2522

def subproperty_event_filter
  @subproperty_event_filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2529
2530
2531
2532
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2529

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