Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialParameters

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

Overview

Parameters to create a public credential.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2PublicKeyCredentialParameters

Returns a new instance of GoogleCloudIdentitytoolkitV2PublicKeyCredentialParameters.



2819
2820
2821
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2819

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

Instance Attribute Details

#algFixnum

The COSE registry number of the cryptographic signature algorithm. Corresponds to the JSON property alg

Returns:

  • (Fixnum)


2812
2813
2814
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2812

def alg
  @alg
end

#credential_typeString

The type of public key to be created. Corresponds to the JSON property credentialType

Returns:

  • (String)


2817
2818
2819
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2817

def credential_type
  @credential_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2824
2825
2826
2827
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2824

def update!(**args)
  @alg = args[:alg] if args.key?(:alg)
  @credential_type = args[:credential_type] if args.key?(:credential_type)
end