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.



896
897
898
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 896

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)


867
868
869
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 867

def alg
  @alg
end

#eString

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

Returns:

  • (String)


873
874
875
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 873

def e
  @e
end

#kidString

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

Returns:

  • (String)


878
879
880
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 878

def kid
  @kid
end

#ktyString

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

Returns:

  • (String)


883
884
885
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 883

def kty
  @kty
end

#nString

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

Returns:

  • (String)


889
890
891
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 889

def n
  @n
end

#useString

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

Returns:

  • (String)


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