Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor

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

Descriptor for a public key credential.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idString

The identifier for the credential. Corresponds to the JSON property credentialId NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


2781
2782
2783
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2781

def credential_id
  @credential_id
end

#credential_typeString

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

Returns:

  • (String)


2786
2787
2788
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2786

def credential_type
  @credential_type
end

#transportsArray<String>

Authenticator transports that are supported by the authenticator. Corresponds to the JSON property transports

Returns:

  • (Array<String>)


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