Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaChangeHistoryEvent

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 set of changes within a Google Analytics account or its child properties that resulted from the same cause. Common causes would be updates made in the Google Analytics UI, changes from customer support, or automatic Google Analytics system changes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaChangeHistoryEvent

Returns a new instance of GoogleAnalyticsAdminV1betaChangeHistoryEvent.



877
878
879
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 877

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

Instance Attribute Details

#actor_typeString

The type of actor that made this change. Corresponds to the JSON property actorType

Returns:

  • (String)


845
846
847
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 845

def actor_type
  @actor_type
end

#change_timeString

Time when change was made. Corresponds to the JSON property changeTime

Returns:

  • (String)


850
851
852
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 850

def change_time
  @change_time
end

#changesArray<Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaChangeHistoryChange>

A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest. Corresponds to the JSON property changes



856
857
858
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 856

def changes
  @changes
end

#changes_filteredBoolean Also known as: changes_filtered?

If true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event. Corresponds to the JSON property changesFiltered

Returns:

  • (Boolean)


862
863
864
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 862

def changes_filtered
  @changes_filtered
end

#idString

ID of this change history event. This ID is unique across Google Analytics. Corresponds to the JSON property id

Returns:

  • (String)


868
869
870
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 868

def id
  @id
end

#user_actor_emailString

Email address of the Google account that made the change. This will be a valid email address if the actor field is set to USER, and empty otherwise. Google accounts that have been deleted will cause an error. Corresponds to the JSON property userActorEmail

Returns:

  • (String)


875
876
877
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 875

def user_actor_email
  @user_actor_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



882
883
884
885
886
887
888
889
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 882

def update!(**args)
  @actor_type = args[:actor_type] if args.key?(:actor_type)
  @change_time = args[:change_time] if args.key?(:change_time)
  @changes = args[:changes] if args.key?(:changes)
  @changes_filtered = args[:changes_filtered] if args.key?(:changes_filtered)
  @id = args[:id] if args.key?(:id)
  @user_actor_email = args[:user_actor_email] if args.key?(:user_actor_email)
end