getKey method

ResponseFuture<Key> getKey(
  1. GetKeyRequest request, {
  2. CallOptions? options,
})

Gets the metadata for an API key. The key string of the API key isn't included in the response.

NOTE: Key is a global resource; hence the only supported value for location is global.

Implementation

$grpc.ResponseFuture<$2.Key> getKey(
  $0.GetKeyRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$getKey, request, options: options);
}