class Google::Apis::ContainerV1beta1::Jwk

Jwk is a JSON Web Key as specified in RFC 7517

Attributes

alg[RW]

Algorithm. Corresponds to the JSON property `alg` @return [String]

crv[RW]

Used for ECDSA keys. Corresponds to the JSON property `crv` @return [String]

e[RW]

Used for RSA keys. Corresponds to the JSON property `e` @return [String]

kid[RW]

Key ID. Corresponds to the JSON property `kid` @return [String]

kty[RW]

Key Type. Corresponds to the JSON property `kty` @return [String]

n[RW]

Used for RSA keys. Corresponds to the JSON property `n` @return [String]

use[RW]

Permitted uses for the public keys. Corresponds to the JSON property `use` @return [String]

x[RW]

Used for ECDSA keys. Corresponds to the JSON property `x` @return [String]

y[RW]

Used for ECDSA keys. Corresponds to the JSON property `y` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 2269
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/container_v1beta1/classes.rb, line 2274
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