Class: Google::Apis::FirebaseV1beta1::AnalyticsProperty

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

Overview

Details of a Google Analytics property

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AnalyticsProperty

Returns a new instance of AnalyticsProperty.



189
190
191
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 189

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

Instance Attribute Details

#analytics_account_idString

Output only. The ID of the Google Analytics account for the Google Analytics property associated with the specified FirebaseProject. Corresponds to the JSON property analyticsAccountId

Returns:

  • (String)


171
172
173
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 171

def 
  @analytics_account_id
end

#display_nameString

The display name of the Google Analytics property associated with the specified FirebaseProject. Corresponds to the JSON property displayName

Returns:

  • (String)


177
178
179
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 177

def display_name
  @display_name
end

#idString

The globally unique, Google-assigned identifier of the Google Analytics property associated with the specified FirebaseProject. If you called AddGoogleAnalytics to link the FirebaseProject with a Google Analytics account, the value in this id field is the same as the ID of the property either specified or provisioned with that call to AddGoogleAnalytics. Corresponds to the JSON property id

Returns:

  • (String)


187
188
189
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 187

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



194
195
196
197
198
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 194

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