Class: Google::Apis::AdsenseplatformV1alpha::LookupAccountResponse

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

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.

[View source]

353
354
355
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 353

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)

351
352
353
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 351

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

358
359
360
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 358

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