class Google::Apis::AdsensehostV4_1::Account
Attributes
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 adsensehost#account. Corresponds to the JSON property `kind` @return [String]
name[RW]
Name of this account. Corresponds to the JSON property `name` @return [String]
status[RW]
Approval status of this account. One of: PENDING, APPROVED, DISABLED. Corresponds to the JSON property `status` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/adsensehost_v4_1/classes.rb, line 49 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/adsensehost_v4_1/classes.rb, line 54 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @status = args[:status] if args.key?(:status) end