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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_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



898
899
900
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 898

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)


904
905
906
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 904

def limit
  @limit
end

#page_tokenString

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

Returns:

  • (String)


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