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
1160 1161 1162 |
# File 'generated/google/apis/container_v1/classes.rb', line 1160 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alg ⇒ String
NOLINT
Corresponds to the JSON property alg
1116 1117 1118 |
# File 'generated/google/apis/container_v1/classes.rb', line 1116 def alg @alg end |
#crv ⇒ String
NOLINT
Corresponds to the JSON property crv
1121 1122 1123 |
# File 'generated/google/apis/container_v1/classes.rb', line 1121 def crv @crv end |
#e ⇒ String
NOLINT
Corresponds to the JSON property e
1126 1127 1128 |
# File 'generated/google/apis/container_v1/classes.rb', line 1126 def e @e end |
#kid ⇒ String
NOLINT
Corresponds to the JSON property kid
1131 1132 1133 |
# File 'generated/google/apis/container_v1/classes.rb', line 1131 def kid @kid end |
#kty ⇒ String
NOLINT
Corresponds to the JSON property kty
1136 1137 1138 |
# File 'generated/google/apis/container_v1/classes.rb', line 1136 def kty @kty end |
#n ⇒ String
Fields for RSA keys.
NOLINT
Corresponds to the JSON property n
1142 1143 1144 |
# File 'generated/google/apis/container_v1/classes.rb', line 1142 def n @n end |
#use ⇒ String
NOLINT
Corresponds to the JSON property use
1147 1148 1149 |
# File 'generated/google/apis/container_v1/classes.rb', line 1147 def use @use end |
#x ⇒ String
Fields for ECDSA keys.
NOLINT
Corresponds to the JSON property x
1153 1154 1155 |
# File 'generated/google/apis/container_v1/classes.rb', line 1153 def x @x end |
#y ⇒ String
NOLINT
Corresponds to the JSON property y
1158 1159 1160 |
# File 'generated/google/apis/container_v1/classes.rb', line 1158 def y @y end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'generated/google/apis/container_v1/classes.rb', line 1165 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 |