Class: Google::Apis::AdsenseplatformV1::LookupAccountResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/adsenseplatform_v1/classes.rb,
lib/google/apis/adsenseplatform_v1/representations.rb,
lib/google/apis/adsenseplatform_v1/representations.rb

Overview

Response definition for the lookup account rpc.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LookupAccountResponse

Returns a new instance of LookupAccountResponse.



327
328
329
# File 'lib/google/apis/adsenseplatform_v1/classes.rb', line 327

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

The name of the Account Format: platforms/platform/accounts/account_id Corresponds to the JSON property name

Returns:

  • (String)


325
326
327
# File 'lib/google/apis/adsenseplatform_v1/classes.rb', line 325

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



332
333
334
# File 'lib/google/apis/adsenseplatform_v1/classes.rb', line 332

def update!(**args)
  @name = args[:name] if args.key?(:name)
end