Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesMobileDeviceConstant
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesMobileDeviceConstant
- 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 mobile device constant.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
Output only.
-
#manufacturer_name ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#operating_system_name ⇒ String
Output only.
-
#resource_name ⇒ String
Output only.
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesMobileDeviceConstant
constructor
A new instance of GoogleAdsSearchads360V23ResourcesMobileDeviceConstant.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesMobileDeviceConstant
Returns a new instance of GoogleAdsSearchads360V23ResourcesMobileDeviceConstant.
31654 31655 31656 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31654 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
Output only. The ID of the mobile device constant.
Corresponds to the JSON property id
31626 31627 31628 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31626 def id @id end |
#manufacturer_name ⇒ String
Output only. The manufacturer of the mobile device.
Corresponds to the JSON property manufacturerName
31631 31632 31633 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31631 def manufacturer_name @manufacturer_name end |
#name ⇒ String
Output only. The name of the mobile device.
Corresponds to the JSON property name
31636 31637 31638 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31636 def name @name end |
#operating_system_name ⇒ String
Output only. The operating system of the mobile device.
Corresponds to the JSON property operatingSystemName
31641 31642 31643 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31641 def @operating_system_name end |
#resource_name ⇒ String
Output only. The resource name of the mobile device constant. Mobile device
constant resource names have the form: mobileDeviceConstants/criterion_id`
Corresponds to the JSON propertyresourceName`
31647 31648 31649 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31647 def resource_name @resource_name end |
#type ⇒ String
Output only. The type of mobile device.
Corresponds to the JSON property type
31652 31653 31654 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31652 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31659 31660 31661 31662 31663 31664 31665 31666 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31659 def update!(**args) @id = args[:id] if args.key?(:id) @manufacturer_name = args[:manufacturer_name] if args.key?(:manufacturer_name) @name = args[:name] if args.key?(:name) @operating_system_name = args[:operating_system_name] if args.key?(:operating_system_name) @resource_name = args[:resource_name] if args.key?(:resource_name) @type = args[:type] if args.key?(:type) end |