Class: Google::Apis::ContainerV1::Jwk
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::Jwk
- Defined in:
- generated/google/apis/container_v1/classes.rb,
generated/google/apis/container_v1/representations.rb,
generated/google/apis/container_v1/representations.rb
Overview
Jwk is a JSON Web Key as specified in RFC 7517
Instance Attribute Summary collapse
-
#alg ⇒ String
NOLINT Corresponds to the JSON property
alg
. -
#crv ⇒ String
NOLINT Corresponds to the JSON property
crv
. -
#e ⇒ String
NOLINT Corresponds to the JSON property
e
. -
#kid ⇒ String
NOLINT Corresponds to the JSON property
kid
. -
#kty ⇒ String
NOLINT Corresponds to the JSON property
kty
. -
#n ⇒ String
Fields for RSA keys.
-
#use ⇒ String
NOLINT Corresponds to the JSON property
use
. -
#x ⇒ String
Fields for ECDSA keys.
-
#y ⇒ String
NOLINT Corresponds to the JSON property
y
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Jwk
constructor
A new instance of Jwk.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Jwk
Returns a new instance of Jwk
1129 1130 1131 |
# File 'generated/google/apis/container_v1/classes.rb', line 1129 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alg ⇒ String
NOLINT
Corresponds to the JSON property alg
1085 1086 1087 |
# File 'generated/google/apis/container_v1/classes.rb', line 1085 def alg @alg end |
#crv ⇒ String
NOLINT
Corresponds to the JSON property crv
1090 1091 1092 |
# File 'generated/google/apis/container_v1/classes.rb', line 1090 def crv @crv end |
#e ⇒ String
NOLINT
Corresponds to the JSON property e
1095 1096 1097 |
# File 'generated/google/apis/container_v1/classes.rb', line 1095 def e @e end |
#kid ⇒ String
NOLINT
Corresponds to the JSON property kid
1100 1101 1102 |
# File 'generated/google/apis/container_v1/classes.rb', line 1100 def kid @kid end |
#kty ⇒ String
NOLINT
Corresponds to the JSON property kty
1105 1106 1107 |
# File 'generated/google/apis/container_v1/classes.rb', line 1105 def kty @kty end |
#n ⇒ String
Fields for RSA keys.
NOLINT
Corresponds to the JSON property n
1111 1112 1113 |
# File 'generated/google/apis/container_v1/classes.rb', line 1111 def n @n end |
#use ⇒ String
NOLINT
Corresponds to the JSON property use
1116 1117 1118 |
# File 'generated/google/apis/container_v1/classes.rb', line 1116 def use @use end |
#x ⇒ String
Fields for ECDSA keys.
NOLINT
Corresponds to the JSON property x
1122 1123 1124 |
# File 'generated/google/apis/container_v1/classes.rb', line 1122 def x @x end |
#y ⇒ String
NOLINT
Corresponds to the JSON property y
1127 1128 1129 |
# File 'generated/google/apis/container_v1/classes.rb', line 1127 def y @y end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 |
# File 'generated/google/apis/container_v1/classes.rb', line 1134 def update!(**args) @alg = args[:alg] if args.key?(:alg) @crv = args[:crv] if args.key?(:crv) @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) @x = args[:x] if args.key?(:x) @y = args[:y] if args.key?(:y) end |