Class: Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierRequest
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androiddeviceprovisioning_v1/classes.rb,
lib/google/apis/androiddeviceprovisioning_v1/representations.rb,
lib/google/apis/androiddeviceprovisioning_v1/representations.rb
Overview
Request to find devices.
Instance Attribute Summary collapse
-
#device_identifier ⇒ Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier
Encapsulates hardware and product IDs to identify a manufactured device.
-
#limit ⇒ Fixnum
Required.
-
#page_token ⇒ String
A token specifying which result page to return.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FindDevicesByDeviceIdentifierRequest
constructor
A new instance of FindDevicesByDeviceIdentifierRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FindDevicesByDeviceIdentifierRequest
Returns a new instance of FindDevicesByDeviceIdentifierRequest.
911 912 913 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 911 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_identifier ⇒ Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier
Encapsulates hardware and product IDs to identify a manufactured device. To
understand requirements on identifier sets, read Identifiers.
Corresponds to the JSON property deviceIdentifier
898 899 900 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 898 def device_identifier @device_identifier end |
#limit ⇒ Fixnum
Required. The maximum number of devices to show in a page of results. Must be
between 1 and 100 inclusive.
Corresponds to the JSON property limit
904 905 906 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 904 def limit @limit end |
#page_token ⇒ String
A token specifying which result page to return.
Corresponds to the JSON property pageToken
909 910 911 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 909 def page_token @page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
916 917 918 919 920 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 916 def update!(**args) @device_identifier = args[:device_identifier] if args.key?(:device_identifier) @limit = args[:limit] if args.key?(:limit) @page_token = args[:page_token] if args.key?(:page_token) end |