Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaChangeHistoryChange
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaChangeHistoryChange
- 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 description of a change to a single Google Analytics resource.
Instance Attribute Summary collapse
-
#action ⇒ String
The type of action that changed this resource.
-
#resource ⇒ String
Resource name of the resource whose changes are described by this entry.
-
#resource_after_change ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource
A snapshot of a resource as before or after the result of a change in change history.
-
#resource_before_change ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource
A snapshot of a resource as before or after the result of a change in change history.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaChangeHistoryChange
constructor
A new instance of GoogleAnalyticsAdminV1betaChangeHistoryChange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaChangeHistoryChange
Returns a new instance of GoogleAnalyticsAdminV1betaChangeHistoryChange.
760 761 762 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 760 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
The type of action that changed this resource.
Corresponds to the JSON property action
741 742 743 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 741 def action @action end |
#resource ⇒ String
Resource name of the resource whose changes are described by this entry.
Corresponds to the JSON property resource
746 747 748 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 746 def resource @resource end |
#resource_after_change ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource
A snapshot of a resource as before or after the result of a change in change
history.
Corresponds to the JSON property resourceAfterChange
752 753 754 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 752 def resource_after_change @resource_after_change end |
#resource_before_change ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource
A snapshot of a resource as before or after the result of a change in change
history.
Corresponds to the JSON property resourceBeforeChange
758 759 760 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 758 def resource_before_change @resource_before_change end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
765 766 767 768 769 770 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 765 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 |