Class: Google::Apis::ContainerV1beta1::Jwk

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

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

#algString

NOLINT Corresponds to the JSON property alg

Returns:

  • (String)


1403
1404
1405
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1403

def alg
  @alg
end

#crvString

NOLINT Corresponds to the JSON property crv

Returns:

  • (String)


1408
1409
1410
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1408

def crv
  @crv
end

#eString

NOLINT Corresponds to the JSON property e

Returns:

  • (String)


1413
1414
1415
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1413

def e
  @e
end

#kidString

NOLINT Corresponds to the JSON property kid

Returns:

  • (String)


1418
1419
1420
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1418

def kid
  @kid
end

#ktyString

NOLINT Corresponds to the JSON property kty

Returns:

  • (String)


1423
1424
1425
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1423

def kty
  @kty
end

#nString

Fields for RSA keys. NOLINT Corresponds to the JSON property n

Returns:

  • (String)


1429
1430
1431
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1429

def n
  @n
end

#useString

NOLINT Corresponds to the JSON property use

Returns:

  • (String)


1434
1435
1436
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1434

def use
  @use
end

#xString

Fields for ECDSA keys. NOLINT Corresponds to the JSON property x

Returns:

  • (String)


1440
1441
1442
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1440

def x
  @x
end

#yString

NOLINT Corresponds to the JSON property y

Returns:

  • (String)


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