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.



7862
7863
7864
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7862

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

Instance Attribute Details

#directoryString

Mobile app directory. Corresponds to the JSON property directory

Returns:

  • (String)


7839
7840
7841
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7839

def directory
  @directory
end

#idString

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

Returns:

  • (String)


7844
7845
7846
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7844

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)


7850
7851
7852
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7850

def kind
  @kind
end

#publisher_nameString

Publisher name. Corresponds to the JSON property publisherName

Returns:

  • (String)


7855
7856
7857
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7855

def publisher_name
  @publisher_name
end

#titleString

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

Returns:

  • (String)


7860
7861
7862
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7860

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7867
7868
7869
7870
7871
7872
7873
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7867

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