Google Cloud Api Keys V2 Client - Class LookupKeyResponse (0.1.7)

Reference documentation and code samples for the Google Cloud Api Keys V2 Client class LookupKeyResponse.

Response message for LookupKey method.

Generated from protobuf message google.api.apikeys.v2.LookupKeyResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

The project that owns the key with the value specified in the request.

↳ name string

The resource name of the API key. If the API key has been purged, resource name is empty.

getParent

The project that owns the key with the value specified in the request.

Returns
TypeDescription
string

setParent

The project that owns the key with the value specified in the request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getName

The resource name of the API key. If the API key has been purged, resource name is empty.

Returns
TypeDescription
string

setName

The resource name of the API key. If the API key has been purged, resource name is empty.

Parameter
NameDescription
var string
Returns
TypeDescription
$this