Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource

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

Overview

A snapshot of a resource as before or after the result of a change in change history.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource

Returns a new instance of GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource.



264
265
266
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 264

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

Instance Attribute Details

#accountGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccount

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



227
228
229
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 227

def 
  @account
end

#conversion_eventGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaConversionEvent

A conversion event in a Google Analytics property. Corresponds to the JSON property conversionEvent



232
233
234
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 232

def conversion_event
  @conversion_event
end

#data_retention_settingsGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaDataRetentionSettings

Settings values for data retention. This is a singleton resource. Corresponds to the JSON property dataRetentionSettings



237
238
239
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 237

def data_retention_settings
  @data_retention_settings
end

#data_streamGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaDataStream

A resource message representing a data stream. Corresponds to the JSON property dataStream



242
243
244
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 242

def data_stream
  @data_stream
end

A link between a GA4 property and a Firebase project. Corresponds to the JSON property firebaseLink



247
248
249
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 247

def firebase_link
  @firebase_link
end

A link between a GA4 property and a Google Ads account. Corresponds to the JSON property googleAdsLink



252
253
254
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 252

def google_ads_link
  @google_ads_link
end

#measurement_protocol_secretGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaMeasurementProtocolSecret

A secret value used for sending hits to Measurement Protocol. Corresponds to the JSON property measurementProtocolSecret



257
258
259
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 257

def measurement_protocol_secret
  @measurement_protocol_secret
end

#propertyGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaProperty

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



262
263
264
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 262

def property
  @property
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



269
270
271
272
273
274
275
276
277
278
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 269

def update!(**args)
  @account = args[:account] if args.key?(:account)
  @conversion_event = args[:conversion_event] if args.key?(:conversion_event)
  @data_retention_settings = args[:data_retention_settings] if args.key?(:data_retention_settings)
  @data_stream = args[:data_stream] if args.key?(:data_stream)
  @firebase_link = args[:firebase_link] if args.key?(:firebase_link)
  @google_ads_link = args[:google_ads_link] if args.key?(:google_ads_link)
  @measurement_protocol_secret = args[:measurement_protocol_secret] if args.key?(:measurement_protocol_secret)
  @property = args[:property] if args.key?(:property)
end