class Google::Apis::ApikeysV2::V2LookupKeyResponse

Response message for `LookupKey` method.

Attributes

name[RW]

The resource name of the API key. If the API key has been purged, resource name is empty. Corresponds to the JSON property `name` @return [String]

parent[RW]

The project that owns the key with the value specified in the request. Corresponds to the JSON property `parent` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/apikeys_v2/classes.rb, line 407
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @parent = args[:parent] if args.key?(:parent)
end