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.



818
819
820
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 818

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



781
782
783
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 781

def 
  @account
end

#conversion_eventGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaConversionEvent

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



786
787
788
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 786

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



791
792
793
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 791

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



796
797
798
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 796

def data_stream
  @data_stream
end

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



801
802
803
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 801

def firebase_link
  @firebase_link
end

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



806
807
808
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 806

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



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

def measurement_protocol_secret
  @measurement_protocol_secret
end

#propertyGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaProperty

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



816
817
818
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 816

def property
  @property
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



823
824
825
826
827
828
829
830
831
832
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 823

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