Class: Google::Apis::DfareportingV3_4::MobileApp

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



7791
7792
7793
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7791

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

Instance Attribute Details

#directoryString

Mobile app directory. Corresponds to the JSON property directory

Returns:

  • (String)


7768
7769
7770
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7768

def directory
  @directory
end

#idString

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

Returns:

  • (String)


7773
7774
7775
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7773

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)


7779
7780
7781
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7779

def kind
  @kind
end

#publisher_nameString

Publisher name. Corresponds to the JSON property publisherName

Returns:

  • (String)


7784
7785
7786
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7784

def publisher_name
  @publisher_name
end

#titleString

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

Returns:

  • (String)


7789
7790
7791
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7789

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7796
7797
7798
7799
7800
7801
7802
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7796

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