class Google::Apis::DfareportingV2_1::ChangeLog
Describes a change that a user has made to a resource.
Attributes
Account ID of the modified object. Corresponds to the JSON property `accountId` @return [String]
Action which caused the change. Corresponds to the JSON property `action` @return [String]
Time when the object was modified. Corresponds to the JSON property `changeTime` @return [DateTime]
Field name of the object which changed. Corresponds to the JSON property `fieldName` @return [String]
ID of this change log. Corresponds to the JSON property `id` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#changeLog”. Corresponds to the JSON property `kind` @return [String]
New value of the object field. Corresponds to the JSON property `newValue` @return [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` @return [String]
Object type of the change log. Corresponds to the JSON property `objectType` @return [String]
Old value of the object field. Corresponds to the JSON property `oldValue` @return [String]
Subaccount ID of the modified object. Corresponds to the JSON property `subaccountId` @return [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` @return [String]
ID of the user who modified the object. Corresponds to the JSON property `userProfileId` @return [String]
User profile name of the user who modified the object. Corresponds to the JSON property `userProfileName` @return [String]
Public Class Methods
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 1736 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# 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