Class: Google::Apis::SasportalV1alpha1::SasPortalValidateInstallerRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalValidateInstallerRequest

Returns a new instance of SasPortalValidateInstallerRequest.



1230
1231
1232
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1230

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)


1217
1218
1219
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1217

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)


1223
1224
1225
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1223

def installer_id
  @installer_id
end

#secretString

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

Returns:

  • (String)


1228
1229
1230
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1228

def secret
  @secret
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1235
1236
1237
1238
1239
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1235

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