Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalValidateInstallerRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalValidateInstallerRequest

Returns a new instance of SasPortalValidateInstallerRequest.



1234
1235
1236
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1234

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

Instance Attribute Details

#encoded_secretString

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

Returns:

  • (String)


1221
1222
1223
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1221

def encoded_secret
  @encoded_secret
end

#installer_idString

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

Returns:

  • (String)


1227
1228
1229
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1227

def installer_id
  @installer_id
end

#secretString

Required. Secret returned by the GenerateSecret. Corresponds to the JSON property secret

Returns:

  • (String)


1232
1233
1234
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1232

def secret
  @secret
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1239
1240
1241
1242
1243
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1239

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