Class: Google::Apis::SasportalV1alpha1::SasPortalSignDeviceRequest
- Inherits:
-
Object
- Object
- Google::Apis::SasportalV1alpha1::SasPortalSignDeviceRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sasportal_v1alpha1/classes.rb,
generated/google/apis/sasportal_v1alpha1/representations.rb,
generated/google/apis/sasportal_v1alpha1/representations.rb
Overview
Request for SignDevice method.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalSignDeviceRequest
constructor
A new instance of SasPortalSignDeviceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalSignDeviceRequest
Returns a new instance of SasPortalSignDeviceRequest.
989 990 991 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 989 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device ⇒ Google::Apis::SasportalV1alpha1::SasPortalDevice
Required. The device to sign. The device fields name, fcc_id and serial_number
must be set. The user_id field must be set.
Corresponds to the JSON property device
987 988 989 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 987 def device @device end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
994 995 996 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 994 def update!(**args) @device = args[:device] if args.key?(:device) end |