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.



9059
9060
9061
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9059

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

Instance Attribute Details

#directoryString

Mobile app directory. Corresponds to the JSON property directory

Returns:

  • (String)


9036
9037
9038
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9036

def directory
  @directory
end

#idString

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

Returns:

  • (String)


9041
9042
9043
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9041

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)


9047
9048
9049
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9047

def kind
  @kind
end

#publisher_nameString

Publisher name. Corresponds to the JSON property publisherName

Returns:

  • (String)


9052
9053
9054
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9052

def publisher_name
  @publisher_name
end

#titleString

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

Returns:

  • (String)


9057
9058
9059
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9057

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9064
9065
9066
9067
9068
9069
9070
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9064

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