Class: Google::Apis::AnalyticsdataV1alpha::Entity

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/analyticsdata_v1alpha/classes.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb

Overview

The unique identifier of the property whose events are tracked.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Entity

Returns a new instance of Entity.



577
578
579
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 577

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

Instance Attribute Details

#property_idString

A Google Analytics GA4 property id. To learn more, see where to find your Property ID. Corresponds to the JSON property propertyId

Returns:

  • (String)


575
576
577
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 575

def property_id
  @property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



582
583
584
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 582

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