Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalUpdateSignedDeviceRequest
- Inherits:
-
Object
- Object
- Google::Apis::ProdTtSasportalV1alpha1::SasPortalUpdateSignedDeviceRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb,
generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb,
generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb
Overview
Request for UpdateSignedDevice method.
Instance Attribute Summary collapse
-
#encoded_device ⇒ String
Required.
-
#installer_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalUpdateSignedDeviceRequest
constructor
A new instance of SasPortalUpdateSignedDeviceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalUpdateSignedDeviceRequest
Returns a new instance of SasPortalUpdateSignedDeviceRequest.
1099 1100 1101 |
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1099 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encoded_device ⇒ String
Required. The 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.
1091 1092 1093 |
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1091 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
1097 1098 1099 |
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1097 def installer_id @installer_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1104 1105 1106 1107 |
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1104 def update!(**args) @encoded_device = args[:encoded_device] if args.key?(:encoded_device) @installer_id = args[:installer_id] if args.key?(:installer_id) end |