Class: Google::Apis::DfareportingV4::MobileApp

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



8007
8008
8009
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8007

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

Instance Attribute Details

#directoryString

Mobile app directory. Corresponds to the JSON property directory

Returns:

  • (String)


7984
7985
7986
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7984

def directory
  @directory
end

#idString

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

Returns:

  • (String)


7989
7990
7991
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7989

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)


7995
7996
7997
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7995

def kind
  @kind
end

#publisher_nameString

Publisher name. Corresponds to the JSON property publisherName

Returns:

  • (String)


8000
8001
8002
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8000

def publisher_name
  @publisher_name
end

#titleString

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

Returns:

  • (String)


8005
8006
8007
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8005

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8012
8013
8014
8015
8016
8017
8018
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8012

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