class Google::Apis::DfareportingV3_4::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 [Fixnum]
Action which caused the change. Corresponds to the JSON property `action` @return [String]
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 [Fixnum]
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 [Fixnum]
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 [Fixnum]
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 [Fixnum]
ID of the user who modified the object. Corresponds to the JSON property `userProfileId` @return [Fixnum]
User profile name of the user who modified the object. Corresponds to the JSON property `userProfileName` @return [String]
Public Class Methods
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 1823 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 1828 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) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @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