Class: Google::Apis::Adexchangebuyer2V2beta1::PublisherProfileMobileApplication

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

Overview

A mobile application that contains a external app ID, name, and app store.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PublisherProfileMobileApplication

Returns a new instance of PublisherProfileMobileApplication.



3525
3526
3527
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3525

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

Instance Attribute Details

#app_storeString

The app store the app belongs to. Corresponds to the JSON property appStore

Returns:

  • (String)


3513
3514
3515
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3513

def app_store
  @app_store
end

#external_app_idString

The external ID for the app from its app store. Corresponds to the JSON property externalAppId

Returns:

  • (String)


3518
3519
3520
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3518

def external_app_id
  @external_app_id
end

#nameString

The name of the app. Corresponds to the JSON property name

Returns:

  • (String)


3523
3524
3525
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3523

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3530
3531
3532
3533
3534
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3530

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