Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonDeviceInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

A device criterion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonDeviceInfo

Returns a new instance of GoogleAdsSearchads360V23CommonDeviceInfo.



3877
3878
3879
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3877

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

Instance Attribute Details

#typeString

Type of the device. Corresponds to the JSON property type

Returns:

  • (String)


3875
3876
3877
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3875

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3882
3883
3884
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3882

def update!(**args)
  @type = args[:type] if args.key?(:type)
end