def _gcs_get_key_names(bucket, pattern):
  """ Get names of all Google Cloud Storage keys in a specified bucket that match a pattern. """
  return [obj.metadata.name for obj in _gcs_get_keys(bucket, pattern)]
Get names of all Google Cloud Storage keys in a specified bucket that match a pattern.