Class: Google::Apis::DfareportingV3_1::MobileApp

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_1/classes.rb,
generated/google/apis/dfareporting_v3_1/representations.rb,
generated/google/apis/dfareporting_v3_1/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



7415
7416
7417
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 7415

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

Instance Attribute Details

#directoryString

Mobile app directory. Corresponds to the JSON property directory

Returns:

  • (String)


7392
7393
7394
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 7392

def directory
  @directory
end

#idString

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

Returns:

  • (String)


7397
7398
7399
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 7397

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)


7403
7404
7405
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 7403

def kind
  @kind
end

#publisher_nameString

Publisher name. Corresponds to the JSON property publisherName

Returns:

  • (String)


7408
7409
7410
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 7408

def publisher_name
  @publisher_name
end

#titleString

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

Returns:

  • (String)


7413
7414
7415
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 7413

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7420
7421
7422
7423
7424
7425
7426
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 7420

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