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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FindDevicesByDeviceIdentifierRequest

Returns a new instance of FindDevicesByDeviceIdentifierRequest



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

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



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

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)


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

def limit
  @limit
end

#page_tokenString

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

Returns:

  • (String)


813
814
815
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 813

def page_token
  @page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



820
821
822
823
824
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 820

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