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.



810
811
812
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 810

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



773
774
775
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 773

def 
  @account
end

#conversion_eventGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaConversionEvent

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



778
779
780
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 778

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



783
784
785
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 783

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



788
789
790
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 788

def data_stream
  @data_stream
end

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



793
794
795
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 793

def firebase_link
  @firebase_link
end

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



798
799
800
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 798

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



803
804
805
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 803

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



808
809
810
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 808

def property
  @property
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



815
816
817
818
819
820
821
822
823
824
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 815

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