Class: Google::Apis::SasportalV1alpha1::SasPortalCreateSignedDeviceRequest
- Inherits:
-
Object
- Object
- Google::Apis::SasportalV1alpha1::SasPortalCreateSignedDeviceRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sasportal_v1alpha1/classes.rb,
lib/google/apis/sasportal_v1alpha1/representations.rb,
lib/google/apis/sasportal_v1alpha1/representations.rb
Overview
Request for CreateSignedDevice.
Instance Attribute Summary collapse
-
#encoded_device ⇒ String
Required.
-
#installer_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalCreateSignedDeviceRequest
constructor
A new instance of SasPortalCreateSignedDeviceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalCreateSignedDeviceRequest
Returns a new instance of SasPortalCreateSignedDeviceRequest.
70 71 72 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 70 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encoded_device ⇒ String
Required. JSON Web Token signed using a CPI private key. Payload must be the
JSON encoding of the device. The user_id field must be set.
Corresponds to the JSON property encodedDevice
NOTE: Values are automatically base64 encoded/decoded in the client library.
62 63 64 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 62 def encoded_device @encoded_device end |
#installer_id ⇒ String
Required. Unique installer id (CPI ID) from the Certified Professional
Installers database.
Corresponds to the JSON property installerId
68 69 70 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 68 def installer_id @installer_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
75 76 77 78 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 75 def update!(**args) @encoded_device = args[:encoded_device] if args.key?(:encoded_device) @installer_id = args[:installer_id] if args.key?(:installer_id) end |