Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest

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 CreateSignedDevice.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalCreateSignedDeviceRequest

Returns a new instance of SasPortalCreateSignedDeviceRequest.



95
96
97
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 95

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. 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)


87
88
89
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 87

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)


93
94
95
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 93

def installer_id
  @installer_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



100
101
102
103
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 100

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