Class: Google::Apis::DfareportingV2_5::ChangeLog
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_5::ChangeLog
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_5/classes.rb,
generated/google/apis/dfareporting_v2_5/representations.rb,
generated/google/apis/dfareporting_v2_5/representations.rb
Overview
Describes a change that a user has made to a resource.
Instance Attribute Summary collapse
-
#account_id ⇒ String
Account ID of the modified object.
-
#action ⇒ String
Action which caused the change.
-
#change_time ⇒ DateTime
Time when the object was modified.
-
#field_name ⇒ String
Field name of the object which changed.
-
#id ⇒ String
ID of this change log.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#new_value ⇒ String
New value of the object field.
-
#obj_id ⇒ String
ID of the object of this change log.
-
#object_type ⇒ String
Object type of the change log.
-
#old_value ⇒ String
Old value of the object field.
-
#subaccount_id ⇒ String
Subaccount ID of the modified object.
-
#transaction_id ⇒ String
Transaction ID of this change log.
-
#user_profile_id ⇒ String
ID of the user who modified the object.
-
#user_profile_name ⇒ String
User profile name of the user who modified the object.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChangeLog
constructor
A new instance of ChangeLog.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ChangeLog
Returns a new instance of ChangeLog.
1755 1756 1757 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1755 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
Account ID of the modified object.
Corresponds to the JSON property accountId
1684 1685 1686 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1684 def account_id @account_id end |
#action ⇒ String
Action which caused the change.
Corresponds to the JSON property action
1689 1690 1691 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1689 def action @action end |
#change_time ⇒ DateTime
Time when the object was modified.
Corresponds to the JSON property changeTime
1694 1695 1696 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1694 def change_time @change_time end |
#field_name ⇒ String
Field name of the object which changed.
Corresponds to the JSON property fieldName
1699 1700 1701 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1699 def field_name @field_name end |
#id ⇒ String
ID of this change log.
Corresponds to the JSON property id
1704 1705 1706 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1704 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#changeLog".
Corresponds to the JSON property kind
1710 1711 1712 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1710 def kind @kind end |
#new_value ⇒ String
New value of the object field.
Corresponds to the JSON property newValue
1715 1716 1717 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1715 def new_value @new_value end |
#obj_id ⇒ String
ID of the object of this change log. The object could be a campaign, placement,
ad, or other type.
Corresponds to the JSON property objectId
1721 1722 1723 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1721 def obj_id @obj_id end |
#object_type ⇒ String
Object type of the change log.
Corresponds to the JSON property objectType
1726 1727 1728 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1726 def object_type @object_type end |
#old_value ⇒ String
Old value of the object field.
Corresponds to the JSON property oldValue
1731 1732 1733 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1731 def old_value @old_value end |
#subaccount_id ⇒ String
Subaccount ID of the modified object.
Corresponds to the JSON property subaccountId
1736 1737 1738 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1736 def subaccount_id @subaccount_id end |
#transaction_id ⇒ String
Transaction ID of this change log. When a single API call results in many
changes, each change will have a separate ID in the change log but will share
the same transactionId.
Corresponds to the JSON property transactionId
1743 1744 1745 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1743 def transaction_id @transaction_id end |
#user_profile_id ⇒ String
ID of the user who modified the object.
Corresponds to the JSON property userProfileId
1748 1749 1750 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1748 def user_profile_id @user_profile_id end |
#user_profile_name ⇒ String
User profile name of the user who modified the object.
Corresponds to the JSON property userProfileName
1753 1754 1755 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1753 def user_profile_name @user_profile_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 1760 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @action = args[:action] if args.key?(:action) @change_time = args[:change_time] if args.key?(:change_time) @field_name = args[:field_name] if args.key?(:field_name) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @new_value = args[:new_value] if args.key?(:new_value) @obj_id = args[:obj_id] if args.key?(:obj_id) @object_type = args[:object_type] if args.key?(:object_type) @old_value = args[:old_value] if args.key?(:old_value) @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) @transaction_id = args[:transaction_id] if args.key?(:transaction_id) @user_profile_id = args[:user_profile_id] if args.key?(:user_profile_id) @user_profile_name = args[:user_profile_name] if args.key?(:user_profile_name) end |