class Google::Apis::DfareportingV2_1::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 [String]

action[RW]

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

change_time[RW]

Time when the object was modified. 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 [String]

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]

obj_id[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 [String]

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

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

user_profile_id[RW]

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

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 generated/google/apis/dfareporting_v2_1/classes.rb, line 1736
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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