Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor
- 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
Descriptor for a public key credential.
Instance Attribute Summary collapse
-
#credential_id ⇒ String
The identifier for the credential.
-
#credential_type ⇒ String
The type of public key.
-
#transports ⇒ Array<String>
Authenticator transports that are supported by the authenticator.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor
constructor
A new instance of GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor
Returns a new instance of GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor.
2793 2794 2795 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2793 def initialize(**args) update!(**args) end |
Instance Attribute Details
#credential_id ⇒ String
The identifier for the credential.
Corresponds to the JSON property credentialId
NOTE: Values are automatically base64 encoded/decoded in the client library.
2781 2782 2783 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2781 def credential_id @credential_id end |
#credential_type ⇒ String
The type of public key.
Corresponds to the JSON property credentialType
2786 2787 2788 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2786 def credential_type @credential_type end |
#transports ⇒ Array<String>
Authenticator transports that are supported by the authenticator.
Corresponds to the JSON property transports
2791 2792 2793 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2791 def transports @transports end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2798 2799 2800 2801 2802 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2798 def update!(**args) @credential_id = args[:credential_id] if args.key?(:credential_id) @credential_type = args[:credential_type] if args.key?(:credential_type) @transports = args[:transports] if args.key?(:transports) end |