Class: Google::Apis::AnalyticsdataV1alpha::Entity
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1alpha::Entity
- 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
-
#property_id ⇒ String
A Google Analytics GA4 property id.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Entity
constructor
A new instance of Entity.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
A Google Analytics GA4 property id. To learn more, see where to find your
Property ID.
Corresponds to the JSON property propertyId
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 |