Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalSignDeviceRequest

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

Overview

Request for SignDevice.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalSignDeviceRequest

Returns a new instance of SasPortalSignDeviceRequest.



1428
1429
1430
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1428

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

Instance Attribute Details

#deviceGoogle::Apis::ProdTtSasportalV1alpha1::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



1426
1427
1428
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1426

def device
  @device
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1433
1434
1435
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1433

def update!(**args)
  @device = args[:device] if args.key?(:device)
end