Class: Google::Apis::Oauth2V2::Jwk::Key
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::Oauth2V2::Jwk::Key
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/oauth2_v2/classes.rb,
generated/google/apis/oauth2_v2/representations.rb,
generated/google/apis/oauth2_v2/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #alg  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
alg. - 
  
    
      #e  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
e. - 
  
    
      #kid  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
kid. - 
  
    
      #kty  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
kty. - 
  
    
      #n  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
n. - 
  
    
      #use  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
use. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Key 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Key.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Key
Returns a new instance of Key
      77 78 79  | 
    
      # File 'generated/google/apis/oauth2_v2/classes.rb', line 77 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#alg ⇒ String
Corresponds to the JSON property alg
      50 51 52  | 
    
      # File 'generated/google/apis/oauth2_v2/classes.rb', line 50 def alg @alg end  | 
  
#e ⇒ String
Corresponds to the JSON property e
      55 56 57  | 
    
      # File 'generated/google/apis/oauth2_v2/classes.rb', line 55 def e @e end  | 
  
#kid ⇒ String
Corresponds to the JSON property kid
      60 61 62  | 
    
      # File 'generated/google/apis/oauth2_v2/classes.rb', line 60 def kid @kid end  | 
  
#kty ⇒ String
Corresponds to the JSON property kty
      65 66 67  | 
    
      # File 'generated/google/apis/oauth2_v2/classes.rb', line 65 def kty @kty end  | 
  
#n ⇒ String
Corresponds to the JSON property n
      70 71 72  | 
    
      # File 'generated/google/apis/oauth2_v2/classes.rb', line 70 def n @n end  | 
  
#use ⇒ String
Corresponds to the JSON property use
      75 76 77  | 
    
      # File 'generated/google/apis/oauth2_v2/classes.rb', line 75 def use @use end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      82 83 84 85 86 87 88 89  | 
    
      # 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  |