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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalValidateInstallerRequest

Returns a new instance of SasPortalValidateInstallerRequest.



1131
1132
1133
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 1131

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)


1118
1119
1120
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 1118

def encoded_secret
  @encoded_secret
end

#installer_idString

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

Returns:

  • (String)


1124
1125
1126
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 1124

def installer_id
  @installer_id
end

#secretString

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

Returns:

  • (String)


1129
1130
1131
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 1129

def secret
  @secret
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1136
1137
1138
1139
1140
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 1136

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