class Google::Apis::Oauth2V2::Jwk::Key

Attributes

alg[RW]

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

e[RW]

Corresponds to the JSON property `e` @return [String]

kid[RW]

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

kty[RW]

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

n[RW]

Corresponds to the JSON property `n` @return [String]

use[RW]

Corresponds to the JSON property `use` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/oauth2_v2/classes.rb, line 82
def update!(**args)
  @alg = args[:alg] if args.key?(:alg)
  @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)
end