class Google::Apis::AdsenseV1_4::Account
Attributes
creation_time[RW]
Corresponds to the JSON property `creation_time` @return [Fixnum]
id[RW]
Unique identifier of this account. Corresponds to the JSON property `id` @return [String]
kind[RW]
Kind of resource this is, in this case adsense#account. Corresponds to the JSON property `kind` @return [String]
name[RW]
Name of this account. Corresponds to the JSON property `name` @return [String]
sub_accounts[RW]
Sub accounts of the this account. Corresponds to the JSON property `subAccounts` @return [Array<Google::Apis::AdsenseV1_4::Account>]
timezone[RW]
AdSense timezone of this account. Corresponds to the JSON property `timezone` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/adsense_v1_4/classes.rb, line 65 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/adsense_v1_4/classes.rb, line 70 def update!(**args) @creation_time = args[:creation_time] if args.key?(:creation_time) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @premium = args[:premium] if args.key?(:premium) @sub_accounts = args[:sub_accounts] if args.key?(:sub_accounts) @timezone = args[:timezone] if args.key?(:timezone) end