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.



973
974
975
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 973

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)


944
945
946
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 944

def alg
  @alg
end

#eString

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

Returns:

  • (String)


950
951
952
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 950

def e
  @e
end

#kidString

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

Returns:

  • (String)


955
956
957
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 955

def kid
  @kid
end

#ktyString

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

Returns:

  • (String)


960
961
962
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 960

def kty
  @kty
end

#nString

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

Returns:

  • (String)


966
967
968
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 966

def n
  @n
end

#useString

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

Returns:

  • (String)


971
972
973
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 971

def use
  @use
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



978
979
980
981
982
983
984
985
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 978

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