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



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

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

Instance Attribute Details

#directoryString

Mobile app directory. Corresponds to the JSON property directory

Returns:

  • (String)


7390
7391
7392
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 7390

def directory
  @directory
end

#idString

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

Returns:

  • (String)


7395
7396
7397
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 7395

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)


7401
7402
7403
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 7401

def kind
  @kind
end

#publisher_nameString

Publisher name. Corresponds to the JSON property publisherName

Returns:

  • (String)


7406
7407
7408
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 7406

def publisher_name
  @publisher_name
end

#titleString

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

Returns:

  • (String)


7411
7412
7413
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 7411

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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