Class: Google::Apis::Oauth2V1::Raw::Keyvalue

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#algorithmString

Corresponds to the JSON property algorithm

Returns:

  • (String)


118
119
120
# File 'generated/google/apis/oauth2_v1/classes.rb', line 118

def algorithm
  @algorithm
end

#exponentString

Corresponds to the JSON property exponent

Returns:

  • (String)


123
124
125
# File 'generated/google/apis/oauth2_v1/classes.rb', line 123

def exponent
  @exponent
end

#keyidString

Corresponds to the JSON property keyid

Returns:

  • (String)


128
129
130
# File 'generated/google/apis/oauth2_v1/classes.rb', line 128

def keyid
  @keyid
end

#modulusString

Corresponds to the JSON property modulus

Returns:

  • (String)


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