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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb,
generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb,
generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb

Overview

Request for ValidateInstaller method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SasPortalValidateInstallerRequest

Returns a new instance of SasPortalValidateInstallerRequest.



1096
1097
1098
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1096

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)


1083
1084
1085
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1083

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)


1089
1090
1091
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1089

def installer_id
  @installer_id
end

#secretString

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

Returns:

  • (String)


1094
1095
1096
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1094

def secret
  @secret
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1101
1102
1103
1104
1105
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1101

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