Class: Google::Apis::SasportalV1alpha1::SasPortalCreateSignedDeviceRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SasPortalCreateSignedDeviceRequest

Returns a new instance of SasPortalCreateSignedDeviceRequest.



111
112
113
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 111

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

Instance Attribute Details

#encoded_deviceString

Required. JSON Web Token signed using a CPI private key. Payload must be the JSON encoding of the [Device]. Corresponds to the JSON property encodedDevice NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


103
104
105
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 103

def encoded_device
  @encoded_device
end

#installer_idString

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

Returns:

  • (String)


109
110
111
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 109

def installer_id
  @installer_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



116
117
118
119
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 116

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