Class: Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1PublicJwk
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1PublicJwk
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseappcheck_v1/classes.rb,
lib/google/apis/firebaseappcheck_v1/representations.rb,
lib/google/apis/firebaseappcheck_v1/representations.rb
Overview
A JWK as specified by section 4 of RFC 7517 and section 6.3.1 of RFC 7518.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1PublicJwk
constructor
A new instance of GoogleFirebaseAppcheckV1PublicJwk.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1PublicJwk
Returns a new instance of GoogleFirebaseAppcheckV1PublicJwk.
896 897 898 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 896 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alg ⇒ String
See section 4.4 of RFC 7517.
Corresponds to the JSON property alg
867 868 869 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 867 def alg @alg end |
#e ⇒ String
See section 6.3.1.2 of RFC 7518.
Corresponds to the JSON property e
873 874 875 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 873 def e @e end |
#kid ⇒ String
See section 4.5 of RFC 7517.
Corresponds to the JSON property kid
878 879 880 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 878 def kid @kid end |
#kty ⇒ String
See section 4.1 of RFC 7517.
Corresponds to the JSON property kty
883 884 885 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 883 def kty @kty end |
#n ⇒ String
See section 6.3.1.1 of RFC 7518.
Corresponds to the JSON property n
889 890 891 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 889 def n @n end |
#use ⇒ String
See section 4.2 of RFC 7517.
Corresponds to the JSON property use
894 895 896 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 894 def use @use end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
901 902 903 904 905 906 907 908 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 901 def update!(**args) @alg = args[:alg] if args.key?(:alg) @e = args[:e] if args.key?(:e) @kid = args[:kid] if args.key?(:kid) @kty = args[:kty] if args.key?(:kty) @n = args[:n] if args.key?(:n) @use = args[:use] if args.key?(:use) end |