Class: Google::Apis::AdexchangesellerV2_0::Account
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangesellerV2_0::Account
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangeseller_v2_0/classes.rb,
generated/google/apis/adexchangeseller_v2_0/representations.rb,
generated/google/apis/adexchangeseller_v2_0/representations.rb
Instance Attribute Summary collapse
-
#id ⇒ String
Unique identifier of this account.
-
#kind ⇒ String
Kind of resource this is, in this case adexchangeseller#account.
-
#name ⇒ String
Name of this account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Account
constructor
A new instance of Account.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Account
Returns a new instance of Account
44 45 46 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 44 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Unique identifier of this account.
Corresponds to the JSON property id
32 33 34 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 32 def id @id end |
#kind ⇒ String
Kind of resource this is, in this case adexchangeseller#account.
Corresponds to the JSON property kind
37 38 39 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 37 def kind @kind end |
#name ⇒ String
Name of this account.
Corresponds to the JSON property name
42 43 44 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 42 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
49 50 51 52 53 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 49 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) end |