Class: Google::Apis::Oauth2V1::Raw::Keyvalue
- Inherits:
-
Object
- Object
- Google::Apis::Oauth2V1::Raw::Keyvalue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/oauth2_v1/classes.rb,
generated/google/apis/oauth2_v1/representations.rb,
generated/google/apis/oauth2_v1/representations.rb
Instance Attribute Summary collapse
-
#algorithm ⇒ String
Corresponds to the JSON property
algorithm
. -
#exponent ⇒ String
Corresponds to the JSON property
exponent
. -
#keyid ⇒ String
Corresponds to the JSON property
keyid
. -
#modulus ⇒ String
Corresponds to the JSON property
modulus
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Keyvalue
constructor
A new instance of Keyvalue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Keyvalue
Returns a new instance of Keyvalue
135 136 137 |
# File 'generated/google/apis/oauth2_v1/classes.rb', line 135 def initialize(**args) update!(**args) end |
Instance Attribute Details
#algorithm ⇒ String
Corresponds to the JSON property algorithm
118 119 120 |
# File 'generated/google/apis/oauth2_v1/classes.rb', line 118 def algorithm @algorithm end |
#exponent ⇒ String
Corresponds to the JSON property exponent
123 124 125 |
# File 'generated/google/apis/oauth2_v1/classes.rb', line 123 def exponent @exponent end |
#keyid ⇒ String
Corresponds to the JSON property keyid
128 129 130 |
# File 'generated/google/apis/oauth2_v1/classes.rb', line 128 def keyid @keyid end |
#modulus ⇒ String
Corresponds to the JSON property modulus
133 134 135 |
# File 'generated/google/apis/oauth2_v1/classes.rb', line 133 def modulus @modulus end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
140 141 142 143 144 145 |
# File 'generated/google/apis/oauth2_v1/classes.rb', line 140 def update!(**args) @algorithm = args[:algorithm] if args.key?(:algorithm) @exponent = args[:exponent] if args.key?(:exponent) @keyid = args[:keyid] if args.key?(:keyid) @modulus = args[:modulus] if args.key?(:modulus) end |