Class: Google::Apis::ContainerV1beta1::Jwk
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::Jwk
- Defined in:
- generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/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
1447 1448 1449 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1447 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alg ⇒ String
NOLINT
Corresponds to the JSON property alg
1403 1404 1405 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1403 def alg @alg end |
#crv ⇒ String
NOLINT
Corresponds to the JSON property crv
1408 1409 1410 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1408 def crv @crv end |
#e ⇒ String
NOLINT
Corresponds to the JSON property e
1413 1414 1415 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1413 def e @e end |
#kid ⇒ String
NOLINT
Corresponds to the JSON property kid
1418 1419 1420 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1418 def kid @kid end |
#kty ⇒ String
NOLINT
Corresponds to the JSON property kty
1423 1424 1425 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1423 def kty @kty end |
#n ⇒ String
Fields for RSA keys.
NOLINT
Corresponds to the JSON property n
1429 1430 1431 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1429 def n @n end |
#use ⇒ String
NOLINT
Corresponds to the JSON property use
1434 1435 1436 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1434 def use @use end |
#x ⇒ String
Fields for ECDSA keys.
NOLINT
Corresponds to the JSON property x
1440 1441 1442 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1440 def x @x end |
#y ⇒ String
NOLINT
Corresponds to the JSON property y
1445 1446 1447 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1445 def y @y end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1452 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 |