Class: Google::Apis::SasportalV1alpha1::SasPortalValidateInstallerRequest
- Inherits:
-
Object
- Object
- Google::Apis::SasportalV1alpha1::SasPortalValidateInstallerRequest
- 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 ValidateInstaller.
Instance Attribute Summary collapse
-
#encoded_secret ⇒ String
Required.
-
#installer_id ⇒ String
Required.
-
#secret ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalValidateInstallerRequest
constructor
A new instance of SasPortalValidateInstallerRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalValidateInstallerRequest
Returns a new instance of SasPortalValidateInstallerRequest.
1168 1169 1170 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1168 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encoded_secret ⇒ String
Required. JSON Web Token signed using a CPI private key. Payload must include
a "secret" claim whose value is the secret.
Corresponds to the JSON property encodedSecret
1155 1156 1157 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1155 def encoded_secret @encoded_secret end |
#installer_id ⇒ String
Required. Unique installer id (CPI ID) from the Certified Professional
Installers database.
Corresponds to the JSON property installerId
1161 1162 1163 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1161 def installer_id @installer_id end |
#secret ⇒ String
Required. Secret returned by the GenerateSecret.
Corresponds to the JSON property secret
1166 1167 1168 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1166 def secret @secret end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1173 1174 1175 1176 1177 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1173 def update!(**args) @encoded_secret = args[:encoded_secret] if args.key?(:encoded_secret) @installer_id = args[:installer_id] if args.key?(:installer_id) @secret = args[:secret] if args.key?(:secret) end |