class Google::Apis::DfareportingV3_3::ChangeLog

Describes a change that a user has made to a resource.

Attributes

account_id[RW]

Account ID of the modified object. Corresponds to the JSON property `accountId` @return [Fixnum]

action[RW]

Action which caused the change. Corresponds to the JSON property `action` @return [String]

change_time[RW]

Corresponds to the JSON property `changeTime` @return [DateTime]

field_name[RW]

Field name of the object which changed. Corresponds to the JSON property `fieldName` @return [String]

id[RW]

ID of this change log. Corresponds to the JSON property `id` @return [Fixnum]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#changeLog”. Corresponds to the JSON property `kind` @return [String]

new_value[RW]

New value of the object field. Corresponds to the JSON property `newValue` @return [String]

object_id_prop[RW]

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[RW]

Object type of the change log. Corresponds to the JSON property `objectType` @return [String]

old_value[RW]

Old value of the object field. Corresponds to the JSON property `oldValue` @return [String]

subaccount_id[RW]

Subaccount ID of the modified object. Corresponds to the JSON property `subaccountId` @return [Fixnum]

transaction_id[RW]

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]

user_profile_id[RW]

ID of the user who modified the object. Corresponds to the JSON property `userProfileId` @return [Fixnum]

user_profile_name[RW]

User profile name of the user who modified the object. Corresponds to the JSON property `userProfileName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_3/classes.rb, line 1773
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_3/classes.rb, line 1778
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