Class: Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1PublicJwk

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1PublicJwk

Returns a new instance of GoogleFirebaseAppcheckV1PublicJwk.



810
811
812
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 810

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

Instance Attribute Details

#algString

See section 4.4 of RFC 7517. Corresponds to the JSON property alg

Returns:

  • (String)


781
782
783
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 781

def alg
  @alg
end

#eString

See section 6.3.1.2 of RFC 7518. Corresponds to the JSON property e

Returns:

  • (String)


787
788
789
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 787

def e
  @e
end

#kidString

See section 4.5 of RFC 7517. Corresponds to the JSON property kid

Returns:

  • (String)


792
793
794
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 792

def kid
  @kid
end

#ktyString

See section 4.1 of RFC 7517. Corresponds to the JSON property kty

Returns:

  • (String)


797
798
799
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 797

def kty
  @kty
end

#nString

See section 6.3.1.1 of RFC 7518. Corresponds to the JSON property n

Returns:

  • (String)


803
804
805
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 803

def n
  @n
end

#useString

See section 4.2 of RFC 7517. Corresponds to the JSON property use

Returns:

  • (String)


808
809
810
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 808

def use
  @use
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



815
816
817
818
819
820
821
822
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 815

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