class Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChange

A description of a change to a single Google Analytics resource.

Attributes

action[RW]

The type of action that changed this resource. Corresponds to the JSON property `action` @return [String]

resource[RW]

Resource name of the resource whose changes are described by this entry. Corresponds to the JSON property `resource` @return [String]

resource_after_change[RW]

A snapshot of a resource as before or after the result of a change in change history. Corresponds to the JSON property `resourceAfterChange` @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource]

resource_before_change[RW]

A snapshot of a resource as before or after the result of a change in change history. Corresponds to the JSON property `resourceBeforeChange` @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 491
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 496
def update!(**args)
  @action = args[:action] if args.key?(:action)
  @resource = args[:resource] if args.key?(:resource)
  @resource_after_change = args[:resource_after_change] if args.key?(:resource_after_change)
  @resource_before_change = args[:resource_before_change] if args.key?(:resource_before_change)
end