Class: Google::Apis::DfareportingV3_5::MobileApp

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

Overview

Contains information about a mobile app. Used as a landing page deep link.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MobileApp

Returns a new instance of MobileApp.



7437
7438
7439
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 7437

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

Instance Attribute Details

#directoryString

Mobile app directory. Corresponds to the JSON property directory

Returns:

  • (String)


7414
7415
7416
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 7414

def directory
  @directory
end

#idString

ID of this mobile app. Corresponds to the JSON property id

Returns:

  • (String)


7419
7420
7421
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 7419

def id
  @id
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#mobileApp". Corresponds to the JSON property kind

Returns:

  • (String)


7425
7426
7427
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 7425

def kind
  @kind
end

#publisher_nameString

Publisher name. Corresponds to the JSON property publisherName

Returns:

  • (String)


7430
7431
7432
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 7430

def publisher_name
  @publisher_name
end

#titleString

Title of this mobile app. Corresponds to the JSON property title

Returns:

  • (String)


7435
7436
7437
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 7435

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7442
7443
7444
7445
7446
7447
7448
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 7442

def update!(**args)
  @directory = args[:directory] if args.key?(:directory)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @publisher_name = args[:publisher_name] if args.key?(:publisher_name)
  @title = args[:title] if args.key?(:title)
end