Class: Google::Apis::ApikeysV2::V2GetKeyStringResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apikeys_v2/classes.rb,
lib/google/apis/apikeys_v2/representations.rb,
lib/google/apis/apikeys_v2/representations.rb

Overview

Response message for GetKeyString method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ V2GetKeyStringResponse

Returns a new instance of V2GetKeyStringResponse.



234
235
236
# File 'lib/google/apis/apikeys_v2/classes.rb', line 234

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#key_stringString

An encrypted and signed value of the key. Corresponds to the JSON property keyString

Returns:

  • (String)


232
233
234
# File 'lib/google/apis/apikeys_v2/classes.rb', line 232

def key_string
  @key_string
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



239
240
241
# File 'lib/google/apis/apikeys_v2/classes.rb', line 239

def update!(**args)
  @key_string = args[:key_string] if args.key?(:key_string)
end