Class: Google::Apis::DfareportingV3_2::MobileApp

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ MobileApp

Returns a new instance of MobileApp



7449
7450
7451
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 7449

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

Instance Attribute Details

#directoryString

Mobile app directory. Corresponds to the JSON property directory

Returns:

  • (String)


7426
7427
7428
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 7426

def directory
  @directory
end

#idString

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

Returns:

  • (String)


7431
7432
7433
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 7431

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)


7437
7438
7439
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 7437

def kind
  @kind
end

#publisher_nameString

Publisher name. Corresponds to the JSON property publisherName

Returns:

  • (String)


7442
7443
7444
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 7442

def publisher_name
  @publisher_name
end

#titleString

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

Returns:

  • (String)


7447
7448
7449
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 7447

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7454
7455
7456
7457
7458
7459
7460
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 7454

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