Class: Google::Apis::SasportalV1alpha1::SasPortalUpdateSignedDeviceRequest

Inherits:
Object
  • Object
show all
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 UpdateSignedDevice.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalUpdateSignedDeviceRequest

Returns a new instance of SasPortalUpdateSignedDeviceRequest.



1167
1168
1169
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1167

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

Instance Attribute Details

#encoded_deviceString

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.

Returns:

  • (String)


1159
1160
1161
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1159

def encoded_device
  @encoded_device
end

#installer_idString

Required. Unique installer ID (CPI ID) from the Certified Professional Installers database. Corresponds to the JSON property installerId

Returns:

  • (String)


1165
1166
1167
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1165

def installer_id
  @installer_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1172
1173
1174
1175
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1172

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