Class: Google::Apis::DfareportingV3_4::ChangeLog
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_4::ChangeLog
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/representations.rb
Overview
Describes a change that a user has made to a resource.
Instance Attribute Summary collapse
-
#account_id ⇒ Fixnum
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 ⇒ Fixnum
ID of this change log.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#new_value ⇒ String
New value of the object field.
-
#object_id_prop ⇒ Fixnum
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 ⇒ Fixnum
Subaccount ID of the modified object.
-
#transaction_id ⇒ Fixnum
Transaction ID of this change log.
-
#user_profile_id ⇒ Fixnum
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::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ChangeLog
Returns a new instance of ChangeLog.
1901 1902 1903 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1901 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ Fixnum
Account ID of the modified object.
Corresponds to the JSON property accountId
1830 1831 1832 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1830 def account_id @account_id end |
#action ⇒ String
Action which caused the change.
Corresponds to the JSON property action
1835 1836 1837 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1835 def action @action end |
#change_time ⇒ DateTime
Time when the object was modified.
Corresponds to the JSON property changeTime
1840 1841 1842 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1840 def change_time @change_time end |
#field_name ⇒ String
Field name of the object which changed.
Corresponds to the JSON property fieldName
1845 1846 1847 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1845 def field_name @field_name end |
#id ⇒ Fixnum
ID of this change log.
Corresponds to the JSON property id
1850 1851 1852 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1850 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
1856 1857 1858 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1856 def kind @kind end |
#new_value ⇒ String
New value of the object field.
Corresponds to the JSON property newValue
1861 1862 1863 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1861 def new_value @new_value end |
#object_id_prop ⇒ Fixnum
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
1867 1868 1869 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1867 def object_id_prop @object_id_prop end |
#object_type ⇒ String
Object type of the change log.
Corresponds to the JSON property objectType
1872 1873 1874 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1872 def object_type @object_type end |
#old_value ⇒ String
Old value of the object field.
Corresponds to the JSON property oldValue
1877 1878 1879 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1877 def old_value @old_value end |
#subaccount_id ⇒ Fixnum
Subaccount ID of the modified object.
Corresponds to the JSON property subaccountId
1882 1883 1884 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1882 def subaccount_id @subaccount_id end |
#transaction_id ⇒ 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
1889 1890 1891 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1889 def transaction_id @transaction_id end |
#user_profile_id ⇒ Fixnum
ID of the user who modified the object.
Corresponds to the JSON property userProfileId
1894 1895 1896 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1894 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
1899 1900 1901 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1899 def user_profile_name @user_profile_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1906 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 |