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

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

Namespace

Google \ Cloud \ ApiKeys \ V2

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getName

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

Returns
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this