Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChange

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaChangeHistoryChange

Returns a new instance of GoogleAnalyticsAdminV1alphaChangeHistoryChange.



1732
1733
1734
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1732

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

Instance Attribute Details

#actionString

The type of action that changed this resource. Corresponds to the JSON property action

Returns:

  • (String)


1713
1714
1715
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1713

def action
  @action
end

#resourceString

Resource name of the resource whose changes are described by this entry. Corresponds to the JSON property resource

Returns:

  • (String)


1718
1719
1720
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1718

def resource
  @resource
end

#resource_after_changeGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource

A snapshot of a resource as before or after the result of a change in change history. Corresponds to the JSON property resourceAfterChange



1724
1725
1726
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1724

def resource_after_change
  @resource_after_change
end

#resource_before_changeGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource

A snapshot of a resource as before or after the result of a change in change history. Corresponds to the JSON property resourceBeforeChange



1730
1731
1732
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1730

def resource_before_change
  @resource_before_change
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1737
1738
1739
1740
1741
1742
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1737

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