Class: Google::Apis::DfareportingV2_1::ChangeLog
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::ChangeLog
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/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::Hashable
Constructor Details
#initialize(**args) ⇒ ChangeLog
Returns a new instance of ChangeLog
1736 1737 1738 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1736 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
Account ID of the modified object.
Corresponds to the JSON property accountId
1665 1666 1667 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1665 def account_id @account_id end |
#action ⇒ String
Action which caused the change.
Corresponds to the JSON property action
1670 1671 1672 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1670 def action @action end |
#change_time ⇒ DateTime
Time when the object was modified.
Corresponds to the JSON property changeTime
1675 1676 1677 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1675 def change_time @change_time end |
#field_name ⇒ String
Field name of the object which changed.
Corresponds to the JSON property fieldName
1680 1681 1682 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1680 def field_name @field_name end |
#id ⇒ String
ID of this change log.
Corresponds to the JSON property id
1685 1686 1687 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1685 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
1691 1692 1693 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1691 def kind @kind end |
#new_value ⇒ String
New value of the object field.
Corresponds to the JSON property newValue
1696 1697 1698 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1696 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
1702 1703 1704 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1702 def obj_id @obj_id end |
#object_type ⇒ String
Object type of the change log.
Corresponds to the JSON property objectType
1707 1708 1709 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1707 def object_type @object_type end |
#old_value ⇒ String
Old value of the object field.
Corresponds to the JSON property oldValue
1712 1713 1714 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1712 def old_value @old_value end |
#subaccount_id ⇒ String
Subaccount ID of the modified object.
Corresponds to the JSON property subaccountId
1717 1718 1719 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1717 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
1724 1725 1726 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1724 def transaction_id @transaction_id end |
#user_profile_id ⇒ String
ID of the user who modified the object.
Corresponds to the JSON property userProfileId
1729 1730 1731 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1729 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
1734 1735 1736 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1734 def user_profile_name @user_profile_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1741 def update!(**args) @account_id = args[:account_id] unless args[:account_id].nil? @action = args[:action] unless args[:action].nil? @change_time = args[:change_time] unless args[:change_time].nil? @field_name = args[:field_name] unless args[:field_name].nil? @id = args[:id] unless args[:id].nil? @kind = args[:kind] unless args[:kind].nil? @new_value = args[:new_value] unless args[:new_value].nil? @obj_id = args[:obj_id] unless args[:obj_id].nil? @object_type = args[:object_type] unless args[:object_type].nil? @old_value = args[:old_value] unless args[:old_value].nil? @subaccount_id = args[:subaccount_id] unless args[:subaccount_id].nil? @transaction_id = args[:transaction_id] unless args[:transaction_id].nil? @user_profile_id = args[:user_profile_id] unless args[:user_profile_id].nil? @user_profile_name = args[:user_profile_name] unless args[:user_profile_name].nil? end |