Class: Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierRequest

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

Overview

Request to find devices.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FindDevicesByDeviceIdentifierRequest

Returns a new instance of FindDevicesByDeviceIdentifierRequest.



809
810
811
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 809

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

Instance Attribute Details

#device_identifierGoogle::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



796
797
798
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 796

def device_identifier
  @device_identifier
end

#limitFixnum

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

Returns:

  • (Fixnum)


802
803
804
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 802

def limit
  @limit
end

#page_tokenString

A token specifying which result page to return. Corresponds to the JSON property pageToken

Returns:

  • (String)


807
808
809
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 807

def page_token
  @page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



814
815
816
817
818
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 814

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